[Linux-cluster] HP ILO Fence Configuration

Marc Grimme grimme at atix.de
Thu Aug 7 16:20:32 UTC 2008


On Thursday 07 August 2008 17:55:43 Miolinux wrote:
> On Thu, 2008-08-07 at 09:57 +0200, Marc Grimme wrote:
> > You might want to take a look at this ILO Fence Agent.
> > http://download.atix.de/yum/comoonics/redhat-el5/productive/noarch/RPMS/c
> >omoonics-bootimage-fenceclient-ilo-0.1-18.noarch.rpm I think when I wrote
> > it I detected the same problem and fixed it there. Marc.
>
> Wow, pretty impressive,
> thank you very much, your script saves me a lot of headache.
>
> # time ./fence_ilo -a xx.xx.xx.xx -l admin -p xxxxxxxx
> success
>
> real    0m49.406s
> user    0m0.138s
> sys     0m0.015s
>
> # time ./fence_fast_ilo -a xx.xx.xx.xx -l admin -p xxxxxxxx
>
> real    0m8.713s
> user    0m0.041s
> sys     0m0.011s
>
> Bye
> Miolinux
>
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster

You can also use this agent for mapping iso images as cds and the like. Look 
at the -x/--xmlfile option. We use it very often for such things like 
creating users/mapping isos ...

<RIB_INFO MODE = "write">
	<INSERT_VIRTUAL_MEDIA DEVICE="CDROM"
	IMAGE_URL="http://servername/atix/livecd.img"/>
	<SET_VM_STATUS DEVICE = "CDROM">
   		<VM_BOOT_OPTION value = "BOOT_ONCE"/>
   		<VM_WRITE_PROTECT value = "Y"/>
	</SET_VM_STATUS>
</RIB_INFO>

or for resetting the ilo which is not so bad from time to time:

  <RIB_INFO MODE="write">
    <RESET_RIB/>
  </RIB_INFO>

-- 
Gruss / Regards,

Marc Grimme
http://www.atix.de/               http://www.open-sharedroot.org/




More information about the Linux-cluster mailing list