1832595 Members
2889 Online
110043 Solutions
New Discussion

NFS mount for package

 
SOLVED
Go to solution

NFS mount for package

Hi,

Is it possible for a package to use (instead of a disk) a NFS mount point on the network?

I know that in practice it is not proper to do this, but I wonder if it could be possible to configure something like this with ServiceGuard.

Thanks,
Cristi
4 REPLIES 4
Massimo Bianchi
Honored Contributor
Solution

Re: NFS mount for package

hi Cristi,
Strictly speaking it is possible, you must configure in the customer_defined_run_function() the proper code to do the remote mount and umount, and also in the customer_defined_halt_function.

In that case, you must take care of all the possible failure situation, and with nfs on hpux is not that easy.

But, at least, you need a shared vg for one of the packages, if you are going to build a 2 node cluster.

You cannot overcome this limitation with a nfs mount.

With 2 node a shared disk a pre-requisite, to resolv the split-brain sindrome.

With 3 or 4 it is advised

With more that 5 nodes it is not supported to have it.

There is a thing that i haven't studied yet, and that is the quorum server.
http://docs.hp.com/hpux/ha/index.html#Quorum%20Server

It may be of help, i don't know...

Massimo

Rajeev  Shukla
Honored Contributor

Re: NFS mount for package

Hi,
Is in not build in with the templates what you get with MC/SG but there is workaround which you can do.
1. either write a function in the package control script and include them in that file after this line
#-------------------MAINLINE Control Script Code Starts Here-----------------

2. The other way is to write your own scripts to mount and unmount the NFS filesystems and define them in custome defined function


Rajeev
Massimo Bianchi
Honored Contributor

Re: NFS mount for package

Hi,
look here:
http://docs.hp.com/hpux/onlinedocs/B3936-90070/B3936-90070.html

it looks like you can do it, but with the additional cost of implementing a Quorum server.

Massimo

Re: NFS mount for package

Thanks guys for the hints. I'll give it a try.