Re: [Pacemaker] DRBD+OCFS2+Pacemaker on UBUNTU 12.04, DRBD via pacemaker doesn't start when corosync invoked

2014-05-16 Thread emmanuel segura
May 16 16:42:50 server1 lrmd: [2479]: info: RA output: (Cluster-FS-DRBD:0:start:stderr) drbdadm: Unknown command 'syncer' May 16 16:42:50 server1 drbd[2554]: ERROR: r0: Called drbdadm -c /etc/drbd.conf 2014-05-16 13:32 GMT+02:00 kamal kishi kamal.ki...@gmail.com: Hi Emi, I changed DRBD and

Re: [Pacemaker] DRBD+OCFS2+Pacemaker on UBUNTU 12.04, DRBD via pacemaker doesn't start when corosync invoked

2014-05-15 Thread emmanuel segura
You don't declared your drbd resource r0 in the configuration, read this http://www.drbd.org/users-guide/s-configure-resource.html 2014-05-15 9:33 GMT+02:00 kamal kishi kamal.ki...@gmail.com: Hi All, My configuration is simple and straight, UBUNTU 12.04 used to run pacemaker. Pacemaker

Re: [Pacemaker] DRBD+OCFS2+Pacemaker on UBUNTU 12.04, DRBD via pacemaker doesn't start when corosync invoked

2014-05-15 Thread emmanuel segura
Try to use a simple configuration as follow: global { usage-count yes; } common { protocol C; } resource r0 { on alice { device/dev/drbd1; disk /dev/sda7; address 10.1.1.31:7789; meta-disk internal; } on bob { device/dev/drbd1; disk /dev/sda7;

Re: [Pacemaker] DRBD+OCFS2+Pacemaker on UBUNTU 12.04, DRBD via pacemaker doesn't start when corosync invoked

2014-05-15 Thread kamal kishi
Hi emi, The document also says the following : It is also possible to use drbd.conf as a flat configuration file without any include statements at all. Such a configuration, however, quickly becomes cluttered and hard to manage, which is why the multiple-file approach is the preferred one.

Re: [Pacemaker] DRBD+OCFS2+Pacemaker on UBUNTU 12.04, DRBD via pacemaker doesn't start when corosync invoked

2014-05-15 Thread emmanuel segura
Are you sure that your drbd work by hand? this is from your log May 15 12:26:04 server1 lrmd: [1211]: info: RA output: (Cluster-FS-DRBD:0:start:stderr) Command 'drbdsetup new-resource r0' terminated with exit code 20 May 15 12:26:04 server1 drbd[1808]: ERROR: r0: Called drbdadm -c /etc/drbd.conf