HACMP, NFS cross-mount problem. Can not move resource group


 
Thread Tools Search this Thread
Operating Systems AIX HACMP, NFS cross-mount problem. Can not move resource group
# 1  
Old 09-14-2011
HACMP, NFS cross-mount problem. Can not move resource group

Hi,
I'm new to HACMP. Currently I setup a cluster with nfs cross-mount follow this guide:
PHP Code:
kristijan.org  NFS cross-mounts in PowerHA/HACMP 
My cluster has two nodes: erp01 and erp02.
I'm using nfs4 with filesystem for nfs is: /sapnfs
Cluster start without problems. But I cannnot move RG (with NFS mount) from erp01 to erp02. hacmp.out shows that erp01 stucks at umount /sapnfs.
Another RGs (without NFS mount) can move smoothly.

Where can I start to debug?

TIA,
giobuon

---------- Post updated 09-14-11 at 01:45 AM ---------- Previous update was 09-13-11 at 07:43 PM ----------

I solved my problem by placing command
PHP Code:
rexec   erp01   fuser -kxuc /mount_point
rexec   erp02   fuser 
-kxuc /mount_point
exit 
on app stop script.

But I got another problem when mount this share from another host (erp03).

PHP Code:
root@erp03# mount /sapmnt
mount1831-011 access denied for erp01:/sapnfs
mount
1831-008 giving up on:
erp01:/sapnfs
The file access permissions 
do not allow the specified action
Here's some info:
PHP Code:
root@erp01# more /usr/es/sbin/cluster/etc/exports
/sapnfs -public,access=erp03:erp02_stb:erp02_boot:erp02:erp01_stb:erp01_boot:erp01,vers=4,root=erp03:erp02_stb:erp02_boot:erp02:erp0
1_stb
:erp01_boot:erp01,hasrv=erp0 
PHP Code:
root@erp01# lsnfsexp
/sapnfs -public,access=erp03:erp02_stb:erp02_boot:erp02:erp01_stb:erp01_boot:erp01,vers=4,root=erp03:erp02_stb:erp02_boot:erp02:erp01_stb:erp01_boot:erp01,hasrv=erp01 
I added the same host entries on all nodes.

Please help!
TIA,
giobuon

Last edited by giobuon; 10-06-2011 at 11:00 AM..
# 2  
Old 09-14-2011
do you have the same vg major number on both nodes, for the vg you want to export the filesystem from?

Code:
ls -l /dev/vgname

# 3  
Old 09-15-2011
Is the hostname erp03 registered as such in DNS or in /etc/hosts on erp01?
These type of problems are usually caused by (reverse) DNS resolution.

# 4  
Old 09-16-2011
My bad.
In host erp03, I need to specify nfs version is 4 (after set nfs local domain and start nfsrgyd).
Thanks for all your replies.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Sysmirror 7.1.3 Resource Group NFS mounts

Hello all, I'm working to fix a two-node SysMirror cluster that uses NFS mounts from a NetApp appliance as the data repository. Currently all the NFS mounts/unmounts are called from the application controller scripts, and since file collection isn't currently working, (One fight at at time... (3 Replies)
Discussion started by: ZekesGarage
3 Replies

2. Shell Programming and Scripting

Move script from windows to Linux using NFS mount

Hi All, Is there a command or script which will push a file from Windows server to Linux box? using the mount command. I want the details or document of the whole process please. I want this script to run every 30 minutes to push the file from windows to unix Thanks (16 Replies)
Discussion started by: thinkingeye
16 Replies

3. Shell Programming and Scripting

NFS Mount 16+ group Issue in AIX

Hi, I am trying to read files from NFS mount. The ID with which I am trying to read is part of 16+ groups. This is causing problem in doing change directory to the NFS mount directory. I was able to get some code which does newgrp to change the default group so that I could change... (3 Replies)
Discussion started by: pinnacle
3 Replies

4. AIX

Adding a Volume Group to an HACMP Resource Group?

Hi, I have a 2 node Cluster. Which is working in active/passive mode (i.e Node#1 is running and when it goes down the Node#2 takes over) Now there's this requirement that we need a mount point say /test that should be available in active node #1 and when node #1 goes down and node#2 takes... (6 Replies)
Discussion started by: aixromeo
6 Replies

5. AIX

HACMP resource group State not STABLE

Hi, Not sure if this is the correct forum to post this on but maybe a mod could move it if not. When trying to move a HACMP resource group between lpars on AIX I receive the following. State not STABLE/RP_RUNNING or ibcasts Join for node 2 rejected, Clearing in join protocol flag... (11 Replies)
Discussion started by: elmesy
11 Replies

6. Solaris

Solaris + VCS , move a resource to another group

Hi, I am running Solaris 10 + VCS 5 in one of our environment. Recently one of my colleague configured all resources in a single service group.( ie, one service group which has all resources) ,Usually we create seperate service groups for Hardware & for application. For eg: SYS_HW_GRP, will... (0 Replies)
Discussion started by: mpics66
0 Replies

7. AIX

AIX 6.1 and NFS problem after HACMP config

Hello folks, I am facing a problem with NFS after doing the HACMP configuration Issue : The showmount -e pr2serv at pr1serv ,it is only showing 1 mount exported /oracle , instead of showing all 7 as per /etc/exports file. issue : while mounting /oracle at pr1serv getting permission... (8 Replies)
Discussion started by: filosophizer
8 Replies

8. HP-UX

nfs cross mount

how can I do nfs cross mount between two servers' nfs filesystems? should I put a wrapper or do I have to use /etc/rmtab ? advise me which method I have to use ? (2 Replies)
Discussion started by: xramm
2 Replies

9. SCO

SCO6 NFS Problem mounting Windows resource

Hi, We are testing SCO6 for an upgrade. We currently have a SCO5.0.4 system that mounts a remote directory on a Windows 2000 server. The windows server has 'services for unix' installed to enable the required directory to be mounted on the SCO system. On SCO we run '/etc/mount -v -f NFS... (2 Replies)
Discussion started by: sidnagra
2 Replies

10. UNIX for Dummies Questions & Answers

NFS mount problem

Hello, I'm trying to create an NFS mount on server1 to server2. From the man pages I think I'm doing it right: mount server2:/dev/vg60/lvol607 /net1 nfs mount: server1:/dev/vg60/lvol607: Permission denied Do I need to provide login credentials to server 2 somehow? What am I missing? ... (1 Reply)
Discussion started by: FredSmith
1 Replies
Login or Register to Ask a Question