<div dir="ltr"><div><span style="color:rgb(0,0,0);font-family:"liberation mono","bitstream vera mono","dejavu mono",monospace;font-size:14px;white-space:pre-wrap">when a resource fails on a node I would like to mark the node unhealthy, so other resources dont start up on it.</span></div><div><span style="color:rgb(0,0,0);font-family:"liberation mono","bitstream vera mono","dejavu mono",monospace;font-size:14px;white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);font-family:"liberation mono","bitstream vera mono","dejavu mono",monospace;font-size:14px;white-space:pre-wrap">I believe I can achieve this, ignoring the concept of fencing at the moment.</span></div><div><span style="color:rgb(0,0,0);font-family:"liberation mono","bitstream vera mono","dejavu mono",monospace;font-size:14px;white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);font-family:"liberation mono","bitstream vera mono","dejavu mono",monospace;font-size:14px;white-space:pre-wrap">I have tried to set my cluster to have a </span><span style="color:rgb(0,0,0);font-family:"liberation mono","bitstream vera mono","dejavu mono",monospace;font-size:14px;white-space:pre-wrap">node-health-strategy as only_green.</span></div><div><span style="color:rgb(0,0,0);font-family:"liberation mono","bitstream vera mono","dejavu mono",monospace;font-size:14px;white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);font-family:"liberation mono","bitstream vera mono","dejavu mono",monospace;font-size:14px;white-space:pre-wrap">However trying to manually adjust the nodes health, I believe I can set an attribute #health on a node (see ref docs) but trying to set any attribute #health???? fails?</span><br></div><div><span style="color:rgb(0,0,0);font-family:"liberation mono","bitstream vera mono","dejavu mono",monospace;font-size:14px;font-weight:bold;white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);font-family:"liberation mono","bitstream vera mono","dejavu mono",monospace;font-size:14px;font-weight:bold;white-space:pre-wrap"> # </span>sudo crm_attribute --node myNode --name=#health --update=red </div><div> Error setting #health=red (section=nodes, set=nodes-3): Update does not conform to the configured schema
Error performing operation: Update does not conform to the configured schema</div><div><br></div><div>Im slightly surprised I dont get "something for free" regarding pacemaker auto adjusting the health of a node when resources fail on it? am I missing a setting or is this done by hand.</div><div><br></div><div>Thanks</div><div><br></div><div>Ian.</div><div><br></div><div><b>ref docs</b></div><div><a href="http://clusterlabs.org/pacemaker/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/s-node-health.html">http://clusterlabs.org/pacemaker/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/s-node-health.html</a></div><div><a href="https://clusterlabs.org/pacemaker/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/s-cluster-options.html">https://clusterlabs.org/pacemaker/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/s-cluster-options.html</a><br></div><div><br></div><div><br></div><div style="orphans: 4; widows: 4;"><font color="#000000" face="liberation mono, bitstream vera mono, dejavu mono, monospace"><span style="font-size:14px;white-space:pre-wrap"><b> </b></span></font></div><div><span style="color:rgb(0,0,0);font-family:"liberation mono","bitstream vera mono","dejavu mono",monospace;font-size:14px;font-weight:bold;white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);font-family:"liberation mono","bitstream vera mono","dejavu mono",monospace;font-size:14px;font-weight:bold;white-space:pre-wrap"><br></span></div></div>