First of all we check the resource status in AIX OS clutering via below command.
Step1 - for checking resource group on which node
/usr/es/sbin/cluster/utilities/clRGinfo
test again
-----------------------------------------------------------------------------
Group Name State Node
-----------------------------------------------------------------------------
DBRG OFFLINE dbnode2
ONLINE dbnode1
http://www.unixmantra.com/2013/04/aix-powerha-hacmp-commands.html
Step2 - How to list the cluster manager state
lssrc -ls clstrmgrES
>> Cluster manager states
ST_NOT_CONFIGURED Node never started
ST_INIT Node configured but down - not running
ST_STABLE Node up and running
ST_RP_RUNNING
ST_JOINING
ST_BARRIER
ST_CBARRIER
ST_VOTING
ST_RP_FAILED Node with event error
if ST_INIT Node configured but down - not running then run below command.
step3 - run on down node.
smitty clstart
step4 - move the cluster from node 1 to node 2
/usr/es/sbin/cluster/utilities/clRGmove -g DBRG -n dbnode2 -m
step5 - Confirm if the steps are successful
/usr/es/sbin/cluster/utilities/clRGinfo
Step1 - for checking resource group on which node
/usr/es/sbin/cluster/utilities/clRGinfo
test again
-----------------------------------------------------------------------------
Group Name State Node
-----------------------------------------------------------------------------
DBRG OFFLINE dbnode2
ONLINE dbnode1
http://www.unixmantra.com/2013/04/aix-powerha-hacmp-commands.html
Step2 - How to list the cluster manager state
lssrc -ls clstrmgrES
>> Cluster manager states
ST_NOT_CONFIGURED Node never started
ST_INIT Node configured but down - not running
ST_STABLE Node up and running
ST_RP_RUNNING
ST_JOINING
ST_BARRIER
ST_CBARRIER
ST_VOTING
ST_RP_FAILED Node with event error
if ST_INIT Node configured but down - not running then run below command.
step3 - run on down node.
smitty clstart
step4 - move the cluster from node 1 to node 2
/usr/es/sbin/cluster/utilities/clRGmove -g DBRG -n dbnode2 -m
step5 - Confirm if the steps are successful
/usr/es/sbin/cluster/utilities/clRGinfo
Nice concepts...
ReplyDelete