Sponsored Content
Operating Systems AIX Network File System using HACMP Post 302536073 by phobus on Monday 4th of July 2011 04:40:01 AM
Old 07-04-2011
Hi,
This is a cut from POWER HA CookBook:
Code:
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
mixed.
 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 cluster.es.nfs 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 2.5.0.0
PowerHA V5.5 5300-09 2.4.10
PowerHA V5.5 6100-02-01 IZ31208 2.5.2.0
PowerHA/XD V5.5 5300-09 2.4.10
PowerHA/XD V5.5 6100-02-01 IZ31208 2.5.2.0
PowerHA/XD V5.5
GLVM Async
6100-02-03 IZ31208,IZ31205,
IZ31207
2.5.2.0
HACMP/PowerHA
Version
AIX OS Level Required APARs Minimum
RSCT Level
18 PowerHA for AIX Cookbook
For AIX Version 5.3:
 bos.net.nfs.server 5.3.7.0
 bos.net.nfs.client 5.3.7.0

 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. AIX

NETWORK IP ADDRESS on HACMP

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

7. 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: h@foorsa.biz
3 Replies

8. 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

9. 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

10. 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
MOUNTD(8)						    BSD System Manager's Manual 						 MOUNTD(8)

NAME
mountd -- service remote NFS mount requests SYNOPSIS
Obsolete. See nfsd(8). DESCRIPTION
The mountd daemon was formerly the server for NFS mount requests from NFS clients. This functionality has been moved into the NFS server daemon nfsd(8). Please refer to nfsd(8) for NFS server documenation. The following is a list of former mountd options that are now available as nfsd(8) options: mountd option nfsd option Description -n -N allow non-root mounts -r -R allow regular file mounts exportsfile -F exportsfile alternate exports file However, such configuration options are normally specified via nfs.conf(5). When the NFS server is started, it loads the export host addresses and options into the kernel using the nfssvc(2) system call. After chang- ing the list of exports (either directly or indirectly via a change in netgroup membership), the administrator should send a hangup signal to the nfsd daemon to get it to reload the export information: kill -s HUP `cat /var/run/nfsd.pid` For backwards compatibility, the following should also work: kill -s HUP `cat /var/run/mountd.pid` Any errors encountered while processing the export entries will be logged via syslog(3). FILES
/etc/exports the list of exported filesystems /var/run/mountd.pid the pid of the currently running mountd /var/run/mountdtab the current list of outstanding mounts served /var/run/mountdexptab information about exported file systems and directories (UUIDs, handles, ...) SEE ALSO
nfsd(8), exports(5), nfs.conf(5), nfsstat(1), portmap(8), showmount(8) HISTORY
The mountd utility first appeared in 4.4BSD. It's functionality was merged into nfsd(8) in Darwin 9. BSD
November 10, 2006 BSD
All times are GMT -4. The time now is 04:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy