<div dir="ltr">Hello all<br><br>Thank you Dejan and Dr. Schwartzkopff<br>But please bear with me because I'm still suffering a problem. Here is what I did:<br><br><span style="color: rgb(51, 102, 255);"># wget -O /etc/yum.repos.d/clusterlabs.repo <a href="http://clusterlabs.org/rpm/epel-5/clusterlabs.repo">http://clusterlabs.org/rpm/epel-5/clusterlabs.repo</a></span><br>
<span style="color: rgb(51, 102, 255);"># yum install pacemaker pacemaker-libs cluster-glue cluster-glue-libs resource-agents heartbeat</span><br>=============================================================================================================================================================<br>
Package Arch Version Repository Size<br>=============================================================================================================================================================<br>
Installing:<br> cluster-glue x86_64 1.0.1-1.el5 clusterlabs 262 k<br> cluster-glue-libs x86_64 1.0.1-1.el5 clusterlabs 130 k<br>
heartbeat x86_64 3.0.1-1.el5 clusterlabs 193 k<br> pacemaker x86_64 1.0.6-1.el5 clusterlabs 689 k<br>
pacemaker-libs x86_64 1.0.6-1.el5 clusterlabs 310 k<br> resource-agents x86_64 1.0.1-1.el5 clusterlabs 179 k<br>
Installing for dependencies:<br> corosync x86_64 1.1.2-1.el5 clusterlabs 163 k<br> corosynclib x86_64 1.1.2-1.el5 clusterlabs 163 k<br>
heartbeat-libs x86_64 3.0.1-1.el5 clusterlabs 292 k<br> libesmtp x86_64 1.0.4-5.el5 epel 60 k<br>
libibverbs x86_64 1.1.2-4.el5 base 44 k<br> librdmacm x86_64 1.0.8-5.el5 base 22 k<br>
openhpi-libs x86_64 2.14.0-5.el5 base 168 k<br> openib noarch 1.4.1-3.el5 base 20 k<br>
<br>Transaction Summary<br>=============================================================================================================================================================<br>Install 14 Package(s) <br>
Update 0 Package(s) <br>Remove 0 Package(s) <br><br>Total download size: 2.6 M<br><br><span style="color: rgb(51, 102, 255);"># vim /etc/ha.d/<a href="http://ha.cf">ha.cf</a></span><br>keepalive 2<br>
deadtime 30<br>warntime 10<br>initdead 120<br>udpport 694<br>ucast eth1 10.0.0.101<br>auto_failback on<br>node <a href="http://node1.mydomain.com">node1.mydomain.com</a><br>node <a href="http://node2.mydomain.com">node2.mydomain.com</a><br>
use_logd yes<br><br>// and I changed the ucast directive properly for each node<br><br><span style="color: rgb(51, 102, 255);"># vim /etc/ha.d/authkeys<br># chmod </span><span style="color: rgb(51, 102, 255);">600 /etc/ha.d/</span><span style="color: rgb(51, 102, 255);">authkeys<br>
# /etc/init.d/heartbeat start<br><span style="color: rgb(0, 0, 0);">Starting High-Availability services: [ OK ]</span><br><span style="color: rgb(0, 0, 0);">// started properly on both nodes</span><br>
<br># crm_mon -i5 <br></span>Attempting connection to the cluster....<br><br><span style="color: rgb(51, 102, 255);"># strace -o hb-again crm_mon -i5</span><br>// the file is attached<br><br>// I didn't find perl on the system , so I installed it<br>
<span style="color: rgb(51, 102, 255);"># yum install perl</span><br><br>// indeed, i believe the error is at around 92% of the strace output file when it attempts to:<br><br><span style="color: rgb(255, 0, 0);">connect(3, {sa_family=AF_FILE, path="<span style="color: rgb(0, 153, 0);">/var/run/crm/cib_ro</span>"...}, 110) = -1 ENOENT (<span style="color: rgb(51, 51, 255);">No such file or directory</span>)</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">close(3) = 0</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">socket(PF_FILE, SOCK_STREAM, 0) = 3</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">connect(3, {sa_family=AF_FILE, path="<span style="color: rgb(0, 153, 0);">/var/run/crm/cib_callback</span>"...}, 110) = -1 ENOENT (<span style="color: rgb(51, 51, 255);">No such file or directory</span>)</span><br>
<br>I can't understand why it can not run :( .. <br>Version 1.0.5 of pace maker and openais 0.80.5 worked like a charm on the same nodes.<br>Now I have to shift to heartbeat because of unicast directive. Please help!<br>
<br>Thank you in advance<br><br><br><div class="gmail_quote">On Tue, Jan 5, 2010 at 2:17 PM, Michael Schwartzkopff <span dir="ltr"><<a href="mailto:misch@multinet.de">misch@multinet.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Am Dienstag, 5. Januar 2010 13:00:44 schrieb Dejan Muhamedagic:<br>
<div class="im">> Hi,<br>
><br>
> On Tue, Jan 05, 2010 at 01:51:38PM +0200, Angie T. Muhammad wrote:<br>
> > Hello all,<br>
> > Hope you spent good time on holidays!<br>
> ><br>
> > Our data center does not support multicast and I have been googling<br>
> > "unicast site:<a href="http://openais.org" target="_blank">openais.org</a>" but now results.<br>
> > And changing our data center is not an option at the moment.<br>
> ><br>
> > I wonder does any beta version of openais support unicast?<br>
><br>
> I think that the latest corosync (1.2.0) supports broadcast.<br>
><br>
> > If not, do you have any link to pacemaker installation with heartbeat<br>
> > stack?<br>
><br>
> <a href="http://clusterlabs.org" target="_blank">clusterlabs.org</a> has some installation docs and there are also<br>
> brand new docs at <a href="http://linux-ha.org/wiki/Documentation" target="_blank">http://linux-ha.org/wiki/Documentation</a><br>
><br>
> Thanks,<br>
><br>
> Dejan<br>
><br>
> > Indeed, I would be very grateful if you could suggest me any other<br>
> > solution?<br>
<br>
<br>
</div>Perhaps you could use a tunnel (gre, ...) to route the multicast.<br>
<br>
--<br>
Dr. Michael Schwartzkopff<br>
MultiNET Services GmbH<br>
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany<br>
Tel: +49 - 89 - 45 69 11 0<br>
Fax: +49 - 89 - 45 69 11 21<br>
mob: +49 - 174 - 343 28 75<br>
<br>
mail: <a href="mailto:misch@multinet.de">misch@multinet.de</a><br>
web: <a href="http://www.multinet.de" target="_blank">www.multinet.de</a><br>
<br>
Sitz der Gesellschaft: 85630 Grasbrunn<br>
Registergericht: Amtsgericht München HRB 114375<br>
Geschäftsführer: Günter Jurgeneit, Hubert Martens<br>
<br>
---<br>
<br>
PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B<br>
Skype: misch42<br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
Pacemaker mailing list<br>
<a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>All the best,<br>Angie<br>
</div>