Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am using Ubuntu 12.04 LTS running MySQL. For HA I am trying to get a cluster going with Corosync/Pacemaker and drbd. More specifically:
cororsync 2.3.3
pacemaker 1.1.10
drbd 8.4.3
I decided to try to do this with two VMs for testing and was able to successfully do this using LCMC as I could not get pygui/crm_gui to work/connect (created a password for hacluster and added an admin user to the haclient group). I also got drbd going and MySQL with successful failovers.
That was the good news.
Now I needed to do the same on two physical servers for production. I went through the same process as with the VMs. I was able to get LCMC to see the two nodes and they do go "online". However, I see the connectivity from LCMC to the servers going in and out. Interesting thing is that I am running LCMC off of one of the cluster nodes and it too loses connectivity. I was thinking that maybe it was an LCMC issue, so I tried getting crm_gui to work (used before in a past life), but I am unable to connect to the server using both hacluster (with a password defined) or a user that is part of the haclient group. I also turned of the firewall to ensure that it was not blocking some port it may need. It appears that pacemaker-mgmtd is running as I get an error when I tried to start it manually that it is already running.
I have used pacemaker before, but using SUSE and openSUSE, with no where near the problems I am having trying to run it in Ubuntu.
Has someone successfully implemented pacemaker on Ubuntu? if so, can someone let me know what I am doing wrong?
Well, this post has been up for almost a week now. I finally got crm_gui to work. Unfortunately I am not sure what actually made it do so. I tried to start mgmtd manually, and it kept complaining that it was already running, but issuing a "ps -ef|grep mgmtd" yielded nothing. I restarted the server a couple of times and it finally started working. Now it is consistently working. Not sure what actually happened.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.