LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 04-02-2014, 09:18 PM   #1
munna529
LQ Newbie
 
Registered: Apr 2014
Posts: 17

Rep: Reputation: Disabled
Lightbulb Linux Cluster fail over testing


Hi Guys,

I am not much aware of clusters but i have few questions can someone provide the overview as it would be very helpful for me.

How can i perform cluster failover test to see all the services are failing back to other node ? If it is using veritas cluster then what kind of pre-prequisite i need to follow ?

If it is not using veritas cluster then how to check whether host is clustered or not ? if clustered how can i perform failover to other nodes?

If my question is not clear please forgive me and let me know what are the required steps i need to follow this procedure ?

Thanks
 
Old 04-02-2014, 10:40 PM   #2
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,274

Rep: Reputation: 148Reputation: 148
Looks so far you haven't deployed any cluster solution. Anyhow, just assume you are running 2 nodes Apache web-server cluster. in-order to access the web services you might have at-least one VIP.
Let say the VIP reside in one node and web-server in another node it will be troublesome. both resource (vip and web-server) must reside in same node.

For fail-over testing just stop the web-server from the master node and monitor the second node whether the web-server and vip moving to the second node if both moved in to your second node seems fail-over is working (just try this first)
 
Old 04-03-2014, 07:58 PM   #3
munna529
LQ Newbie
 
Registered: Apr 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
kriukan,

Thanks for the information. i worked on windows cluster as we are doing some array based migrations using mpxtool(block level) copy. Now we are working on linux hosts and usually it is an offline migration.
I see some hosts are possible clusters so i want to determine which hosts are cluster ? We have suse systems so i figured out on one server it shows this output does that mean is this a cluster ?

Code:
#-> find / -name hacluster
/var/lib/heartbeat/cores/hacluster
[root@itsusral00019:/]#
Code:
#-> find / -name cluster
/lib/modules/2.6.16.60-0.97.1-smp/kernel/fs/ocfs2/cluster
/lib/modules/2.6.16.60-0.101.1-smp/kernel/fs/ocfs2/cluster
/lib/modules/2.6.16.60-0.97.1-kdump/kernel/fs/ocfs2/cluster
/lib/modules/2.6.16.60-0.101.1-kdump/kernel/fs/ocfs2/cluster
/opt/VRTSpbx/bin/cluster
/usr/src/linux-2.6.16.60-0.101.1/fs/ocfs2/cluster
[root@itsusral00019:/]#
Code:
#-> clustat
-bash: clustat: command not found
[root@itsusral00019:/]#
Code:
#-> hastatus -sum
-bash: hastatus: command not found
from the above output i see this host doesn't have veritas cluster but there is some hacluster when i tried to look for cluster.conf file i dont see and i am not aware for this hacluster.

If you know anything about this please let me know this would be very helpful.
 
  


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
Redhat cluster service getting fail to start on second node ravindert Linux - Software 1 05-04-2013 10:31 AM
LXer: Cluster Server Failover Testing On Linux And Unix LXer Syndicated Linux News 0 02-19-2009 09:00 AM
Cluster POSTFIX mail server(fail over) SlackKernel Linux - Server 3 09-24-2007 03:43 PM
Cluster Suite does not fail over jdaniels73 Linux - Enterprise 4 10-20-2006 07:34 AM
errors while testing cluster machines (MPICH) nedian123 Linux - Networking 0 12-09-2004 03:27 AM


All times are GMT -5. The time now is 10:22 PM.

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