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

2012-08-31 Thread Lars Marowsky-Bree
On 2012-08-31T12:43:20, Andrew Beekhof and...@beekhof.net 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 }

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 bub...@hoster-ok.com wrote: 29.08.2012 13:33, Andrew Beekhof wrote: On Wed, Aug 29, 2012 at 4:22 PM, Vladislav Bogdanov bub...@hoster-ok.com wrote: Hi, It looks like pacemaker (current master)

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/.ssh/id_dsa

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 there's

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

2012-08-31 Thread Lars Marowsky-Bree
On 2012-08-31T14:06:01, Owen Le Blanc lebl...@man.ac.uk 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

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

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 before:

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

2012-08-31 Thread Andrew Beekhof
On Fri, Aug 31, 2012 at 5:55 PM, Vladislav Bogdanov bub...@hoster-ok.com wrote: 31.08.2012 05:43, Andrew Beekhof wrote: On Wed, Aug 29, 2012 at 8:57 PM, Vladislav Bogdanov bub...@hoster-ok.com wrote: 29.08.2012 13:33, Andrew Beekhof wrote: On Wed, Aug 29, 2012 at 4:22 PM, Vladislav Bogdanov

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

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