NFS won't work till I start HACMP


 
Thread Tools Search this Thread
Operating Systems AIX NFS won't work till I start HACMP
# 1  
Old 02-24-2010
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 automaticlly.

Why is that ?

BTW, my /etc/exports is rather simple, something like

/share -anon=500,sec=sys:krb5p:krb5i:krb5:dh,rw
# 2  
Old 02-25-2010
Quote:
Originally Posted by qiulang
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 automaticlly.

Why is that ?

BTW, my /etc/exports is rather simple, something like

/share -anon=500,sec=sys:krb5p:krb5i:krb5:dh,rw
Because of the HACMP design. HACMP does not expect you to have exports beside the cluster resources. Using both the AIX /etc/exports and the Cluster /usr/es/sbin/cluster/etc/exports is a (well known) possible source for cluster failure i.e. bad administration. Without the activated Resource Group there should be nothing of interest on the cluster node. So do not use a non-service IP-address or a persistent address for NFS exports. You should use a Service Label for the NFS export and let HACMP handle when/where to export the FS.
# 3  
Old 02-25-2010
Hi, thanks for answering my question!

I am a totally newbie to HACMP, so can you further elaborate how I can use Service Label for the NFS export ?

Thanks again!
# 4  
Old 02-25-2010
Quote:
Originally Posted by qiulang
[...]I am a totally newbie to HACMP, so can you further elaborate how I can use Service Label for the NFS export ?[...]
Well, you were a newbie in last October (Question about HACMP for active-active mode) but now is almost March. Smilie Fortunately HACMP/PowerHA is pretty well documented. Have a look at the Installation Guide at the IBM Cluster information center and then at the HACMP Cookbook. IBM Redbooks | PowerHA for AIX Cookbook. Good luck Smilie

Last edited by shockneck; 02-26-2010 at 04:12 AM.. Reason: spelling
# 5  
Old 02-25-2010
Oh hey, thanks!

I paste the procedures here in case someone else also needs it. So in the cookbook chapter 2.4.3 , it mentions

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

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

3. If a resource group has NFS exports defined, the field “file systems mounted before IP configured” must be set to true.

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

BTW, the reason I still a newbie Smilie is that this is NOT my job responsibility at all. We have some specific group people who are supposed to do this for us, but they are doing a lousy job.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

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

2. UNIX for Dummies Questions & Answers

Images won't work?

Hello, Images won't work on UNIX when I try posting them on my website I'm working on. It doesn't show the image, and it's simply erroring. Help! Thanks! (5 Replies)
Discussion started by: yazan
5 Replies

3. Red Hat

vftpd won't start..

Hi, I am using redhat enterprise 5.7 have installed vsftpd successfully but every time I try to start the service it comes up with FAILED. Here is the contents of the vsftpd.conf file: # Allow anonymous FTP? (Beware - allowed by default if you comment this out). anonymous_enable=YES # #... (3 Replies)
Discussion started by: titley100
3 Replies

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

5. Shell Programming and Scripting

take all characters from end to start till a fullstop

e.g. "hello.all" to be transformed to "all" :b: (6 Replies)
Discussion started by: hakermania
6 Replies

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

7. AIX

Using AIX HACMP and NFS together

Hi, need advice on this. Is it possible to assign a mountpoint from a SAN storage to server1 & server2. Use NFS to the same mountpoint from server2 so that concurrent access is allowed. Can this setup be used together with HACMP? If server1 crash, the mountpoint resource will swing to... (8 Replies)
Discussion started by: chongkls77
8 Replies

8. UNIX for Dummies Questions & Answers

ToolTalk won't start

on my AIX 6.1 CDE's ToolTalk server won't start. It says: dtsession: Unable to exec /usr/dt/install/oldrules/dtrmrules.driver. A file or directory in the path name does not exist. How can I fix this? (0 Replies)
Discussion started by: rein
0 Replies

9. UNIX for Dummies Questions & Answers

HP 10.20 Won start

After I log ino the machine, a window pops up indicating that I should check that the HOSTNAME is the same in these three files /etc//rc.configd/netconf /etc/hosts /var/adm/inetd.sec How do I change the hostname in these files? Thanks, Mike h (1 Reply)
Discussion started by: hutchin
1 Replies

10. UNIX for Dummies Questions & Answers

why won't this Work?

hey programmers! 1-why won't gcc accept as an argument? i tried the recommendations on the man page of getch(),..etc. nothing worked. 2-why it won't see <iostream> && <fstream> even if i implemented the function as follow std::cout<<"..etc"<<endl; 3-after i type this code in it gives... (6 Replies)
Discussion started by: mbabeli
6 Replies
Login or Register to Ask a Question