Re: [Pacemaker] Fencing of KVM virtual machines

2012-10-01 Thread Michael Schwartzkopff
> Hi all, > > I've running several pacemaker clusters in KVM virtual machines (everything > based on Debian 6) and now it's up to configure fencing... > > I've found that I have to use "fence-virt" for that task > (http://www.clusterlabs.org/wiki/Guest_Fencing) but it seems that it only > will wo

[Pacemaker] Fencing of KVM virtual machines

2012-10-01 Thread Masopust, Christian
Hi all, I've running several pacemaker clusters in KVM virtual machines (everything based on Debian 6) and now it's up to configure fencing... I've found that I have to use "fence-virt" for that task (http://www.clusterlabs.org/wiki/Guest_Fencing) but it seems that it only will work in case my

Re: [Pacemaker] 1.1.8 dox?

2012-10-01 Thread Andrew Beekhof
On Tue, Oct 2, 2012 at 5:45 AM, Lonni J Friedman wrote: > Anyone know where the documentation is for 1.1.8 ? I'm looking here, > and everything seems to be months old: > http://www.clusterlabs.org/doc/ Thats because they're still pretty accurate. There is a version of Clusters from Scratch with

Re: [Pacemaker] failed over filesystem mount points not coming up on secondary node

2012-10-01 Thread Lonni J Friedman
On Mon, Oct 1, 2012 at 2:14 PM, Jake Smith wrote: > - Original Message - >> From: "Lonni J Friedman" >> To: "The Pacemaker cluster resource manager" >> Sent: Monday, October 1, 2012 4:31:05 PM >> Subject: Re: [Pacemaker] failed over filesystem mount points not coming up >> on seconda

Re: [Pacemaker] failed over filesystem mount points not coming up on secondary node

2012-10-01 Thread Jake Smith
- Original Message - > From: "Lonni J Friedman" > To: "The Pacemaker cluster resource manager" > Sent: Monday, October 1, 2012 4:31:05 PM > Subject: Re: [Pacemaker] failed over filesystem mount points not coming up > on secondary node > > I'm still dead in the water here, and coul

Re: [Pacemaker] failed over filesystem mount points not coming up on secondary node

2012-10-01 Thread Lonni J Friedman
I'm still dead in the water here, and could really use some clues. I tried tweaking my config a bit to simplify it, in the hope that it would at least work with fewer resources, but that too fails in the exact same fashion. Specifically, the DRBD resource does failover to promote the old slave to

Re: [Pacemaker] Running Pacemaker with virtual IPs and mysql-master-ha

2012-10-01 Thread Yves Trudeau
Hi, Did you have a look at: https://github.com/jayjanssen/Percona-Pacemaker-Resource-Agents/blob/master/doc/PRM-setup-guide.rst That may be about what you want to accomplish. Regards, Yves Le 2012-09-24 06:18, Marcin M. Jessa a écrit : Hi. I'm working on MySQL cluster with one master and

[Pacemaker] 1.1.8 dox?

2012-10-01 Thread Lonni J Friedman
Anyone know where the documentation is for 1.1.8 ? I'm looking here, and everything seems to be months old: http://www.clusterlabs.org/doc/ I keep seeing references to "the shell is gone from 1.1.8", but I can't find any documentation of the impact to a sysadmin, or what the new hotness is to rep

Re: [Pacemaker] setting up NFS resources on systemd based Linux distributions

2012-10-01 Thread Lonni J Friedman
On Sun, Sep 30, 2012 at 7:19 AM, Andrew Beekhof wrote: > On Fri, Sep 28, 2012 at 6:13 AM, Lonni J Friedman wrote: >> On Thu, Sep 27, 2012 at 6:24 AM, David Vossel wrote: >>> - Original Message - From: "Lonni J Friedman" To: pacemaker@oss.clusterlabs.org Sent: Wednesday, S

[Pacemaker] Static vs dynamic IPs

2012-10-01 Thread Borja Gª de Vinuesa Ordovás
Hello, What are the implications of running Pacemaker with dynamic IP nodes? The IP would change on restart and all configuration would be wrong. Can it be done at all? Thanks. Borja ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.c

Re: [Pacemaker] Reload implemention for RA

2012-10-01 Thread Dejan Muhamedagic
Hi, On Mon, Oct 01, 2012 at 03:12:51PM +0200, Jan Horníček wrote: > Thank you for suggestions. > > Finally I managed to rewrite the script, so it's capable of reloading. > But I have one question. > > Why, when I remove the first parameter definition (parameter > name=status) in metadata section

Re: [Pacemaker] fencing when stonith-enabled="false"

2012-10-01 Thread Dejan Muhamedagic
Hi, On Mon, Oct 01, 2012 at 11:30:19AM +, James Harper wrote: > I am trying to configure stonith. ipmilan was a complete disaster as it kept > passing port 623 as the hostname, Interesting, > so now I'm trying external/ipmi. but anyway external/ipmi is preferred and better supported. > T

Re: [Pacemaker] emergency pppoe connection

