Network File System using HACMP

Thread Tools Search this Thread
Operating Systems AIX Network File System using HACMP
# 1  
Old 07-04-2011
Network File System using HACMP


I have an HACMP cluster with two nodes. The Resource Group contains a VG which in turn has a FS created in it say /test.. Now I want that FS to be mounted through NFS on some other AIX servers as well. What would be the best way to do this?

# 2  
Old 07-04-2011
This is a cut from POWER HA CookBook:
2.4.3 NFS
PowerHA works with the AIX network file system (NFS) to provide a highly
available NFS server, which allows the backup NFS server to recover the current
NFS activity should the primary NFS server fail. This feature is only available for
two-node clusters when using NFSv2/NFSv3, and more than two nodes when
using NFSv4, because PowerHA preserves locks for the NFS file systems and
handles the duplicate request cache correctly. The attached clients experience
the same hang if the NFS resource group is acquired by another node as they
would if the NFS server reboots.
When configuring NFS through PowerHA, you can control:
 The network that PowerHA will use for NFS mounting.
 NFS exports and mounts at the directory level.
 Export options for NFS exported directories and file systems. This information
is kept in /usr/es/sbin/cluster/etc/exports, which has the same format as
the AIX exports file - /etc/exports.
NFS and PowerHA restrictions
The following restrictions apply:
 Only two nodes are allowed in the cluster if the cluster is using
NFSv2/NFSv3. More than two nodes are allowed if using NFSv4.
 Shared volume groups that contain file systems that will be exported by NFS
must have the same major number on all nodes, or the client applications will
not recover on a fallover.
 If NFS exports are defined on the node through PowerHA, all NFS exports
must be controlled by PowerHA. AIX and PowerHA NFS exports cannot be
 If a resource group has NFS exports defined, the field “file systems mounted
before IP configured” must be set to true.
 By default, a resource group that contains NFS exported file systems, will
automatically be cross-mounted. This also implies that each node in the
resource group will act as an NFS client, so must have a IP label on the same
subnet as the service IP label for the NFS server.
NFS cross-mounts
NFS cross-mounts work as follows:
 The node that is hosting the resource group mounts the file systems locally,
NFS exports them, and NFS mounts them. Thus becoming both an NFS
server and also an NFS client.
 All other participating nodes of the resource group simply NFS mount the file
systems, thus becoming NFS clients.
Chapter 2. High availability components 67
 If the resource group is acquired by another node, that node mounts the file
system locally and NFS exports them, thus becoming the new NFS server.
For example:
 Node1 with service IP label svc1 will locally mount /fs1and NFS exports it.
 Node2 will NFS mount svc1:/fs1 on /mntfs1.
 Node1 will also NFS mount svc1:/fs1 on /mntfs1.

Requirements for NFSv4
The fileset that comes with the PowerHA installation medium
installs the NFSv4 support for PowerHA, along with a NFS Configuration
Assistant. To install this fileset, the following BOS NFS components must also be
installed on the system.
HACMP V5.4.x 6100-00 IZ02620
PowerHA V5.5 5300-09 2.4.10
PowerHA V5.5 6100-02-01 IZ31208
PowerHA/XD V5.5 5300-09 2.4.10
PowerHA/XD V5.5 6100-02-01 IZ31208
PowerHA/XD V5.5
GLVM Async
6100-02-03 IZ31208,IZ31205,
AIX OS Level Required APARs Minimum
RSCT Level
18 PowerHA for AIX Cookbook
For AIX Version 5.3:

# 3  
Old 07-04-2011
Thanks Phobus for the reply Smilie

Well what i did was go to the destination machine. update its /etc/hosts file with the Service IP and hostname of the cluster...

In the cluster hacmp settings for Resource Group I added my mount point where it asks for
"FileSystems/Directories to export (nfsv3/4) [/testmnt]"

and syncd the cluster from Extended Config>Extended Verification and Synchro

after this I went back to the destination machine and tried to mount nfs and lo!

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

HACMP file system

Hi I have a doubt. Our setup is a 2 node HACMP cluster. To create a HACMP file system we do via #smitty hacmp -> cspoc. Imagine if I have done a mistake and created the file system locally in one of the node using #smitty crfs. How to bring this file system now under HACMP? (4 Replies)
Discussion started by: newtoaixos
4 Replies

2. AIX

hacmp - is it possible to remove a disk heartbeat network from an online cluster?

Hi I'm a little rusty with HACMP, but wanted to find out if it is possible to remove a disk heartbeat network from a running HACMP cluster. Reason is, I need to migrate all the SAN disk, so the current heartbeat disk will be disappearing. Ideally, I'd like to avoid taking the cluster down to... (2 Replies)
Discussion started by: cmcbugg
2 Replies

3. AIX

HACMP does not start db2 after failover (db2nodes not getting modified by hacmp)

hi, when I do a failover, hacmp always starts db2 but recently it fails to start db2..noticed the issue is db2nodes.cfg is not modified by hacmp and is still showing primary node..manually changed the node name to secondary after which db2 started immediately..unable to figure out why hacmp is... (4 Replies)
Discussion started by: gkr747
4 Replies

4. AIX

Make system backup for 2 nodes HACMP cluster

Hi all, I was wondering if someone direct me in how to Make system backup for 2 nodes HACMP cluster ( system image ) . What are the consideration for this task (3 Replies)
Discussion started by:
3 Replies

5. AIX


Hi, I try to understand how to configure my ethernet network in a hacmp cluster. I have 2 nodes, 3 lan port on each node, and 1 service ip to cluster. I don't have any serial o iscsi heartbeat. Do you suggest me a possibile ip address configuration? I've many error whene I verify it from hacmp... (3 Replies)
Discussion started by: hacmp
3 Replies

6. Linux

network audio system

The Network Audio System (NAS) Anybody have any luck with nasd or xmms-nas with any 2.6 distribution? Works fine under FreeBSD (6.0/7.0). (0 Replies)
Discussion started by: ramen_noodle
0 Replies

7. Solaris

Mounting a NFS network file system across platforms - Solaris to AIX

Hi all, Kind of an emergency situation, I have to NFS mount an AIX filesystem on to a Sun Solaris OS (5.10). Typically from Sun to Sun is: mount -F nfs <remote file system>/dir <mount point> Which of course doesn't work if the remote file system is another OS (like AIX). Is there... (1 Reply)
Discussion started by: jeffpas
1 Replies

8. Shell Programming and Scripting

Taking a system off a network on a system

say i have a system on thats on a network with access to the internet. now, i have sensitive information on this system and i do not want the system to be connected to the outside world anymore. how do i get it off the network without actually having to disconnect the cables? i'm asking this... (4 Replies)
Discussion started by: Terrible
4 Replies

9. AIX

hacmp network adapter re-define

I have an LPAR in a P5 machine which has been setup in an HACMP cluster. The person who set it up allocated the wrong network adapter (en) to the persistent network. For the life of me I cannot find where I can re-assign this adapter. Anyone able to help me as I am tearing my hair out and do not... (1 Reply)
Discussion started by: johnf
1 Replies

10. UNIX for Advanced & Expert Users

Network and System files

I was given this question and cannot seem to answer it. "Identify 4 network and 4 sytem files that control how the system and network function (other than rc files)." The problem is I only know of rc files. Can anyone help? (2 Replies)
Discussion started by: trip
2 Replies
Login or Register to Ask a Question