[Pacemaker] Resource agent IPaddr2 failed to start

Andreas Kurz andreas at hastexo.com
Tue Oct 9 15:11:37 CEST 2012


On 10/09/2012 11:17 AM, Soni Maula Harriz wrote:
> 
> 
> On Tue, Oct 9, 2012 at 4:01 PM, Andreas Kurz <andreas at hastexo.com
> <mailto:andreas at hastexo.com>> wrote:
> 
>     On 10/09/2012 10:39 AM, Soni Maula Harriz wrote:
>     > Dear all,
>     >
>     > I'm a newbie in clustering. I have been following the 'Cluster from
>     > scratch' tutorial.
>     > I use Centos 6.3 and install pacemaker and corosync from : yum install
>     > pacemaker corosync
>     >
>     > This is the version i got
>     > Pacemaker 1.1.7-6.el6
>     > Corosync Cluster Engine, version '1.4.1'
>     >
>     > This time i have been this far : adding IPaddr2 resource
>     >
>     (http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Clusters_from_Scratch/_adding_a_resource.html)
>     > everything goes well before adding IPaddr2 resource.
>     > when i run 'crm status', it print out
>     >
>     > ============
>     > Last updated: Tue Oct  9 14:58:30 2012
>     > Last change: Tue Oct  9 13:53:41 2012 via cibadmin on cluster1
>     > Stack: openais
>     > Current DC: cluster1 - partition with quorum
>     > Version: 1.1.7-6.el6-148fccfd5985c5590cc601123c6c16e966b85d14
>     > 2 Nodes configured, 2 expected votes
>     > 1 Resources configured.
>     > ============
>     >
>     > Online: [ cluster1 cluster2 ]
>     >
>     >
>     > Failed actions:
>     >     ClusterIP_start_0 (node=cluster1, call=3, rc=6, status=complete):
>     > not configured
>     >
>     >
>     > This is the error i got from /var/log/message
>     > Oct  8 17:07:16 cluster2 IPaddr2(ClusterIP)[15969]: ERROR:
>     > [/usr/lib64/heartbeat/findif -C] failed
>     > Oct  8 17:07:16 cluster2 crmd[15937]:  warning: status_from_rc:
>     Action 4
>     > (ClusterIP_start_0) on cluster2 failed (target: 0 vs. rc: 6): Error
>     > Oct  8 17:07:16 cluster2 pengine[15936]:    error: unpack_rsc_op:
>     > Preventing ClusterIP from re-starting anywhere in the cluster :
>     > operation start failed 'not configured' (rc=6)
> 
>     Not enough information .... please share your configuration (crm
>     configure show) 
> 
>  
> This is the configuration :
> crm configure show
> node cluster1
> node cluster2
> primitive ClusterIP ocf:heartbeat:IPaddr2 \
>     params ip="xxx.xxx.xxx.289" cidr_netmask="32" \

289??? ... hopefully, this is a typo, isn't it?

Regards,
Andreas

-- 
Need help with Pacemaker?
http://www.hastexo.com/now

>     op monitor interval="30s"
> property $id="cib-bootstrap-options" \
>     dc-version="1.1.7-6.el6-148fccfd5985c5590cc601123c6c16e966b85d14" \
>     cluster-infrastructure="openais" \
>     expected-quorum-votes="2" \
>     stonith-enabled="false"
>  
> 
>     and the result of "ip a sh". 
> 
> 
> # ip a sh
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
>     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>     inet 127.0.0.1/8 <http://127.0.0.1/8> scope host lo
>     inet6 ::1/128 scope host
>        valid_lft forever preferred_lft forever
> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
> state UP qlen 1000
>     link/ether 08:00:27:07:fd:fd brd ff:ff:ff:ff:ff:ff
>     inet xxx.xxx.xxx.235/24 brd xxx.xxx.xxx.255 scope global eth0
>     inet6 fe80::a00:27ff:fe07:fdfd/64 scope link
>        valid_lft forever preferred_lft forever
>  
> 
>     You need at least a
>     interface that is up to bind that IP, typically it is already configured
>     with an static IP in the same network as the cluster ip.
> 
>     Regards,
>     Andreas
> 
>     --
>     Need help with Pacemaker?
>     http://www.hastexo.com/now
>     >
>     >
>     > I have been searching through the google, but can't find the right
>     > solution for my problem.
>     > I have stopped the firewall and disabled the SElinux.
>     > Any help would be appreciated.
>     >
>     > --
>     > Best Regards,
>     >
>     > Soni Maula Harriz
>     > Database Administrator
>     > PT. Data Aksara Sangkuriang
>     >
>     >
>     >
>     > _______________________________________________
>     > Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
>     <mailto:Pacemaker at oss.clusterlabs.org>
>     > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>     >
>     > Project Home: http://www.clusterlabs.org
>     > Getting started:
>     http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>     > Bugs: http://bugs.clusterlabs.org
>     >
> 
> 
> 
> 
> 
>     _______________________________________________
>     Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
>     <mailto:Pacemaker at oss.clusterlabs.org>
>     http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
>     Project Home: http://www.clusterlabs.org
>     Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>     Bugs: http://bugs.clusterlabs.org
> 
> 
> 
> 
> -- 
> Best Regards,
> 
> Soni Maula Harriz
> Database Administrator
> PT. Data Aksara Sangkuriang
> 
> 
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
> 




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 222 bytes
Desc: OpenPGP digital signature
URL: <http://oss.clusterlabs.org/pipermail/pacemaker/attachments/20121009/8b2cb9c3/attachment.sig>


More information about the Pacemaker mailing list