Re: [Pacemaker] getnameinfo() vs uname()

2012-08-31 Thread Andrew Beekhof
On Fri, Aug 31, 2012 at 5:55 PM, Lars Marowsky-Bree wrote: > On 2012-08-31T12:43:20, Andrew Beekhof wrote: > >> [1] We will implement equivalent functions for the other cluster types. >> [2] The nodelist section looks something like: >> nodelist { >> node { >> nodeid: 1 >> rin

Re: [Pacemaker] getnameinfo() vs uname()

2012-08-31 Thread Andrew Beekhof
On Fri, Aug 31, 2012 at 5:55 PM, Vladislav Bogdanov wrote: > 31.08.2012 05:43, Andrew Beekhof wrote: >> On Wed, Aug 29, 2012 at 8:57 PM, Vladislav Bogdanov >> wrote: >>> 29.08.2012 13:33, Andrew Beekhof wrote: On Wed, Aug 29, 2012 at 4:22 PM, Vladislav Bogdanov wrote: > Hi, > >

Re: [Pacemaker] A bug in stonith external/libvirt

2012-08-31 Thread Dejan Muhamedagic
Hi, On Fri, Aug 31, 2012 at 03:10:16PM +0100, Owen Le Blanc wrote: > On Fri, Aug 31, 2012 at 03:18:03PM +0200, Lars Marowsky-Bree wrote: > > But you're not setting the same values. > > Actually, I am, but I'm having trouble selecting the right texts from my logs. > For the interactive given befor

Re: [Pacemaker] A bug in stonith external/libvirt

2012-08-31 Thread Owen Le Blanc
On Fri, Aug 31, 2012 at 03:18:03PM +0200, Lars Marowsky-Bree wrote: > But you're not setting the same values. Actually, I am, but I'm having trouble selecting the right texts from my logs. For the interactive given before: client2 14:02:40 > export hostlist="client1" hypervisor_uri="xen+ssh://cli

Re: [Pacemaker] A bug in stonith external/libvirt

2012-08-31 Thread Lars Marowsky-Bree
On 2012-08-31T14:06:01, Owen Le Blanc wrote: > Actually, this is my original question. The interactive command works > as it should: > > client2 13:43:54 > virsh -c > 'xen+ssh://clie...@server1.mc.man.ac.uk/?keyfile=/root/.ssh/id_dsa' version [...] > But it fails when I put the same values in

Re: [Pacemaker] A bug in stonith external/libvirt

2012-08-31 Thread Owen Le Blanc
On Fri, Aug 31, 2012 at 01:27:26PM +0200, Dejan Muhamedagic wrote: > That's most probably not relevant to the stonith agent. You need > to figure out how to connect to the hypervisor using virsh, then > just use that. IIRC, if you want to use ssh, it should be sth > like qemu+ssh. But I'm sure ther

Re: [Pacemaker] A bug in stonith external/libvirt

2012-08-31 Thread Dejan Muhamedagic
On Fri, Aug 31, 2012 at 10:04:02AM +0100, Owen Le Blanc wrote: > On Thu, Aug 30, 2012 at 04:46:27PM +0200, Dejan Muhamedagic wrote: > > Perhaps too many quotes. Did you try: > > > > export hostlist="client1" > > hypervisor_uri="xen+ssh://clie...@server1.mc.man.ac.uk/usr/bin/virsh?keyfile=/root/.ss

Re: [Pacemaker] A bug in stonith external/libvirt

2012-08-31 Thread Owen Le Blanc
On Thu, Aug 30, 2012 at 04:46:27PM +0200, Dejan Muhamedagic wrote: > Perhaps too many quotes. Did you try: > > export hostlist="client1" > hypervisor_uri="xen+ssh://clie...@server1.mc.man.ac.uk/usr/bin/virsh?keyfile=/root/.ssh/id_dsa" Well, this does make a difference: sh -x /usr/lib/stonith/plu

Re: [Pacemaker] dummy stonith not installed

2012-08-31 Thread ROBERTO GUERERO
Hi Lars. Could you advise how to install stonith, my understanding its already installed when i install corosync/pacemaker. i have been searching on how to install it and cant find any. as of now i dont have the capacity to use real stonith mechanism thats why im only trying the dummy stonith. Ro

Re: [Pacemaker] getnameinfo() vs uname()

2012-08-31 Thread Vladislav Bogdanov
31.08.2012 05:43, Andrew Beekhof wrote: > On Wed, Aug 29, 2012 at 8:57 PM, Vladislav Bogdanov > wrote: >> 29.08.2012 13:33, Andrew Beekhof wrote: >>> On Wed, Aug 29, 2012 at 4:22 PM, Vladislav Bogdanov >>> wrote: Hi, It looks like pacemaker (current master) >>> >>> "current master"

Re: [Pacemaker] getnameinfo() vs uname()

2012-08-31 Thread Lars Marowsky-Bree
On 2012-08-31T12:43:20, Andrew Beekhof wrote: > [1] We will implement equivalent functions for the other cluster types. > [2] The nodelist section looks something like: > nodelist { > node { > nodeid: 1 > ring0_addr: pcmk-1 > quorum_votes: 1 > } > node { >