Alain Moulle wrote:
Hi
I have some problems to configure a 3 nodes cluster
with the GUI.
My version of GUI is :
system-config-cluster-1.0.16-1.0
After completion of the configuration (so : members,
fence devices, failover domains, resources and services)
I can see in cluster.conf :
...
<clusternodes>
<clusternode name="yack10" votes="1">
<fence/>
</clusternode>
<clusternode name="yack21" votes="1">
<fence/>
</clusternode>
<clusternode name="yack23" votes="1">
<fence/>
</clusternode>
</clusternodes>
...
So as you can see , I have to add the good fence lines as following:
<clusternodes>
<clusternode name="yack10" votes="1">
<fence>
<method name="1">
<device name="yack10_fence"/>
</fence>
</clusternode>
<clusternode name="yack21" votes="1">
<fence>
<method name="1">
<device name="yack21_fence"/>
</fence>
</clusternode>
<clusternode name="yack23" votes="1">
<fence>
<method name="1">
<device name="yack23_fence"/>
</fence>
</clusternode>
</clusternodes>
so that it works.
Knowing that fencedevices are:
<fencedevice agent="fence_ipmilan" ipaddr="12.8.11.11"
login="xxxxxxx" name="yack10_fence" passwd="xxxxxxx"/>
<fencedevice agent="fence_ipmilan" ipaddr="12.8.11.24"
login="xxxxxxx" name="yack23_fence" passwd="xxxxxxx"/>
<fencedevice agent="fence_ipmilan" ipaddr="12.8.11.22"
login="xxxxxxx" name="yack21_fence" passwd="xxxxxxx"/>
So is it a known bug of GUI ?
Or did I miss something somewhere in the GUI, so that
I miss these fence lines in cluster nodes records.
Thanks for your help
Alain Moullé
--
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster
Setting up fencing is done in two steps:
1) Configuring fence devices
2) Configuring fencing for individual nodes.
You have your fence devices all ready to go for the first step. For the
second step, in the GUI, you need to select a node, and then click
"Manage Fencing for this Node". A pop-up will allow you to create fence
levels and instances of your fence devices in the levels.
Now for baseboard management fence types such as ipmi, rsa, iLO, Drac,
etc., This dichotomy between fence device and fence instance is purely
artificial. They map 1:1, device:instance. Shared fence devices are a
different story, and the GUI is constructed to handle configuration of
these types of fences as well. Things get even stickier when you support
baseboard management methods like Drac/MC (a variant of Drac), which is
a shared fence method. One way to present configuration for fences would
be to separate fencing into two types: Shared and unshared, and then
construct appropriate GUIs for each. Another way to go is to present a
consistent model and config approach for all fence types with similar
configuration steps no matter if the devices are shared or not. The
latter is the approach we took for the latest cluster GUI.
Anyway, Alain, for now, please keep in mind the need to config fence
device AND fence instance for every type of fence, even if they are one
in the same such as IPMI. In the meanwhile, the fence config GUI is
begging to be refactored, and we hope to have a simpler method in place
by next update. BTW, your opinions are always welcome.
Thanks and Regards,
-Jim
The editing that you did by hand looks OK except for one important
omission: You forgot to close off
the <method> tags ;-)
--
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster