LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-13-2014, 12:32 PM   #1
NetEng1
Member
 
Registered: Aug 2011
Distribution: ubuntu
Posts: 40

Rep: Reputation: Disabled
Ubuntu and Pacemaker


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?

Thank you in advance.
 
Old 11-19-2014, 08:57 PM   #2
NetEng1
Member
 
Registered: Aug 2011
Distribution: ubuntu
Posts: 40

Original Poster
Rep: Reputation: Disabled
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.
 
Old 11-19-2014, 10:24 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
It's entirely possible that nobody felt like he or she could help you, but I'm glad you got it working.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pacemaker question arrals.vl Linux - Server 0 03-19-2013 12:44 PM
[SOLVED] Pacemaker/Corosync/LinuxHA mscolar Linux - Server 0 02-24-2013 04:45 PM
[SOLVED] pacemaker - how to start a resource eantoranz Linux - Server 1 10-03-2012 01:33 PM
pacemaker with drbd and lvm anilcliff Linux - Server 0 07-13-2012 12:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration