Operating System - Linux
1753786 Members
7518 Online
108799 Solutions
New Discussion юеВ

Re: "step-by-step" guide to setup a failover cluster (RedHat Cluster)

 
SOLVED
Go to solution
Md. Alamgir Khan
Occasional Advisor

"step-by-step" guide to setup a failover cluster (RedHat Cluster)


Hi!
I am trying to configure RedHat Cluster (Service guard) under OS RedHat Enterprise Linux 4 Update3 AS, servers DL580(Two), Stroge MSA 1000.
I am looking for a more "step-by-step" guide line to setup a failover cluster. I am on a really tight deadline. There is a step-by-step guide, how to? or tutorial to help me.

Best Regards,
Alamgir Khan
9 REPLIES 9
Ivan Ferreira
Honored Contributor

Re: "step-by-step" guide to setup a failover cluster (RedHat Cluster)

The red hat documentation available at the read hat page is very good. There are examples of how to configure it.

A failover cluster is for a high available service, so, take your time to configure it correctly. There are some checklists that you must plan, for example, the fence devices.

You must understand what you are doing, a quick step by step guide is not my recommendation.

Download and read carefully the documentaion.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Md. Alamgir Khan
Occasional Advisor

Re: "step-by-step" guide to setup a failover cluster (RedHat Cluster)

Hi,Ivan Ferreira

Thanks for answare.
You Said that,red hat enterprise linux 4 AS cluster suite documentation available at the read hat page.
Please give me some links, if you know?


Oviwan
Honored Contributor

Re: "step-by-step" guide to setup a failover cluster (RedHat Cluster)

Vitaly Karasik_1
Honored Contributor

Re: "step-by-step" guide to setup a failover cluster (RedHat Cluster)

>I am trying to configure RedHat Cluster (Service guard) under OS RedHat Enterprise Linux

Red Hat Cluster isn't Service Guard.
Service Guard is HP high-available cluster, which can work on RHEL.

So first at all I suggest you to choose one of these products.
Steven E. Protter
Exalted Contributor
Solution

Re: "step-by-step" guide to setup a failover cluster (RedHat Cluster)

Shalom,

Either RHCS or Serviceguard can fulfill this need. RHCS may be less expensive, but since you have shared storage either will work.

There are substantial problems with RHCS on RH 4 update 3 which would be resolved by using up2date to move to Red Hat 4 update 5 and the latest RHCS suite.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Serviceguard for Linux
Honored Contributor

Re: "step-by-step" guide to setup a failover cluster (RedHat Cluster)

Basic instruction for Serviceguard for Linux.

These instruction are pulled from a basic "hands on" class & with some double checks of the manuals should get you started.

First I assume that both servers are listed in the certification matrix:
ftp://ftp.compaq.com/pub/products/servers/ha/linux/svcguard-certmatrix.pdf

Make sure you have set up NIC bonding as described in the "managing" manual.
http://docs.hp.com/en/B9903-90050/B9903-90050.pdf

