66
HACMP Installation smitty installp Install the below requisites (can also install all filesets in the CD) cluster.doc.en_US.es cluster.es cluster.es.cfs cluster.es.clvm cluster.es.cspoc cluster.license cluster.man.en_US.es cluster.msg.En_US.cspoc rsct.basic bos.adt.libm 5.2.0.13 # Fileset Update bos.adt.syscalls 5.2.0.11 # Fileset Update bos.clvm.enh 5.2.0.31 # Fileset Update bos.data 5.1.0.0 # Base Level Fileset rsct.basic.hacmp 2.4.2.0 # Base Level Fileset rsct.basic.rte 2.4.2.0 # Base Level Fileset rsct.basic.sp 2.4.2.0 # Base Level Fileset Other Dependency Fileset s for above : rsct.compat.basic.hacmp rsct.compat.basic.rte rsct.compat.basic.sp rsct.compat.clients.hacmp

HACMP Installations

Embed Size (px)

Citation preview

Page 1: HACMP Installations

HACMP Installation

smitty installp

Install the below requisites (can also install all filesets in the CD)

cluster.doc.en_US.escluster.escluster.es.cfscluster.es.clvmcluster.es.cspoccluster.licensecluster.man.en_US.escluster.msg.En_US.cspocrsct.basic

bos.adt.libm 5.2.0.13 # Fileset Update bos.adt.syscalls 5.2.0.11 # Fileset Update bos.clvm.enh 5.2.0.31 # Fileset Update bos.data 5.1.0.0 # Base Level Fileset rsct.basic.hacmp 2.4.2.0 # Base Level Fileset rsct.basic.rte 2.4.2.0 # Base Level Fileset rsct.basic.sp 2.4.2.0 # Base Level Fileset

Other Dependency Fileset s for above :

rsct.compat.basic.hacmp rsct.compat.basic.rte rsct.compat.basic.sp rsct.compat.clients.hacmprsct.compat.clients.rte rsct.compat.clients.sp

Host name Entries of Both Servers in /etc/hostsvi /etc/hosts

192.168.5.25 service 192.168.5.1 bootip (en0 – node1)10.2.2.1 pri-stdby (en1 – node1)192.168.5.200 service2192.168.5.2 bootip2 (en0 – node2)10.2.2.2 sec-stdby (en1 – node2)

Page 2: HACMP Installations

On Secondary ifconfig looks like below :

Remote Hosts file - /.rhosts

pri root servicesec root n2e0pri-boot root n1e0pri-stdby root n1e1sec-stdby root n2e1

HACMP Configuration :

smitty hacmp

Page 3: HACMP Installations
Page 4: HACMP Installations
Page 5: HACMP Installations
Page 6: HACMP Installations
Page 7: HACMP Installations
Page 8: HACMP Installations
Page 9: HACMP Installations
Page 10: HACMP Installations
Page 11: HACMP Installations
Page 12: HACMP Installations
Page 13: HACMP Installations
Page 14: HACMP Installations
Page 15: HACMP Installations
Page 16: HACMP Installations
Page 17: HACMP Installations
Page 18: HACMP Installations
Page 19: HACMP Installations
Page 20: HACMP Installations
Page 21: HACMP Installations
Page 22: HACMP Installations
Page 23: HACMP Installations

View Settings – which is configured :

Page 24: HACMP Installations

RG Configurations :

Page 25: HACMP Installations
Page 26: HACMP Installations
Page 27: HACMP Installations
Page 28: HACMP Installations
Page 29: HACMP Installations
Page 30: HACMP Installations
Page 31: HACMP Installations
Page 32: HACMP Installations
Page 33: HACMP Installations
Page 34: HACMP Installations
Page 35: HACMP Installations
Page 36: HACMP Installations
Page 37: HACMP Installations
Page 38: HACMP Installations
Page 39: HACMP Installations
Page 40: HACMP Installations
Page 41: HACMP Installations
Page 42: HACMP Installations

On Secondary :

Configure Add ClusterConfigure Add Nodes

Page 43: HACMP Installations

From Primary :

Page 44: HACMP Installations
Page 45: HACMP Installations

WARNING: There are IP labels known to HACMP and not listedin file /usr/es/sbin/cluster/etc/clhosts.client on node: sec.Verification can automatically populate this file to be used on a clientnode, if executed in auto-corrective mode.

WARNING: There are IP labels known to HACMP and not listedin file /usr/es/sbin/cluster/etc/clhosts.client on node: pri.Verification can automatically populate this file to be used on a clientnode, if executed in auto-corrective mode.

On Secondary : Verify its Syncd :

# /usr/es/sbin/cluster/utilities/cllsifAdapter Type Network Net Type Attribute Node IP Address Hardware Address Interface Name Global Name Netmask

pri-boot boot ha_ether_01 ether public pri 192.168.5.2 en0 255.255.255.0

Page 46: HACMP Installations

pri service ha_ether_01 ether public pri 192.168.5.25 255.255.255.0pri-stdby standby ha_ether_01 ether public pri 10.2.2.2 en1 255.255.255.0sec boot ha_ether_01 ether public sec 192.168.5.200 en0 255.255.255.0sec-stdby standby ha_ether_01 ether public sec 10.2.2.1 en1 255.255.255.0

On Primary or Secondary : Create Vg s and to add in RG :

Page 47: HACMP Installations
Page 48: HACMP Installations
Page 49: HACMP Installations

If its vpath s instead of hdisks :

Page 50: HACMP Installations
Page 51: HACMP Installations
Page 52: HACMP Installations
Page 53: HACMP Installations
Page 54: HACMP Installations

Adding VG in RG :

We are doing in Primary Server :

Page 55: HACMP Installations
Page 56: HACMP Installations
Page 57: HACMP Installations

Sync the Cluster

Starting the cluster

smitty clstart

Page 58: HACMP Installations
Page 59: HACMP Installations

Boot-IP is now replaced with service-IP

Monitor the activities using another telnet sessiontail –f /tmp/hacmp.out

End of file will be like below

HACMP Event SummaryEvent: /usr/es/sbin/cluster/events/check_for_site_up_complete priStart time: Wed Feb 13 22:36:53 2008

End time: Wed Feb 13 22:36:53 2008

Action: Resource: Script Name:----------------------------------------------------------------------------No resources changed as a result of this event

Start the cluster in the secondary node

Failover

smitty clstop

Page 60: HACMP Installations

Monitor using tail –f /tmp/hacmp.out

/usr/es/sbin/cluster/clstat

Service IP address can be seen in the secondary server.

# hostnamesec# ifconfig -aen0: flags=4e080863,80<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,PSEG,CHAIN> inet 192.168.5.200 netmask 0xffffff00 broadcast 192.168.5.255en1: flags=4e080863,80<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,PSEG,CHAIN> inet 192.168.5.25 netmask 0xffffff00 broadcast 192.168.5.255lo0: flags=e08084b<UP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT> inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255 inet6 ::1/0

Page 61: HACMP Installations

tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1#

Start the cluster again on the primary server.

Page 62: HACMP Installations

# /usr/es/sbin/cluster/utilities/clRGinfo-----------------------------------------------------------------------------Group Name State Node-----------------------------------------------------------------------------HA_rg ONLINE pri OFFLINE sec

#

Simulation Node failure by abrupt reboot of the primary node

(monitor tail –f /tmp/hacmp.out and clstat in the secondary node)

Page 63: HACMP Installations
Page 64: HACMP Installations