Professional Documents
Culture Documents
cover
Front cover
Trademarks
IBM® and the IBM logo are registered trademarks of International Business Machines
Corporation.
The following are trademarks of International Business Machines Corporation, registered in
many jurisdictions worldwide:
DB2® HACMP™ System i™
System p™ System x™ System z™
Windows is a trademark of Microsoft Corporation in the United States, other countries, or
both.
Linux is a trademark of Linus Torvalds in the United States, other countries, or both.
Other company, product, or service names may be trademarks or service marks of others.
TOC Contents
Purpose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
Requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Setup instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
LSGp Purpose
This Lab Set Up Guide provides directions for installing, preparing, and verifying the lab
hardware and software in preparation for conducting a class of course AN41 PowerHA
SystemMirror 6.1 Planning, Implementation and Administration.
The Requirements sections of this document may also be used to determine the specific
hardware and software needed to conduct a class.
LSG Requirements
The following tables list the hardware, software, and other materials needed to set up a lab
to conduct a class of course AN41 PowerHA (HACMP) System.
Hardware requirements
Table 1 lists the hardware one system needs. When preparing for a class, you must
determine the number of systems needed. This depends on how many teams will share the
same system. A ratio of two students per team is acceptable.
Software requirements
Table 2 lists the software needed to prepare the student and/or instructor lab set(s). When
preparing for a class, be sure you have the correct number of licensed copies of any
non-IBM software.
Image customization
Post-restore tasks required to customize the image in Table 2 for this version of the course
are listed in "AIX partition setup instructions" on page -15. All content necessary to conduct
the course is in the image noted in the table above.
IP address requirements
Each student lab setup requires the use of 5 IP addresses on the external network: HMC,
VIO, Lpar1, Lpar2 and Lpar3. A sixth address may be required if the connection from the
HMC to the managed system is on a public network. All IP addresses and hostnames
should be available for resolution from a DNS server, since the HMC does not permit the
use of a local /etc/hosts file for name resolution.
• One IP address/hostname is required for the HMC system (not needed if
• One IP address/hostname is required for the Virtual I/O Server partition (VIOS).
• Three IP addresses/hostnames are required, one for each of three AIX partitions
node1, node2 and node3.
• The /etc/hosts file in the image must not be overwritten.
• Add the hostname/IP address resolution for the en0 (login) interface for both nodes in a
student team to the /etc/hosts file and create an alias called node1 for the login address
to node1 and an alias called node2 for the login address to node2.
Configuration information
Remote
gateway
Student laptops (Windows XP, browser, remote gateway client such as Citrix)
* Each additional cluster on the same managed system must use different internal
vlan ID, AIX lpar name (c#node1, c#node2, c#node3)
© Copyright IBM Corporation 2012
Notes:
• For nodes: The lowest virtual ethernet (en0) is the external virtual adapter and has vlan
ID =1. This is the interface students will use to access the LPAR from the internet. It
should be in the same VLAN as the SEA in the VIO server.
• The other virtual ethernet adapters (en1 and en2) will have a vlan ID > 1. If more than
one cluster is placed on same managed system the VLAN IDs for en1, en2 must have a
different value for different clusters.
• The following describes the configurations of the student lab systems.
__ 5. Define the VIOS partition and its profile as described in Table 5, Table 6 and
Table 7.
Table 5: VIOS partition information
Partition Name LPAR ID Environment
VIOS 1 Virtual I/O Server
LSG Note: Four additional virtual scsi server slots are needed for each additional team
sharing the same managed system unless an additional vio server is implemented.
__ 6. Create the node1 partition and its profile as described in Table 8, Table 9 and
Table 10 below.
Table 8: node1 partition information
Partition Name LPAR ID Environment
node1 2 AIX/Linux
Important notes:
• Partition name: If this partition is part of a 2nd cluster (or more) sharing the same
managed system then preface the names with c# (eg c1node1, c1node2, c1node3,
c2node1, c2node2, c2node3, etc).
• LPAR ID: If this node is part of a 2nd cluster (or more) sharing the same managed
system then the chart above needs to be adjusted for this value.
• Virtual slots 3 and 4 PVID: If this node is part of a 2nd cluster (or more) sharing the
same managed system, then the PVID value for slot 3 and 4 must be set 1 number
higher for each additional cluster sharing the same managed system (eg 3 for cluster
two, 4 for cluster 3 etc)
• Virtual slots 5 and 6 SCSI client: If this node is part of a 2nd cluster (or more) sharing
the same managed system, then the VIO slot numbers shown in the chart above need
to be adjusted accordingly.
__ 7. Create the node2 partition and its profile as described in Table 11, Table 12 and
Table 13 below.
Table 11: node2 partition information
Partition name LPAR ID Environment
node2 3 AIX/Linux
• Partition name: If this partition is part of a 2nd cluster (or more) sharing the same
managed system then preface the names with “c#” (eg c1node1, c1node2, c1node3,
c2node1, c2node2, c2node3, etc).
• LPAR ID: If this node is part of a 2nd cluster (or more) sharing the same managed
system then the chart above needs to be adjusted for this value.
• Virtual slots 3 and 4 PVID: If this node is part of a 2nd cluster (or more) sharing the
same managed system, then the PVID value for slot 3 and 4 must be set 1 higher for
each additional cluster sharing the same managed system (eg 3 for cluster two, 4 for
cluster 3 etc)
• Virtual slots 5 and 6 SCSI client: If this node is part of a 2nd cluster (or more) sharing
the same managed system, then the VIO slot numbers shown in the chart above needs
to be adjusted accordingly (same for any additional clusters sharing the same managed
system)
LSG __ 8. Create the node3 partition and its profile as described in Table 14, Table 15 and
Table 16 below.
Table 14: node3 partition information
Partition Name LPAR ID Environment
node3 4 AIX/Linux
Important notes:
• Partition name: If this partition is part of a 2nd cluster (or more) sharing the same
managed system then preface the names with “c#” (eg c1node1, c1node2, c1node3,
c2node1, c2node2, c2node3, etc).
• LPAR ID: If this node is part of a 2nd cluster (or more) sharing the same managed
system then the chart above needs to be adjusted for this value.
• Virtual slots 3 and 4 PVID: If this node is part of a 2nd cluster (or more) sharing the
same managed system, then the PVID value for slot 3 and 4 must be set 1 higher for
each additional cluster sharing the same managed system (eg 3 for cluster two, 4 for
cluster 3 etc)
• Virtual slots 5 and 6 SCSI client: If this node is part of a 2nd cluster (or more) sharing
the same managed system, then the VIO slot numbers shown in the chart above needs
to be adjusted accordingly (same for any additional clusters sharing the same managed
system)
LSG #!/bin/ksh
#
# set PATH so we can use some non-vio commands
export
PATH=/usr/ios/cli:/usr/ios/utils:/usr/ios/lpm/bin:/usr/ios/oem:/home/padm
in:/usr/bin:/usr/sbin
## Make LVM components for AIX lpar rootvgs (per team on same system)
ioscli mklv -lv rvgnode1 rootvg 8G
ioscli mklv -lv rvgnode2 rootvg 8G
ioscli mklv -lv rvgnode3 rootvg 8G
## Make vtscsi devices for AIX Lpars 1,2, and 3(per team on same system)
## hdisk1 and hdisk2 are different for each team
ioscli mkvdev -vdev rvgnode1 -vadapter vhost0
ioscli mkvdev -f -vdev hdisk1 -vadapter vhost1
ioscli mkvdev -f -vdev hdisk2 -vadapter vhost1
ioscli mkvdev -f -vdev hdisk3 -vadapter vhost1
#
ioscli mkvdev -vdev rvgnode2 -vadapter vhost2
ioscli mkvdev -f -vdev hdisk1 -vadapter vhost3
ioscli mkvdev -f -vdev hdisk2 -vadapter vhost3
ioscli mkvdev -f -vdev hdisk3 -vadapter vhost3
__ 7. Non-CLP only: Create a cluster on node1 and node2 that has the following
characteristics:
Cluster: an41cluster
Cluster services: inactive
#############
APPLICATIONS
#############
Cluster an41cluster provides the following applications:
appA
Application: appA
appA is started by /lab/config/startA
appA is stopped by /lab/config/stopA
No application monitors are configured for appA.
This application is part of resource group
'appAgroup'.
Resource group policies:
Startup: on home node only
Fallover: to next priority node in the list
Fallback: never
Nodes configured to provide appA: node1 node2
Resources associated with appA:
Service Labels
appAsvc(192.168.3.10) {}
Interfaces configured to provide appAsvc:
node1boot1 {}
with IP address: 192.168.1.1
on interface: en1
on node: node1 {}
on network: net_ether_01 {}
node1boot2 {}
with IP address: 192.168.2.1
on interface: en2
on node: node1 {}
on network: net_ether_01 {}
node2boot1 {}
with IP address: 192.168.1.2
on interface: en1
on node: node2 {}
on network: net_ether_01 {}
node2boot2 {}
with IP address: 192.168.2.2
on interface: en2
on node: node2 {}
#############
TOPOLOGY
#############
an41cluster consists of the following nodes: node1 node2
node1
Network interfaces:
node1_hdisk1_01 {}
device: /dev/hdisk1
on network: net_diskhb_01 {}
node1boot1 {}
with IP address: 192.168.1.1
on interface: en1
on network: net_ether_01 {}
node1boot2 {}
with IP address: 192.168.2.1
on interface: en2
on network: net_ether_01 {}
node2
Network interfaces:
node2_hdisk1_01 {}
device: /dev/hdisk1
on network: net_diskhb_01 {}
node2boot1 {}
with IP address: 192.168.1.2
on interface: en1
on network: net_ether_01 {}
node2boot2 {}
with IP address: 192.168.2.2
on interface: en2
on network: net_ether_01 {}
Verification
__ 8. Check that you can telnet to all AIX LPARs using the addresses assigned.
For example:
If the AIX LPARs are:
node1: 10.31.88.141
node2: 10.31.88.142
node3: 10.31.88.142
LSG __ 12. Verify that HACMP is installed and fileset levels are as shown in the example output
below (if using supplied mksysb this is already done)
For example:
# lslpp -L cluster\*
Fileset Level State Type Description (Uninstaller)
----------------------------------------------------------------------------
cluster.adt.es.client.include
6.1.0.2 C F ES Client Include Files
cluster.adt.es.client.samples.clinfo
6.1.0.0 C F ES Client CLINFO Samples
cluster.adt.es.client.samples.clstat
6.1.0.0 C F ES Client Clstat Samples
cluster.adt.es.client.samples.libcl
6.1.0.0 C F ES Client LIBCL Samples
cluster.adt.es.java.demo.monitor
6.1.0.0 C F ES Web Based Monitor Demo
cluster.es.client.clcomd 6.1.0.4 C F ES Cluster Communication
Infrastructure
cluster.es.client.lib 6.1.0.3 C F ES Client Libraries
cluster.es.client.rte 6.1.0.4 C F ES Client Runtime
cluster.es.client.utils 6.1.0.2 C F ES Client Utilities
cluster.es.client.wsm 6.1.0.3 C F Web based Smit
cluster.es.cspoc.cmds 6.1.0.5 C F ES CSPOC Commands
cluster.es.cspoc.dsh 6.1.0.0 C F ES CSPOC dsh
cluster.es.cspoc.rte 6.1.0.5 C F ES CSPOC Runtime Commands
cluster.es.server.cfgast 6.1.0.0 C F ES Two-Node Configuration
Assistant
cluster.es.server.diag 6.1.0.4 C F ES Server Diags
cluster.es.server.events 6.1.0.5 C F ES Server Events
cluster.es.server.rte 6.1.0.5 C F ES Base Server Runtime
cluster.es.server.testtool
6.1.0.1 C F ES Cluster Test Tool
cluster.es.server.utils 6.1.0.5 C F ES Server Utilities
cluster.es.worksheets 6.1.0.1 C F Online Planning Worksheets
cluster.license 6.1.0.0 C F HACMP Electronic License
cluster.man.en_US.es.data 6.1.0.2 C F ES Man Pages - U.S. English
cluster.msg.En_US.cspoc 6.1.0.0 C F HACMP CSPOC Messages - U.S.
English IBM-850
cluster.msg.En_US.es.client
6.1.0.0 C F ES Client Messages - U.S.
English IBM-850
cluster.msg.En_US.es.server
6.1.0.0 C F ES Server Messages - U.S.
English IBM-850
backpg
Back page