Re: [Pacemaker] Migrate vm on drbd in correct order?

2013-03-17 Thread Andrew Beekhof
On Mon, Mar 18, 2013 at 5:26 PM, Matthias Teege wrote: > On Mon, Mar 18, 2013 at 12:16:31PM +1100, Andrew Beekhof wrote: > > Hi, > >> You'd need drbd in multi-master mode (master-max=2) for that to work. > > only for "live migration" or for failover with shutdown too? just live migration > Matth

Re: [Pacemaker] Migrate vm on drbd in correct order?

2013-03-17 Thread Matthias Teege
On Mon, Mar 18, 2013 at 12:16:31PM +1100, Andrew Beekhof wrote: Hi, > You'd need drbd in multi-master mode (master-max=2) for that to work. only for "live migration" or for failover with shutdown too? Matthias ___ Pacemaker mailing list: Pacemaker@oss

Re: [Pacemaker] remainding monitor after deleting resource

2013-03-17 Thread Luis Daniel Lucio Quiroz
thank you 2013/3/17 Andrew Beekhof : > Pretty sure we improved this for 1.1.9. > I think "crm_resource --cleanup -r Internet-Cache" should do what you've after > > On Mon, Mar 18, 2013 at 8:18 AM, Luis Daniel Lucio Quiroz > wrote: >> Helo :) >> >> After i delete the 'Internet-Cache' resource, I

Re: [Pacemaker] apache problems when moving an Ipaddr2 resource

2013-03-17 Thread Luis Daniel Lucio Quiroz
Helo David I'm pretty sure they have same config, cause I did a copy Apache starts. Let me explain you. cheetah: 142.0.144.91 jaguar: 142.0.144.92 cluster ip: 142.0.144.93 root@cheetah # telnet 142.0.144.93 80 OK root@jaguar # telnet 142.0.144.93 80 OK but root@externalmachine # telnet 14

Re: [Pacemaker] Wrong system send arp reply when using IPaddr

2013-03-17 Thread David Coulson
Last movement of the ip was six days before issue when we patched and rebooted one of the nodes. Resource is a simple ipaddr (not ipaddr2) with an ip and net mask. Like I said, really simple config so confused :) Sent from my iPhone On Mar 17, 2013, at 9:01 PM, Andrew Beekhof wrote: > On Mo

Re: [Pacemaker] pacemaker + cLVM on Ubuntu Precise (12.04)?

2013-03-17 Thread Matthew O'Connor
Hi Sven, Actually I have a little experience. Overall, once I got it working, it worked well. I have a two node cluster running 12.04 with OCFS2 over DRBD, and have connected it previously to iSCSI targets. Before it took on OCFS2, it was running GFS2 over DRBD, for which CLVM is necessary. T

Re: [Pacemaker] remainding monitor after deleting resource

2013-03-17 Thread Andrew Beekhof
Pretty sure we improved this for 1.1.9. I think "crm_resource --cleanup -r Internet-Cache" should do what you've after On Mon, Mar 18, 2013 at 8:18 AM, Luis Daniel Lucio Quiroz wrote: > Helo :) > > After i delete the 'Internet-Cache' resource, I can not delete the > _montior_0, where shoudl i lo

Re: [Pacemaker] Core is generated by ABRT in CENTOS6 (6.3)

2013-03-17 Thread Andrew Beekhof
On Fri, Mar 15, 2013 at 3:54 PM, Paul Sun wrote: > Hi > > I noticed that when I stop the pacemaker services, the ABRT package keep > reporting that core file is generated when pacemaker is stopped by manual. You mean kill -9? It would be useful if you could run crm_report and put the resulting t

Re: [Pacemaker] Migrate vm on drbd in correct order?

2013-03-17 Thread Andrew Beekhof
You'd need drbd in multi-master mode (master-max=2) for that to work. On Sat, Mar 16, 2013 at 10:16 PM, Matthias Teege wrote: > Hi, > > I'm try to setup a two node cluster for virtuell machines (KVM/libvirt) > with drbd as storage backend. For each vm I use two drbd devices. Starting > and stoppi

Re: [Pacemaker] How to make the 1st resources to failover is 2nd resources is being killed?

2013-03-17 Thread Andrew Beekhof
On Fri, Mar 15, 2013 at 2:21 PM, Paul Sun wrote: > I noticed that I need to configure the "failover-timeout" together with > "migration-threshold" in order to achieve the expected failover behavior, is > this the correct implementation? Yes. > Can advice? > > > > > >

pacemaker@oss.clusterlabs.org

