I don't have any ILOs but I do use RHEL6 with Dell DRACs. Perhaps something 
like this:

primitive stonith-node1  stonith:fence_ilo \
        params ipaddr=" ilo1" action="reboot" login="some_login " 
passwd="some_pass " pcmk_host_list=" node1" pcmk_host_check="static-list" \
        meta target-role="Started"

You can match the params like ipaddr, login etc to the STDIN parameters listed 
in the man page of fence_ilo. The pcmk_host_list part ties the fence device to 
a particular host.

When I run "crm ra list stonith" I do get a list of fencing agents though so 
perhaps you have an issue elsewhere?
Cheers,
Max

-----Original Message-----
From: Pawel Warowny [mailto:w...@master.pl] 
Sent: 09 June 2011 14:12
To: pacemaker@oss.clusterlabs.org
Subject: [Pacemaker] RHEL 6.0 STONITH configuration

Hi

I've just moved my cluster from Debian Squeeze to RedHat 6.0.
Everything (well almost :)) went fluently beside STONITH configuration.

My hardware are HP DL370 G6 servers with iLO interface.

On Debian I had stonith configured this way:

primitive stonith-node1 stonith:external/riloe \ params hostlist="node1" 
ilo_hostname="ilo1" ilo_user="some_user" \ ilo_password="some_passwd" 
ilo_can_reset="0" ilo_protocol="1.2" \ ilo_powerdown_method="button

On RedHat there is no such plugin:
(...)stonith/plugins/external/riloe

I've found this script: /usr/sbin/fence_ilo in fence-agents package and from 
command line it works great:
[root@twin2 log]# /usr/sbin/fence_ilo -o status -a ilo1 -l some_login -p 
some_pass
Status: ON

But I have no idea how to integrate it into pacemaker stonith configuration.

There was also an error when I was trying list stonith ra:
[root@twin2 log]# crm ra list stonith
lrmadmin[24309]: 2011/06/09_15:08:16 ERROR: lrm_get_rsc_type_supported(412): 
failed to receive a reply message of rtypes.

Best regards
--
Pawel Warowny

________________________________________________________________________
In order to protect our email recipients, Betfair Group use SkyScan from 
MessageLabs to scan all Incoming and Outgoing mail for viruses.

________________________________________________________________________

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker

Reply via email to