Serviceguard
cancel
Showing results for 
Search instead for 
Did you mean: 

"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
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