1823179 Members
3667 Online
109647 Solutions
New Discussion юеВ

HA NFS configuration!!

 
astra
Frequent Advisor

HA NFS configuration!!

Hello All,

Please specify do i need to remove the vxfs mount points entries from /etc/fstab which are being used in HA NFS over Serviceguard.

For clarity please see the steps what i followed in order to configure HA NFS.

1> Configured SG having 2 nodes
2> Created a vxfs file system and mounted on on one of the cluster node locally.

Here i have an entry in /etc/fstab for the above file systems.

3> NFS mounted the above file systems on itself and on second server node.

Is this configuration is correct?? Do i have to remove the vxfs file system entry from /etc/fstab which is now NFS mounted on itself and on adoptive server node.

Do i shall have to face any problem with such configuarations in future??

Please clarify.

Regards,
Amit
4 REPLIES 4
Stephen Doud
Honored Contributor

Re: HA NFS configuration!!

hello Amit,
Are you using the HP HA-NFS toolkit? If so, have you used the manual to implement it?
http://docs.hp.com/en/ha.html#Highly%20Available%20NFS --> Serviceguard NFS Toolkit Administrators Guide
Ganesan R
Honored Contributor

Re: HA NFS configuration!!

Hi Amit,

Not only for HA NFS filesytem, you don't need to put entry in /etc/fstab for all cluster volume groups.

Cluster Volume Groups are exclustive and will be activated and filesystems will be mounted as part of cluster.

Though you are having entry on /etc/fstab, it will not get mounted since VG will not be activated. Instead you get an error duing boot process or mount command.
Best wishes,

Ganesh.
astra
Frequent Advisor

Re: HA NFS configuration!!

Hello,

Thanks for your response.

Yes, we have followed the HA NFS administration guide. It only tells how to configure HA NFS.
Althoug, please clarify whether we shall have to face any problem if we don't remove it from /etc/fstab apart the error message in syslog file.

Regards,
Amit
sujit kumar singh
Honored Contributor

Re: HA NFS configuration!!

hi

the basic thoughts in HANFS config is as follows:

1) the HANFS pkg is the same as any other normal SG package.
2) the pkg.control file in the same way behaves in the HANFS pkg that is follows the sequence of VG activation, Checking and mounting the Filesystems ( as a package shall do), Adding an IP address , Starting the Services and resources.
3)then comes the function of the script hanfs.sh that actually does the export of the NFS file-systems( Notice that the FS to be exported using the HANFS hanfs.sh script is for those Filesystems that the HANFS Control script has done in the step2.
4)after the package starts and hanfs.sh executed you shall get the HA NFS Filesystems exported.
5)Then on the clients use the Package_IP_Address:/NFS_Exported_Filesystem keyword to mount the NFS Shares or can alternatively put in the NFS Clients /etc/fstab.
Well Combine thinking this if the HANFS package Primary node is also an NFS Client to itself.

this bring to the conclusion that for the step2 Filesys Check and mount is to happen with the Help of the HANFS Package control file only.

Remeber that the Empty Mount Points that are reqd for Filesys to be mounted during and via package activation should be there on both the SG Nodes.


regards
sujit