1. cluster 내리기 [n4000c:/]# cd etc [n4000c:/etc]# cmhaltcl -f Disabling package switching to all nodes being halted. Warning: Do not modify or enable packages until the halt operation is completed.
Halting Package pkg1 Halting Package pkg2 This operation may take some time. Halting cluster services on node n4000a Halting cluster services on node n4000c .. cmhaltcl : Successfully halted all nodes specified. Halt operation completed. [n4000c:/etc]#
2. cluster 내려가는 상태보기
[n4000a:/]# cmviewcl
CLUSTER STATUS cluster2 up
NODE STATUS STATE GMS_STATE n4000a up running running n4000c up running running
PACKAGE STATUS STATE PKG_SWITCH NODE pkg2 halting halting disabled n4000c
UNOWNED_PACKAGES
PACKAGE STATUS STATE PKG_SWITCH NODE pkg1 down halted disabled unowned [n4000a:/]# cmviewcl
CLUSTER STATUS cluster2 up
NODE STATUS STATE GMS_STATE n4000a up running running n4000c up running running
PACKAGE STATUS STATE PKG_SWITCH NODE pkg2 halting halting disabled n4000c
UNOWNED_PACKAGES
PACKAGE STATUS STATE PKG_SWITCH NODE pkg1 down halted disabled unowned [n4000a:/]# cmviewcl
CLUSTER STATUS cluster2 up
NODE STATUS STATE GMS_STATE n4000a up running running n4000c up running running
PACKAGE STATUS STATE PKG_SWITCH NODE pkg2 halting halting disabled n4000c
UNOWNED_PACKAGES
PACKAGE STATUS STATE PKG_SWITCH NODE pkg1 down halted disabled unowned [n4000a:/]# cmviewcl
CLUSTER STATUS cluster2 up
NODE STATUS STATE GMS_STATE n4000a up running running n4000c up running running
PACKAGE STATUS STATE PKG_SWITCH NODE pkg2 halting halting disabled n4000c
UNOWNED_PACKAGES
PACKAGE STATUS STATE PKG_SWITCH NODE pkg1 down halted disabled unowned [n4000a:/]# cmviewcl
CLUSTER STATUS cluster2 down
NODE STATUS STATE GMS_STATE n4000a down unknown unknown n4000c down unknown unknown
UNOWNED_PACKAGES
PACKAGE STATUS STATE PKG_SWITCH NODE pkg1 down unowned pkg2 down unowned [n4000a:/]# cmviewcl
CLUSTER STATUS cluster2 down
NODE STATUS STATE GMS_STATE n4000a down unknown unknown n4000c down unknown unknown
UNOWNED_PACKAGES
PACKAGE STATUS STATE PKG_SWITCH NODE pkg1 down unowned pkg2 down unowned [n4000a:/]# cmviewcl
CLUSTER STATUS cluster2 down
NODE STATUS STATE GMS_STATE n4000a down unknown unknown n4000c down unknown unknown
UNOWNED_PACKAGES
PACKAGE STATUS STATE PKG_SWITCH NODE pkg1 down unowned pkg2 down unowned [n4000a:/]# cmviewcl
CLUSTER STATUS cluster2 down
NODE STATUS STATE GMS_STATE n4000a down unknown unknown n4000c down unknown unknown
UNOWNED_PACKAGES
PACKAGE STATUS STATE PKG_SWITCH NODE pkg1 down unowned pkg2 down unowned [n4000a:/]#
3. 올리기 [n4000c:/etc]#cmruncl cmruncl : Waiting for cluster to form….. cmruncl : Cluster successfully formed. cmruncl : Check the syslog file for any warnings found during startup.
4. 확인 [n4000a:/]# cmviewcl -v
CLUSTER STATUS cluster2 up
NODE STATUS STATE GMS_STATE n4000a up running running
Network_Parameters: INTERFACE STATUS PATH NAME PRIMARY up 0/5/0/0 lan1 PRIMARY up 0/0/0/0 lan0 STANDBY up 1/10/0/0 lan2
PACKAGE STATUS STATE PKG_SWITCH NODE pkg1 up running enabled n4000a
Policy_Parameters: POLICY_NAME CONFIGURED_VALUE Failover configured_node Failback manual
Script_Parameters: ITEM STATUS MAX_RESTARTS RESTARTS NAME Subnet up 100.1.21.0
Node_Switching_Parameters: NODE_TYPE STATUS SWITCHING NAME Primary up enabled n4000a (current) Alternate up enabled n4000c
NODE STATUS STATE GMS_STATE n4000c up running running
Network_Parameters: INTERFACE STATUS PATH NAME PRIMARY up 0/5/0/0 lan1 STANDBY up 1/10/0/0 lan2 PRIMARY up 0/0/0/0 lan0
PACKAGE STATUS STATE PKG_SWITCH NODE pkg2 up running enabled n4000c
Policy_Parameters: POLICY_NAME CONFIGURED_VALUE Failover configured_node Failback manual
Script_Parameters: ITEM STATUS MAX_RESTARTS RESTARTS NAME Subnet up 100.1.21.0
Node_Switching_Parameters: NODE_TYPE STATUS SWITCHING NAME Primary up enabled n4000c (current) Alternate up enabled n4000a [n4000a:/]#
Comments