Using AIX HACMP and NFS together


 
Thread Tools Search this Thread
Operating Systems AIX Using AIX HACMP and NFS together
# 8  
Old 10-17-2007
Sorry, when i do not understand the problem completely.

There are two possible situations: you have a HACMP cluster (lets call the machines A and B) and they have between them some filesystem, which an application uses. HACMP should make sure that this filesystem is exported as an NFS share for some third machine C. Normal operation would be that the FS is mounted on A and exported from there to C, if A fails B should mount the FS and export it to C again.

If this is what you want it is called HA-NFS and is included in standard HACMP since more than a decade (IIRC the first version of HACMP including the up to then standalone feature HA-NFS was 4.2 from 1995 or so). You should simply enter the mounts and the exportfs commands necessary to the Start-/Stop-scripts of the TAKEOVER event in HACMP so they get executed whenever a takeover takes place.

The other possibility is: you have a external machine which exports some filesystem to the cluster nodes and you want to have the active cluster node mount this filesystem.

The first advice is: don't do it. NFS is by no means a device to mount filesystems for a longer time. Since your machine has one and only one IP stack (which NFS is using) your network performance probably will go down when you use the filesystem. NFS is a great tool if you want to quickly distribute data from one system to the other: mount the FS, do whatever you want, umount it. To use it for mounting e.g. filespace for a database or something such is very poor design, regardless of it working or not.

NFS won't be able to reliably remount the FS once the connecction gets temporarily distorted, you can't cleanly "cut the line" to the disks in case something fails (like you could do with SCSI- or FC-AL-devices), etc. If you have a hanging NFS-mount quite often the only way to get rid of it is to reboot the machine. This is NOT a desirable setup.

Having said this it will (with the restrictions mentioned) work quite normally, wenn you include the NFS-shares in a "resource group". See your HACMP documentation on how to manage resource groups and what they consist of. Basically a resource group is a set of filesystems, some Start-/Stop-scripts to start/stop an application, some service IP-adresses, etc. This resource groups will swing back and forth between the cluster nodes when a takeover takes place. An "active" cluster node is basically the node which has the resource group(s) active.

I hope this helps.

bakunin
# 9  
Old 05-12-2009
Can the moderators merge this thread with another HACMP + NFS thread AIX 6.1 and NFS problem after HACMP config

thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

AIX NFS Server and NFS Client

Hi 2 ALL, try to run NFS Server in AIX 7.1 : 1. Step by step on NFS Server node mkdir /tmp/test chgrp staff /tmp/test chmod 775 /tmp/test-- create export directory (fs) mknfsexp -d /tmp/test -t ro exportfs -va show mount -e :/# exportfs -av exports: 1831-187 re-exported /tmp/test... (4 Replies)
Discussion started by: penchev
4 Replies

2. AIX

How to check if HACMP is running on AIX node?

Hello AIX experts, I have few queries and appreciate if you could help me with them. 1. How to check if HACMP (or any other AIX OS cluster) is installed 2. How to check if HACMP (or any other AIX OS cluster) is running 3. how to check which Oracle DB instance is running on it 4. how to... (1 Reply)
Discussion started by: prvnrk
1 Replies

3. AIX

HACMP and NFS client

Hi all, I know there are topics regarding this but didn't found the answer. I have two node HACMP cluster and the application that runs there relies on some NFS mount. The NFS server is some 3rd box that have nothing to do with the cluster. How can I mount the NFS shares only on the active... (5 Replies)
Discussion started by: emoubi
5 Replies

4. AIX

Hacmp for aix 5.3

Hi where from i can get hacmp for studying pupose (trial ). I have AIX 5.3 TL 7 i googled. i didnt get any link. Please suggest. (1 Reply)
Discussion started by: sunnybee
1 Replies

5. AIX

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: kristijan.org NFS cross-mounts in PowerHA/HACMPMy 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... (3 Replies)
Discussion started by: giobuon
3 Replies

6. UNIX for Advanced & Expert Users

HACMP version for AIX 6.1

Hello. We are using AIX 5.3 with HACMP 5.4.1. At this moment AIX and clustering are using 2 servers. A third server is added. It does not seem to work with HACMP. Are there any controle checks? Thank you if you could help. Regards, Ynze van Aken Netherlands (0 Replies)
Discussion started by: yvanaken
0 Replies

7. AIX

AIX HACMP Active/Passive Config

I have a HACMP 6.1 configured in a active/passive. I have 1 NIC with 3 IP address on (Boot, Persistent and Service ) . All address are routable. One of the application on the HA cluster is also using Boot Ip to send application data. Question : Since all the traffic is passing thru the same... (3 Replies)
Discussion started by: mk8570
3 Replies

8. AIX

NFS won't work till I start HACMP

Hi, My NFS does not work till I start HACMP. The NFS service is indeed started when server starts. But it is not in active state, when I use lssrc to check NFS services' status I find they are all in inoperative status. But after I start HACMP (smitty clstart), all NFS services become active... (4 Replies)
Discussion started by: qiulang
4 Replies

9. AIX

HACMP 5.4 with AIX 5300-10 not working

I have two IBM_9110-51A boxes OS - fresh installs 5764-G03 TL 5300-10-00 disks dated 5/2009 HACMP - fresh installs HACMP for AIX 5L Base V5.4 5765-F62 dated 7/2006 Bottom line for smit output attempting 2 node cluster config ... (2 Replies)
Discussion started by: DrKillPatient
2 Replies

10. 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
Login or Register to Ask a Question