[Linux-HA] STONITH without hb_gui?

Rene Purcell rene.purcell at gmail.com
Fri Jun 8 11:22:55 MDT 2007


On 6/8/07, Cerebus cerebus <cerebus_8 at yahoo.com> wrote:
>
> I've looked everywhere, and I can't find any documentation on configuring
> our using STONITH without hb_gui
>
> We don't have the gui installed, and can't get it running.
> So I'd like to know how we can do this.
>
> Is there even a sample config (2 nodes) somewhere?
>
> thanks!
>
>
> ---------------------------------
> Need Mail bonding?
> Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>


Hi, there is an example of a stonith config using the ssh/external "agent".
This example come from aNovell documentation available there:
http://www.novell.com/linux/technical_library/has.pdf


<clone id="stonithcloneset" globally_unique="false">
 <instance_attributes id="stonithcloneset">
  <attributes>
   <nvpair id="stonithcloneset-01" name="clone_node_max" value="1"/>
  </attributes>
 </instance_attributes>
<primitive id="stonithclone" class="stonith" type="external/ssh"
provider="heartbeat">
   <operations>
    <op name="monitor" interval="5s" timeout="20s" prereq="nothing"
id="stonithclone-op-01"/>
    <op name="start" timeout="20s" prereq="nothing"
id="stonithclone-op-02"/>
   </operations>
   <instance_attributes id="stonithclone">
    <attributes>
   <nvpair id="stonithclone-01" name="hostlist"
value="qclsles01,qclsles02"/>
    </attributes>
 </instance_attributes>
 </primitive>
</clone>

regarding to the doc you have to enable "atd" service if you use the
"ssh/external" method.. but its not recommended in production server..

and Voila!


-- 
René Jr Purcell
Chargé de projet, sécurité et sytèmes
Techno Centre Logiciels Libres, http://www.tc2l.ca/
Téléphone : (418) 681-2929 #124


More information about the Linux-HA mailing list