[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Debian Etch Xen Cluster (DRBD, GNBD, OCFS2, iSCSI, Heartbeat?)
Christian Horn schrieb: On Thu, Sep 13, 2007 at 03:43:24PM +0200, Dominik Klein wrote:Just remember, if something goes wrong in such a way that the domain is active on both nodes at the same time with read/write access to the filesystem, you *will* *destroy* the filesystem and will need to restore>from backup. No amount of fscking will help you.(I speak from bitter experience :)Full Ack (without the bitter experience yet though).That's why you want to have a functioning STONITH Device and redundant cluster communication ways.That will only help on clusterside. Correct.Keep your hands off Xen if you have a cluster software manage it. Use cluster commands if you need to do anything manually. Has anyone good ideas on how to prevent domUs that are stored on evms or clvm from beeing started on multiple dom0s? You could use a wrapper script for xm.I don't use anything like that, but this should give you an idea of what I am thinking of. .bashrc: alias xm=myxm.sh myxm.sh #!/bin/bash if echo $* | grep -q -w create then # for this, you need passwordless ssh access to $othermachine if ssh $othermachine "xm list $machine" then echo "domU $machine already running on $othermachine. Exit" exit 5 else /usr/sbin/xm $* fi else /usr/sbin/xm $* fi Regards Dominik _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |