Re: [Pacemaker] KVM DRBD and Pacemaker

2012-06-05 Thread Cliff Massey
Correct. I overlooked adding that. Works great now. Thank You, Cliff On Jun 5, 2012, at 3:08 AM, Florian Haas wrote: > On Tue, Jun 5, 2012 at 1:55 AM, Cliff Massey > wrote: >> My config is: >> >> http://pastebin.com/5qYiHe56 > > Yep, you completely forgot y

Re: [Pacemaker] KVM DRBD and Pacemaker

2012-06-04 Thread Cliff Massey
My config is: http://pastebin.com/5qYiHe56 On Jun 4, 2012, at 4:26 PM, Florian Haas wrote: > On Mon, Jun 4, 2012 at 9:51 PM, Cliff Massey > wrote: >> >> I am trying to setup a cluster consisting of KVM DRBD and pacemaker. >> Without pacemaker DRBD and KVM are

[Pacemaker] KVM DRBD and Pacemaker

2012-06-04 Thread Cliff Massey
receive the error: lmrd error: unable to open disk path /dev/drbd0: Wrong medium type I have the KVM config file pointing to /dev/drbd0 for the disk. Should it be pointing somewhere else? Cliff Massey ___ Pacemaker mailing list: Pacemaker

Re: [Pacemaker] Trouble with KVM Resource

2011-10-31 Thread Cliff Massey
and restarted pacemaker and the resource came up. I restarted it a few times without manually editing the state file and it still started up. The issue was very strange indeed. Thanks for the speedy help. On Nov 1, 2011, at 12:04 AM, Tim Serong wrote: > On 11/01/2011 02:23 PM, Cliff Massey

[Pacemaker] Trouble with KVM Resource

2011-10-31 Thread Cliff Massey
I am having a problem with my kvm resource. It was working until I decided to re-install the kvm machine. The libvirt xml file and the pacemaker configuration did not change. I can start the kvm outside of pacemaker just fine. When I check the libvirt log, it shows no attempt to start the kvm

Re: [Pacemaker] Configuring Pacemaker & DRBD

2011-10-10 Thread Cliff Massey
How does stonith work in a 2-node cluster? There aren't enough nodes to make quorum and vote the bad guy out. On Oct 7, 2011, at 4:31 PM, Cliff Massey wrote: > ahh makes sense. > > I disabled allow-migrate and now I can move the kvm machine and at the same > time drbd is aut

Re: [Pacemaker] Configuring Pacemaker & DRBD

2011-10-07 Thread Cliff Massey
ahh makes sense. I disabled allow-migrate and now I can move the kvm machine and at the same time drbd is automatically set to primary on the new node. Time to setup stonith. On Oct 7, 2011, at 4:13 PM, Florian Haas wrote: > On 2011-10-07 21:23, Cliff Massey wrote: >> I m

Re: [Pacemaker] Configuring Pacemaker & DRBD

2011-10-07 Thread Cliff Massey
x27;ve posted my CIB dump at patstebin: http://pastebin.com/EgLxRS0c and the log messages are http://pastebin.com/7f18RqHc On Oct 5, 2011, at 8:37 AM, Florian Haas wrote: > On 2011-09-29 01:25, Cliff Massey wrote: >> >> I'm trying to configure Pacemaker to manage a drbd reso

Re: [Pacemaker] Configuring Pacemaker & DRBD

2011-09-29 Thread Cliff Massey
output: (convirt-drbd:0:stop:stdout) Is it having a problem updating one of the disks? If I start drbd manually it looks ok: drbd-overview 0:convirt/0Connected Secondary/Secondary UpToDate/UpToDate C r- On Sep 28, 2011, at 7:25 PM, Cliff Massey wrote: > > I'm tr

[Pacemaker] Configuring Pacemaker & DRBD

2011-09-28 Thread Cliff Massey
votes="2" \ no-quorum-policy="ignore" \ symmetric-cluster="false" \ stonith-enabled="false" rsc_defaults $id="rsc-options" \ resource-stickiness="200" I start the resource by using: resource star