Michael Schwartzkopff schrieb:
> Am Donnerstag, 23. Juli 2009 23:59:48 schrieb Robert Zöhrer | pronet.at:

>> Now when performing a manual takeover (standby command for resource
>> holding node) I get errors while heartbeat wants  to stop the drbd
>> resource on the loosing node. The drbd resource become unmanaged it the
>> takeover process hangs.

> 1) Your problem is:
> Jul 23 22:52:28 greatmama-n2 lrmd: [3382]: info: RA output: 
> (drbd_infra_win:stop:stderr) /dev/drbd0: State change failed: (-12) Device is 
> held open by someone Command '/sbin/drbdse
> tup /dev/drbd0 secondary' terminated with exit code 11 /sbin/drbdadm 
> secondary 
> domU-infra: exit code 11, mapping to 1
> 
> Something still uses the DRBD So it cannot get secondary.

Thx for your help. Yes, the xen hvm domU is still blocking the VDB/drbd 
device after being shutdown-ed successful.

xend.log shows a delay about (exactly?) 5 mins between success of xen RA 
in stopping the domU and finally releasing the vbd :/

I've to investigate on this hopefully with some help of xen community

Robert

------- xend.log --------------
[2009-07-24 13:53:35 3143] DEBUG (XendDomainInfo:467) 
XendDomainInfo.shutdown(poweroff)
[2009-07-24 13:53:35 3143] DEBUG (XendDomainInfo:1092) 
XendDomainInfo.handleShutdownWatch
[2009-07-24 13:58:35 3143] INFO (XendDomainInfo:1283) Domain has 
shutdown: name=infra-win2003sbs id=17 reason=poweroff.
[2009-07-24 13:58:35 3143] DEBUG (XendDomainInfo:1897) 
XendDomainInfo.destroy: domid=17
[2009-07-24 13:58:35 3143] DEBUG (XendDomainInfo:1914) 
XendDomainInfo.destroyDomain(17)
[2009-07-24 13:58:36 3143] DEBUG (XendDomainInfo:1529) Destroying device 
model
[2009-07-24 13:58:36 3143] DEBUG (XendDomainInfo:1536) Releasing devices
[2009-07-24 13:58:36 3143] DEBUG (XendDomainInfo:1542) Removing vif/0
[2009-07-24 13:58:36 3143] DEBUG (XendDomainInfo:590) 
XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2009-07-24 13:58:36 3143] DEBUG (XendDomainInfo:1542) Removing vbd/768
[2009-07-24 13:58:36 3143] DEBUG (XendDomainInfo:590) 
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/768
_______________________________________________
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