2013-03-17 Thread Andrew Beekhof
On Fri, Mar 15, 2013 at 7:52 PM, matonb wrote: > Andrew Beekhof writes: > >> I believe this should make everyone happy: >>https://github.com/beekhof/pacemaker/commit/3c9275e >> >> Are you able to test it? >> > I cloned the repo and used the pacemaker.spec.in file. > I did have to tweak the sp

Re: [Pacemaker] RHEL/CentOS 6.4: corosync -> CMAN migration

2013-03-17 Thread Andrew Beekhof
On Mon, Mar 18, 2013 at 11:53 AM, David Coulson wrote: > On Mar 11, 2013, at 7:32 PM, Andrew Beekhof wrote: >> >> >> In fact prior to 6.4, Pacemaker only had Tech Preview status - using >> the CMAN plugin instead of our home grown one was key to that >> changing. > > Is Pacemaker not tech preview

Re: [Pacemaker] Wrong system send arp reply when using IPaddr

2013-03-17 Thread Andrew Beekhof
On Mon, Mar 18, 2013 at 3:17 AM, David Coulson wrote: > First off, I'm going to preface this with the realization that what I am > explaining makes no sense, doesn't follow normal logic and I'm not a > complete idiot. I've beaten my head against a wall with this issue for two > days, and have made

Re: [Pacemaker] RHEL/CentOS 6.4: corosync -> CMAN migration

2013-03-17 Thread David Coulson
On Mar 11, 2013, at 7:32 PM, Andrew Beekhof wrote: > > > In fact prior to 6.4, Pacemaker only had Tech Preview status - using > the CMAN plugin instead of our home grown one was key to that > changing. Is Pacemaker not tech preview in 6.4 anymore? What is the support status of Pacemaker on 6.4?

Re: [Pacemaker] RHEL/CentOS 6.4: corosync -> CMAN migration

2013-03-17 Thread Andrew Beekhof
On Sun, Mar 17, 2013 at 8:57 PM, Stefan Förster wrote: > Hello Andrew, > > * Andrew Beekhof : >> On Sun, Mar 10, 2013 at 8:35 PM, Stefan Förster >> > 1. In step (2), will pacemaker stop resources when it's brought down, >> >despite being in maintenance mode? >> >> No. >> _However_, you will wa

Re: [Pacemaker] RHEL/CentOS 6.4: corosync -> CMAN migration

2013-03-17 Thread Andrew Beekhof
On Fri, Mar 15, 2013 at 11:02 AM, Leon Fauster wrote: > Am 12.03.2013 um 00:32 schrieb Andrew Beekhof : >> >> A small but important distinction... >> The plugin has never been supported on RHEL. What it changing is that >> at some point it will no longer be _supplied_ either. >> >> In fact prior t

Re: [Pacemaker] apache problems when moving an Ipaddr2 resource

2013-03-17 Thread David Coulson
What is the specific error you get from Apache? Does it not start, or does it just not work properly? How are you ensuring your two nodes have the same apache configuration? David On Mar 17, 2013, at 8:13 PM, Luis Daniel Lucio Quiroz wrote: > strange, > > i have 2 hosts in a cluster > > clus

[Pacemaker] apache problems when moving an Ipaddr2 resource

2013-03-17 Thread Luis Daniel Lucio Quiroz
strange, i have 2 hosts in a cluster cluster IP, moves fine, apache resource also but when they move, to host2, apache doesnt answer and i get too much checksum errors. ping works okay. Im not sure what it is, any comment? ___ Pacemaker mailing list

[Pacemaker] Wrong system send arp reply when using IPaddr

2013-03-17 Thread David Coulson
First off, I'm going to preface this with the realization that what I am explaining makes no sense, doesn't follow normal logic and I'm not a complete idiot. I've beaten my head against a wall with this issue for two days, and have made no progress, yet we've had a couple of production system o

Re: [Pacemaker] Monitor interval vs. timeout

2013-03-17 Thread Lars Marowsky-Bree
On 2013-03-15T15:07:15, Shawn Paul Smith wrote: > I have a few questions about monitors. > > * Is the timeout counted from each monitor attempt individually, or > from the oldest attempt, or from the newest? After the completion of the last recurring operation. > * Does it mak

Re: [Pacemaker] RHEL/CentOS 6.4: corosync -> CMAN migration

2013-03-17 Thread Stefan Förster
Hello Andrew, * Andrew Beekhof : > On Sun, Mar 10, 2013 at 8:35 PM, Stefan Förster > > 1. In step (2), will pacemaker stop resources when it's brought down, > >despite being in maintenance mode? > > No. > _However_, you will want to stop any cluster filesystems as they're > going die anyway.