LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-27-2010, 11:35 PM   #1
levinhha
LQ Newbie
 
Registered: Oct 2010
Posts: 8

Rep: Reputation: 0
How long a node failover and another node take over resources on HA cluster?


I don't have much experience in clustering. And I'm deploying a cluster system on CentOS. But I don't know how long a node failover and another node take over those resouces to continue running service is good, fast or slow? 1s, 10s or ??
 
Old 10-28-2010, 03:26 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello and Welcome to LinuxQuestions,

You can easily configure the time to declare a node as unavailable (dead) in your cluster setup. Since you didn't specify what clustering/high availability software you're using it's hard to tell you what to put in the config. In HeartBeat for example you can use:
Code:
#
#       keepalive: how many seconds between heartbeats
#
keepalive 2
#
#       deadtime: seconds-to-declare-host-dead
#
deadtime 10
to indicate when to move services and resources to the other node(s).

To what value you should set the parameters is up to you, if your services are business critical then you should set them low in order to have a higher disponibility meaning that if one node fails for that limited amount of time then the resources/services will be moved. You can also opt-out of failback, meaning that if resources/services are moved to another node, they will not be re-moved when the failing node becomes available again.

Kind regards,

Eric
 
Old 10-28-2010, 10:13 PM   #3
levinhha
LQ Newbie
 
Registered: Oct 2010
Posts: 8

Original Poster
Rep: Reputation: 0
Sorry, it's my fault, and thanks for your help. I used lucci and ricci (Clustering software group on CentOS) to setup HA system. Could you tell me the standard to estimate the HA system? Here is my /etc/cluster/cluster.conf.
Code:
<?xml version="1.0"?>
<cluster alias="Testcluster" config_version="44" name="Testcluster">
        <fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="29"/>
        <clusternodes>
                <clusternode name="node1-ic" nodeid="1" votes="1">
                        <fence>
                                <method name="1">
                                        <device name="Manual1" nodename="node1-ic"/>
                                </method>
                        </fence>
                </clusternode>
                <clusternode name="node2-ic" nodeid="2" votes="1">
                        <fence>
                                <method name="1">
                                        <device name="Manual2" nodename="node2-ic"/>
                                </method>
                        </fence>
                </clusternode>
        </clusternodes>
        <cman expected_votes="1" two_node="1"/>
        <fencedevices>
                <fencedevice agent="fence_manual" name="Manual1"/>
                <fencedevice agent="fence_manual" name="Manual2"/>
        </fencedevices>
        <rm>
                <failoverdomains>
                        <failoverdomain name="Test_fo_domain" nofailback="0" ordered="0" restricted="0">
                                <failoverdomainnode name="node1-ic" priority="1"/>
                                <failoverdomainnode name="node2-ic" priority="1"/>
                        </failoverdomain>
                </failoverdomains>
                <resources>
                        <ip address="222.255.239.152" monitor_link="1"/>
                        <clusterfs device="/dev/OBS_DATA/USER_DATA" force_unmount="0" fsid="7895" fstype="gfs2" mountpoint="/data" name="DATA" options="rw" self_fence="0"/>
                        <script file="/etc/init.d/obsrcluster" name="obsr"/>
                        <script file="/etc/rc.d/init.d/httpd" name="httpd"/>
                </resources>
                <service autostart="1" domain="Test_fo_domain" exclusive="0" name="testservice" recovery="relocate">
                        <ip ref="222.255.239.152"/>
                        <clusterfs ref="DATA"/>
                        <script ref="httpd"/>
                </service>
        </rm>
</cluster>
 
  


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
mysqld node of mysql cluster system not connecting to management node coal-fire-ice Linux - Server 1 07-27-2015 09:33 AM
Red Hat: two node cluster with two IPs each node HRM Linux - Enterprise 1 06-22-2010 05:40 PM
Two node cluster, start CMAN fence the other node DevinXu Linux - Enterprise 1 06-21-2010 01:37 PM
[SOLVED] Rocks Cluster node asking for rolls upon node install Shouraku ROCK 1 04-15-2010 11:28 AM
RHEL5 2 node failover cluster conf with quorum K_L Linux - Enterprise 9 02-19-2010 04:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:39 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
Open Source Consulting | Domain Registration