[Pacemaker] samba inside xen-vm; device held open, migration fails

Andrew Beekhof andrew at beekhof.net
Tue Sep 17 00:20:35 EDT 2013


On 16/09/2013, at 12:11 AM, georg at riseup.net wrote:

> Hi all,
> 
> I'm in the process of deploying a pacemaker cluster, running several xen
> vms, storage is done with drbd.
> 
> Everything works like a charm, and now I just found the root cause (at
> least I believe) for the issue "device is still held open by someone"
> for one vm I experienced the last couple of days.
> 
> I think it's because of samba running in this vm, and the exports are
> still mounted by clients if I send one node into standby. Doing this,
> the migration fails, because of the error I gave above.
> 
> Could someone point me into a wise direction how to handle this?
> 
> Stoping/starting samba trought a script, which is executed by pacemaker?

Something like that. Depending on your version, you could use pacemaker-remote to manage services inside the guest.
http://clusterlabs.org/doc/en-US/Pacemaker/1.1-pcs/html/Pacemaker_Remote/index.html

> 
> Thanks in advance,
> Georg
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130917/d86f7995/attachment-0003.sig>


More information about the Pacemaker mailing list