<div dir="ltr">Hi Vijay B, <br><div><br></div><div>I have 2 Debian machines with the latest Corosync and Pacemaker.</div><div>I wanted the latest versions of these packages, so I didn't use "apt-get install corosync pacemaker". </div>
<div>Instead of that I downloaded the sources, built it and installed it. </div><div>I have a document with all steps I did to get it working.</div><div>If you still need some help here, just write me back.</div></div><div class="gmail_extra">
<br clear="all"><div><div dir="ltr">Thank you,<div>Kostya</div></div></div>
<br><br><div class="gmail_quote">On Wed, Jun 25, 2014 at 3:33 AM, Digimer <span dir="ltr"><<a href="mailto:lists@alteeve.ca" target="_blank">lists@alteeve.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I can't speak to the installation bits, I don't use Ubuntu/Debian myself, but once installed, this guide should apply:<br>
<br>
<a href="http://clusterlabs.org/doc/en-US/Pacemaker/1.1-crmsh/html-single/Clusters_from_Scratch/index.html" target="_blank">http://clusterlabs.org/doc/en-<u></u>US/Pacemaker/1.1-crmsh/html-<u></u>single/Clusters_from_Scratch/<u></u>index.html</a><br>
<br>
Cheeers<div class=""><br>
<br>
On 24/06/14 07:40 PM, Vijay B wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
Hi Digimer,<br>
<br>
Thanks for the info - do you happen to have a cheat sheet or<br>
instructions for corosync/pacemaker setup on ubuntu 14.04? I can give it<br>
a try..<br>
<br>
Regards,<br>
Vijay<br>
<br>
<br>
On Tue, Jun 24, 2014 at 3:52 PM, Digimer <<a href="mailto:lists@alteeve.ca" target="_blank">lists@alteeve.ca</a><br></div><div class="">
<mailto:<a href="mailto:lists@alteeve.ca" target="_blank">lists@alteeve.ca</a>>> wrote:<br>
<br>
I don't know about 13, but on Ubuntu 14.04 LTS, they're up to<br>
corosync 2 and pacemaker 1.1.10, which do not need cman at all.<br>
<br>
<br>
On 24/06/14 06:17 PM, Vijay B wrote:<br>
<br>
Hi Emmanuel!<br>
<br>
Thanks for getting back to me on this. Turns out that the corosync<br>
package is already installed on both nodes:<br>
<br>
user@pmk1:~$ sudo apt-get install corosync<br>
<br>
[sudo] password for user:<br>
<br>
Reading package lists... Done<br>
<br>
Building dependency tree<br>
<br>
Reading state information... Done<br>
<br>
corosync is already the newest version.<br>
<br>
corosync set to manually installed.<br>
<br>
0 upgraded, 0 newly installed, 0 to remove and 338 not upgraded.<br>
<br>
user@pmk1:~$<br>
<br>
<br>
<br>
So I think it's something else that needs to be done.. any ideas?<br>
<br>
<br>
Thanks,<br>
Regards,<br>
Vijay<br>
<br>
<br>
On Tue, Jun 24, 2014 at 3:02 PM, emmanuel segura<br>
<<a href="mailto:emi2fast@gmail.com" target="_blank">emi2fast@gmail.com</a> <mailto:<a href="mailto:emi2fast@gmail.com" target="_blank">emi2fast@gmail.com</a>><br></div><div class="">
<mailto:<a href="mailto:emi2fast@gmail.com" target="_blank">emi2fast@gmail.com</a> <mailto:<a href="mailto:emi2fast@gmail.com" target="_blank">emi2fast@gmail.com</a>>>> wrote:<br>
<br>
did you try "apt-get install corosync pacemaker"<br>
<br>
2014-06-24 23:50 GMT+02:00 Vijay B <<a href="mailto:os.vbvs@gmail.com" target="_blank">os.vbvs@gmail.com</a><br>
<mailto:<a href="mailto:os.vbvs@gmail.com" target="_blank">os.vbvs@gmail.com</a>><br></div>
<mailto:<a href="mailto:os.vbvs@gmail.com" target="_blank">os.vbvs@gmail.com</a> <mailto:<a href="mailto:os.vbvs@gmail.com" target="_blank">os.vbvs@gmail.com</a>>>>:<div class=""><br>
<br>
> Hi,<br>
><br>
> This is my first time using/trying to setup pacemaker with<br>
corosync and I'm<br>
> trying to set it up on 2 ubuntu 13.10 VMs. I'm following the<br>
instructions in<br>
> this link -<br></div>
<a href="http://clusterlabs.org/__quickstart-ubuntu.html" target="_blank">http://clusterlabs.org/__<u></u>quickstart-ubuntu.html</a><div><div class="h5"><br>
<<a href="http://clusterlabs.org/quickstart-ubuntu.html" target="_blank">http://clusterlabs.org/<u></u>quickstart-ubuntu.html</a>><br>
><br>
> But when I attempt to install the cman package, I see<br>
this error:<br>
><br>
> user@pmk2:~$ sudo apt-get install cman<br>
><br>
> Reading package lists... Done<br>
><br>
> Building dependency tree<br>
><br>
> Reading state information... Done<br>
><br>
> Package cman is not available, but is referred to by<br>
another package.<br>
><br>
> This may mean that the package is missing, has been<br>
obsoleted, or<br>
><br>
> is only available from another source<br>
><br>
> However the following packages replace it:<br>
><br>
> fence-agents:i386 dlm:i386 fence-agents dlm<br>
><br>
><br>
> E: Package 'cman' has no installation candidate<br>
><br>
> user@pmk2:~$<br>
><br>
><br>
><br>
> So it says that the fence-agents replaces the obsolete cman<br>
package, but<br>
> then I don't know what the new equivalent service for<br>
cman is, or<br>
what the<br>
> config files are. I don't see an /etc/default/cman file,<br>
and even<br>
if I add<br>
> one manually with a single line in it:<br>
><br>
> QUORUM_TIMEOUT=0 (for a two node cluster)<br>
><br>
> it doesn't seem to be used anywhere. Also, since there<br>
is no cman<br>
service as<br>
> such, this is what happens:<br>
><br>
> user@pmk2:~$ sudo service cman status<br>
><br>
> cman: unrecognized service<br>
><br>
> user@pmk2:~$<br>
><br>
><br>
><br>
> If I try to ignore the above error and simply attempt to<br>
start up the<br>
> pacemaker service, I see this:<br>
><br>
> user@pmk2:~$ sudo crm status<br>
><br>
> Could not establish cib_ro connection: Connection<br>
refused (111)<br>
><br>
> Connection to cluster failed: Transport endpoint is not<br>
connected<br>
><br>
> user@pmk2:~$<br>
><br>
><br>
> Same with the crm commands:<br>
><br>
><br>
> user@pmk2:~$ crm configure property stonith=enabled=false<br>
><br>
> ERROR: running cibadmin -Ql: Could not establish cib_rw<br>
connection:<br>
> Connection refused (111)<br>
><br>
> Signon to CIB failed: Transport endpoint is not connected<br>
><br>
> Init failed, could not perform requested operations<br>
><br>
><br>
> ERROR: No CIB!<br>
><br>
> user@pmk2:~$<br>
><br>
><br>
><br>
> It would be great if someone could help me out with the<br>
setup<br>
(additional<br>
> explanation/info would be awesome) or point me to<br>
instructions<br>
for Ubuntu<br>
> 13.10..<br>
><br>
><br>
><br>
> Thanks!<br>
><br>
> Regards,<br>
><br>
> Vijay<br>
><br>
><br></div></div>
> ______________________________<u></u>___________________<div class=""><br>
> Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<mailto:<a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.<u></u>clusterlabs.org</a>><br></div>
<mailto:<a href="mailto:Pacemaker@oss." target="_blank">Pacemaker@oss.</a>__<a href="http://clusterlabs.org" target="_blank">cluste<u></u>rlabs.org</a><br>
<mailto:<a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.<u></u>clusterlabs.org</a>>><br>
<br>
> <a href="http://oss.clusterlabs.org/__mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/__<u></u>mailman/listinfo/pacemaker</a><div class=""><br>
<<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/<u></u>mailman/listinfo/pacemaker</a>><br>
><br>
> Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
> Getting started:<br></div>
<a href="http://www.clusterlabs.org/__doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/__<u></u>doc/Cluster_from_Scratch.pdf</a><div class=""><br>
<<a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/<u></u>doc/Cluster_from_Scratch.pdf</a>><br>
> Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
><br>
<br>
<br>
<br>
--<br>
esta es mi vida e me la vivo hasta que dios quiera<br>
<br></div>
______________________________<u></u>___________________<div class=""><br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<mailto:<a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.<u></u>clusterlabs.org</a>><br></div>
<mailto:<a href="mailto:Pacemaker@oss." target="_blank">Pacemaker@oss.</a>__<a href="http://clusterlabs.org" target="_blank">cluste<u></u>rlabs.org</a><br>
<mailto:<a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.<u></u>clusterlabs.org</a>>><br>
<br>
<a href="http://oss.clusterlabs.org/__mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/__<u></u>mailman/listinfo/pacemaker</a><div class=""><br>
<<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/<u></u>mailman/listinfo/pacemaker</a>><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started:<br></div>
<a href="http://www.clusterlabs.org/__doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/__<u></u>doc/Cluster_from_Scratch.pdf</a><div class=""><br>
<<a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/<u></u>doc/Cluster_from_Scratch.pdf</a>><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br>
<br>
<br>
<br></div>
______________________________<u></u>___________________<div class=""><br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<mailto:<a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.<u></u>clusterlabs.org</a>><br></div>
<a href="http://oss.clusterlabs.org/__mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/__<u></u>mailman/listinfo/pacemaker</a><div class=""><br>
<<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/<u></u>mailman/listinfo/pacemaker</a>><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started:<br></div>
<a href="http://www.clusterlabs.org/__doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/__<u></u>doc/Cluster_from_Scratch.pdf</a><div class=""><br>
<<a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/<u></u>doc/Cluster_from_Scratch.pdf</a>><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br>
<br>
<br>
--<br>
Digimer<br>
Papers and Projects: <a href="https://alteeve.ca/w/" target="_blank">https://alteeve.ca/w/</a><br>
What if the cure for cancer is trapped in the mind of a person<br>
without access to education?<br>
<br>
<br></div>
______________________________<u></u>___________________<div class=""><br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<mailto:<a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.<u></u>clusterlabs.org</a>><br></div>
<a href="http://oss.clusterlabs.org/__mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/__<u></u>mailman/listinfo/pacemaker</a><div class=""><br>
<<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/<u></u>mailman/listinfo/pacemaker</a>><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started:<br></div>
<a href="http://www.clusterlabs.org/__doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/__<u></u>doc/Cluster_from_Scratch.pdf</a><div class=""><br>
<<a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/<u></u>doc/Cluster_from_Scratch.pdf</a>><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/<u></u>mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/<u></u>doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br>
</div></blockquote><div class="HOEnZb"><div class="h5">
<br>
<br>
-- <br>
Digimer<br>
Papers and Projects: <a href="https://alteeve.ca/w/" target="_blank">https://alteeve.ca/w/</a><br>
What if the cure for cancer is trapped in the mind of a person without access to education?<br>
<br>
______________________________<u></u>_________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/<u></u>mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/<u></u>doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
</div></div></blockquote></div><br></div>