Re: [Pacemaker] Pacemaker is not able to read new shadow CIB.

2012-05-15 Thread Guillaume Belrose
Dejan, I've removed the symbolic link and done a su - and it now works like a charm :-) I am probably to blame as the tutorial actually mentions using su - (http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html-single/Clusters_from_Scratch/#_cluster_software_installation) Many thanks for your

Re: [Pacemaker] Pacemaker is not able to read new shadow CIB.

2012-05-15 Thread Dejan Muhamedagic
On Mon, May 14, 2012 at 05:07:18PM +0100, Guillaume Belrose wrote: > Hi Dejan, > > I log in Fedora (Gnome) desktop as myself (i.e. guillaume) and then I > switch (in the terminal) to root using su. > In my system, the USER variable is actually set to guillaume and not > root. So this might be wher

Re: [Pacemaker] Pacemaker is not able to read new shadow CIB.

2012-05-14 Thread Guillaume Belrose
Hi Dejan, I log in Fedora (Gnome) desktop as myself (i.e. guillaume) and then I switch (in the terminal) to root using su. In my system, the USER variable is actually set to guillaume and not root. So this might be where the problem is. Anyway, I eventually added a symbolic link making /root/.cib

Re: [Pacemaker] Pacemaker is not able to read new shadow CIB.

2012-05-14 Thread Dejan Muhamedagic
On Fri, May 11, 2012 at 03:45:43PM +0100, Guillaume Belrose wrote: > I am running as root. > > The shadow file gets created under /var/lib/heartbeat/crm and is owned by > root. Strange. I think that most users run crm as root and I'd expect a general outcry if creating shadow cibs didn't work.

Re: [Pacemaker] Pacemaker is not able to read new shadow CIB.

2012-05-11 Thread Guillaume Belrose
Hi again, I am also experiencing the same problem when running on Centos6.2 I eventually created a symbolic link /root/.cib pointing to /var/lib/hearbeat/crm and that seems to fix the problem on both Fedora16 and Centos6.2. Cheers, Guillaume. On 11 May 2012 15:38, Dejan Muhamedagic wrote: > H

Re: [Pacemaker] Pacemaker is not able to read new shadow CIB.

2012-05-11 Thread Guillaume Belrose
Here is the output when I do: strace crm cib new foo --force write(2, "INFO: foo shadow CIB created", 28INFO: foo shadow CIB created) = 28 write(2, "\n", 1 ) = 1 access("/root/.cib/shadow.foo", F_OK) = -1 ENOENT (No such file or directory) write(2, "ERROR: foo: no such sh

Re: [Pacemaker] Pacemaker is not able to read new shadow CIB.

2012-05-11 Thread Guillaume Belrose
I am running as root. The shadow file gets created under /var/lib/heartbeat/crm and is owned by root. The other files in that folder are owned by hacluster. Cheers, Guillaume. On 11 May 2012 15:38, Dejan Muhamedagic wrote: > Hi, > > On Fri, May 11, 2012 at 03:14:16PM +0100, Guillaume Belro

Re: [Pacemaker] Pacemaker is not able to read new shadow CIB.

2012-05-11 Thread Dejan Muhamedagic
Hi, On Fri, May 11, 2012 at 03:14:16PM +0100, Guillaume Belrose wrote: > Hi all, > > I am using Pacemaker on Fedora16 and going through the steps as described in > http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Clusters_from_Scratch/_configure_the_cluster_for_drbd.html > > The operation