Showing posts with label HACMP. Show all posts
Showing posts with label HACMP. Show all posts

Saturday, May 14, 2011

AIX HACMP Startup Procedure

Purpose:

This document describes steps to start and stop IBM HACMP cluster.

Startup Procedure:

Phase1: Powering on the servers and bringing up AIX.

Caution: Do NOT power on both the servers simultaneously.

BEGINNING of phase1:

1) Power on all peripherals.If any of the peripherals is already on, leave it as it is.

2) Power ON node1 server.

3) Wait till the Common Desktop Environment (CDE) screen is displayed in the monitor display of this server.

4) Power ON node2 server.

5) Wait till the Common Desktop Environment (CDE) screen is displayed in the monitor display of this server.

END of phase1


Phase2: Bringing up cluster (HACMP):

Caution: Do not login now through CDE. Through out this procedure use only command line login.

BEGINNING of phase2:

1)login as : root

2) Checks to see that the cluster is not running:
a)
# lssrc -g cluster

Subsystem Group PID Status


b)
# netstat -i


c)
# lsvg -o

rootvg


3) Check to see if network is working:
a)
# ping node2_boot
# ping node2_stdby
# ping node2_prv



4) Start HACMP:
# smitty clstart

Start Cluster Services

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

[Entry Fields]
* Start now, on system restart or both now

BROADCAST message at startup? true
Startup Cluster Lock Services? true
Startup Cluster Information Daemon? true


[[ Left Hand Top Corner - "Running". Wait till "O.K" is displayed ]]
Esc+0 to exit to prompt.




To see the progress of cluster startup:

# tail -f /tmp/hacmp.out



When no more update takes place, the cluster is fully up on this system.

5) Check if cluster is up and normal:
a)
# lssrc -g cluster

Subsystem Group PID Status
clstrmgrES cluster 12762 active
clsmuxpdES cluster 14672 active
clinfoES cluster 15570 active



b)
# netstat -i


c)
# lsvg -o



othervg
rootvg



END of phase2:
Cluster is ready.

Saturday, April 30, 2011

Links

1- http://justaix.blogspot.com/

Sunday, July 11, 2010

Useful HACMP commands

clstat - show cluster state and substate; needs clinfo.
cldump - SNMP-based tool to show cluster state.
cldisp - similar to cldump, perl script to show cluster state.
cltopinfo - list the local view of the cluster topology.
clshowsrv -a - list the local view of the cluster subsystems.
clfindres (-s) - locate the resource groups and display status.
clRGinfo -v - locate the resource groups and display status.
clcycle - rotate some of the log files.
cl_ping - a cluster ping program with more arguments.
clrsh - cluster rsh program that take cluster node names as argument.
clgetactivenodes - which nodes are active?
get_local_nodename - what is the name of the local node?
clconfig - check the HACMP ODM.
clRGmove - online/offline or move resource groups.
cldare - sync/fix the cluster.
cllsgrp - list the resource groups.
clsnapshotinfo - create a large snapshot of the HACMP configuration.
cllscf - list the network configuration of an HACMP cluster.
clshowres - show the resource group configuration.
cllsif - show network interface information.
cllsres - show short resource group information.
lssrc -ls clstrmgrES - list the cluster manager state.
lssrc -ls topsvcs - show heartbeat information.
cllsnode - list a node centric overview of the hacmp configuration