????11??????group
??????VIP??WEB resource???????group?У????????????????????л???????????????)
????# pcs resource group add MyGroup VIP
????# pcs resource group add MyGroup WEB
????12?????÷?????????
????????????????????????(pcs resource group add?????????????????????????????????????)
????# pcs constraint order [action] then [action]
????# pcs constraint order start VIP then start WEB
????13?????????? Location ????????????)
????Pacemaker ??????????????????????????????????Щ????????????????????á??????????????????????:????????????????????????????????????????Ч?????????location?????????????????????????????????(prefer-node1)???????????????????WEB ???????????????????(???????????????50??????????????????£??κδ???0???????????????Ч??)???????????????:
????# pcs constraint location WEB prefers node1=50
????# pcs constraint location WEB prefers node2=45
?????????????????????????????????????С?
????14???????????????????)
?????Щ?????л???????????????????????????????????ζ????????????????????Щ????????????Oracle???????????????????
???????????Ч????Pacemaker ?????????“???????”?????????????????????(???)?ж???????????????е??????
????Pacemaker?????????????????????????????????0???????????????????岻??????????????????????????????????????????????????????????????????????????????????????????????-inf?????????inf????????
????# pcs resource defaults resource-stickiness=100
????????????????
?????????????#pcs status
?????????????????#pcs config
??????????????????#pcs cluster enable –all
????????????#pcs cluster start –all
????????????????#pcs resource show
???????????????????#crm_verify -L -V
????????????????#pcs resource debug-start resource
???????y???????????#pcs cluster standby node1