<div dir="ltr">Hi Emmanuel!<div><br></div><div>Thanks for getting back to me on this. Turns out that the corosync package is already installed on both nodes:</div><div><br></div><div><p style="margin:0px;font-size:11px;font-family:Menlo">
user@pmk1:~$ sudo apt-get install corosync</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">[sudo] password for user: </p>
<p style="margin:0px;font-size:11px;font-family:Menlo">Reading package lists... Done</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">Building dependency tree       </p>
<p style="margin:0px;font-size:11px;font-family:Menlo">Reading state information... Done</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">corosync is already the newest version.</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">corosync set to manually installed.</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">0 upgraded, 0 newly installed, 0 to remove and 338 not upgraded.</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">user@pmk1:~$</p></div><div><br></div><div><br></div><div>So I think it&#39;s something else that needs to be done.. any ideas?</div><div><br></div><div><br></div><div>
Thanks,</div><div>Regards,</div><div>Vijay</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 24, 2014 at 3:02 PM, emmanuel segura <span dir="ltr">&lt;<a href="mailto:emi2fast@gmail.com" target="_blank">emi2fast@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">did you try &quot;apt-get install corosync pacemaker&quot;<br>
<br>
2014-06-24 23:50 GMT+02:00 Vijay B &lt;<a href="mailto:os.vbvs@gmail.com">os.vbvs@gmail.com</a>&gt;:<br>
<div><div class="h5">&gt; Hi,<br>
&gt;<br>
&gt; This is my first time using/trying to setup pacemaker with corosync and I&#39;m<br>
&gt; trying to set it up on 2 ubuntu 13.10 VMs. I&#39;m following the instructions in<br>
&gt; this link - <a href="http://clusterlabs.org/quickstart-ubuntu.html" target="_blank">http://clusterlabs.org/quickstart-ubuntu.html</a><br>
&gt;<br>
&gt; But when I attempt to install the cman package, I see this error:<br>
&gt;<br>
&gt; user@pmk2:~$ sudo apt-get install cman<br>
&gt;<br>
&gt; Reading package lists... Done<br>
&gt;<br>
&gt; Building dependency tree<br>
&gt;<br>
&gt; Reading state information... Done<br>
&gt;<br>
&gt; Package cman is not available, but is referred to by another package.<br>
&gt;<br>
&gt; This may mean that the package is missing, has been obsoleted, or<br>
&gt;<br>
&gt; is only available from another source<br>
&gt;<br>
&gt; However the following packages replace it:<br>
&gt;<br>
&gt;   fence-agents:i386 dlm:i386 fence-agents dlm<br>
&gt;<br>
&gt;<br>
&gt; E: Package &#39;cman&#39; has no installation candidate<br>
&gt;<br>
&gt; user@pmk2:~$<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; So it says that the fence-agents replaces the obsolete cman package, but<br>
&gt; then I don&#39;t know what the new equivalent service for cman is, or what the<br>
&gt; config files are. I don&#39;t see an /etc/default/cman file, and even if I add<br>
&gt; one manually with a single line in it:<br>
&gt;<br>
&gt; QUORUM_TIMEOUT=0 (for a two node cluster)<br>
&gt;<br>
&gt; it doesn&#39;t seem to be used anywhere. Also, since there is no cman service as<br>
&gt; such, this is what happens:<br>
&gt;<br>
&gt; user@pmk2:~$ sudo service cman status<br>
&gt;<br>
&gt; cman: unrecognized service<br>
&gt;<br>
&gt; user@pmk2:~$<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; If I try to ignore the above error and simply attempt to start up the<br>
&gt; pacemaker service, I see this:<br>
&gt;<br>
&gt; user@pmk2:~$ sudo crm status<br>
&gt;<br>
&gt; Could not establish cib_ro connection: Connection refused (111)<br>
&gt;<br>
&gt; Connection to cluster failed: Transport endpoint is not connected<br>
&gt;<br>
&gt; user@pmk2:~$<br>
&gt;<br>
&gt;<br>
&gt; Same with the crm commands:<br>
&gt;<br>
&gt;<br>
&gt; user@pmk2:~$ crm configure property stonith=enabled=false<br>
&gt;<br>
&gt; ERROR: running cibadmin -Ql: Could not establish cib_rw connection:<br>
&gt; Connection refused (111)<br>
&gt;<br>
&gt; Signon to CIB failed: Transport endpoint is not connected<br>
&gt;<br>
&gt; Init failed, could not perform requested operations<br>
&gt;<br>
&gt;<br>
&gt; ERROR: No CIB!<br>
&gt;<br>
&gt; user@pmk2:~$<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; It would be great if someone could help me out with the setup (additional<br>
&gt; explanation/info would be awesome) or point me to instructions for Ubuntu<br>
&gt; 13.10..<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Thanks!<br>
&gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt; Vijay<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
&gt; <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
&gt;<br>
&gt; Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
&gt; Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
&gt; Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
&gt;<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
esta es mi vida e me la vivo hasta que dios quiera<br>
<br>
_______________________________________________<br>
Pacemaker mailing list: <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>
<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/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
</font></span></blockquote></div><br></div>