Professional Documents
Culture Documents
Andrew Lanczi
Certified Consulting I/T Specialist
alanczi@us.ibm.com
9Planning
9Configuration options
9HACMP/XD
Network(s)
Node A Node B
Client
Shared Disk
Network/SAN
2-port Async. RS-232 - FC 5723
2 Gb FC PCI-X - FC 5716
10 Gb FC 5718 and FC 5719
IBM, Cisco, McData, Brocade etc..
TotalStorage SAN Volume Controller Software
TotalStorage Products
DS8000 - online firmware update is now supported (code level
6.0.0.324 R10h.9b050406) and higher
DS6000 - online firmware update is not supported in HACMP
clusters
DS4100 and DS4000 EXP1000 Serial ATA Hardware
DS4100 does not support multi-path I/O so no multi path fallover
CSPOC cannot be used to add a DS4100 disk to AIX
Totalstorage DS4000 EXP710 FC Storage Expansion unit (1740-710)
TotalStorage ESS (2105-F20, 2105-800)
OEM per CSA, EMC, HDS...
Installation Requirements
Java Runtime Environment version 1.3.0 or higher
AIX already has this level jre
windows needs it
9www.ibm.com/developerworks/webservices/sdk
Export Definition
file for OLPW
HACMP Cluster
Updated
XML file
cl_opsconfig
Requirements
Any "Apache-Compliant" web Server
IBM HTTP Server
Apache
/usr/es/sbin/cluster/wsm/README tells
how to install Apache from RPMs
Fileset cluster.es.client.wsm
(optionally)Documentation filesets:
cluster.doc.en_US.es.pdf
cluster.doc.en_US.es.html
IP Network
RS-232
Disk Disk
ETHERNET1
subnet mask
255.255.255.0
client
Switch# config t
Switch(config)# vlan 50
Switch(config-vlan)# name HACMP_Setup
Switch(config-vlan)# exit
Switch(config)# int vlan 50
Switch(config-if)# ip address 1.1.1.254 255.255.255.0
Switch(config-if)# ip address 1.1.2.254 255.255.255.0 secondary ( Alias IP address net)
Switch(config-if)# ip address 1.1.3.254 255.255.255.0 secondary ( Standby IP address net)
Switch(config-if)# no shut
Switch(config-if)# exit
Switch(config)# exit
Switch#
You now have vlan 50 customized with three different ip address identities (one for each of the
subnets), and all of them pingable. Alias and standby/boot are tagged as secondary.
© IBM Corporation 2008
Persistant Labels
disknet2 disknet3
clcomd
provides a secure transport layer
caches ODM's for performance
/var/hacmp/odmcache - about 1MB per node
managed by SRC and started by init, the inittab entry is:
clcomdES:2:once:startsrc -s clcomdES > /dev/console 2>&1
Security Strategies
The default is autodiscovery
AIX Cluster security - CtSec
Use a VPN tunnel
Set up persistent IP labels on the same subnet
chgsrc to add the -p to clcomd
specify port 6191 (clcomd entry in /etc/services)
use the extended VPN configuration screen to secure traffic for other
cluster services
If there is an unresolvable label in /usr/es/sbin/cluster/etc/rhosts, all
connections will be denied
Log Files
– /var/hacmp/clcomd/clcomd.log[.0]- up to 1 MB each
– /var/hacmp/clcomd/clcomddiag.log[.0]- up to 9 MB each
DBVG
jfsloglv
dblv
db2lv
DBVG'
jfsloglv'
dblv'
db2lv'
Site A
Site B Node C
Node A
PV1 PV3
FC Switch 1 FC Switch 2
PV6
PV5
PV2 PV4
Node D
Node B
© IBM Corporation 2008
VIO Server
SAN Storage
Subsystem
AIX1 AIX2
AIX1VG VIO Server Partition Partition
AIX2VG
Ethernet
HYPERVISOR
hdisk2
hdisk1
VIOS owns physical disk resources
- LVM based storage on VIO Server
VLAN 1
VLAN 2
IEEE VLANS
- Up to 4096 VLANS
Virtual Ethernet - Up to 65533 vENET adapters
- Partition to partition communication
- Requires AIX 5L V5.3 and POWER5 - 21 VLANS per vENET adapter
SAN Storage
Subsystem
HACMP HACMP
AIX1VG VIO Server AIX1 AIX2
AIX2VG Partition Partition
Ethernet HYPERVISOR
hdisk2
hdisk1
Issues:
Network Connectivity?
Shared Disk Access?
SPOFs
Available via Advance POWER Virtualization
© IBM Corporation 2008
Custom Resource Groups
Startup Preferences
Online On Home Node Only - (OHN)
Online on First Available Node - (OFAN)
Online Using Distribution Policy - (OUDP)
Online On All Available Nodes (concurrent) - (OAAN)
Fallover Preferences
Fallover To Next Priority Node In The List - (FNPN)
Fallover Using Dynamic Node Priority - (FUDNP)
Bring Offline (On Error Node Only) - (BO)
This is most appropriate for concurrent type RGs
Fallback Preferences
Fallback To Higher Priority Node - (FHPN)
Never Fallback - (NFB)
© IBM Corporation 2008
Resource Distribution Policies
Resource Group A
(child resource group)
Dependency
Three Node Cluster with one resource group configured for Online
on Home Node Only priority at startup
Sysa is the current owner of the resource group
GROUPA
a_svc 1.1.1.1
dbvg
dbapp
dbvg
sysa sysb sysc
dbvg
sysa sysb
sysc
dbvg
sysa sysc
sysb
dbvg
sysa sysb sysc
dbvg
sysa sysb sysc
[Entry Fields]
* Settling Time (in Seconds ) [0] #
[Entry Fields]
* Name of the Fallback Policy [ ]
* YEAR [ ] #
* MONTH (jan - Dec) [ ] +
* Day of Month (1 - 31) [ ] +#
* HOUR (0 - 23) [ ] +#
* MINUTES (0 - 59) [ ] +#
© IBM Corporation 2008
Application Servers - Standard Path
[Entry Fields]
* Server Name [ myapp ]
* Start Script [/usr/local/app/start_app]
* Stop Script [/usr/local/app/stop_app]
[Entry Fields]
* Monitor Name []
* Application Server(s) to Monitor +
* Monitor Mode [Long-running monitori> +
* Processes to Monitor []
* Process Owner []
Instance Count [] #
* Stabilization Interval [] #
* Restart Count [] #
Restart Interval [] #
* Action on Application Failure [notify] +
Notify Method []
Cleanup Method []
Restart Method []
SMITTY HACMP
Users must configure the topology and resources At the AIX level
before using the Coonfiguration Assistant
Before you start, complete the following tasks:
Connect and configure all IP network interfaces.
Install and configure the application to be made highly available.
Add the application's service IP label to /etc/hosts on all nodes.
Configure the volume groups that contain the application's shared
data on disks that are attached to both nodes.
An active communication path to the takeover node.
A unique name to identify the application to be made highly available.
The full path to the application's start and stop scripts.
The application's service IP label.
# smitty hacmp
Installation and standard configuration
Two-Node Cluster Configuration Assistant
[Entry Fields]
* Communication Path to Takeover Node [] +
* Application Server Name []
* Application Server Start Script []
* Application Server Stop Script []
* Service IP Label [] +
# smitty clstart
System Management - (C-SPOC)
Manage HACMP Services
Start Cluster Services
Start Cluster Services
[Entry Fields]
* Start now, on system restart or both [both]
Start Cluster Services on these nodes []
BROADCAST message at startup? true +
Startup Cluster Information Daemon true +
Reacquire after forced down false +
Ignore verification errors? false
Automatically correct errors found during Interactively
Cluster start?
© IBM Corporation 2008
clverify logfiles
[Entry Fields]
* Cluster Name [andrews_cluster]
New Nodes (via selected communication paths) [node1 node2] +
Currently Configured Node(s)
Uses Site support for GLVM supports cross site data replication
with no distance limitation
Synchronous
A maximum of 2 sites
WAN
Site 1 Site 2
ESS PPRC
Shark 2
Shark 1 Hardware Based Data Mirroring
TCP/IP WAN
Boston Austin