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
10 More Discussions You Might Find Interesting
1. AIX
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
2. AIX
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
3. AIX
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
4. AIX
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
5. UNIX for Advanced & Expert Users
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
6. AIX
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
7. AIX
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
8. AIX
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
9. AIX
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
10. AIX
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
LEARN ABOUT DEBIAN
mono-server2-admin
MONO-SERVER2-ADMIN(8) User Contributed Perl Documentation MONO-SERVER2-ADMIN(8)
NAME
mono-server2-admin - mono-server2 hosts file creator, hosts file is part of the debianized mod_mono package
SYNOPSIS
mono-server2-admin.conf [action] [args]
OPTIONS
Actions:
add Use 'add' if you want to create an application and want mono-server2 scripts to manage it
del If you want to remove an application
Args:
--path The path where you have your aspx files, MUST EXISTS!, required only with add action
--app The name of your application
--libs If you have dlls outside your path, you must use this!
--port Needed if you are running multiple virtual hosts in different ports in Apache
--vhost If you want to add asp.net support to a virtualhost you must use this. Example: foobar.com
DESCRIPTION
mono-server2-admin.conf is a perl tool to adminstrate your ASP.NET webapps that will be executed with
mod_mono.
When you try to add an application, admin.conf will verify that your path exists, if it is, it will
add a directory inside /etc/xsp/conf.d with the name of your app, and also as a file with the
filename format: 10_appname. This file will have the information (path, app).
So, when mono-xsp-update.conf is executed it will read those dirs and create a debian.webapp in
/etc/xsp that the xsp daemon will read, also with a mono-server2-hosts.conf that will have your
directory settings with apache directives. Apache will read mono-server2-hosts.conf!
AUTHOR
Pablo Fischer <pablo@pablo.com.mx>
perl v5.14.2 2012-01-18 MONO-SERVER2-ADMIN(8)