Beruflich Dokumente
Kultur Dokumente
com
To check the status of the cluster services.
root@sbimum66 # hastatus -summ
-- SYSTEM STATE
-- System
A sbimum66
A sbimum67
State
RUNNING
RUNNING
-- GROUP STATE
-- Group
System
B
B
B
B
B
B
B
B
Frozen
ClusterService sbimum66
ClusterService sbimum67
cvm
sbimum66
cvm
sbimum67
sbivcsfs-rg
sbimum66
sbivcsfs-rg
sbimum67
sbivcsrac-rg sbimum66
sbivcsrac-rg sbimum67
0
0
Probed
Y
Y
Y
Y
Y
Y
Y
Y
AutoDisabled
N
N
N
N
N
N
N
N
State
ONLINE
OFFLINE
ONLINE
ONLINE
ONLINE
ONLINE
OFFLINE
OFFLINE
Output given above is that of normal condition. The yellow highlighted indicates that node sbimum67 is secondary node.
When it becomes master node the service will show as online and the service will turn offline on node sbimum66.
To list the resources under cluster control.
root@sbimum66 # hares -list
CFSMount-disk01
sbimum66
CFSMount-disk01
sbimum67
CFSMount-disk02
CFSMount-disk02
CVMVolDg-data1dg
CVMVolDg-data1dg
Netlsnr_bvsbi1
Netlsnr_bvsbi1
VCSweb
VCSweb
csgnic
csgnic
cvm_clus
cvm_clus
cvm_vxconfigd
cvm_vxconfigd
oracle_sbi
oracle_sbi
qlogckd
qlogckd
vxfsckd
vxfsckd
webip
webip
root@sbimum66 #
sbimum66
sbimum67
sbimum66
sbimum67
sbimum66
sbimum67
sbimum66
sbimum67
sbimum66
sbimum67
sbimum66
sbimum67
sbimum66
sbimum67
sbimum66
sbimum67
sbimum66
sbimum67
sbimum66
sbimum67
sbimum66
sbimum67
Eg output :
root@sbimum67 # hagrp -offline sbivcsfs-rg -sys sbimum67
root@sbimum67 # hastatus -summ
-- SYSTEM STATE
-- System
A sbimum66
A sbimum67
State
RUNNING
RUNNING
-- GROUP STATE
-- Group
System
B
B
B
B
B
B
B
B
Frozen
ClusterService sbimum66
ClusterService sbimum67
cvm
sbimum66
cvm
sbimum67
sbivcsfs-rg
sbimum66
sbivcsfs-rg
sbimum67
sbivcsrac-rg sbimum66
sbivcsrac-rg sbimum67
0
0
Probed
Y
Y
Y
Y
Y
Y
Y
Y
-- RESOURCES OFFLINING
-- Group
Type
Resource
F sbivcsfs-rg
Oracle
oracle_sbi
AutoDisabled
N
N
N
N
N
N
N
N
State
ONLINE
OFFLINE
ONLINE
ONLINE
ONLINE
STOPPING|PARTIAL
OFFLINE
OFFLINE
System
sbimum67
IState
W_OFFLINE_PROPAGATE
The highlighted lines show that the service group is going offline.
State
RUNNING
RUNNING
-- GROUP STATE
-- Group
System
B
B
B
B
B
B
B
B
Frozen
ClusterService sbimum66
ClusterService sbimum67
cvm
sbimum66
cvm
sbimum67
sbivcsfs-rg
sbimum66
sbivcsfs-rg
sbimum67
sbivcsrac-rg sbimum66
sbivcsrac-rg sbimum67
0
0
Probed
Y
Y
Y
Y
Y
Y
Y
Y
AutoDisabled
N
N
N
N
N
N
N
N
State
ONLINE
OFFLINE
ONLINE
ONLINE
ONLINE
OFFLINE
OFFLINE
OFFLINE
If the output does not have any W_OFFLINE then it can be confirmed that the resource has gone offline.
The output will also show state as PARTIAL against the service group name.
In case any resource is faulted and if any other resource is W_OFFLINE state then try to offline the resource.
If not possible then turn offline the entire service group. Clear the fault for the entire service group and then bring the
service group online.
Eg :
root@sbimum66 # hagrp offline sbivcsfs-rg sys sbimum66
root@sbimum66 # hagrp clear sbivcsfs-rg sys sbimum66
After clearing the fault check the status with
# hastatus summ command and if no faults are displayed bring the service group online.
root@sbimum66 # hagrp online sbivcsfs-rg sys sbimum66