[Pacemaker] A secondary DRBD is not brought online after crm resource online in Ubuntu 14.04

2015-01-03 Thread Dmitry Koterov
Hello. Ubuntu 14.04, corosync 2.3.3, pacemaker 1.1.10. The cluster consists of 2 nodes (node1 and node2), when I run crm node standby node2 and then, in a minute, crm node online node2, DRBD secondary on node2 does not start. Logs say that drbdadm -c /etc/drbd.conf check-resize vlv fails with an

Re: [Pacemaker] A secondary DRBD is not brought online after crm resource online in Ubuntu 14.04

2015-01-03 Thread Vladislav Bogdanov
03.01.2015 20:35, Dmitry Koterov wrote: Hello. Ubuntu 14.04, corosync 2.3.3, pacemaker 1.1.10. The cluster consists of 2 nodes (node1 and node2), when I run crm node standby node2 and then, in a minute, crm node online node2, DRBD secondary on node2 does not start. Logs say that drbdadm -c

Re: [Pacemaker] A secondary DRBD is not brought online after crm resource online in Ubuntu 14.04

2015-01-03 Thread Dmitry Koterov
Thanks. I missed drbdadm -- --force create-md vlv on node2, that was the cause of the problem. Because of this there was no drbd-minor-0.lkbd file in /var/lib/drbd on node2, so it did not work properly (e.g. drbdadm adjust did not work, and that killed pacemaker). BTW to speedup initial