# crm configure shownode pcmk-1node pcmk-2property $id="cib-bootstrap-options" dc-version="1.1.5-bdd89e69ba545404d02445be1f3d72e6a203ba2f" cluster-infrastructure="openais" expected-quorum-votes="2"
# crm configure show xml<?xml version="1.0" ?><cib admin_epoch="0" crm_feature_set="3.0.1" dc-uuid="pcmk-1" epoch="13" have-quorum="1" num_updates="7" validate-with="pacemaker-1.0"> <configuration> <crm_config> <cluster_property_set id="cib-bootstrap-options"> <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="1.1.5-bdd89e69ba545404d02445be1f3d72e6a203ba2f"/> <nvpair id="cib-bootstrap-options-cluster-infrastructure" name="cluster-infrastructure" value="openais"/> <nvpair id="cib-bootstrap-options-expected-quorum-votes" name="expected-quorum-votes" value="2"/> </cluster_property_set> </crm_config> <rsc_defaults/> <op_defaults/> <nodes> <node id="pcmk-1" type="normal" uname="pcmk-1"/> <node id="pcmk-2" type="normal" uname="pcmk-2"/> </nodes> <resources/> <constraints/> </configuration></cib>
# crm_verify -Lcrm_verify[2195]: 2009/08/27_16:57:12 ERROR: unpack_resources: Resource start-up disabled since no STONITH resources have been definedcrm_verify[2195]: 2009/08/27_16:57:12 ERROR: unpack_resources: Either configure some or disable STONITH with the stonith-enabled optioncrm_verify[2195]: 2009/08/27_16:57:12 ERROR: unpack_resources: NOTE: Clusters with shared data need STONITH to ensure data integrityErrors found during check: config not valid -V may provide more details#
# crm configure property stonith-enabled=false# crm_verify -L
警告
联系客服