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