[Pacemaker] Setup cluster

rvm at free.fr rvm at free.fr
Thu Feb 18 09:41:05 UTC 2010


Hi,

> # crm configure primitive ClusterIP ocf:heartbeat:IPaddr2 \
> params ip=192.168.9.101 cidr_netmask=32 \
> op monitor interval=30s

I think, i'm not sure, that you need to add nic="eth0" (for example) and your broadcast. And your nestmask sould be 24 ?
For example :
primitive VIP ocf:heartbeat:IPaddr2 \
        params ip="192.168.9.101" broadcast="192.168.9.255" nic="eth0" cidr_netmask="24" \
        op monitor interval="30s" timeout="10s"
Check the result in /var/log/ha-debug and with ip addr show.

Regards



> # crm_mon
> Last updated: Wed Feb 17 12:07:22 2010
> Stack: Heartbeat
> Current DC: usnbrl51.liz.com (0988f7f3-c858-4c12-af3b-b6a8bf83a0ae) -
> partition WITHOUT quorum
> Version: 1.0.6-fdba003eafa6af1b8d81b017aa535a949606ca0d
> 2 Nodes configured, unknown expected votes
> 1 Resources configured.
> Online: [ usnbrl51.liz.com usnbrl50.liz.com ]
> 
> 
> From the output, I ignore " unknown expected votes". Is it safe to
> ignore " partition WITHOUT quorum" for now? Also I don't see my
> cluster IP.
> 
> # crm configure show
> node $id="01428973-0d27-48ee-9142-2da9cb5c1e4b" usnbrl50.liz.com
> node $id="0988f7f3-c858-4c12-af3b-b6a8bf83a0ae" usnbrl51.liz.com
> primitive ClusterIP ocf:heartbeat:IPaddr2 \
>         params ip="192.168.9.101" cidr_netmask="32" \
>         op monitor interval="30s"
> property $id="cib-bootstrap-options" \
>         dc-version="1.0.6-fdba003eafa6af1b8d81b017aa535a949606ca0d" \
>         cluster-infrastructure="Heartbeat" \
>         no-quorum-policy="ignore"
> #
> 
> Above command shows that the cluster has the its virtual IP. 
> 
> What I did wrong here? Thanks.
> 
> Ryan
> 
> 
> 
> This message (including any attachments) is intended
> solely for the specific individual(s) or entity(ies) named
> above, and may contain legally privileged and
> confidential information. If you are not the intended 
> recipient, please notify the sender immediately by 
> replying to this message and then delete it.
> Any disclosure, copying, or distribution of this message,
> or the taking of any action based on it, by other than the
> intended recipient, is strictly prohibited.
> 
> 
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker




More information about the Pacemaker mailing list