30.11.2012 00:14, Robinson, Eric wrote:
> Bump... does anyone have some insight on this? Google is not turning up 
> anything useful.
> 
> Our newest cluster will not failover master/slave drbd resources. It works 
> fine manually using drbdadm from a shell prompt, but when we try it using 
> 'crm node standby' and letting the cluster manage the resource, crm_mon just 
> keeps saying the resource FAILED.
> 
> We see a lot of these messages in the corosync.log file:
> 
> drbd(p_drbd1)[12814]:   2012/11/27_15:31:59 DEBUG: ha02_mysql: Calling 
> drbdadm -c /etc/drbd.conf primary ha02_mysql
> drbd(p_drbd1)[12814]:   2012/11/27_15:31:59 ERROR: ha02_mysql: Called drbdadm 
> -c /etc/drbd.conf primary ha02_mysql
> drbd(p_drbd1)[12814]:   2012/11/27_15:31:59 ERROR: ha02_mysql: Exit code 11
> 
> There is no indication of what may be causing the 'Exit code 11'
> 
> Here is a link to the corosync log, taken from the standby server (ha09a) 
> where we are trying to fail the resource to...
> 
> www.psmnv.com/downloads/corosync1.log<http://www.psmnv.com/downloads/corosync1.log>
> 
> Here is what I have installed...
> 
> corosync-1.4.1-7.el6_3.1.x86_64
> corosynclib-1.4.1-7.el6_3.1.x86_64
> pacemaker-1.1.8-4.el6.x86_64
> pacemaker-cli-1.1.8-4.el6.x86_64
> pacemaker-cluster-libs-1.1.8-4.el6.x86_64
> pacemaker-libs-1.1.8-4.el6.x86_64
> 
> Following is my crm config. It's pretty basic.
> 
> 
> node ha09a \
>         attributes standby="off"
> node ha09b \
>         attributes standby="off"
> primitive p_drbd0 ocf:linbit:drbd \
>         params drbd_resource="ha01_mysql" \
>         op monitor interval="60s"
> primitive p_drbd1 ocf:linbit:drbd \
>         params drbd_resource="ha02_mysql" \
>         op monitor interval="45s"
> primitive p_vip_clust08 ocf:heartbeat:IPaddr2 \
>         params ip="192.168.10.210" cidr_netmask="32" \
>         op monitor interval="30s"
> primitive p_vip_clust09 ocf:heartbeat:IPaddr2 \
>         params ip="192.168.10.211" cidr_netmask="32" \
>         op monitor interval="30s"
> ms ms_drbd0 p_drbd0 \
>         meta master-max="1" master-node-max="1" clone-max="2" 
> clone-node-max="1" notify="true" target-role="Master"
> ms ms_drbd1 p_drbd1 \
>         meta master-max="1" master-node-max="1" clone-max="2" 
> clone-node-max="1" notify="true" target-role="Master"

Try to set 'target-role="Started"' in both of them.

Vladislav

_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to