1833347 Members
3222 Online
110051 Solutions
New Discussion

Serviceguard Packages

 
Emil Henry
Regular Advisor

Serviceguard Packages

Hello!

I setup 2 packages (nfs and asu) and they work fine. For those of you who do not know what ASU is, it is the older product to CIFS (sort of the samba equivalent). The problem is that if the nfs package moves to the other node, the asu package cannot find the users home directory. If you do a nfs mount at that point, then when the nfs packages comes back it has a fit.

Is there a way for me to leave the 2 packages alone, but make it failover together? Please advice.

Thanks in advance.

Regards,

Emil
3 REPLIES 3

Re: Serviceguard Packages

Hi Emil,
it's not simple to catch all problems that could appear. I need this functionality, too and we got some scripts to do it.
Look at the scripts an ask me about what you don't understand.
You will see that two FS have a different mountpoint in the package (e.g. /exports/ha_home) and are mounted on all nodes as /home but I set up a third FS /tausch that does not need this mechanism.
always look on the bright side of life
Andrea Pagani
Occasional Contributor

Re: Serviceguard Packages

Hi Emil,
to my opinion it should be better if you put together the two packages, anyway, if you still want to keep them separated, you could setup some customer_defined_run_cmds for ASU pkg, checking to see if your nfs is already mounted/imported; if not yet, wait for some time and then check again , ... if already mounted/imported, go on.
You should also setup some customer_defined_halt_cmds for NFS pkg, which restarts ASU pkg and make it wait for nfs to be up again.
In this way you can somehow synchronize the two packages, but it's hard to setup scripts and test them for every possible scenario.

Hope this help.

Andre
Emil Henry
Regular Advisor

Re: Serviceguard Packages

Hello!

Another problem of combining the packages is that the IP number on each of the 2 packages is on different subnets. Each node has interfaces on 4 different subnets.

Regards,

Emil