2012-10-01 Thread Dejan Muhamedagic
On Mon, Oct 01, 2012 at 10:43:38AM +, James Harper wrote: > > > > Hi, > > > > On Sun, Sep 30, 2012 at 05:52:58AM +, James Harper wrote: > > > > > > > > rule ping_gw eq 0 and (#uname eq bitvs5 or #uname eq bitvs6) > > > > > > > > and it tells me it doesn't like "and" and "or" in the same >

Re: [Pacemaker] no openais.conf file

2012-10-01 Thread S, MOHAMED (MOHAMED)** CTR **
Hi, Refer the latest documentation. http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/pdf/Clusters_from_Scratch/ I hope you are using the corresponding software Thanks, Raffi From: Borja Gª de Vinuesa Ordovás [mailto:borjavinue...@gmail.com] Sent: Monday, October

Re: [Pacemaker] no openais.conf file

2012-10-01 Thread Borja Gª de Vinuesa Ordovás
Hi, openais.i686 1.1.1-7.el6 This is what I have under /etc/corosync/: amf.conf.example corosync.conf.example corosync.conf.example.udpu service.d uidgid.d I guess I do use corosync. What files should I edit or how does the steps in "Clusters from scratch" differ when using corosync? Thank

Re: [Pacemaker] no openais.conf file

2012-10-01 Thread S, MOHAMED (MOHAMED)** CTR **
Hi, Which version of software are you using? If you are using corosync, the file is /etc/corosync/corosync.conf There are multicast and unicast sample files under "/etc/corosync" directory. Hope that helps, Raffi From: Borja Gª de Vinuesa Ordovás [mailto:borjavin

[Pacemaker] no openais.conf file

2012-10-01 Thread Borja Gª de Vinuesa Ordovás
Hi, I'm following "clusters from scratch" and I had to stop at page 26 when trying to input sed -i.gres "s/.*mcastaddr:.*/mcastaddr:\ $ais_mcast/g" /etc/ais/openais.conf. I did find / -name *openais* and find / -name *ais* but there aren't any files (just .conf.sample from asterisk software insta

Re: [Pacemaker] Reload implemention for RA

2012-10-01 Thread Jan Horníček
Thank you for suggestions. Finally I managed to rewrite the script, so it's capable of reloading. But I have one question. Why, when I remove the first parameter definition (parameter name=status) in metadata section of Dummy RA, the reload isn't performed and stop/start is applied instead? It w

Re: [Pacemaker] fencing when stonith-enabled="false"

2012-10-01 Thread Arnold Krille
On Monday 01 October 2012 11:30:19 James Harper wrote: > I am trying to configure stonith. ipmilan was a complete disaster as it > kept passing port 623 as the hostname, so now I'm trying external/ipmi. > > The stonith resource is running as expected, but I still have > stonith-enabled="false" in

[Pacemaker] fencing when stonith-enabled="false"

2012-10-01 Thread James Harper
I am trying to configure stonith. ipmilan was a complete disaster as it kept passing port 623 as the hostname, so now I'm trying external/ipmi. The stonith resource is running as expected, but I still have stonith-enabled="false" in the cluster configuration. To test before I turn stonith on p

Re: [Pacemaker] emergency pppoe connection

2012-10-01 Thread James Harper
> > Hi, > > On Sun, Sep 30, 2012 at 05:52:58AM +, James Harper wrote: > > > > > > rule ping_gw eq 0 and (#uname eq bitvs5 or #uname eq bitvs6) > > > > > > and it tells me it doesn't like "and" and "or" in the same > > > expression (or I think that's what it's telling me) > > > > > > any sugge

Re: [Pacemaker] emergency pppoe connection

2012-10-01 Thread Dejan Muhamedagic
Hi, On Sun, Sep 30, 2012 at 05:52:58AM +, James Harper wrote: > > > > rule ping_gw eq 0 and (#uname eq bitvs5 or #uname eq bitvs6) > > > > and it tells me it doesn't like "and" and "or" in the same expression (or I > > think > > that's what it's telling me) > > > > any suggestions? > > >

Re: [Pacemaker] monitor interval too short

2012-10-01 Thread Dejan Muhamedagic
Hi, On Sat, Sep 29, 2012 at 02:10:26PM +, James Harper wrote: > I have a xen resource with op's configured like: > > op stop interval="0" timeout="300s" \ > op migrate_from interval="0" timeout="300s" \ > op migrate_to interval="0" timeout="300s" \ > op monitor

Re: [Pacemaker] Can't issue 'crm configure' commands under privileged user

2012-10-01 Thread Dejan Muhamedagic
On Fri, Sep 28, 2012 at 04:51:36PM +0100, Colin McCormack wrote: > Hi Dejan - thanks for taking the time to respond again > > >"Hangs? Wasn't it in the first message that "cibadmin is not > available"? If it hangs, then you should check the process list (pstree) > to see what the shell is doing at

Re: [Pacemaker] migration only between nodes with identical hardware

2012-10-01 Thread James Harper
> > On 2012-09-28 16:24, James Harper wrote: > > I have two nodes running identical hardware which run Xen VM's, and want > to add a third node to the cluster which can access the same clvm and iscsi > resources, but it will not be identical hardware. The non-identical hardware > means that to mov

Re: [Pacemaker] migration only between nodes with identical hardware

2012-10-01 Thread Raoul Bhatia [IPAX]
On 2012-09-28 16:24, James Harper wrote: I have two nodes running identical hardware which run Xen VM's, and want to add a third node to the cluster which can access the same clvm and iscsi resources, but it will not be identical hardware. The non-identical hardware means that to move a VM to