Doing a Cluster Test:
[root@node1 /]# hastatus -sum
-- SYSTEM STATE
-- System State Frozen
A node1 RUNNING 0
A node2 RUNNING 0
-- GROUP STATE
-- Group System Probed AutoDisabled State
B oracle_sg node1 Y N ONLINE
B oracle_sg node2 Y N OFFLINE
[root@node1 /]# df -Th /oracle
Filesystem Type Size Used Avail Use% Mounted on
/dev/vx/dsk/oracle/oracle_vol
vxfs 500M 3.3M 466M 1% /oracle
[root@node1 /]# hagrp -switch oracle_sg -to node2
[root@node1 /]# hastatus -sum
-- SYSTEM STATE
-- System State Frozen
A node1 RUNNING 0
A node2 RUNNING 0
-- GROUP STATE
-- Group System Probed AutoDisabled State
B oracle_sg node1 Y N OFFLINE
B oracle_sg node2 Y N ONLINE
[root@node1 /]#
Thats it.
No comments:
Post a Comment