Recent

Configure two node VCS Cluster in Linux - Step by Step

Configure two node VCS cluster in Linux

This article shows you to how to setup the basic VCS Cluster nodes on RHEL7 for high-availability server. Already we have explained How to install Veritas Cluster server on RHEL7.

Our Lab Environment
1. Two server nodes (node1 and node2) with RHEL 7.0 - 64 Bit
2. Symantec Storage Foundation with High Availability (SFHA) 6.2
3. Three network cards on each nodes. (one for public network link and other two are for private network links)

Steps involved to setup Veritas Cluster Server (VCS) on RHEL7
1. Start the initial configuration.
2. Add the Cluster member nodes (node1 and node2)
3. Disable IO Fencing if not required
4. Enter the cluster informations
5. Configure the Virtual IP for the cluster.
6. Secure mode Settings
7. Configure SMTP Notification


1. Start the initial configuration
Once you all installed Veritas Cluster Server software, login into the first node (node1) and run the below command to setup the VCS Cluster.
cd /opt/VRTS/install/
./installsfha62 -configure
2. Add the Cluster member nodes (node1 and node2)
In the next screen, enter the system names separated by spaces as image shows below. here we enter node1 and node2.
Configure VCS Cluster - Screenshot  2
3. Disable IO Fencing if not required
After verifying the systems, installer will prompt for IO Fencing settings in enabled mode. So press "n" to disable I/O Fencing in enabled mode.?

When servers within the clusters become unable to communicate for any number of reasons, then Splid brain syndrome can occur. To avoid split drain syndrome, we can configure IO Fencing. But we disabled this io fencing because we have more network links.
Configure VCS Cluster - Screenshot  3
4. Enter the cluster informations
In the next screen, Press "Enter" to continue for configuring the VCS Cluster with our environment information.
Configure two node VCS Cluster - Screenshot 4
At the next screen, Enter the Unique Cluster Name, we give "testcluster" as shown in the image.
Configure two node VCS Cluster - Screenshot 5
At the next screen, installer will prompt for heartbeat links (LLT) network settings. Two or more NICS per system used for heartbeat links, One or more heartbeat links are configured as private links and one links as a Low priority link.

Select "4" option to automatically detect configuration for LLT over Ethernet and press "Enter". Installer will configure heartbeat links.
Configure two node VCS Cluster - Screenshot 6
At the next screen, Installer will give random ID or Enter a unique cluster ID.
Press "n" to not check if the cluster ID is in use by another cluster.
Configure two node VCS Cluster - Screenshot 7
Next screen shows you the cluster information verification. Press "y" to accept the information as correct.
Configure two node VCS Cluster - Screenshot 8
5. Configure the Virtual IP for the cluster
Enter the NIC name for virtual IP of the cluster to use on node1 "enp0s3" and enter.
Press "y" to confirm that "enp0s3" to be the public NIC used by all systems.
Enter the Virtual IP address for the cluster as 192.168.2.50.
Enter the Netmask for IP 192.168.2.50 as 255.255.255.0.
Configure two node VCS Cluster - Screenshot 9
Next screen shows you the cluster Virutal IP verification. Press "y" to accept the information as correct.
Configure two node VCS Cluster - Screenshot 10
6. Secure mode Settings
Running VCS in Secure mode guarantess that all inter-system communication is encrypted and users are verified with security credentials. NIS and system usernames and passwords are used to verify identity. VCS usernames and passwords are no longer utilized when a cluster is running a secure mode.
Press "y" to configure the VCS Cluster in secured mode. But we select "n" to disable the secure mode configuration in VCS Cluster.
Configure two node VCS Cluster - Screenshot 12
Press "y" to accept the default cluster credentials of 'admin/password'.
Press "n" to not add another user to the cluster.

Next screen shows you the VCS User verification. Press "y" to accept the information as correct.
Configure two node VCS Cluster - Screenshot 13
7. Configure SMTP Notification
Press "n" to not configure SMTP notification, if you need notification then press "y".
Configure two node VCS Cluster - Screenshot 14
8. Stopping SFHA Process
Press "y" to stop SFHA processes now and enter.
Configure two node VCS Cluster - Screenshot 15

Installer will stop and start the processes now.

Now Symantec Storage Foundation and High Availability(VCS Cluster) Startup completed successfully. Press "n" to not view the summary file.
Configure two node VCS Cluster - Screenshot 16
Test the Failover configuration
Bedefault there is a servicegroup (ClusterService) configured where our Virtual IP has been configured to have high availability of the nodes (node1 and node2).

Check ifconfig to confirm the virtual ip 192.168.2.50 configured or not and check the status of the cluster using "hastatus -sum" on node1.
[root@node1 install]# hastatus -sum
-- SYSTEM STATE
-- System               State                Frozen
A  node1                RUNNING              0
A  node2                RUNNING              0
-- GROUP STATE
-- Group           System               Probed     AutoDisabled    State
B  ClusterService  node1                Y          N               ONLINE
B  ClusterService  node2                Y          N               OFFLINE
ClusterService group online and running on node1. So Virtual IP 192.168.2.50 also configured in node1. Lets switchover this service group to other node manually to test the configuration.
[root@node1 install]# hagrp -switch ClusterService -to node2
Now Virtual IP 192.168.2.50 will be configured on node2. So end users can reach to the server using this virtual IP 192.168.2.50. In case of any failures with the member nodes, VCS Cluster will take care of switch overs.

Thats all about the Initial configuration of Veritas Cluster server. In the next post, we will show you how to add service group in VCS Cluster for services with high-availability (Example: webserver, nfs servers and so on).

Thanks for reading our post. share with your friends. We appreciate your feedback, Leave your comments if any.
We have more articles to be updated soon. To not miss any updates, Follow us on social networking sites and Subscribe us on our Youtube channel.

Incoming Searches : how to setup vcs cluster nodes, how to configure two node vcs cluster, setup and configure two node vcs cluster, veritas cluster setup on linux, how to setup veritas cluster nodes, vcs setup tutorial, veritas cluster configuration step by step, veritas cluster configuration rhel7, download vcs for linux, vcs cluster configuration in linux, linux vcs, vcs in linux, vcs cluster configuration in linux
Configure two node VCS Cluster in Linux - Step by Step thumbnail Reviewed by Blog Admin on 21:34 Rating: 5

No comments:

All Rights Reserved by Learn IT Guide © 2015 - 2025.

Contact Form

Name

Email *

Message *

Powered by Blogger.