LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-30-2010, 04:20 AM   #1
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Rep: Reputation: 55
Best way to handle Cluster Failover


Dear All,

We have setup a High Available Cluster on two RHEL 5.4 machines with Redhat Cluster Suite (RHCS) having following configuration.

1. Both machines have Mysql server, Apache web server and Zabbix server.
2. Mysql database and web pages reside in SAN.
3. Active machine holds virtual IP and mounted shared disk.
4. We have also included a script in RHCS which takes care of starting Mysql, Apache and zabbix server on the machine which turns active when cluster switches over.

The above configuration holds good if Active machine goes down as a result of hardware failure or Reboot.

What if, If any one service say Apache/Mysql/zabbix running on active hangs or become unresponsive.

How can we handle this scenario ? Please advice.

Warm Regards,

Last edited by vinaytp; 09-30-2010 at 04:25 AM.
 
Old 09-30-2010, 06:31 AM   #2
gdejonge
Member
 
Registered: Aug 2010
Location: Netherlands
Distribution: Kubuntu, Debian, Suse, Slackware
Posts: 317

Rep: Reputation: 73
It's difficult to say. Could you give us some more information about what type of SAN you are using and how it is configured. That is: SAN network layout, Disk layout, How is the data distributed over the disks.

Otherwise I have to guess and my conclusion would be not possible.
Reason for this: If System A has to run Apache/zabbix and System B Mysql in a failover situation they need both access to the same disks on the SAN. Which is not possible in normal failover configurations. Unless you got special software that allows this.

Besides I didn't know that configuring and maintaining HA clusters is a newbie job nowadays.

_______________
Gerrard
 
Old 09-30-2010, 07:23 AM   #3
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Original Poster
Rep: Reputation: 55
Hi gdejonge,

Thanks for your reply.

At any point of time /shared_disk is mounted on active machine. So we are trying to achive Failover in such a way at any point of time Apache, Mysql and Zabbix should be running on a single server.

Following scenairo is not allowed:

The direction is given by people who are managing SAN.

ServerA: Mysql and zabbix
ServerB: Apache

The above scenario is not allowed.

So we need to switch over all the services running on serverA to serverB, If any one of the services fails in serverB.

Our current configuration switches over all the services only in case of reboot. Is there any way to implement this service switchover from RHCS.

Thanks

Last edited by vinaytp; 09-30-2010 at 07:25 AM.
 
Old 09-30-2010, 08:21 AM   #4
gdejonge
Member
 
Registered: Aug 2010
Location: Netherlands
Distribution: Kubuntu, Debian, Suse, Slackware
Posts: 317

Rep: Reputation: 73
Okay I understand it now.
You not only want hardware failover, but also service failover.
Conform the RHCS advertisements this should be possible.
Quote:
Service failover: Red Hat Cluster Suite not only ensures hardware shutdowns or failures are detected and recovered from automatically, but it also monitors applications to ensure they are running correctly and restarts them automatically if they fail.
You probably need to do some reading in the RHCS manuals, about how to configure the service failover.

_________________
Gerrard
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Failover wasamzy Linux - Server 11 09-25-2010 04:56 AM
What is a network failover? Jim4522 Linux - Server 1 04-23-2010 06:17 AM
Failover vkmgeek Linux - Networking 5 04-05-2008 03:10 PM
IP failover sanjibgupta Linux - Networking 6 05-04-2007 04:01 AM
IP failover mechanism vilaor Linux - Networking 1 02-02-2006 09:51 AM


All times are GMT -5. The time now is 04:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration