[Linux-cluster] Re: cluster.conf

brem belguebli brem.belguebli at gmail.com
Fri Dec 18 21:46:28 UTC 2009


2009/12/18 Wolf Siedler <siedler at hrd-asia.com>:
> Hi Brem,
>
>> I do understand that this cluster.conf comes from what you think it
>> should be after reading the different posts, and it is not the one you
>> have in production right now, right ?
>
> Yes.
> However, except for
> use_virsh="0"
> it is exactly the one we used in production until the problematic CentOS
> update.
>
>> I have no xen setup to tell you exactly if the cluster.conf you posted
>> should be fine
> I had noticed that. But anyway, if you don't spot any major
> misconfigurations in the original cluster.conf (as quoted below), then
> I'll give it a try with the included use_virsh parameter.
>
Best thing to do is to create a new VM with the use_virsh and path
parameters and test if it is behaving as desired .

> Thanks for your feedback and regards,
> Wolf
>
Brem
> PS:
> Just to clarify, this is the exact cluster.conf we used until the
> update-related problem:
> ===quote===
> <?xml version="1.0"?>
> <cluster alias="example_cluster_1" config_version="81"
> name="example_cluster_1">
>    <fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="30"/>
>    <clusternodes>
>        <clusternode name="station1.example.com" nodeid="1" votes="1">
>            <fence>
>                <method name="1">
>                    <device name="station1_fenced"/>
>                </method>
>            </fence>
>        </clusternode>
>        <clusternode name="station2.example.com" nodeid="2" votes="1">
>            <fence>
>                <method name="1">
>                    <device name="station2_fenced"/>
>                </method>
>            </fence>
>        </clusternode>
>    </clusternodes>
>    <cman expected_votes="3" two_node="0"/>
>    <fencedevices>
>        <fencedevice agent="fence_ipmilan" ipaddr="172.16.10.91"
> login="ipmi_admin" name="station1_fenced" operation="off" passwd="secret"/>
>        <fencedevice agent="fence_ipmilan" ipaddr="172.16.10.92"
> login="ipmi_admin" name="station2_fenced" operation="off" passwd="secret"/>
>    </fencedevices>
>    <rm>
>        <failoverdomains>
>            <failoverdomain name="bias-station1" nofailback="0"
> ordered="0" restricted="0">
>                <failoverdomainnode name="station1.example.com"
> priority="1"/>
>            </failoverdomain>
>            <failoverdomain name="bias-station2" nofailback="0"
> ordered="0" restricted="0">
>                <failoverdomainnode name="station2.example.com"
> priority="1"/>
>            </failoverdomain>
>        </failoverdomains>
>        <resources/>
>        <vm autostart="1" domain="bias-station1"
> exclusive="0" migrate="live" name="vm_mailserver" path="/rootfs"
> recovery="restart"/>
>        <vm autostart="1" domain="bias-station2"
> exclusive="0" migrate="live" name="vm_ldapserver" path="/rootfs"
> recovery="restart"/>
>        <vm autostart="1" domain="bias-station2"
> exclusive="0" migrate="live" name="vm_adminserver" path="/rootfs"
> recovery="restart"/>
>    </rm>
>    <quorumd interval="3" label="xen_qdisk" min_score="1" tko="23"
> votes="1"/>
> </cluster>
> ===unquote===
>
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster
>




More information about the Linux-cluster mailing list