<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'><font size="3">Art,</font><div style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 12pt; "><br></div><div style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 12pt; ">I would recommend building your cluster with the latest version of Pacemaker, 1.1.8, and a newer release of Corosync as well. I also recently built a cluster on Ubuntu 12.04 and encountered bugs in the older versions of Corosync and Pacemaker in the repositories. </div><div style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 12pt; "><br></div><div style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 12pt; ">There are two stable branches of Corosync to choose from - the older 1.x series (1.4.4 is the latest as of this writing) and newer 2.x series (2.1.0). When compiling Corosync, note that Ubuntu breaks out a number of the libraries into different packages:</div><div>libcfg4 libconfdb4 libcoroipcc4 libcoroipcs4 libcpg4 libevs4 liblogsys4 libpload4 libquorum4 libsam4 libtotem-pg4 libvotequorum4</div><div><br></div><div>When compiling Corosync 1.x from source, it provides all of these libraries so you should have all of those packages uninstalled. </div><div><br></div><div>In contrast, compiling Corosync 2.x provides libcpg4 and libsam4 but requires all of the other libraries listed above to be installed. There is also a new dependency that you should install first, libqb:</div><div><a href="https://github.com/asalkeld/libqb">https://github.com/asalkeld/libqb</a></div><div><br></div><div>When compiling Pacemaker 1.1.8 (and later), note that the crm shell (previously included with Pacemaker) is now a separate project and needs to be compiled and installed if you want to use it:<br><a href="http://savannah.nongnu.org/projects/crmsh/">http://savannah.nongnu.org/projects/crmsh/</a></div><div>Similar to Corosync, Ubuntu' splits off several of the libraries into different packages:</div><div>*libccs3 libcib1 *libcman3 *libesmtp6 *libfence4 libcrmcluster1 libcrmcommon2 libpe-rules2 libpe-status3 libpengine3 libstonithd1 libtransitioner1</div><div><br></div><div>The ones with an asterisk are dependencies for Pacemaker 1.1.8 as well, and should be installed when compiling it (though libccs3 and libfence4 are only really required if you want to use CMAN). </div><div>The ones without an asterisk should be uninstalled. For more details on how these libraries are broken out into separate packages, see here:</div><div>http://packages.ubuntu.com/source/precise/pacemaker</div><div>http://packages.ubuntu.com/source/precise/redhat-cluster </div><div><br></div><div><br></div><div>In regards to guides to getting started, I'd recommend the Clusters from Scratch documentation, as well as the Linbit Tech Guides:</div><div><a href="http://www.clusterlabs.org/doc/">http://www.clusterlabs.org/doc/</a></div><div><a href="http://www.linbit.com/education/tech-guides/">http://www.linbit.com/education/tech-guides/</a></div><div style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 12pt; "><br></div><div style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 12pt; ">STONITH is an important part of your cluster. This page has a good illustration of why it is important to choose a good STONITH device:</div><div style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 12pt; "><a href="http://ourobengr.com/stonith-story/">http://ourobengr.com/stonith-story/</a></div><div style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 12pt; "><br></div><div style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 12pt; "><br></div><div style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 12pt; ">Andrew<br><br><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b><span>"Art Zemon" <<a class="smarterwiki-linkify" href="mailto:art@hens-teeth.net" title="[GMCP] Compose a new mail to art@hens-teeth.net" onclick="window.open('https://mail.google.com/mail/u/0/?view=cm&fs=1&tf=1&to=art@hens-teeth.net','Compose new message','width=640,height=480');return false" rel="noreferrer">art@hens-teeth.net</a>></span><br><b>To: </b><span>"Pacemaker List" <<a class="smarterwiki-linkify" href="mailto:pacemaker@oss.clusterlabs.org" title="[GMCP] Compose a new mail to pacemaker@oss.clusterlabs.org" onclick="window.open('https://mail.google.com/mail/u/0/?view=cm&fs=1&tf=1&to=pacemaker@oss.clusterlabs.org','Compose new message','width=640,height=480');return false" rel="noreferrer">pacemaker@oss.clusterlabs.org</a>></span><br><b>Sent: </b>Thursday, November 15, 2012 7:20:32 AM<br><b>Subject: </b>[Pacemaker] Getting Started on Ubuntu 12.04<br><br><font face="arial" size="2"><p style="margin:0;padding:0;">Hello,</p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;">I am trying to build my first cluster on Ubuntu 12.04 and struggling because, though I have a <em>lot</em> of Linux and UNIX sysadmin experience, I am new to clustering.</p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;">I would appreciate any pointers to docs/examples/tutorials/whatever on getting started with Corosync 1.4.2 + Pacemaker 1.1.6 (the versions in the Ubuntu 12.04 repository).</p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;">Thanks,</p>
<p style="margin:0;padding:0;">-- Art Z.</p>
<p style="margin:0;padding:0;"> </p>
<div style="color: #444444; clear: both;">
<p style="margin:0;padding:0;">--</p>
<p style="margin:0;padding:0;font-style: italic;">Art Zemon, President<br> <a href="http://www.hens-teeth.net/" target="_blank">Hen's Teeth Network</a> for reliable web hosting and programming<br><span> (866)HENS-NET / (636)447-3030 ext. 200 / <a class="smarterwiki-linkify" href="http://www.hens-teeth.net">www.hens-teeth.net</a></span></p>
</div>
</font><br>_______________________________________________<br><span>Pacemaker mailing list: <a class="smarterwiki-linkify" href="mailto:Pacemaker@oss.clusterlabs.org" title="[GMCP] Compose a new mail to Pacemaker@oss.clusterlabs.org" onclick="window.open('https://mail.google.com/mail/u/0/?view=cm&fs=1&tf=1&to=Pacemaker@oss.clusterlabs.org','Compose new message','width=640,height=480');return false" rel="noreferrer">Pacemaker@oss.clusterlabs.org</a></span><br><span><a class="smarterwiki-linkify" href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a></span><br><br><span>Project Home: <a class="smarterwiki-linkify" href="http://www.clusterlabs.org">http://www.clusterlabs.org</a></span><br><span>Getting started: <a class="smarterwiki-linkify" href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a></span><br><span>Bugs: <a class="smarterwiki-linkify" href="http://bugs.clusterlabs.org">http://bugs.clusterlabs.org</a></span><br></div><br></div></div></body></html>