Sophie

Sophie

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

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>Chapter 5. Cluster Resources</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="index.html" title="Configuration Explained" /><link rel="prev" href="s-replace-heartbeat.html" title="4.5.2. Heartbeat" /><link rel="next" href="s-resource-supported.html" title="5.2. Supported Resource Classes" /></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-replace-heartbeat.html"><strong>Prev</strong></a></li><li class="next"><a accesskey="n" href="s-resource-supported.html"><strong>Next</strong></a></li></ul><div xml:lang="en-US" class="chapter" title="Chapter 5. Cluster Resources" lang="en-US"><div class="titlepage"><div><div><h2 class="title" id="ch-resources">Chapter 5. Cluster Resources</h2></div></div></div><div class="toc"><dl><dt><span class="section"><a href="ch-resources.html#s-resource-intro">5.1. What is a Cluster Resource</a></span></dt><dt><span class="section"><a href="s-resource-supported.html">5.2. Supported Resource Classes</a></span></dt><dd><dl><dt><span class="section"><a href="s-resource-supported.html#s-resource-ocf">5.2.1. Open Cluster Framework</a></span></dt><dt><span class="section"><a href="s-resource-lsb.html">5.2.2. Linux Standard Base</a></span></dt><dt><span class="section"><a href="s-resource-heartbeat.html">5.2.3. Legacy Heartbeat</a></span></dt></dl></dd><dt><span class="section"><a href="s-resource-properties.html">5.3. Properties</a></span></dt><dt><span class="section"><a href="s-resource-options.html">5.4. Resource Options</a></span></dt><dt><span class="section"><a href="s-resource-defaults.html">5.5. Setting Global Defaults for Resource Options</a></span></dt><dt><span class="section"><a href="s-resource-attributes.html">5.6. Instance Attributes</a></span></dt><dt><span class="section"><a href="s-resource-operations.html">5.7. Resource Operations</a></span></dt><dd><dl><dt><span class="section"><a href="s-resource-operations.html#s-resource-failure">5.7.1. Monitoring Resources for Failure</a></span></dt></dl></dd><dt><span class="section"><a href="s-operation-defaults.html">5.8. Setting Global Defaults for Operations</a></span></dt><dd><dl><dt><span class="section"><a href="s-operation-defaults.html#s-operation-timeouts">5.8.1. When Resources Take a Long Time to Start/Stop</a></span></dt><dt><span class="section"><a href="s-operation-monitor-multiple.html">5.8.2. Multiple Monitor Operations</a></span></dt><dt><span class="section"><a href="s-operation-monitor-disable.html">5.8.3. Disabling a Monitor Operation</a></span></dt></dl></dd></dl></div><div class="section" title="5.1. What is a Cluster Resource"><div class="titlepage"><div><div><h2 class="title" id="s-resource-intro">5.1. What is a Cluster Resource</h2></div></div></div><div class="para">
			The role of a resource agent is to abstract the service it provides and present a consistent view to the cluster, which allows the cluster to be agnostic about the resources it manages. The cluster doesn't need to understand how the resource works because it relies on the resource agent to do the right thing when given a start, stop or monitor command.
		</div><div class="para">
			For this reason it is crucial that resource agents are well tested.
		</div><div class="para">
			Typically resource agents come in the form of shell scripts, however they can be written using any technology (such as C, Python or Perl) that the author is comfortable with.
		</div></div></div><ul class="docnav"><li class="previous"><a accesskey="p" href="s-replace-heartbeat.html"><strong>Prev</strong>4.5.2. Heartbeat</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-resource-supported.html"><strong>Next</strong>5.2. Supported Resource Classes</a></li></ul></body></html>