Question about Heartbeat (II)
Matias Villarreal
matiasnicolas at live.co.uk
Sun May 2 15:50:49 UTC 2010
Hey, I need some help on this.
I have a 2-node cluster. It has SAP. Haresources has: IP - LVM(VG) - FILESYSTEMS - nfsserver - MOUNT FOR NFS (3 of the previously mounted on FILESYSTEMS parameter) - SAP.
The 2 nodes has the same hareresources. I start heartbeat on node1. It sets up the IP cluster, actives the VG, mounts the FS, starts nfsserver, mounts the NFS (they are cluster FSs mounted through the cluster IP) and finally it starts SAP.
Then i go to the node2 and mount the same NFS as heartbeat mounted on node1. The NFS are mounted with the cluster IP. Then we start heartbeat so that if node1 crash out, it makes the faillover. After this we start the SAP instance on node2, that access the NFS mounted previously for us (on node2). When i test the faillover, it goes well, but when i go to node2 and issue the df command, I see the NFS went stale. I have them on both /etc/exports with the same fsid.
See...
DF OF NODE1
/dev/mapper/sapcluster_vg-nfs_lv
204788 32840 171948 17% /nfs
/dev/mapper/sapcluster_vg-R3QASCS01_lv
2097084 163400 1933684 8% /usr/sap/R3Q/ASCS01
/dev/mapper/sapcluster_vg-R3QSCS02_lv
2097084 163444 1933640 8% /usr/sap/R3Q/SCS02
/dev/mapper/sapcluster_vg-sapmntR3P_lv
1048540 737796 310744 71% /export/sapmnt/R3Q
/dev/mapper/sapcluster_vg-sap--put_lv
10485436 442392 10043044 5% /usr/sap/put
/dev/mapper/sapcluster_vg-datos--interfaces_lv
1048540 32840 1015700 4% /export/DATOS/INTERFACES
/dev/mapper/sapcluster_vg-ftpsieDATOS_lv
511980 32840 479140 7% /export/home/ftpsie/DATOS
172.29.99.245:/export/sapmnt/R3Q
1048544 737792 310752 71% /sapmnt/R3Q
172.29.99.245:/export/DATOS/INTERFACES
1048544 32832 1015712 4% /DATOS/INTERFACES
172.29.99.245:/export/home/ftpsie/DATOS
512000 32832 479168 7% /home/ftpsie/DATOS
DF OF NODE2
/dev/mapper/data_vg-oracle_lv
1048540 223616 824924 22% /oracle
/dev/mapper/data_vg-sap_lv
2097084 288944 1808140 14% /usr/sap
/dev/mapper/data_vg-sap_r3q_D00_lv
5242716 1680576 3562140 33% /usr/sap/R3Q/D00
/dev/mapper/data_vg-sap_r3q_DVEMGS00_lv
5242716 323156 4919560 7% /usr/sap/R3Q/DVEMGS00
emsapl888:/usr/sap/trans
75495168 51601688 23893480 69% /usr/sap/trans
172.29.99.245:/export/sapmnt/R3Q
1048544 737792 310752 71% /sapmnt/R3Q
172.29.99.245:/export/DATOS/INTERFACES
1048544 32832 1015712 4% /DATOS/INTERFACES
172.29.99.245:/export/home/ftpsie/DATOS
512000 32832 479168 7% /home/ftpsie/DATOS
The /nfs mounted by heartbeat on node1 has a folder called nfs with the files that contains the /var/lib/nfs directory. I mved the /var/lib/nfs directory and created a link, like this:
EMNEOL902:/etc/ha.d # ls -l /var/lib/nfs
lrwxrwxrwx 1 root root 8 Apr 28 21:57 /var/lib/nfs -> /nfs/nfs
Does somebody think anything about this?
Thanks in advance.
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969
More information about the redhat-list
mailing list