Sponsored Content
Operating Systems AIX AIX 6.1 and NFS problem after HACMP config Post 302315288 by filosophizer on Tuesday 12th of May 2009 03:58:58 AM
Old 05-12-2009
**** NFS exports in a resource group *****
NFS filesystem that is managed by HACMP.

* On each node verify that NFS is running or not
# lssrc –g nfs (after HACMP started)

* Modify the resource group R_G_A  /fsA to NFS export and set the option: Filesystems mounted before IP Configured to TRUE.

* smitty hacmp  Extended Resource Configuration  HACMP extended resource group configuration  change show Resources and Attributes for a Resource Group  R_G_A
+ Set Filesystems mounted before IP Configured to true
+ Set Filesystems/Directories to Export (NFSv2/3) to /fsA

* Synchronize the resources  Extended Configuration  Extended Verification and Synchronization

* more /var/hacmp/adm/cluster.log

* # lsnfsexp

* # cat /etc/xtab ( Note /etc/exports is not used by HACMP )
# cat /etc/exports

* Log in on Node_3 as root

* Create a directory for testing the NFS mount
# mkdir /node1
# mount Node_1#:/fsA /node1
( If this fails, check your /etc/hosts file – remember that node3 address must be resolvable in all the /etc/hosts files
# mount
# df –g


Modifying the NFS export Options (override file if you want to use non-root users to write on NFS mounted filesystem)

* on Node_2  #lsnfsexp

* # lsnfsexp > /usr/es/sbin/cluster/etc/exports

* Edit /usr/es/sbin/cluster/etc/exports and add the clients to the list of hosts for /fsA

* Copy /usr/es/sbin/cluster/etc/exports to Node_1

* Restart Cluster Services on Node_1

* Node_3 # touch /node1/file.txt


**** NFS cross-mount within the cluster ****
Nodes in the cluster act as both client and server ; Same name mount points

* On both nodes create a directory /samefs

* On Node_1 edit R_G_A resource group so that /fsA NFS filesystem will be NFS mounted on the /samefs mount point fo all nodes in that resource group

# smitty hacmp  Extended Configuration  Extended Resource Configuration  HACMP Extended Resource Group Configuration  Change/Show Resources and Attributes for a Resource Group  Select R_G_A  Set Filesystems/Directories to NFS mount: /samefs;/fsA

* Synchronize the resources  Extended Configuration  Extended Verification and Synchronization

# mount
# smitty clstop ( Node_1 ; so that Node_2 should have all the resource groups and that NFS mounts are OK)
# clRGinfo
# df -g
 

10 More Discussions You Might Find Interesting

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

2. AIX

AIX - boot - nfs problem

Hello Experts, I'm trying to boot my AIX server via network using another AIX as a boot server. I use tcpdump to monitor the process. After my boot client received .info file and mounted nfs resource (checked by 'showmount -a' from boot server) it hung. I noticed a lot of following entries: ... (0 Replies)
Discussion started by: jarekkk
0 Replies

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

4. AIX

Problem with NFS mount and network configuration between AIX and Windows 2003 servers

I ‘m beginner on unix I want to move an unix aix post 5.2 on distant site for use catia V4 with a foundation of data accommodated by a serveur windows 2003 and an environment accommodated on the serveur aix. The computer was linked up by IP (122.0.0.8) with waiter 2003 (via NFS) and the waiter... (8 Replies)
Discussion started by: astiaous
8 Replies

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

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

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

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

9. Red Hat

Apache virtual host config vs global config problem

Hi folks, I am trying to configure Apache webserver and also a virtual host inside this webserver. For Global server config: /var/www/html/index.html For virtual host config: /var/www/virtual/index.html Both client10 & www10 are pointing to 192.168.122.10 IP address. BUT, MY... (1 Reply)
Discussion started by: freebird8z
1 Replies

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

NAME
showmount -- show remote NFS mounts on host SYNOPSIS
showmount [-Ae36] [-a | -d] [host] DESCRIPTION
showmount shows status information about the NFS server on host. By default it prints the names of all hosts that have NFS file systems mounted on the host. See NFS: Network File System Protocol Specification, RFC 1094, Appendix A, and NFS: Network File System Version 3 Protocol Specification, Appendix I, for a detailed description of the protocol. -A Search for NFS servers advertised via Bonjour. -a List all mount points in the form: host:dirpath -d List directory paths of mount points instead of hosts. -e Show the host's exports list. -3 Use mount protocol Version 3, compatible with NFS Version 3. -6 Use only IPv6 addresses to contact servers. SEE ALSO
mount(1), mountd(8), nfsd(8), mDNSResponder(8) BUGS
The mount daemon running on the server only has an idea of the actual mounts, since the NFS server is stateless. showmount will only display the information as accurately as the mount daemon reports it. HISTORY
The showmount utility first appeared in 4.4BSD. 4th Berkeley Distribution September 26, 2010 4th Berkeley Distribution
All times are GMT -4. The time now is 06:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy