- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NFS mount of Linux fails when package shifted to f...
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
02-06-2011 04:12 AM
02-06-2011 04:12 AM
NFS mount of Linux fails when package shifted to failover node
Hi Everyone,
I am having a peciliar problem. I have a two node cluster on HP-UX machines. A third machine having Linux RHEL 5 is mounting directories exported from the HP-UX servers.
I have entered filesystems to export in the hanfs.sh file on HP-UX primary and failover nodes. When package is on primary server, the Linux server mounts the NFS filesystems correctly. But when I shift the package to the failover node, the Linux server gives the following message:
mount: ahlprdsbdb:/sapmnt/PRD/profile failed, reason given by server: Permission denied
mount: ahlprdsbdb:/sapmnt/PRD/global failed, reason given by server: Permission denied
mount: ahlprdsbdb:/usr/sap/trans failed, reason given by server: Permission denied
NFS filesystems are exported exactly the same way on both SG nodes. I've verified spelling mistakes and all.
The /etc/hosts files from all three nodes have each others entries and can resolve hostnames correctly. What can be the issue? Please help!
Environment details:
Node1 (Primary SG node):
OS: HP-UX 11.23
SGeSAP: B.05.00
SG: 11.18
NFS Toolkit: A.11.23.07
Node2 (Failover SG node):
OS: HP-UX 11.23
SGeSAP: B.05.00
SG: 11.18
NFS Toolkit: A.11.23.07
Node3 (Application server, not part of cluster)
OS: Linux RHEL 5
Lemme know if any other information is required. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2011 05:19 AM
02-06-2011 05:19 AM
Re: NFS mount of Linux fails when package shifted to failover node
Just to update that when Node3 (Linux) mounts any other directory (e.g. /tmp) of Node2, it mounts without any error.
Only the directories that were mounted on Node1 previously are giving this error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2011 09:29 AM
02-06-2011 09:29 AM
Re: NFS mount of Linux fails when package shifted to failover node
Hey guys..... no replies????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2011 10:12 AM
02-06-2011 10:12 AM
Re: NFS mount of Linux fails when package shifted to failover node
many people do not work on Sundays ...
I would first compare the /etc/exports - Files of the two HP-servers.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2011 01:31 PM
02-06-2011 01:31 PM
Re: NFS mount of Linux fails when package shifted to failover node
If the IP_address -> hostname resolution does not produce the correct result on the failover node, the failover node will think the Linux system isn't authorized to use the exported NFS filesystem.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2011 09:27 PM
02-06-2011 09:27 PM
Re: NFS mount of Linux fails when package shifted to failover node
hanfs.sh under exports ( XFS[0] and the rest ).
Also the output of "showmount -e" when the package is running on the failover node.
If you have not exported to everyone you can check that as well.
also would be a good idea if you can have all package IP related hostnames on your /etc/hosts file.
WCI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2011 12:46 AM
02-08-2011 12:46 AM
Re: NFS mount of Linux fails when package shifted to failover node
Hi Guys,
Thanks for the replies.
The hanfs.sh entries from SG Node1 are as below:
XFS[0]="-o root=ahlprdap:ahlprddb:ahlprdsbdb:ahlap1:ahlap2,anon=0 /sapmnt/PRD"
XFS[1]="-o root=ahlprdap:ahlprddb:ahlprdsbdb:ahlap1:ahlap2,anon=0 /usr/sap/trans"
The hanfs.sh entries from SG Node2 are as below:
XFS[0]="-o root=ahlap1:ahlap2,anon=0 /usr/sap/trans"
XFS[1]="-o root=ahlap1:ahlap2,anon=0 /sapmnt/PRD"
Where,
ahlprddb = SG Node 1 (primary)
ahlprdap = SG Node 2 (secondary)
ahlap1 = Node 3 (Linux node)
I've verified both /etc/hosts files from Node 1 and Node 2, they have all the same entries. Node 2 can also correctly resolve Linux node's hostname from IP.
Rgds,
Taurian.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2011 12:07 AM
02-11-2011 12:07 AM
Re: NFS mount of Linux fails when package shifted to failover node
Hi all,
I don't have the showmount command's output with me currently, but below is the exportfs output from SG Node 2:
ahlprdap: [/etc/cmcluster/PRD]# exportfs
/usr/sap/trans -root=ahlap1:ahlap2,anon=0
/sapmnt/PRD -root=ahlap1:ahlap2,anon=0
I've also noticed that when package fails over, the nfs filesystems on the Linux box stop responding for a few minutes but then everythings starts working. BUT after this, if I unmount the filesystem I cannot remount them (I get the same Permission denied error).
This is baffling. Please help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2011 05:43 PM
02-17-2011 05:43 PM
Re: NFS mount of Linux fails when package shifted to failover node
Why do you use /etc/exports and hanfs both.
I assume you can use hanfs since it will take care of your NFS exports whithin the cluster.
It looks your hanfs is different on both nodes and you can consider making node2's script similar to node1.
Are you running any firewall on linux system like iptables?
WCI