[Linux-cluster] HP ILO Fence Configuration

rhurst at bidmc.harvard.edu rhurst at bidmc.harvard.edu
Tue Aug 5 12:31:34 UTC 2008


Does not sound like you are having a fencing issue, but I can share our
configuration / implementation and experiences with it.

We have been using fencing configured for HP iLO and iLO2 for the better
of 2-years, with almost a full year in production now.  It is slow (42+
seconds per fencing attempt) and always problematic.  We are piloting
IBM BladeCenter as a replacement form factor over the incumbent HP DL385
servers.  Today, we use Nagios to monitor iLO's ssh / https services,
because they can go down without warning -- requiring you to reset
services via their firmware interface at BIOS boot-up time -- ugh!

Also, make certain you are running v1.89 on iLO cards; I forget what we
are using for iLO2 (v1.43 jumps into mind).

Simple to configure (password is in plaintext, but my iLO cards are
wired to an internal switch in the rack, hidden behind Cluster Suite's
network director):

<clusternodes>
		<clusternode name="net1" votes="5">
			<fence>
				<method name="1">
					<device name="net1ilo"/>
				</method>
			</fence>
		</clusternode>

   ... 10 more entries ...

</clusternodes>

<fencedevices>
	<fencedevice agent="fence_ilo" hostname="net1ilo.cad.rack"
login="Administrator" name="net1ilo" passwd="cadnet1tendac"/>

   ... 10 more entries ...

</fencedevices>

I also wrote a wrapper script named "power" around fence_ilo for
testing, and for other maintenance scripts, i.e.,
power reboot net1

#!/bin/bash
# 
# rev 07-May-2007 RHurst
# 

CHOICES=( "off on reboot status" )

COMMAND=$1
while [ -z "${COMMAND}" ]; do
	echo -n "Command (${CHOICES[@]})? "
	read COMMAND
	[ -z "${COMMAND}" ] && exit
done

HOST=${2}
HOSTIP="`dig +short ${HOST}ilo.cad.rack`"
while [ -z "${HOSTIP}" ]; do
	echo -n "host? "
	read HOST
	[ -z "${HOST}" ] && exit
	HOSTIP="`dig +short ${HOST}ilo.cad.rack`"
done

PASSWD=
[ "${HOST:0:3}" = "net" ] && PASSWD="cad${HOST}tendac"
[ "${HOST:0:3}" = "app" ] && PASSWD="cad${HOST}ppadac"
[ "${HOST:0:2}" = "db" ] && PASSWD="cad${HOST}bddac"
[ -z "${PASSWD}" ] && exit

[ $# -lt 2 ] && echo -n "Sending '${COMMAND}' to ${HOSTIP} iLO  :  "
fence_ilo -a ${HOSTIP} -l Administrator -p ${PASSWD} -o ${COMMAND}



________________________________________________________________________
Robert Hurst, Sr. Caché Administrator
Beth Israel Deaconess Medical Center
1135 Tremont Street, REN-7
Boston, Massachusetts   02120-2140
617-754-8754 ∙ Fax: 617-754-8730 ∙ Cell: 401-787-3154
Any technology distinguishable from magic is insufficiently advanced.


On Mon, 2008-08-04 at 10:11 +0200, Brett Cave wrote:

> On Fri, Aug 1, 2008 at 12:06 PM, Balaji <balajisundar at midascomm.com> wrote:
> > Dear All,
> >
> >  Currently i am using HP x6600 Server and I have installed RHEL4 Update 4 AS
> > Linux and
> >  RHEL4 Update 4 Support Cluster Suite in my server
> >  I am new in fence and can any one help me how to configure HP ILO fence in
> > my server
> >  and HP ILO Fence Functionality
> 
> I have just set it up, have not tested 100%, but what I have so far is:
> 1) create fence usernames and passwords ILO on each of your devices.
> 2) Update cluster.conf as follows:
> <clusternodes>
>         <clusternode name="worker1" nodeid="1">
>                 <fence>
>                         <method name="fabric">
>                                 <device name="ilo-worker1"/>
>                         </method>
>                 </fence>
>         </clusternode>
>        <!-- the rest of your nodes here -->
> <fencedevices>
>         <fencedevice name="ilo-worker1" agent="fence_ilo"
> hostname="192.168.0.101" login="fence" passwd="fencepassword"/>
>         <!-- 1 fence device for each clusternode, with corrent hostname info -->
> </fencedevices>
> 
> According to the docs, that SHOULD work, I am still having hanging
> issues on access to certain files / directories on GFS, but still
> pretty new to it, so not 100% sure whether its related to fencing or
> not.
> 
> > Regards
> > -S.Balaji
> >
> > --
> > Linux-cluster mailing list
> > Linux-cluster at redhat.com
> > https://www.redhat.com/mailman/listinfo/linux-cluster
> >
> 
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20080805/307912e7/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2178 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20080805/307912e7/attachment.p7s>


More information about the Linux-cluster mailing list