About Us

RSInfoMinds, a web based IT Training and Consultancy firm. It is established with high dreams in training people in IT Infrastructure Field. We provide Online and Class Room training in various fields of IT Infrastructure Management.

Join Us: http://www.facebook.com/RSInfoMinds
Mail Us: rsinfominds@gmail.com
Twitter: @RSInfoMinds

We are specialized in the below courses:

Redhat Linux Admin Redhat Linux Cluster
Redhat Virutualization IBM AIX Admin
IBM AIX Virtualization IBM AIX Cluster
HP Unix Admin HP Unix Cluster
HP Unix Virtualization Shell Scripting
Veritas Volume Manager Veritas Cluster
Oracle Core DBA VMWare


We provide training in such a way, So that you get in depth knowledge on the Courses you look for.

And we ensure you are very confident from each and every Techincal aspect that the IT Industry needs and expects from you.

We also conduct Workshops on the latest technology and the real time faculties sharing their work experiences to make you the best.

Friday 21 February 2014

Add a node to a 2 Node Cluster : RHEL

[root@node1 ~]# clustat
Cluster Status for oracle @ Thu Feb 20 00:56:32 2014
Member Status: Quorate

 Member Name                                                     ID   Status
 ------ ----                                                     ---- ------
 node1                                                               1 Online, Local
 node2                                                               2 Online

[root@node1 ~]#


[root@node2 ~]# clustat
Cluster Status for oracle @ Mon Feb 17 07:20:55 2014
Member Status: Quorate

 Member Name                                                     ID   Status
 ------ ----                                                     ---- ------
 node1                                                               1 Online
 node2                                                               2 Online, Local

[root@node2 ~]#

I am going to add a new node called "node3". This can be done from LUCI or CLI.

From the primary node, update the cluster.conf

[root@node1 ~]# vi /etc/cluster/cluster.conf
[root@node1 ~]# cat /etc/cluster/cluster.conf
<?xml version="1.0"?>
<cluster config_version="15" name="oracle">
        <clusternodes>
                <clusternode name="node1" nodeid="1"/>
                <clusternode name="node2" nodeid="2"/>
                <clusternode name="node3" nodeid="3"/>
        </clusternodes>

[root@node1 ~]# cman_tool version -r
[root@node1 ~]# clustat
Cluster Status for oracle @ Thu Feb 20 01:05:07 2014
Member Status: Quorate

 Member Name                                                     ID   Status
 ------ ----                                                     ---- ------
 node1                                                               1 Online, Local
 node2                                                               2 Online
 node3                                                               3 Offline

[root@node1 ~]#

Now start the CMAN service on node3:

[root@node3 ~]# service cman start
Starting cluster:
   Checking if cluster has been disabled at boot...        [  OK  ]
   Checking Network Manager...                             [  OK  ]
   Global setup...                                         [  OK  ]
   Loading kernel modules...                               [  OK  ]
   Mounting configfs...                                    [  OK  ]
   Starting cman...                                        [  OK  ]
   Waiting for quorum...                                   [  OK  ]
   Starting fenced...                                      [  OK  ]
   Starting dlm_controld...                                [  OK  ]
   Starting gfs_controld...                                [  OK  ]
   Unfencing self...                                       [  OK  ]
   Joining fence domain...                                 [  OK  ]
[root@node3 ~]# 


[root@node3 ~]# clustat
Cluster Status for oracle @ Wed Feb 19 08:52:40 2014
Member Status: Quorate

 Member Name                                           ID   Status
 ------ ----                                           ---- ------
 node1                                                     1 Online
 node2                                                     2 Online
 node3                                                     3 Online, Local

[root@node3 ~]#

Simple ...:)

No comments:

Post a Comment