[Linux-cluster] Re: cluster.conf, was: Cluster config. advice sought

Wolf Siedler siedler at hrd-asia.com
Thu Dec 17 11:22:19 UTC 2009

Dear Brem,

Thanks for taking time to look at my problem.

> Try to look in linux-cluster archive, your problem looks similar to
> some others that were posted around October/November.
> There were things to check with use_virsh, path etc... in the
> cluster.conf...

I did and this was actually the reason for my original question (I am
definitely open for testing, but there is one production VM running in
the cluster. Which in turn limits my access for configuration changes
and restarts.):
After studying the thread you described, I came up with this cluster.conf:
<?xml version="1.0"?>
<cluster alias="example_cluster_1" config_version="81"
    <fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="30"/>
        <clusternode name="station1.example.com" nodeid="1" votes="1">
                <method name="1">
                    <device name="station1_fenced"/>
        <clusternode name="station2.example.com" nodeid="2" votes="1">
                <method name="1">
                    <device name="station2_fenced"/>
    <cman expected_votes="3" two_node="0"/>
        <fencedevice agent="fence_ipmilan" ipaddr=""
login="ipmi_admin" name="station1_fenced" operation="off" passwd="secret"/>
        <fencedevice agent="fence_ipmilan" ipaddr=""
login="ipmi_admin" name="station2_fenced" operation="off" passwd="secret"/>
            <failoverdomain name="bias-station1" nofailback="0"
ordered="0" restricted="0">
                <failoverdomainnode name="station1.example.com"
            <failoverdomain name="bias-station2" nofailback="0"
ordered="0" restricted="0">
                <failoverdomainnode name="station2.example.com"
        <vm autostart="1" use_virsh="0" domain="bias-station1"
exclusive="0" migrate="live" name="vm_mailserver" path="/rootfs"
        <vm autostart="1" use_virsh="0" domain="bias-station2"
exclusive="0" migrate="live" name="vm_ldapserver" path="/rootfs"
        <vm autostart="1" use_virsh="0" domain="bias-station2"
exclusive="0" migrate="live" name="vm_adminserver" path="/rootfs"
    <quorumd interval="3" label="xen_qdisk" min_score="1" tko="23"

You will notice that I already included use_virsh.
Does this cluster.conf look OK?

As said before, I would highly appreciate any advice/suggestion you
would be willing to give.


More information about the Linux-cluster mailing list