Serviceguard
cancel
Showing results for 
Search instead for 
Did you mean: 

How to avoid that a package stop NFS

SOLVED
Go to solution
Voldoo
Occasional Advisor

How to avoid that a package stop NFS

Hi all

In our project we have to implement SAP SG (SCM + LiveCashe)
SAP SCM is owned by a package which runs on node A and LiveCashe is owned by a packaged owned by the node B.
In a standard configuration everything is OK but in case of failover , when we decide to stop one package, this has an impact on the other package , as NFS daemon is stopped.

PS : The configuration is running on Linux platform.

We don't know if it's possible to avoid such behaviours.
3 REPLIES
John Bigg
Esteemed Contributor
Solution

Re: How to avoid that a package stop NFS

The standard Linux NFS toolkit scripts will start the NFS daemons if they are not running but they will NOT stop these.

If they are being stopped I suspect this is an unsupported modification of the hanfs.sh script. The code is there to stop, but commented out indicating this should not be done. Put this back to what it should be and you should find the packages can operate independent of each other.
Voldoo
Occasional Advisor

Re: How to avoid that a package stop NFS

Hi John

Many thanks for your answer

The customer has uncommented out the fonction
"nfs_defined_halt_cmds" for tests and forgot to but back the correct hanfs.sh.

Now everything is working as expected

Best regards

Yacine
Voldoo
Occasional Advisor

Re: How to avoid that a package stop NFS

Fonction nfs_defined_halt_cmds was uncommneted in the scrip hanfs.sh