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

2012-09-28 Thread Colin McCormack
Hi Lars, > "This doesn't "allow" the user to configure the cluster, but runs all commands from crm as this user (even if running as root). I'm not sure this is very well tested. " When i then run commands like crm configure under the root user it also hangs. > "I have the impression that the use

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

2012-09-28 Thread Dejan Muhamedagic
Hi, On Thu, Sep 27, 2012 at 04:40:15PM +0200, Lars Marowsky-Bree wrote: > On 2012-09-27T14:57:08, Colin McCormack wrote: > > > I installed pacemaker/corosync as root (details below): > > Pacemaker version 1.0.12, release 1.el5.centos, x86_64 > > Corosync version 1.2.7, release 1.1.el5, x86_64 >

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

2012-09-28 Thread Dejan Muhamedagic
Hi, On Fri, Sep 28, 2012 at 09:51:05AM +0100, Colin McCormack wrote: > Hi Lars, > > > "This doesn't "allow" the user to configure the cluster, but runs all > commands from crm as this user (even if running as root). I'm not sure > this is very well tested. " > When i then run commands like crm co

Re: [Pacemaker] crmsh resource update issue

2012-09-28 Thread Vladislav Bogdanov
27.09.2012 20:03, Dejan Muhamedagic wrote: > On Thu, Sep 27, 2012 at 05:02:24PM +0200, Dejan Muhamedagic wrote: >> Hi Vladimir, >> >> On Thu, Sep 27, 2012 at 10:22:43AM +0300, Vladislav Bogdanov wrote: >>> Hi Dejan, list, >>> >>> It looks like shell 1.2.0 (I use >>> b58a3398bf11621fe7811380f00245da

Re: [Pacemaker] crmsh resource update issue

2012-09-28 Thread Dejan Muhamedagic
On Fri, Sep 28, 2012 at 01:53:52PM +0300, Vladislav Bogdanov wrote: > 27.09.2012 20:03, Dejan Muhamedagic wrote: > > On Thu, Sep 27, 2012 at 05:02:24PM +0200, Dejan Muhamedagic wrote: > >> Hi Vladimir, > >> > >> On Thu, Sep 27, 2012 at 10:22:43AM +0300, Vladislav Bogdanov wrote: > >>> Hi Dejan, lis

[Pacemaker] migration only between nodes with identical hardware

2012-09-28 Thread James Harper
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 this third node it it must be stopped then

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

2012-09-28 Thread Colin McCormack
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 the time and take a look at the logs." crm configure... Hangs sudo crm

[Pacemaker] recovering from split brain

2012-09-28 Thread Jane Du (jadu)
Hi, Use heartbeat and pacemaker for two node HA. We don't configure the fencing or quorum because we let one of our module handle the split-brain recovering based on some important factors. However, when recovering from two-node split brain situation, CRM still tries to elect a node to be activ