- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Service Guard and NFS Issues
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2003 11:36 PM
12-29-2003 11:36 PM
I have a bit of a situation that I can't seem to find a way out.
Though I understand that NFS is flaky, I do not have a choice as much as I have to use it.
I have a two-node cluster running a SAP package with a DB on one node and the CI on the other node.
The problem I have with NFS is that ServiceGuard exports 2-3 file systems and they are automounted by the different servers. Naturally, when I kill the packages, if the file systems are mounted (which is almost always the case), /etc/mnttab still shows the NFS file system and therefore hangs bdf and often enough backups as well. If I unmount the NFS file system on all nodes prior to halting the packages, my DB package has a problem coming down because it uses one of those file systems. As you see, it is kind of a catch-22.
Is there a way to make sure that bdf won't hang if I bring down my packages? Or to remove those NFS file system from /etc/mnttab?
Any help is appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2003 11:42 PM
12-29-2003 11:42 PM
Re: Service Guard and NFS Issues
Only remember to stop the NFS server package last...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2003 11:49 PM
12-29-2003 11:49 PM
Re: Service Guard and NFS Issues
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2003 11:50 PM
12-29-2003 11:50 PM
Re: Service Guard and NFS Issues
Not sure what your DB package is doing with that filesystem, but if its relatively minor (in size usage) then a shared filesystem would at least eliminate one dependency between the NFS and the DB package.
Best regards,
Kent M. Ostby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2003 12:01 AM
12-30-2003 12:01 AM
Re: Service Guard and NFS Issues
There is also s specific way of cinfiguring hte SAP instances to mount these exported NSF file Systems to prevent this "hanging" scenario.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2003 12:07 AM
12-30-2003 12:07 AM
Re: Service Guard and NFS Issues
Yes I am using the SAP extension toolkit for SG. And yes, I am also using hanfs.
hanfs has been configured to export all of the said file systems. The problem once again lies with the mounted NFS file system, and not the exported file system.
Eg. : DB package exports /export/usr/sap/trans. Node 1, Node 2, Node 3 will automount (using /etc/auto.direct) node1floatingaddress:/export/usr/sap/trans in /usr/sap/trans.
If my DB package comes down, /etc/mnttab will still show node1floatingaddress:/export/usr/sap/trans /usr/sap/trans and will cause the hang. But, on Node 1, I will see that /export/usr/sap/trans is now unmounted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2003 01:05 AM
12-30-2003 01:05 AM
Re: Service Guard and NFS Issues
If the DB cluster is just 'failing over' rather than being stopped for maintenance then the NFS mounts should re-establish themselves when the package restarts *as long as* you are using the UDP protocol for NFS. (NFS v3 defaults to TCP, you need to change this to UDP by specifying '-proto udp' in the mount options in your automount maps)
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2003 01:19 AM
12-30-2003 01:19 AM
Re: Service Guard and NFS Issues
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2003 07:18 AM
12-30-2003 07:18 AM
Re: Service Guard and NFS Issues
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2003 11:33 PM
12-30-2003 11:33 PM
Re: Service Guard and NFS Issues
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 02:55 AM
01-05-2004 02:55 AM
Re: Service Guard and NFS Issues
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 03:05 AM
01-05-2004 03:05 AM
Re: Service Guard and NFS Issues
Is AUTOFS set to 1 in:
/etc/rc.config.d/nfsconf
I have somewhat the same setup - except we merged CI with DB. Also have 3 App servers as well as a QA amd Dev server which automount the trans filesystem among others.
NFS still hangs sometimes...but not too often...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 03:05 AM
01-05-2004 03:05 AM
Re: Service Guard and NFS Issues
soft mounts should timeout after a few tries .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 03:16 AM
01-05-2004 03:16 AM
Re: Service Guard and NFS Issues
Yes I'm at 11i and yes I'm using autofs.
Ashwani,
Interesting. I don't think I'm using any options at all which would assume I'm using a hard mount. What are the impacts of placing it in a soft mount? and if it does timeout, does it get removed from /etc/mnttab?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 03:20 AM
01-05-2004 03:20 AM
Re: Service Guard and NFS Issues
soft mount should be used just for the trans, since transports are not so critical....
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 03:27 AM
01-05-2004 03:27 AM
Re: Service Guard and NFS Issues
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 03:29 AM
01-05-2004 03:29 AM
Re: Service Guard and NFS Issues
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 03:29 AM
01-05-2004 03:29 AM
Re: Service Guard and NFS Issues
You can experiment with the retry and timeo options with the soft mounts .
I do not know whether it removes the soft mount from mnttab after max retries are reached . I will have to try that .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 03:32 AM
01-05-2004 03:32 AM
Re: Service Guard and NFS Issues
the retry count is only meaningfull for soft mounts, for hard mount the autofs will keep trying forever.
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 03:40 AM
01-05-2004 03:40 AM
Re: Service Guard and NFS Issues
I exported a file system from an UX 10.20 box and soft mounted it on a UX 11.11 box .
THen I unexported the file system from the 10.20 box .
On the 11.11 box , bdf reported and error but completed , and did not hang . But the entry was still there in the mnttab .
Now I umount the nfs directory on 11.11 . Completed without any errors and removed the entry from the mnttab .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 03:44 AM
01-05-2004 03:44 AM
Re: Service Guard and NFS Issues
So, when I'm in maintenance mode, basically, /etc/mnttab will retain that particular NFS mount directory and "hang" until the floating address is back up again.
Am I right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 03:50 AM
01-05-2004 03:50 AM
SolutionI do not use SAP extensions and all my nfs mounts are soft mounts with a timeo of 20 and I seldom encountered problems with NFS .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 03:55 AM
01-05-2004 03:55 AM
Re: Service Guard and NFS Issues
After that, have the autofs re-read the configuration. kill -HUP
undo all after the maintenance.
In the event of an unplanned maintenance, you could always bring upo the virtual ip by hand, export, umount the fs, and clead it by hand.
ifconfig lanx:y virtual_ip ....
exportfs -i /export/sapmnt...
I used this logic sometimes, when things go wrong...
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 04:36 AM
01-05-2004 04:36 AM
Re: Service Guard and NFS Issues
I realize it's not the best solution. I was hoping for something a little more robust, but at the same time, unmounting the NFS prior to bringing the package down also creates problems.
Since I have redundancy on my network, I may be inclined to work with the core dumps if they don't happen too often.