Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > fd1445e4ec50ea0254985a386bb83a07 > files > 305

pacemaker-doc-1.1.1-1.fc13.i686.rpm

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>12.2. Transient Node Attributes</title><link rel="stylesheet" href="./Common_Content/css/default.css" type="text/css" /><meta name="generator" content="publican 1.6" /><meta name="package" content="Pacemaker-Pacemaker_Explained-1.1-en-US-1-0" /><link rel="home" href="index.html" title="Configuration Explained" /><link rel="up" href="ch-status.html" title="Chapter 12. Status - Here be dragons" /><link rel="prev" href="ch-status.html" title="Chapter 12. Status - Here be dragons" /><link rel="next" href="s-status-history.html" title="12.3. Operation History" /></head><body class=""><p id="title"><a class="left" href="https://fedorahosted.org/publican"><img src="Common_Content/images/image_left.png" alt="Product Site" /></a><a class="right" href="https://fedorahosted.org/publican"><img src="Common_Content/images/image_right.png" alt="Documentation Site" /></a></p><ul class="docnav"><li class="previous"><a accesskey="p" href="ch-status.html"><strong>Prev</strong></a></li><li class="next"><a accesskey="n" href="s-status-history.html"><strong>Next</strong></a></li></ul><div class="section" title="12.2. Transient Node Attributes"><div class="titlepage"><div><div><h2 class="title" id="s-status-transient">12.2. Transient Node Attributes</h2></div></div></div><div class="para">
			Like regular <a class="link" href="s-node-attributes.html" title="4.2. Describing a Cluster Node">node attributes</a>, the name/value pairs listed here also help describe the node. However they are forgotten by the cluster when the node goes offline. This can be useful, for instance, when you only want a node to be in standby mode (not able to run resources) until the next reboot.
		</div><div class="para">
			In addition to any values the administrator sets, the cluster will also store information about failed resources here.
		</div><div class="figure" id="fig-status-attributes"><div class="figure-contents"><pre class="programlisting">

     &lt;transient_attributes id="cl-virt-1"&gt;
      &lt;instance_attributes id="status-cl-virt-1"&gt;
       &lt;nvpair id="status-cl-virt-1-pingd" name="pingd" value="3"/&gt;
       &lt;nvpair id="status-cl-virt-1-probe_complete" name="probe_complete" value="true"/&gt;
       &lt;nvpair id="status-cl-virt-1-fail-count-pingd:0" name="fail-count-pingd:0" value="1"/&gt;
       &lt;nvpair id="status-cl-virt-1-last-failure-pingd:0" name="last-failure-pingd:0" value="1239009742"/&gt;
      &lt;/instance_attributes&gt;
     &lt;/transient_attributes&gt;
</pre></div><h6>Figure 12.2. Example set of transient node attributes for node "cl-virt-1"</h6></div><br class="figure-break" /><div class="para">
			In the above example, we can see that the pingd:0 resource has failed once, at <code class="literal">Mon Apr 6 11:22:22 2009</code>. <sup>[<a id="id2810805" href="#ftn.id2810805" class="footnote">12</a>]</sup> We also see that the node is connected to three "pingd" peers and that all known resources have been checked for on this machine (<code class="literal">probe_complete</code>).
		</div><div class="footnotes"><br /><hr /><div class="footnote"><p><sup>[<a id="ftn.id2810805" href="#id2810805" class="para">12</a>] </sup>
				You can use the following Perl one-liner to print a human readable of any seconds-since-epoch value:
			</p><div class="para">
				<code class="command">perl -e 'print scalar(localtime(<code class="literal">$seconds</code>))."\n"'</code>
			</div></div></div></div><ul class="docnav"><li class="previous"><a accesskey="p" href="ch-status.html"><strong>Prev</strong>Chapter 12. Status - Here be dragons</a></li><li class="up"><a accesskey="u" href="#"><strong>Up</strong></a></li><li class="home"><a accesskey="h" href="index.html"><strong>Home</strong></a></li><li class="next"><a accesskey="n" href="s-status-history.html"><strong>Next</strong>12.3. Operation History</a></li></ul></body></html>