Hello Gary,
> I am new to Linux HA and I am looking for one good example. All I
> want to do to start is setup a failover of a single IP address across
> a number of Fedora Core 1 servers. I am using version 2.0.8. Can
> anyone point me to a sample cib.xml that is current with the 2.0.8 DTD
> to do what I want? I have scoured the website but the examples are
> out-of-date with the DTD.
this is for 2.1.3:
I have no idea if it works with 2.0.8 but I guess you should upgrade
anyway:
cibadmin -U -X '
<configuration>
<resources>
<primitive class="ocf" provider="heartbeat" type="IPaddr2"
id="ip0">
<instance_attributes id="ia-ip0">
<attributes>
<nvpair id="ia-ip0-1" name="ip"
value="172.17.0.20"/>
<nvpair id="ia-ip0-2"
name="cidr_netmask" value="24"/>
<nvpair id="ia-ip0-3" name="nic"
value="eth0.2"/>
</attributes>
</instance_attributes>
<operations>
<op id="ip0-monitor0" name="monitor"
interval="60s" timeout="120s" start_delay="1m"/>
</operations>
</primitive>
</resources>
</configuration>'
Thomas
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems