[Linux-cluster] Update cluster.conf in Fedora 10

Stewart Walters spods at iinet.net.au
Wed Mar 4 16:19:32 UTC 2009


This is on Red Hat Enterprise Linux 5.2, so YMMV for Fedora 10.

Regards,

Stewart




On Thu Mar  5  1:12 , Stewart Walters  sent:

>As far as I'm aware, your not supposed to edit /etc/cluster/cluster.conf directly.
>
>Doing so will cause cman to detect an unregistered change to
>/etc/cluster/cluster.conf and roll back to the previous version (someone correct
>me if I'm wrong here).
>
>The correct procedure is to take a copy of the file, then increment number of the
>cluster version, then use ccs_tool update to increment the cluster.
>
>That is: -
>
># cp /etc/cluster/cluster.conf /tmp
># vi /tmp/cluster.conf  [increment it's number to a number higher than all nodes
>in the cluster]
># ccs_tool update /tmp/cluster.conf
>
>ccs_tool will then distribute the new file to all cluster nodes, and cause this
>new version to be backed up as well (for further rollbacks of
>/etc/cluster/cluster.conf).
>
>Regards,
>
>Stewart
>
>
>
>
>
>On Wed Mar  4  7:34 , Doug Bunger  sent:
>
>The setup has three VMs accessing a shared, attached partition, formatted as GFS.
>>
>> /etc/cluster/cluster.conf
>>
>>Thanks.
>>
>>
>>
>>      
>
>
>--
>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