[ClusterLabs] Maintenance mode status in CIB

Digimer lists at alteeve.ca
Mon Oct 12 19:08:39 EDT 2020


Hi all,

  I noticed that there appear to be a global "maintenance mode"
attribute under cluster_property_set. This seems to be independent of
node maintenance mode. It seemed to not change even when using 'pcs node
maintenance --all'

====
  <configuration>
    <crm_config>
      <cluster_property_set id="cib-bootstrap-options">
        <nvpair id="cib-bootstrap-options-maintenance-mode"
name="maintenance-mode" value="false"/>
      </cluster_property_set>
    </crm_config>
    <nodes>
      <node id="1" uname="mk-a02n01">
        <instance_attributes id="nodes-1">
          <nvpair id="nodes-1-maintenance" name="maintenance" value="on"/>
        </instance_attributes>
      </node>
      <node id="2" uname="mk-a02n02">
        <instance_attributes id="nodes-2">
          <nvpair id="nodes-2-maintenance" name="maintenance" value="on"/>
        </instance_attributes>
      </node>
    </nodes>
====

  What is the difference between these attributes?

Cheers

-- 
Digimer
Papers and Projects: https://alteeve.com/w/
"I am, somehow, less interested in the weight and convolutions of
Einstein’s brain than in the near certainty that people of equal talent
have lived and died in cotton fields and sweatshops." - Stephen Jay Gould


More information about the Users mailing list