On Tue, Oct 28, 2008 at 01:46, Wolf Noble <[EMAIL PROTECTED]> wrote:
> I'm trying to set up a relatively simple cluster with 4 virtual nodes 
> residing on 2 physical boxes.
>
> 2 nodes will be running mysql, with a vip on the active node.
> 2 nodes will be running drbd, a vip, and an apache instance.
>
> this is on centos 5.2 in testing, will be on RHEL in prod.
>
> heartbeat.i386                           2.1.3-3.el5.centos     installed
> heartbeat-gui.i386                       2.1.3-3.el5.centos     installed
> heartbeat-pils.i386                      2.1.3-3.el5.centos     installed
> heartbeat-stonith.i386                   2.1.3-3.el5.centos     installed
>
> I'm having troubles getting the apache ocf RA to work, and from what I've 
> read, many other people have as well, but I've not read a workable solution, 
> so I've defaulted to just using the linux init script as a resource.
>
> if anyone would mind pointing me to a setup of the vmware stonith device, I'd 
> really appreciate it... I'm having troubles making heads or tails of it.

        <clone id="DoFencing" globally_unique="false">
          <primitive id="child_DoFencing" class="stonith"
type="external/vmware">
            <operations>
              <op id="DoFencing-1" name="monitor" interval="120s"
prereq="nothing" timeout="300s"/>
              <op id="DoFencing-2" name="start" interval="0"
prereq="nothing"  timeout="180s"/>
              <op id="DoFencing-3" name="stop" interval="0" timeout="180s"/>
            </operations>
            <instance_attributes id="fencing-child">
              <attributes>
                <nvpair id="child_DoFencing-1" name="device_host"
value="your.vmware.host"/>
                <nvpair id="child_DoFencing-2" name="livedangerously"
value="yes"/>
              </attributes>
            </instance_attributes>
          </primitive>
        </clone>


>
> also if anyone has a pointer on the apache RA, I'd love to hear about it...
>
> Thanks so much guys.
>
> -Wolf Noble
>
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
_______________________________________________
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