[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 ~]#
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 ...:)