cancel
Showing results for 
Search instead for 
Did you mean: 

How to reduce a cluster to single node?

geoff_H
Not applicable

We have what used to be a two node cluster running now with just one server.  The application is behind a load balancer, and if the single node goes away, we're fine. The other server has been repurposed.  The problem I have is that the server runs fine, and shows the old cluster partner as "Exited".  However, if this one has issues, it gets wrapped around the axle until we manually intervene. 

Since the applications and interfaces are all manged by VCS, I want to keep VCS involved, just tell it that we are now a single node cluster.

What files would have to change, or commands to run, to make this cluster forget about the other server?

1 ACCEPTED SOLUTION

Accepted Solutions

g_lee
Level 6

While the steps above will work, you may also want to take a look at the "Removing a node from a cluster" section in the VCS Installation guide to get a better idea of what's involved / if there are any other considerations.

eg: for VCS 5.1 on Solaris: https://sort.symantec.com/public/documents/sf/5.1/solaris/pdf/vcs_install.pdf (p365)

If you're using a different version/platform, go to https://sort.symantec.com/documents and select the relevant Product guides for your version/platform.

View solution in original post

2 REPLIES 2

Yasuhisa_Ishika
Level 6
Partner Accredited Certified

A.  Leave LLT and GAB modules loaded in kernel but configured without any other nodes

1) stop HAD if running
# hastop -all -force

2) stop GAB and LLT
# /etc/init.d/gab stop
# /etc/init.d/llt stop

3) edit /etc/gabtab
# vi /etc/gabtab
# cat /etc/gabtab
/sbin/gabconfig -c -n1
#

4) edit /etc/VRTSvcs/conf/config/main.cf, and remove items relevant to decommissioning nodes.

5) verify main.cf
# hacf -verify /etc/VRTSvcs/conf/config

6) start HAD
# hastart

B. Stop LLT and GAB, then start HAD in "one node" mode

1) stop HAD if running
# hastop -all -force

2) stop GAB and LLT
# /etc/init.d/gab stop
# /etc/init.d/llt stop

3) remove /etc/llttab, /etc/llthosts, and /etc/gabtab
# rm /etc/llttab /etc/llthosts /etc/gabtab

4) edit /etc/VRTSvcs/conf/config/main.cf, and remove items relevant to decommissioning nodes.

5) verify main.cf
# hacf -verify /etc/VRTSvcs/conf/config

6) start HAD
# hastart -onenode

g_lee
Level 6

While the steps above will work, you may also want to take a look at the "Removing a node from a cluster" section in the VCS Installation guide to get a better idea of what's involved / if there are any other considerations.

eg: for VCS 5.1 on Solaris: https://sort.symantec.com/public/documents/sf/5.1/solaris/pdf/vcs_install.pdf (p365)

If you're using a different version/platform, go to https://sort.symantec.com/documents and select the relevant Product guides for your version/platform.