On 6/8/07, Cerebus cerebus <[EMAIL PROTECTED]> 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
[email protected]
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
_______________________________________________
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