heart beat heartbeat状態確認
0pt
## heartbeat status check
crm_mon
#
## heartbeat standby ON
crm_standby -U `hostname` -v on
#
## heartbeat active ON
crm_standby -U `hostname` -v off
#
#
## IP addr status cheack
ip addr show eth0
) IP addr status
inet 192.168.1.153/24 brd 192.168.1.255 scope global eth0
inet 192.168.1.130/24 brd 192.168.1.255 scope global secondary eth0
#
#
## drbd status check
/etc/init.d/drbd status
) drbd ERROR status
cs = StandAlone
ro = Primary/Unknown
ds = UpToDate/DUnknown
) drbd OK status
cs = SyncSource
ro = Primary/Secondary
ds = UpToDate/Inconsistent
#
## drbd state check
drbdadm state all
) state ERROR status
Secondary/Secondary,Primary/Unknown,Secondary/Unknown
) state OK status
Secondary/Primary,Primary/Secondary
#
#
## drbd cstate check
drbdadm cstate all
) cstate ERROR status
StandAlone
) cstate WAIT status
WFConnection
) cstate OK status
Connected
#
## drbd primary ON
drbdadm primary all
#
## drbd secondary ON
drbdadm secondary all
#
## drbd recovery
) master slave
drbdadm down all
drbdadm attach all
drbdadm invalidate all
drbdadm connect all
#
「heart beat heartbeat状態確認」について友人に書いてもらう。
コメントはまだありません