[Linux-cluster] GFS 6.1 Example of a working fence.ccs and nodes.ccs when using RILOE

Brown, Phillip Phillip.Brown at hp.com
Sun Mar 18 20:30:37 UTC 2007


Hey folks:

Some Background
===============

For customers using GFS who would like to setup fencing with the RILOE
method: how to setup fencing depends on the device and method being
used. That's in Section 10.2 of the GFS 6.0 doc - Fencing Methods

 
http://www.redhat.com/docs/manuals/csgfs/admin-guide/s1-fence-methods.ht
ml

RILOE is there and supported, obviously. The documentation for GFS 6.0
instructs the use of the deprecated fence_rib fencing agent for the
RILOE. 

The examples there for the RILOE method are good in the 6.0 doc:

 Format for fence.ccs:
 
http://www.redhat.com/docs/manuals/csgfs/admin-guide/s1-sf-fence.html#FI
G-FENCE-RIB

 Example of a RILOE fence.ccs:
 
http://www.redhat.com/docs/manuals/csgfs/admin-guide/s1-sf-fence.html#EX
-FENCE-RILOE

 Format for nodes.ccs:
 
http://www.redhat.com/docs/manuals/csgfs/admin-guide/s1-sf-nodes.html#FI
G-SF-NODESRILEOSINGLE

 Example of a RILOE nodes.ccs
 
http://www.redhat.com/docs/manuals/csgfs/admin-guide/s1-sf-nodes.html#EX
-SF-RILOE

As you know, I'm sure, the fence_rib agent has been deprecated. The
fence_ilo agent should be used instead, according to multiple references
including the man pages for both.

I hoped to find some explicit examples of the two files in the
documentation for GFS 6.1 using fence_ilo, but the documentation has
changed. Specifically, the GFS Admin Guide has a short: "Fencing is
configured and managed in Red Hat Cluster Suite. For more information
about fencing options, refer to Red Hat Cluster Suite Configuring and
Managing a Cluster."

That particular section is here:
 
http://www.redhat.com/docs/manuals/csgfs/browse/rh-cs-en/s1-config-fence
-devices.html

You'll note that it's not anywhere near the detail as the above GFS 6.0
documentation, as it's GUI-based. 

The man page for fence_ilo(8) indicates the following fields are used:

  action = The action required. reboot (default), off, on or status. 
  agent = This option is used by fence_node(8) and is ignored by
fence_ilo. 
  hostname = IP address or hostname of the iLO card. 
  login = Login name. 
  passwd = Password for login. 
  ribcl = RIBCL protocol to use. Default is to autodetect. 
  verbose = Verbose mode.

Since agent is ignored, looks like we can simply add the "action"
parameter to the fence.ccs? I guess action is analogous to the drop-down
menu at the top of the GUI? 

And ribcl and verbose can safely be left alone?  They're not in the GUI
fields.


Questions
=========

So, I'm wondering: does anyone have an example of a working fence.ccs
and nodes.ccs for GFS 6.1 when using RILOE?  I don't have a GFS 6.1
config to work on just now. 

Also, it appears that this is the way to test?

 # fence_ilo -v -a ipaddr -l login -p passwd -o off
 

Kind regards

Phil






More information about the Linux-cluster mailing list