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

Re: [Pacemaker] Pacemaker unnecessarily (?) restarts a vm on active node when other node brought out of standby - possible solution?

2014-05-15 Thread Ian
Doing some experiments and Reading TFM, I found this: 5.2.2. Advisory Ordering When the kind=Optional option is specified for an order constraint, the constraint is considered optional and only has an effect when both resources are stopping and/or starting. Any change in state of the first