一 Pacemaker,Corosync和PCS
# 查看實(shí)例信息
pcs resource show 實(shí)例名
#關(guān)閉實(shí)例
pcs resource disable 實(shí)例名
#關(guān)閉vip
pcs resource disable vip名稱(chēng)
#查看狀態(tài)
pcs status | grep 實(shí)例名稱(chēng)
# 切換資源
pcs resource move 實(shí)例名稱(chēng) 節(jié)點(diǎn)
pcs resource clear 實(shí)例名稱(chēng)
pcs status | grep 實(shí)例名稱(chēng)