How to add new NODE to existing cluster

Article: 100001549
Last Published: 2023-09-21
Ratings: 3 1
Product(s): InfoScale & Storage Foundation

Problem

How to add new NODE to existing cluster

 

Solution

Here are the steps for adding a new node to an existing cluster.

Install the VCS software manually  on server, check the packages  and install the license key.

./Installvcs -installonly

Configuring LLT and GAB:

Create the LLT and GAB configuration files on the new node and update the files on the existing nodes.

To configure LLT

1 Create the file /etc/llthosts on the new node.

You must also update it on each of the current nodes in the cluster. For example, suppose you are adding east to a cluster consisting of north and south:
 

-  If the file on one of the existing nodes resembles: file /etc/llthosts

0 north
1 south

 
- Update the file for all nodes, including the new one, resembling: file /etc/llthosts
 
0 north
1 south
2 east


2.   Create thefile /etc/llttab on the new node, making sure that line beginning "set-node" specifies the new node. The file /etc/llttab on an existing node can serve as a guide.
The following example describes a system where node east is the new node on cluster number 

set-node east
set-cluster 2
link qfe0qfe:0 - ether - link
qfe1 qfe:1 - ether - 3


On the new system, run thecommand:

# /sbin/lltconfig -c

To configure GAB

1 Create the file /etc/gabtab on the new system.

-  If the /etc/gabtab file on the existing nodes resembles:

/sbin/gabconfig -c

The file on the new node should be the same, although it is recommended to use the -c-nN option,where "N" is the number of cluster nodes.

- If the /etc/gabtab file on the existing nodes resembles:

/sbin/gabconfig -c -n2

Then, the file on all nodes, including the new node, should change to reflect the change in the number of cluster nodes. For example, the new file on each node should resemble:

/sbin/gabconfig -c -n3

The -n flag indicates to VCS the number of nodes required to be ready to form a cluster before VCS starts.

2 On the new node, run the command, to configure GAB:

# /sbin/gabconfig -c

To verify GAB
1 On the new node, run the command:

#/sbin/gabconfig -a

The output should indicate that Port a membershipshows all nodes including the new node. The output should resemble:

GAB PortMemberships
====================================
Port a gen a3640003membership 012



2 Run the same command on the other nodes (north andsouth) to verify that the Port "a" membership includes the new node:

#/sbin/gabconfig -a
GAB PortMemberships
====================================
Port a gen a3640003membership 012
Port h gen fd570002 membership 01
Port h gen fd570002visible ; 2



** Adding the node to the existing cluster:

Perform these tasks on one of the existing nodes in the cluster.

1. Enter the command:

# haconf-makerw

2. Add the new system to the cluster:

# hasys -addeast

3 Stop VCS on the new node:

# hastop -sys east

4 Copythe main.cf file from an existing node to your new node:

# rcp/etc/VRTSvcs/conf/config/main.cf east:/etc/VRTSvcs/conf/config/

5 StartVCS on the new node:

# hastart

6 If necessary, modify any new system attributes.

7 Enter the command:

# haconf -dump-makero

Starting VCS and verifying the cluster

1 From the new system, start VCS with the new system addedto the cluster:
 
# hastart

2 Run the GAB configuration command on each node to verify that Port "a" and Port "h" include the new node in the membership:

# /sbin/gabconfig -a
GAB PortMemberships
===================================
Port a gen a3640003membership 012
Port h gen fd570002 membership 012


 
 

 

Was this content helpful?