Talk:Linux Data Management

From CoolSolutionsWiki

Contents

Change log

  • 2007-10-11: Added LVM2 number of LUNs limits and a link to educational HA articles
  • 2007-10-09: Answered a question about Linux HA (heartbeat, stoneith and iLO)
  • 2007-09-26: Finished the kick-off
  • 2007-09-25: Continued the kick-off
  • 2007-09-17: Start of wiki page

Discussion

  • Just type your comments here

Q: About Linux HA

Although this article contains datamanagement info I add this comment anyway... I have tried to find information no configuring STONITH with llo card and with ssh to configure heartbeat cluster fail over on hp blade servers or on Vmware virtual server... Can anyone point out direction to find info...

V-M

A: About Linux HA

I have no personal experience with heartbeat, in combination with stoneith and iLO, but I found the following tips/threads:

Some documentation can be found at: The Heartbeat Administration Guide

You could use the ssh interface from iLO and program an expectscript which e.g. restarts the node with "power reset /system1".

but there also is built-in support for iLO in Heartbeat v2. See, e.g.:

STONITH Device: external/riloe - COMPAQ RILOE STONITH device

List of valid parameter names for external/riloe STONITH device:

       hostname		#rz: "stonith -h" help page typo: should be hostlist instead of hostname
       ilo_hostname
       ilo_user
       ilo_password
       ilo_can_reset
       ilo_protocol
       ilo_powerdown_method

For Config info [-p] syntax, give each of the above parameters in order as the -p value. Arguments are separated by white space. Config file [-F] syntax is the same as -p, except # at the start of a line denotes a comment.

xendom0:/usr/lib/stonith/plugins/external # l

    -rwxr-xr-x 1 root root 3224 2007-05-18 13:56 ibmrsa*
    -rwxr-xr-x 1 root root 6261 2007-05-18 13:56 riloe*
    -rwxr-xr-x 1 root root 3652 2007-05-18 13:56 ssh*

Check the content of /usr/lib/stonith/plugins/external/riloe for the required attributes and some explanation.

Some thread info on heartbeat and iLO: We found that we needed the latest version of heartbeat 2.1 that was/is not yet released as a patch/update from Novell so we downloaded it from the openSUSE site. I believe we used heartbeat-2.1.0-41.1.x86_64.rpm and heartbeat-stonith-2.1.0-41.1.x86_64.rpm. Once we installed the latest heartbeat and stonith packages it was fairly simple:

In hb_gui create one stonith resource per iLO server and add the following attributes to it. All must be present, even if using default values.

hostlist <servername> #node to be shot in the head.  List can only contain one node
ilo_hostname <ilo_hostname>  #we added host entries in the /etc/hosts file for the iLO cards
ilo_user <ilo_username>
ilo_password <ilo_password>
ilo_can_reset 0
ilo_protocol 1.2
ilo_powerdown_method power
clone
clone max # of nodes in ha cluster
clone node max 1
clone or master id stonith_gwmail#  <this was the name of the stonith resource

Once created, the resources should load and turn to green dots.

Download latest heartbeat RPM trouble

Hello, I have attempted to install the latest heartbeat from the linux-ha site as well as the open SUSE site. I am running a two node HP server SLES sp1 cluster. Any way I try to update the heartbeat rpm's I am running into issues. Can you please be more specific as to the procedure you used to update your heartbeat rpms to allow management with the HP ILO cards. Thanks, Bryan