On 2007-07-20T11:02:13, Uros Kositer <[EMAIL PROTECTED]> wrote:

> I have added configuration with following XML:
> 
> <clone id="stonithclonesetrps" globally_unique="false">
> <instance_attributes id="stonithclonesetrps">
> <attributes>
> <nvpair id="stonithclonesetrps-01" name="clone_node_max" value="1"/>
> </attributes>
> </instance_attributes>
> <primitive id="stonithclonerps" class="stonith" type="rps10" 
> provider="heartbeat">
> <operations>
> <op name="monitor" interval="5s" timeout="20s" prereq="nothing" 
> id="stonithclonerps-op-01"/>
> <op name="start" timeout="20s" prereq="nothing" id="stonithclonerps-op-02"/>
> </operations>
> <instance_attributes id="stonithclonerps">
> <attributes>
> <nvpair id="stonithclonerps-01" name="hostlist" value="www1,www2"/>
> </attributes>
> </instance_attributes>
> </primitive>
> </clone>

The RPS is a serial power switch. You cannot run it as a clone, but it
requires two primitives - as each module needs to be differently
configured and tied to a different node w/rsc_location constraints.

> In my ha.cf I have added (on both nodes):
> stonith_host    www1 rps10 /dev/ttyS0 www2 0
> stonith_host    www2 rps10 /dev/ttyS0 www1 0

Forget that - the stonith_* directives in ha.cf are obsolete.


Regards,
    Lars

-- 
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to