Thanks! That seems to have helped. If I put a node in standby and
bring it back up, though, the IPs still remain on the node that stayed
active. Is there something else I'm missing? Here's my current config:
node fileserv1 \
attributes standby="off"
node fileserv2 \
attributes standby="off"
primitive failover-ip1 ocf:heartbeat:IPaddr2 \
params ip="192.168.10.1" cidr_netmask="24"
broadcast="192.168.10.255" nic="eth1" clusterip_hash="sourceip" \
op monitor interval="30s"
primitive failover-ip2 ocf:heartbeat:IPaddr2 \
params ip="192.168.30.1" cidr_netmask="24"
broadcast="192.168.30.255" nic="eth2" clusterip_hash="sourceip" \
op monitor interval="30s"
clone ip1-clone failover-ip1 \
meta globally-unique="true" clone-max="2" clone-node-max="2"
interleave="true" target-role="Started"
clone ip2-clone failover-ip2 \
meta globally-unique="true" clone-max="2" clone-node-max="2"
interleave="true"
colocation colocate_ips inf: ip1-clone ip2-clone
property $id="cib-bootstrap-options" \
dc-version="1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b" \
cluster-infrastructure="openais" \
expected-quorum-votes="2" \
stonith-enabled="false" \
last-lrm-refresh="1321470680"
Regards,
Cindy
On 11/16/2011 11:51 AM, Nick Khamis wrote:
> Your clone is starting on the same server:
>
> failover-ip2:0 (ocf::heartbeat:IPaddr2): Started fileserv2
> failover-ip2:1 (ocf::heartbeat:IPaddr2): Started fileserv2
>
> You are missing colocation definitions, and need interleave=true.
>
> Nick.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems