[Linux-HA] my installation of ClusterIP

Michael Schwartzkopff misch at multinet.de
Sat Oct 13 14:22:33 MDT 2007


Am Freitag, 12. Oktober 2007 10:07 schrieb Ilo Lorusso:
>        <clone id="IP_112">
>          <instance_attributes id="IP_112_instance_attrs">
>            <attributes>
>              <nvpair id="IP_112_clone_max" name="clone_max" value="2"/>
>              <nvpair id="IP_112_clone_node_max" name="clone_node_max"
> value="2"/>
>              <nvpair name="target_role" id="IP_112_target_role"
> value="started"/>
>            </attributes>
>          </instance_attributes>
>          <primitive class="ocf" type="IPaddr2" provider="heartbeat"
> id="resource_" resource_stickiness="0">
>            <instance_attributes id="resource__instance_attrs">
>              <attributes>
>                <nvpair name="target_role" id="resource__target_role"
> value="started"/>
>                <nvpair id="05bf8a61-4e4e-4c77-b862-54c03299f28f" name="ip"
> value="172.20.128.112"/>
>                <nvpair id="bb0028ce-b197-4271-844c-305361c7fed7" name="mac"
> value="01:02:03:04:05:06"/>
>                <nvpair id="57d92ee6-d4d9-4bd9-9c28-71854a3b2969"
> name="arp_mac" value="01:02:03:04:05:06"/>
>                <nvpair id="0dbb2e56-901e-4149-b68f-4bac3e04aa49"
> name="clusterip_hash" value="sourceip-sourceport"/>
>              </attributes>
>            </instance_attributes>
>          </primitive>
>        </clone>

Why is your id for the "primitive" resource ("resource_") other that that for 
the clone ("IP_112")? Normally the primitive resource in a cluster have the 
same ID only a ":0" or ":1" is added.

Leave out all the attributes with mac, i.e. mac and arp_mac and let calculate 
heartbeat the multicast mac address itself. If I leave out that two 
attributes your ressource works for me. Please try that.

-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: misch at multinet.de
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42



More information about the Linux-HA mailing list