Make sure multipath is configured to storage (check the docs of the HP version of the FC driver.

Start with the release notes:
http://docs.hp.com/en/B9903-90051/B9903-90051.pdf
Pages 23-28 (most summarized below)


Define a LockLUN on the MSA1000 (just look up lock lun in the managing manual.

Make sure you set up the


OS Settings (when installing)
├в ┬в Allow SSH
├в ┬в Custom package selection
├в Add ├в Development tools├в
├в ┬в Required for the installation of ├в Deadman├в and ├в Pidentd├в drivers
├в ┬в These drivers need to be rebuilt with any kernel update
├в Instructions are in release notes
├в Other packages may be required for your environment
├в ┬в Network bonding
├в Use standard network bonding
├в ┬в Multipath
├в QLogic or Emulex built in multipath in the HP versions of the drivers
├в ┬в Firewall
├в Turn off for now
Install Serviceguard rpms +
├в ┬в Do the following on node1 and node2
├в ┬в Remove authd in preparation for pidentd install
├в # rpm -e authd
├в `Pidentd replaces (can├в t get RedHat to fix authd)
├в ┬в Install SGLX rpms
├в # rpm ├в ihv sgcmom*.rpm pidentd*.rpm serviceguard*.rpm
├в ┬в Start pidentd and set it to start automatically at boot
├в # /sbin/chkconfig --level 35 identd on (double dash on level)
├в # /etc/init.d/identd start
Set up profile & man pages
├в ┬в Edit cmcluster.conf.default so run at boot
$SGCONF = /usr/local/cmcluster/conf
├в Copy $SGCONF/cmcluster.conf.default to /etc/profile.d as BOTH sglx.sh.
├в Edit the files to add
export PATH=${PATH}:/usr/local/cmcluster/bin or
├в # chmod +x /etc/profile.d/sglx.*
├в # source /etc/profile.d/sglx.*
├в ┬в Make sure $SGCONF/cmclnodelist exists and is correct (├в + +├в without the quotes works for all)
├в ┬в Edit the /etc/man.config file to include the following line:
├в MANPATH /usr/local/cmcluster/doc/man

SGLX Initial Security Settings
├в ┬в Deal with SG-LX security
├в ┬в See docs for higher security
├в ┬в Edit /etc/hosts (all nodes)
├в ┬в Reboot the nodes
├в While not an absolute requirement, helps catch some problems
Create a cluster
├в ┬в # cd $SGCONF
├в ┬в # cmquerycl ├в v ├в w full ├в L locklun -n node1 ├в n node2 ├в C mycluster.conf
├в -w full option does much more checking
├в ┬в Edit mycluster.conf
├в Generally you├в ll want to change the cluster name in the file.
├в change the max number of packages ├в 10 is a good starting point.
├в Set the security at the end of the file. An easy setting is:
├в ┬в USER_NAME root
├в ┬в USER_HOST ANY_SERVICEGUARD_NODE
├в ┬в USER_ROLE FULL_ADMIN
├в ┬в # cmapplyconf -v ├в C mycluster.conf
Test the cluster
├в ┬в # cmruncl ├в v
├в ┬в # cmviewcl ├в v
├в Make sure that the quorum status (LockLUN or QS) is OK as well as the servers
├в ┬в Reboot the node1 and make sure that node2 stays active.
├в ┬в Once it has competed the reboot add it back in and again check the status
├в # cmviewcl ├в v
├в ┬в reboot the node2 and make sure that node1 stays active.
├в ┬в Once it has competed the reboot add it back in and again check the status
├в # cmviewcl ├в v

Md. Alamgir Khan
Occasional Advisor

Re: "step-by-step" guide to setup a failover cluster (RedHat Cluster)

Hi Steven E. Protter

Thanks for answer.
I want to do RHCS (RedHat Cluster) on OS RedHat Enterprise Linux 4 Update 5 AS, Servers Two DL580, Stroge MSA 1000 and MSA 30, Two MSA SAN Switch.
Please help me.

Alamgir
Md. Alamgir Khan
Occasional Advisor

Re: "step-by-step" guide to setup a failover cluster (RedHat Cluster)

Hi Vitaly Karasik,

Thanks for answer.
I want to do RHCS (RedHat Cluster) on OS RedHat Enterprise Linux 4 Update 5 AS, Servers Two DL580, Stroge MSA 1000 and MSA 30, Two MSA SAN Switch.
Please help me.

Alamgir
Vitaly Karasik_1
Honored Contributor

Re: "step-by-step" guide to setup a failover cluster (RedHat Cluster)

You should start from RH docs:

https://www.redhat.com/docs/manuals/csgfs/index-master.html:
Red Hat Cluster Suite Overview for RHEL4.5
Red Hat Cluster Suite RHEL 4.5.0 Release Notes
Configuring and Managing a Red Hat Cluster for RHEL 4.5