Sophie

Sophie

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

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>2.5. Updating the Configuration Without Using XML</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-basics.html" title="Chapter 2. Configuration Basics" /><link rel="prev" href="s-config-delete.html" title="2.4. Quickly Deleting Part of the Configuration" /><link rel="next" href="s-config-sandboxes.html" title="2.6. Making Configuration Changes in a Sandbox" /></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="s-config-delete.html"><strong>Prev</strong></a></li><li class="next"><a accesskey="n" href="s-config-sandboxes.html"><strong>Next</strong></a></li></ul><div class="section" title="2.5. Updating the Configuration Without Using XML"><div class="titlepage"><div><div><h2 class="title" id="s-config-tools">2.5. Updating the Configuration Without Using XML</h2></div></div></div><div class="para">
			Some common tasks can also be performed with one of the higher level tools that avoid the need to read or edit XML.
		</div><div class="para">
			To enable stonith for example, one could run:
		</div><div class="para">
			<code class="command">crm_attribute --attr-name stonith-enabled --attr-value true</code>
		</div><div class="para">
			Or to see if somenode is allowed to run resources, there is:
		</div><div class="para">
			<code class="command">crm_standby --get-value --node-uname somenode</code>
		</div><div class="para">
			Or to find the current location of my-test-rsc one can use:
		</div><div class="para">
			<code class="command">crm_resource --locate --resource my-test-rsc</code>
		</div></div><ul class="docnav"><li class="previous"><a accesskey="p" href="s-config-delete.html"><strong>Prev</strong>2.4. Quickly Deleting Part of the Configuration</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-config-sandboxes.html"><strong>Next</strong>2.6. Making Configuration Changes in a Sandbox</a></li></ul></body></html>