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 0
on app stop script.
But I got another problem when mount this share from another host (erp03).
PHP Code:
root@erp03# mount /sapmnt
mount: 1831-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