On 9/20/07, Philip Gwyn <[EMAIL PROTECTED]> wrote:
> I've solved my previous problem with drbd : use the group's ID, not a
> primitive's ID.
>
> cib.xml : http://www.awale.qc.ca/ha-linux/collect-2/cibadmin-Q.xml
> ha.cf   : http://www.awale.qc.ca/ha-linux/collect-2/ha.cf
> drbd.conf http://www.awale.qc.ca/ha-linux/collect-2/share.conf
>
> However, I now have 2 problems :
>
> 1- If I reboot a node, drbd becomes wedges in a FAILED state.  I have to do
>    crm_resource -C -r share-drbd_0:0 -H host-1.awale.qc.ca
>   to unwedge it.  This is worse if the node boots up alone; because drbd is
>   FAILED, no other resource can be run.
>
> Booting only one node gives me:
>         http://www.awale.qc.ca/ha-linux/collect-2/crm_mon-1r
>         http://www.awale.qc.ca/ha-linux/collect-2/ha-debug

your problems center around the following:

Failed actions:
    share-drbd_0:0_start_0 (node=host-1.awale.qc.ca, call=14, rc=1): Error
    share-drbd_0:1_start_0 (node=host-1.awale.qc.ca, call=21, rc=1): Error

Which is presumably the result of

drbd[3828][3878]: 2007/09/20_22:34:53 DEBUG: r0: Calling drbdadm -c
/etc/drbd.conf state r0
drbd[3828][3887]: 2007/09/20_22:34:54 DEBUG: r0: Exit code 0
drbd[3828][3888]: 2007/09/20_22:34:54 DEBUG: r0: Command output: can
not open /dev/drbd0: No such file or directory Command 'drbdsetup
/dev/drbd0 state' terminated with exit code 20 drbdadm aborting

much more i can't say as I dont use drbd at all

> 2- How do I manually migrate resources from one node to the other?
>     The following don't cause a migration (assume everything is running on
>      host-2)
>     crm_resource -M -r share-FS -H host-1.awale.qc.ca
>     crm_resource -M -r DW -H host-1.awale.qc.ca
>
>   However, I've just noticed that if share-drbd_0:0 is the Master and on 
> host-2
>   doing
>     crm_resource -M -r share-drbd_0:0 -H host-1.awale.qc.ca
>
> Is this the best/only way?

for now, yes
once the new colocation code is released (a week or so) the first
method will work too
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to