On 28/06/13 10:20, Digimer wrote:
On 06/28/2013 03:22 AM, Lars Marowsky-Bree wrote:
On 2013-06-27T12:53:01, Digimer <li...@alteeve.ca> wrote:

primitive fence_n01_psu1_off stonith:fence_apc_snmp \
         params ipaddr="an-p01" pcmk_reboot_action="off" port="1"
pcmk_host_list="an-c03n01.alteeve.ca"
primitive fence_n01_psu1_on stonith:fence_apc_snmp \
         params ipaddr="an-p01" pcmk_reboot_action="on" port="1"
pcmk_host_list="an-c03n01.alteeve.ca"

So every device twice, including location constraints? I see potential
for optimization by improving how the fence code handles this ... That's
abhorrently complex. (And I'm not sure the 'action' parameter ought to
be overwritten.)

Andrew said yesterday that this will no longer be the case as of 1.1.10.
 From then on, 'action="..."' will be honoured.

I've now tested this with 1.1.10 rc6 and 'action="..."' was properly honoured.

--
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without access to education?

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to