[Pacemaker] Connection to our AIS plugin (9) failed: Library error
Andrew Beekhof
andrew at beekhof.net
Tue Sep 21 07:08:43 UTC 2010
2010/9/21 Szymon Hersztek <szym at globtel.pl>:
>
> Wiadomość napisana w dniu 2010-09-21, o godz. 08:34, przez Andrew Beekhof:
>
>> On Mon, Sep 20, 2010 at 3:34 PM, Szymon Hersztek <szym at globtel.pl> wrote:
>>>
>>> Hi
>>> Im trying to setup corosync to work as drbd cluster but after installing
>>> follow by http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>>> i got error like below:
>>
>> Unusual, but did pacemaker fork a replacement attrd process?
>> At what time did corosync start?
>>
>
> corosync was started manually or do you want to have exact time of start ?
well you included at most 1 second's worth of logging.
so its kinda hard to know if something took too long or what recovery
was attempted.
> attrd and cib process are not exist
>
> Szymon Herstek
>
>
>>> System is a new installed centos 5.5 plus instruction below
>>> wget -O /etc/yum.repos.d/pacemaker.repo
>>> http://clusterlabs.org/rpm/epel-5/clusterlabs.repo
>>> rpm -Uvh
>>>
>>> http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
>>> yum install pacemaker -y
>>>
>>>
>>> export ais_port=4000
>>> export ais_mcast=226.94.1.1
>>> export ais_addr=`ip addr | grep "inet " | tail -n 1 | awk '{print $4}' |
>>> sed
>>> s/255/0/`
>>>
>>> cp /etc/corosync/corosync.conf.example /etc/corosync/corosync.conf
>>> sed -i.gres "s/.*mcastaddr:.*/mcastaddr:\ $ais_mcast/g"
>>> /etc/corosync/corosync.conf
>>> sed -i.gres "s/.*mcastport:.*/mcastport:\ $ais_port/g"
>>> /etc/corosync/corosync.conf
>>> sed -i.gres "s/.*bindnetaddr:.*/bindnetaddr:\ $ais_addr/g"
>>> /etc/corosync/corosync.conf
>>> mkdir /var/log/cluster/
>>>
>>> cat <<-END >>/etc/corosync/corosync.conf
>>> aisexec {
>>> user: root
>>> group: root
>>> }
>>> END
>>>
>>> cat <<-END >>/etc/corosync/corosync.conf
>>> service {
>>> name: pacemaker
>>> ver: 0
>>> }
>>> END
>>>
>>>
>>> Sep 20 14:45:11 drbd2 cib: [4626]: WARN: readCibXmlFile: Primary
>>> configuration corrupt or unusable, trying backup...
>>> Sep 20 14:45:11 drbd2 attrd: [4628]: info: init_ais_connection_once:
>>> Connection to our AIS plugin (9) failed: Library error (2)
>>> Sep 20 14:45:11 drbd2 corosync[4619]: [pcmk ] info: pcmk_startup:
>>> Local
>>> hostname: drbd2.xxx.xxx
>>> Sep 20 14:45:11 drbd2 lrmd: [4627]: info: Started.
>>> Sep 20 14:45:11 drbd2 cib: [4626]: WARN: readCibXmlFile: Continuing with
>>> an
>>> empty configuration.
>>> Sep 20 14:45:11 drbd2 attrd: [4628]: ERROR: main: HA Signon failed
>>> Sep 20 14:45:11 drbd2 stonithd: [4625]: info: init_ais_connection_once:
>>> AIS
>>> connection established
>>> Sep 20 14:45:11 drbd2 corosync[4619]: [pcmk ] info:
>>> pcmk_update_nodeid:
>>> Local node id: 3540101312
>>> Sep 20 14:45:11 drbd2 attrd: [4628]: info: main: Cluster connection
>>> active
>>> Sep 20 14:45:11 drbd2 stonithd: [4625]: info: get_ais_nodeid: Server
>>> details: id=3540101312 uname=drbd2.xxx.xxx cname=pcmk
>>> Sep 20 14:45:11 drbd2 corosync[4619]: [pcmk ] info: update_member:
>>> Creating entry for node 3540101312 born on 0
>>> Sep 20 14:45:11 drbd2 attrd: [4628]: info: main: Accepting attribute
>>> updates
>>> Sep 20 14:45:11 drbd2 stonithd: [4625]: info: crm_new_peer: Node
>>> drbd2.xxx.xxx now has id: 3540101312
>>> Sep 20 14:45:11 drbd2 corosync[4619]: [pcmk ] info: update_member:
>>> 0x306b0a0 Node 3540101312 now known as drbd2.xxx.xxx (was: (null))
>>> Sep 20 14:45:11 drbd2 attrd: [4628]: ERROR: main: Aborting startup
>>> Sep 20 14:45:11 drbd2 stonithd: [4625]: info: crm_new_peer: Node
>>> 3540101312
>>> is now known as drbd2.xxx.xxx
>>> Sep 20 14:45:11 drbd2 corosync[4619]: [pcmk ] info: update_member:
>>> Node
>>> drbd2.xxx.xxx now has 1 quorum votes (was 0)
>>> Sep 20 14:45:11 drbd2 stonithd: [4625]: notice:
>>> /usr/lib64/heartbeat/stonithd start up successfully.
>>> Sep 20 14:45:11 drbd2 corosync[4619]: [pcmk ] info: update_member:
>>> Node
>>> 3540101312/drbd2.xxx.xxx is now: member
>>> Sep 20 14:45:11 drbd2 stonithd: [4625]: info: G_main_add_SignalHandler:
>>> Added signal handler for signal 17
>>>
>>> Installed packages:
>>> cluster-glue x86_64
>>> 1.0.6-1.6.el5 clusterlabs
>>> 279 k
>>> cluster-glue-libs i386
>>> 1.0.6-1.6.el5 clusterlabs
>>> 130 k
>>> cluster-glue-libs x86_64
>>> 1.0.6-1.6.el5 clusterlabs
>>> 131 k
>>> corosync x86_64
>>> 1.2.7-1.1.el5 clusterlabs
>>> 177 k
>>> corosynclib i386
>>> 1.2.7-1.1.el5 clusterlabs
>>> 155 k
>>> corosynclib x86_64
>>> 1.2.7-1.1.el5 clusterlabs
>>> 172 k
>>> db4 i386
>>> 4.3.29-10.el5_5.2 updates
>>> 910 k
>>> elfutils-libelf i386
>>> 0.137-3.el5 base
>>> 58 k
>>> heartbeat x86_64
>>> 3.0.3-2.3.el5 clusterlabs
>>> 162 k
>>> heartbeat-libs i386
>>> 3.0.3-2.3.el5 clusterlabs
>>> 283 k
>>> heartbeat-libs x86_64
>>> 3.0.3-2.3.el5 clusterlabs
>>> 293 k
>>> libesmtp i386
>>> 1.0.4-5.el5 epel
>>> 59 k
>>> libesmtp x86_64
>>> 1.0.4-5.el5 epel
>>> 60 k
>>> libibverbs i386
>>> 1.1.3-2.el5 base
>>> 45 k
>>> libibverbs x86_64
>>> 1.1.3-2.el5 base
>>> 44 k
>>> librdmacm i386
>>> 1.0.10-1.el5 base
>>> 23 k
>>> librdmacm x86_64
>>> 1.0.10-1.el5 base
>>> 23 k
>>> libsysfs i386
>>> 2.0.0-6 base
>>> 46 k
>>> libtool-ltdl i386
>>> 1.5.22-7.el5_4 base
>>> 37 k
>>> libtool-ltdl x86_64
>>> 1.5.22-7.el5_4 base
>>> 38 k
>>> libxml2 i386
>>> 2.6.26-2.1.2.8 base
>>> 795 k
>>> libxslt i386
>>> 1.1.17-2.el5_2.2 base
>>> 485 k
>>> libxslt x86_64
>>> 1.1.17-2.el5_2.2 base
>>> 488 k
>>> lm_sensors i386
>>> 2.10.7-9.el5 base
>>> 511 k
>>> lm_sensors x86_64
>>> 2.10.7-9.el5 base
>>> 525 k
>>> net-snmp x86_64
>>> 1:5.3.2.2-9.el5_5.1 updates
>>> 702 k
>>> net-snmp-libs i386
>>> 1:5.3.2.2-9.el5_5.1 updates
>>> 1.3 M
>>> openhpi-libs x86_64
>>> 2.14.0-5.el5 base
>>> 168 k
>>> openib noarch
>>> 1.4.1-5.el5 base
>>> 20 k
>>> pacemaker-libs i386
>>> 1.0.9.1-1.15.el5 clusterlabs
>>> 373 k
>>> pacemaker-libs x86_64
>>> 1.0.9.1-1.15.el5 clusterlabs
>>> 394 k
>>> perl i386
>>> 4:5.8.8-32.el5_5.1 extras
>>> 12 M
>>> perl-TimeDate noarch
>>> 1:1.16-5.el5 base
>>> 32 k
>>> resource-agents x86_64
>>> 1.0.3-2.6.el5 clusterlabs
>>> 312 k
>>> rpm-libs i386
>>> 4.4.2.3-20.el5_5.1 updates
>>> 928 k
>>> sqlite i386
>>> 3.3.6-5 base
>>> 213 k
>>> tcp_wrappers i386
>>> 7.6-40.7.el5 base
>>> 109 k
>>> Transaction Summary
>>>
>>> ===================================================================================================================================================================================
>>> Install 41 Package(s)
>>> Upgrade 0 Package(s)
>>>
>>>
>>> _______________________________________________
>>> 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>>>
>>>
>> _______________________________________________
>> 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>>
>
>
> _______________________________________________
> 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>
More information about the Pacemaker
mailing list