[Pacemaker] running same resource on each node

Schaefer, Diane E diane.schaefer at unisys.com
Mon Jan 25 12:19:24 EST 2010


On Mon, Jan 25, 2010 at 3:58 PM, Schaefer, Diane E

<diane.schaefer at unisys.com<mailto:diane.schaefer at unisys.com>> wrote:

>> Hi,

>>

>? ? I would like to configure a single lsb resource that will run on both

>> nodes of my cluster.



>Check out:

>   http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/s-resource-clone.html



>>?I am using Pacemaker 1.0.6 and Heartbeat 3.0.2. This

>> resource needs to be always running on each node, but only running once per

>> node. If it stops, I want the cluster to restart it. ?But only on the one

>> node, no switching to the other node. ?I also need to control each resource

>> as separate, meaning stopping the resource on one side at a time.? I?ve

>> configured the resource and used location constraints to force each resource

>> to a particular node.? This doesn?t seem to be enough since the monitor

>> action is called on both sides for both resources.? After STONITH I also

>> noticed I sometimes get errors where the cluster wants to start each

>> resource on the same side, resulting in a try to start the resource twice.

>> I also tried to define this as a clone, but stopping the resource, stopped

>> both sides.? Any help would be appreciated.

>


I need to be able to stop this resource on only one node of the cluster at a time to do maintenance tasks.  If I define it as a clone, a stop resource stops both sides.

Diane

THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20100125/91089873/attachment-0001.html>


More information about the Pacemaker mailing list