<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><font class="Apple-style-span" face="Verdana"><font class="Apple-style-span" size="2"><span class="Apple-style-span" style="font-size: 10px;">Hi</span></font></font></div><div><font class="Apple-style-span" face="Verdana"><font class="Apple-style-span" size="2"><span class="Apple-style-span" style="font-size: 10px;"><br></span></font></font></div><div><font class="Apple-style-span" face="Verdana"><font class="Apple-style-span" size="2"><span class="Apple-style-span" style="font-size: 10px;">Im trying to setup corosync to work as drbd cluster but after installing follow by <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a></span></font></font></div><div><font class="Apple-style-span" face="Verdana"><font class="Apple-style-span" size="2"><span class="Apple-style-span" style="font-size: 10px;">i got error like below:</span></font></font></div><div><font class="Apple-style-span" face="Verdana"><font class="Apple-style-span" size="2"><span class="Apple-style-span" style="font-size: 10px;"><br></span></font></font></div><div><font class="Apple-style-span" face="Verdana"><font class="Apple-style-span" size="2"><span class="Apple-style-span" style="font-size: 10px;">System is a new installed centos 5.5 plus instruction below</span></font></font></div><div><font class="Apple-style-span" face="Verdana"><font class="Apple-style-span" size="2"><span class="Apple-style-span" style="font-size: 10px;">wget -O /etc/yum.repos.d/pacemaker.repo <a href="http://clusterlabs.org/rpm/epel-5/clusterlabs.repo">http://clusterlabs.org/rpm/epel-5/clusterlabs.repo</a><br></span></font></font><font class="Apple-style-span" face="Verdana"><font class="Apple-style-span" size="2"><span class="Apple-style-span" style="font-size: 10px;">rpm -Uvh <a href="http://download.fedora.redhat.com/pub/epel/5/i386/">http://download.fedora.redhat.com/pub/epel/5/i386/</a></span></font></font><em><font class="Apple-style-span" face="Verdana"><font class="Apple-style-span" size="2"><span class="Apple-style-span" style="font-size: 10px;">epel-release-5-4.noarch.</span></font></font></em><em><font class="Apple-style-span" face="Verdana"><font class="Apple-style-span" size="2"><span class="Apple-style-span" style="font-size: 10px;">rpm</span></font></font></em><strong><strong class="userinput"><code><font class="Apple-style-span" face="Verdana"><font class="Apple-style-span" size="2"><span class="Apple-style-span" style="font-size: 10px;"><br></span></font></font><span style="font-weight: normal; "><font class="Apple-style-span" face="Verdana"><font class="Apple-style-span" size="2"><span class="Apple-style-span" style="font-size: 10px;">yum install</span></font></font></span></code></strong></strong><font class="Apple-style-span" face="Verdana"><font class="Apple-style-span" size="2"><span class="Apple-style-span" style="font-size: 10px;"> pacemaker -y<br><br></span></font></font></div><div><font class="Apple-style-span" face="Verdana"><font class="Apple-style-span" size="2"><span class="Apple-style-span" style="font-size: 10px;"><br></span></font></font></div><div><font style="font-family: verdana,helvetica,sans-serif;" size="2"><pre class="screen"><strong><strong class="userinput"><code><span style="font-weight: normal; "><font class="Apple-style-span" face="Verdana">export ais_port=4000 <br>export ais_mcast=226.94.1.1<br>export ais_addr=`ip addr | grep "inet " | tail -n 1 | awk '{print $4}' | sed s/255/0/` <br><br></font><font class="Apple-style-span" face="Verdana">cp /etc/corosync/corosync.conf.example  /etc/corosync/corosync.conf <br>sed -i.gres "s/.*mcastaddr:.*/mcastaddr:\ $ais_mcast/g" /etc/corosync/corosync.conf <br>sed -i.gres "s/.*mcastport:.*/mcastport:\ $ais_port/g" /etc/corosync/corosync.conf <br>sed -i.gres "s/.*bindnetaddr:.*/bindnetaddr:\ $ais_addr/g" /etc/corosync/corosync.conf <br></font></span><span class="Apple-style-span" style="font-weight: normal;"><font class="Apple-style-span" face="Verdana">mkdir /var/log/cluster/<br><br>cat <<-END >>/etc/corosync/corosync.conf <br>aisexec { <br>        user:   root <br>        group:  root <br>} <br>END <br><br>cat <<-END >>/etc/corosync/corosync.conf <br>service { <br> name: pacemaker <br>        ver:  0 <br>} <br>END</font></span></code></strong></strong></pre></font></div><div><br></div><div><br></div><div><br></div><div>Sep 20 14:45:11 drbd2 cib: [4626]: WARN: readCibXmlFile: Primary configuration corrupt or unusable, trying backup...</div><div>Sep 20 14:45:11 drbd2 attrd: [4628]: info: init_ais_connection_once: Connection to our AIS plugin (9) failed: Library error (2)</div><div>Sep 20 14:45:11 drbd2 corosync[4619]:   [pcmk  ] info: pcmk_startup: Local hostname: drbd2.xxx.xxx</div><div>Sep 20 14:45:11 drbd2 lrmd: [4627]: info: Started.</div><div>Sep 20 14:45:11 drbd2 cib: [4626]: WARN: readCibXmlFile: Continuing with an empty configuration.</div><div>Sep 20 14:45:11 drbd2 attrd: [4628]: ERROR: main: HA Signon failed</div><div>Sep 20 14:45:11 drbd2 stonithd: [4625]: info: init_ais_connection_once: AIS connection established</div><div>Sep 20 14:45:11 drbd2 corosync[4619]:   [pcmk  ] info: pcmk_update_nodeid: Local node id: 3540101312</div><div>Sep 20 14:45:11 drbd2 attrd: [4628]: info: main: Cluster connection active</div><div>Sep 20 14:45:11 drbd2 stonithd: [4625]: info: get_ais_nodeid: Server details: id=3540101312 uname=drbd2.xxx.xxx cname=pcmk</div><div>Sep 20 14:45:11 drbd2 corosync[4619]:   [pcmk  ] info: update_member: Creating entry for node 3540101312 born on 0</div><div>Sep 20 14:45:11 drbd2 attrd: [4628]: info: main: Accepting attribute updates</div><div>Sep 20 14:45:11 drbd2 stonithd: [4625]: info: crm_new_peer: Node drbd2.xxx.xxx now has id: 3540101312</div><div>Sep 20 14:45:11 drbd2 corosync[4619]:   [pcmk  ] info: update_member: 0x306b0a0 Node 3540101312 now known as drbd2.xxx.xxx (was: (null))</div><div>Sep 20 14:45:11 drbd2 attrd: [4628]: ERROR: main: Aborting startup</div><div>Sep 20 14:45:11 drbd2 stonithd: [4625]: info: crm_new_peer: Node 3540101312 is now known as drbd2.xxx.xxx</div><div>Sep 20 14:45:11 drbd2 corosync[4619]:   [pcmk  ] info: update_member: Node drbd2.xxx.xxx now has 1 quorum votes (was 0)</div><div>Sep 20 14:45:11 drbd2 stonithd: [4625]: notice: /usr/lib64/heartbeat/stonithd start up successfully.</div><div>Sep 20 14:45:11 drbd2 corosync[4619]:   [pcmk  ] info: update_member: Node 3540101312/drbd2.xxx.xxx is now: member</div><div>Sep 20 14:45:11 drbd2 stonithd: [4625]: info: G_main_add_SignalHandler: Added signal handler for signal 17</div><div><br></div><div><br></div><div>Installed packages:</div><div><div> cluster-glue                                  x86_64                             1.0.6-1.6.el5                                      clusterlabs                             279 k</div><div> cluster-glue-libs                             i386                               1.0.6-1.6.el5                                      clusterlabs                             130 k</div><div> cluster-glue-libs                             x86_64                             1.0.6-1.6.el5                                      clusterlabs                             131 k</div><div> corosync                                      x86_64                             1.2.7-1.1.el5                                      clusterlabs                             177 k</div><div> corosynclib                                   i386                               1.2.7-1.1.el5                                      clusterlabs                             155 k</div><div> corosynclib                                   x86_64                             1.2.7-1.1.el5                                      clusterlabs                             172 k</div><div> db4                                           i386                               4.3.29-10.el5_5.2                                  updates                                 910 k</div><div> elfutils-libelf                               i386                               0.137-3.el5                                        base                                     58 k</div><div> heartbeat                                     x86_64                             3.0.3-2.3.el5                                      clusterlabs                             162 k</div><div> heartbeat-libs                                i386                               3.0.3-2.3.el5                                      clusterlabs                             283 k</div><div> heartbeat-libs                                x86_64                             3.0.3-2.3.el5                                      clusterlabs                             293 k</div><div> libesmtp                                      i386                               1.0.4-5.el5                                        epel                                     59 k</div><div> libesmtp                                      x86_64                             1.0.4-5.el5                                        epel                                     60 k</div><div> libibverbs                                    i386                               1.1.3-2.el5                                        base                                     45 k</div><div> libibverbs                                    x86_64                             1.1.3-2.el5                                        base                                     44 k</div><div> librdmacm                                     i386                               1.0.10-1.el5                                       base                                     23 k</div><div> librdmacm                                     x86_64                             1.0.10-1.el5                                       base                                     23 k</div><div> libsysfs                                      i386                               2.0.0-6                                            base                                     46 k</div><div> libtool-ltdl                                  i386                               1.5.22-7.el5_4                                     base                                     37 k</div><div> libtool-ltdl                                  x86_64                             1.5.22-7.el5_4                                     base                                     38 k</div><div> libxml2                                       i386                               2.6.26-2.1.2.8                                     base                                    795 k</div><div> libxslt                                       i386                               1.1.17-2.el5_2.2                                   base                                    485 k</div><div> libxslt                                       x86_64                             1.1.17-2.el5_2.2                                   base                                    488 k</div><div> lm_sensors                                    i386                               2.10.7-9.el5                                       base                                    511 k</div><div> lm_sensors                                    x86_64                             2.10.7-9.el5                                       base                                    525 k</div><div> net-snmp                                      x86_64                             1:5.3.2.2-9.el5_5.1                                updates                                 702 k</div><div> net-snmp-libs                                 i386                               1:5.3.2.2-9.el5_5.1                                updates                                 1.3 M</div><div> openhpi-libs                                  x86_64                             2.14.0-5.el5                                       base                                    168 k</div><div> openib                                        noarch                             1.4.1-5.el5                                        base                                     20 k</div><div> pacemaker-libs                                i386                               1.0.9.1-1.15.el5                                   clusterlabs                             373 k</div><div> pacemaker-libs                                x86_64                             1.0.9.1-1.15.el5                                   clusterlabs                             394 k</div><div> perl                                          i386                               4:5.8.8-32.el5_5.1                                 extras                                   12 M</div><div> perl-TimeDate                                 noarch                             1:1.16-5.el5                                       base                                     32 k</div><div> resource-agents                               x86_64                             1.0.3-2.6.el5                                      clusterlabs                             312 k</div><div> rpm-libs                                      i386                               4.4.2.3-20.el5_5.1                                 updates                                 928 k</div><div> sqlite                                        i386                               3.3.6-5                                            base                                    213 k</div><div> tcp_wrappers                                  i386                               7.6-40.7.el5                                       base                                    109 k</div><div><br></div><div>Transaction Summary</div><div>===================================================================================================================================================================================</div><div>Install      41 Package(s)</div><div>Upgrade       0 Package(s)</div><div><br></div></div><div><br></div></body></html>