Beruflich Dokumente
Kultur Dokumente
1 of 6
https://www.ibm.com/developerworks/community/blogs/...
IBM
English
Technical topics
My Blogs
Public Blogs
Evaluation software
Community
My Updates
Events
This Blog
Search
Log in to participate
Tags
Find a Tag
aix
chris_gibson
cluster
gibson
AnthonyEnglish
vios
Share this
UpdatedToday 4:42 AM
List
brian_s
Cloud
cggibbo | Oct 21 2010 | Tags: caa_private0 event caa aware ahafs cluster mkcluster aix
Using Cluster Aware AIX with AIX 7.1 you can create a cluster of AIX nodes. This interconnected cluster
0
of nodes can immediately provide several capabilities, such as:
chris
Similar Entries
UpdatedSaturday 5:05 AM
0
The
CAA does not form a cluster by itself. It is a tool set. There is no notion of quorum. (If 20 nodes of a 21
noPower Systems Ha...
cluster are down, CAA still runs on the remaining node). CAA does not eject nodes fro
Blog: Scott Vetter'...
tools to fence a node but never fences a node and will continue to run on a fenced no
ScottVetter
UpdatedNov 5
0
As you can see in the following diagram, cluster products, like PowerHA, will integra
manage highly available clusters.
Archive
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
April 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
So you will still need some form of cluster product, either from IBM or another vendo
that provides high availability capabilities like node failover/takeover.
June 2012
May 2012
March 2012
What follows are some of the most important snippets from the CAA documentation (IM
AIX 7.1 Information Centre (see the link at the bottom of the page).
Just like any cluster, each node that is added to a cluster by using CAA must have co
available, for example via SAN storage device. These storage devices are used for the
and for any clustered shared data disks.
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
The Storage Naming Service provides a global device view across all the nodes in the cluster. The Stora
August 2011
Naming Service also provides a single global device name for a disk from any node in
11/18/2013 09:14 PM
2 of 6
https://www.ibm.com/developerworks/community/blogs/...
device name, for example, cldisk1, refers to the same physical disk from any node in the cluster.
July 2011
June 2011
The cluster repository disk is used as the central repository for the cluster configuration data. The cluster
repository disk must be accessible from all nodes in the cluster and is a minimum of 10 GB in size. Given the
importance of the cluster configuration data, the cluster repository disk should be backed up by a redundant and
highly available storage configuration. Even though the cluster repository disk is visible as a disk device to AIX, it
should be treated as a special device for the cluster. The use of LVM commands is not supported when used on
a cluster repository disk. The AIX LVM commands are designed as single node administrative commands, and
are not applicable in a clustered configuration.
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
The cluster repository disk is renamed to a private device name (caa_private0). A raw section of the disk and a
section of the disk that contains a special volume group and special logical volumes are used during cluster
operations.
November 2010
A multicast address is used for cluster communications between the nodes in the cluster.
August 2010
These are configured automatically during the creation of the cluster. These nodes support cluster monitoring of
events and cluster configuration attributes.
July 2010
October 2010
September 2010
June 2010
May 2010
Scalable reliable multicasting is implemented in the cluster with a special gossip protocol over the multicast
address. The gossip protocol determines the node configuration and then transmits the gossip packets over all
available networking and storage communication interfaces (either Fibre Channel and/or SAS adapters). If no
storage communication interfaces are configured, only the traditional networking interfaces are used.
April 2010
March 2010
February 2010
January 2010
When you first configure CAA, the following actions are performed:
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
Blog Authors
cggibbo
1 - 1 of 1 authors
In the following example I created a two node cluster using CAA tools. First of all, I had to use the mkcluster
command to define the cluster nodes, shared storage and repository disk. The node names are 7502lp01 and
7502lp02. The shared data storage disks are hdisk2, hdisk3 and hdisk4. The repository disk, used to house the
cluster configuration data, is hdisk1.
# mkcluster -n mycluster -r hdisk1 -d hdisk2,hdisk3,hdisk4 -m 7502lp01,7502lp02
mkcluster: Cluster shared disks are automatically renamed to names such as
cldisk1, [cldisk2, ...] on all cluster nodes. However, this cannot
take place while a disk is busy or on a node which is down or not
reachable. If any disks cannot be renamed now, they will be renamed
later by the clconfd daemon, when the node is available and the disks
are not busy.
Youll notice that the mkcluster command informed me that the cluster shared disks are automatically renamed
to cluster disk names like cldisk1. After Id run the command I noticed something quite interesting and
impressive. Prior to configuring the cluster the shared disks on both nodes had names like hdiskX. Afterwards
the shared disks had been renamed across both nodes. Now these disks had the same name!
This is going to simplify cluster configuration and management. No more will I need to remove and recreate disks
in order to resolve disk naming inconsistencies in a cluster. The lspv output (shown below) from both nodes
shows that I have three shared disks (cldisk1, cldisk2 and cldisk3). These would be used for shared data. The
disk named caa_private0 is my cluster repository disk. This is used to store and share the cluster configuration
data.
7502lp01:
# lspv | sort
caa_private0
00f61ab20b97190d
caavg_private active
cldisk1
00f61ab20bf28ac6
cldisk2
none
None
cldisk3
none
None
hdisk0
00f61ab2f73e46e2
None
rootvg
active
11/18/2013 09:14 PM
3 of 6
https://www.ibm.com/developerworks/community/blogs/...
7502lp02:
# lspv | sort
caa_private0
00f61ab20b97190d
caavg_private active
cldisk1
00f61ab20bf28ac6
cldisk2
none
None
cldisk3
none
None
hdisk0
None
00f61ab2895e4cbe
rootvg
active
Cluster Aware AIX tells you what nodes are in the cluster plus information on those nodes, including state. A
special gossip protocol is used over the multicast address to determine node information and implement
scalable reliable multicast. No traditional heartbeat mechanism is employed. Gossip packets travel over all
interfaces, including storage. Immediately after running mkcluster, I was able to query the status of the nodes in
my cluster without any further configuration!
# lscluster -m
Calling node query for all nodes
Node query number of nodes examined: 2
267ce7fc-bf55-11df-a3b9-6e8dd877b814
267ce7fc-bf55-11df-a3b9-6e8dd877b814
11/18/2013 09:14 PM
4 of 6
https://www.ibm.com/developerworks/community/blogs/...
FAStT03IB
Mfcp05VDASD03AIXvscsi
type : CLUSDISK
uUid : 9807465b-3194-f1e5-8a04-1f044bc82593
hdisk1
state : UP
uDid :
uUid : 600a0b80-0047-5d0a-0000-e6094bc82690
type : REPDISK
You can run cluster wide commands on all nodes immediately after configuring your cluster using the clcmd
command. No further configuration required.
# clcmd ps -ef
------------------------------NODE 7502lp01
------------------------------UID
PID
root
root 655526
PPID
0
STIME
0 Aug 25
1
- 0:00 /etc/init
0 Aug 25
- 0:18 [cimserve]
root 1310840
0 Aug 25
- 0:00 /usr/ccs/bin/shlap64
root 2490482
0 Aug 25
- 0:42 /usr/sbin/srcmstr
root 3145874
3801262 0 11:17:13
root 3276994
2490482 0 Aug 25
- 0:00 telnetd -a
- 0:10 /usr/sbin/snmpd
------------------------------NODE 7502lp02
------------------------------UID
PID
root
PPID C
STIME
0 1 Aug 28
root 1441934
1 0 Aug 28
- 0:39 /usr/sbin/syncd 60
root 1638496
1 0 Aug 28
- 0:00 /usr/ccs/bin/shlap64
root 2228252
2556054 0 Aug 28
- 0:00 /usr/sbin/hostmibd
I believe that PowerHA SystemMirror 7.1 will be the first cluster product from IBM to provide high availability on
AIX using the new Cluster Aware AIX features. An IBM Redbook Residency recently covered the integration of
CAA and PowerHA. Im eagerly awaiting the first draft of this book so that I can learn how these two components
will play together.
Refer to the AIX 7.1 Information Centre for more information on Cluster Aware AIX:
http://publib.boulder.ibm.com/infocenter/aix/v7r1/topic/com.ibm.aix.clusteraware/claware_main.htm
11/18/2013 09:14 PM
5 of 6
https://www.ibm.com/developerworks/community/blogs/...
Refer to the AIX 7.1 Information Centre for more information on AHAFS and the new AIX Event Infrastructure:
http://publib.boulder.ibm.com/infocenter/aix/v7r1/index.jsp?topic=/com.ibm.aix.baseadmn/doc/baseadmndita
/aix_ev.htm
Add a Comment
More Actions
Comments (11)
1 - 11 of 11
Page 1
Previous
Next
Hi, <div> </div> I have two node with AIX 6.1 TL08 SP2, i want configure powerha 7.1.1, but unfortunatly when i must create the repository disk, the
mkcluster command failed with this message: <div> </div> mkcluster: Cluster product not licensed <div> </div> do you know, why? <div>
</div> Thanks in Advance
sure, i have installed yet the POWERHA 7.1.1: <div> </div> [dmv02trnx:root:/home/root:] halevel -s <br /> 7.1.1 GA <br /> [dmv02trnx:root:/home/root:]
mkcluster -r hdisk300 -d hdisk302 -m dmv02trnx,dmv03trnx -v <br /> INFO: START <br /> mkcluster: Cluster product not licensed. <br />
[dmv02trnx:root:/home/root:] <div> </div> someone know, why i have this problem? <div> </div> Thanks in advance
yes, i have installed yet. <div> </div> My realease is "PowerHA 7.1.1" <div> </div> do you have any idea?
I have not come across this error before. I would recommend installing the latest updates for PowerHA 7.1 and then try again.
I asked my PowerHA guru about this and his advice was: <div> </div> "when testing labs for...class, I ran into it ....what I did to get it to work was create
a bare PowerHA cluster, sync, let it create the CAA cluster like normal. Then go back and remove/delete the cluster definition and then I could do mkcluster
manually after that. <div> </div> Another thing I discovered (searching PMRs when I hit it) might be a cause, is AIX Express edition does not include
CAA support. So there is a chance IF they had Express edition that CAA would not be able to be used to." <div> </div> Of course, if none of this helps,
you should open a new PMR with IBM support.
Thanks, <div> </div> but i have latest SP of PowerHA yet, and i have opened a PMR for this problem. Today i have also upload "snap" files.
<div> </div> When i'll solve this problem, i can write here the solution for traceability, ok? <div> </div> Thanks in advance, Bye Bye
However, i don't have AIX Express Edition, because my servers are on Production Environment, and I'm working at IBM italy (Rome).
I read in an IBM document that size of Cluster repo disk should be greater than 512MB and less than 460GB. Please confirm <br /> Also I have a related
question. Can we have multiple repo disks, (mirrored or unmirrored ) as cluster repository disks to avoid single disk as a SPOF. I am aware that we can replace
the repo disk.
The online CAA documentation appears to be out dated. <div> </div> Basically CAA needs 256MB and PowerHA needs a 512MB disk. The initial 7.1.0
release did have a 10GB lun requirement documented, which later changed to 1GB, but going forward with the new usage of CAA with HA versions 7.1.1 and
7.1.2 they only need 512MB. Thus the smallest size is 512MB the largest if 460GB. The size requirements should not change even for a 16 node cluster, so
we typically advise clients to use their standard lun size if they don't want to jump through hoops with their storage team, or assign it as small as possible w/the
512MB min size since anything beyond that would be wasted space. <div> </div> Note that in the first release we would create a database w/the Solid
DB fileset and we no longer exploit it in V7.1.1 or 7.1.2. So you basically only see raw lvs in the private VG that gets created, you no longer see the filesystems
that we had in V7.1.0. <div> </div> At this stage, it's not possible to have multiple repos disks. Only the backup disk (for hot replacement).
11/18/2013 09:14 PM
6 of 6
Show: 10
https://www.ibm.com/developerworks/community/blogs/...
25
Jump to page
of 1
Previous
Next
Add a Comment
Previous Entry
Main
Next Entry
Feed for Blog Entries | Feed for Blog Comments | Feed for Comments for this Entry
About
Report abuse
Faculty
Help
Feeds
Terms of use
Students
Contact us
IBM privacy
Business Partners
Submit content
IBM accessibility
11/18/2013 09:14 PM