[Pacemaker] How-to prevent target-role events from being added to the live CIV?

Vince Gabriel vinceg at sgi.com
Tue Aug 24 18:06:04 UTC 2010


The primitive below is part of a group. If the resource (HA1-ip) is
start/stop independently of its group, the target-role="Started" is
added to the CIB. Is there a way to prevent that from happening?

primitive HA1-ip ocf:heartbeat:IPaddr2 \
        operations $id="HA1-ip-operations" \
        op monitor interval="60s" timeout="30s" on-fail="restart"
start-delay="0" \
        op start interval="0" timeout="90" on-fail="restart"
requires="fencing" \
        op stop interval="0" timeout="100" on-fail="fence" \
        params ip="10.10.10.33" nic="eth0" cidr_netmask="24" \
        meta resource-stickiness="1" migration-threshold="1"
target-role="Started"

Thanks,

-Vince
--
Vince Gabriel
Field Technical Analyst
SGI
office: 361.729.9151
cell:  409.392.8083

 
 

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


More information about the Pacemaker mailing list