cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
401
Views
0
Helpful
9
Replies

merge two different clusters into one

master_ds
Level 1
Level 1

I have 2 C300vs, each with its own cluster created. How can we now combine these two devices into one cluster? I can’t find the “delete cluster” command so that the original “create a cluster/connect to an existing cluster” menu appears again

1 Accepted Solution

Accepted Solutions

"You are now adding ESA2 to another cluster." - you cannot do this because the custerconfig command does not open the "Join Cluster" commands but opens the settings of the existing Cluster B.

 

   I solved this problem using the reset configuration command - this helped to completely remove cluster B and only after that the clusterconfig command would display commands for creating a new cluster or connecting to an existing cluster.

View solution in original post

9 Replies 9

Can't really merge them, but you can remove two from a cluster and then add to the other.

On one cluster, in the cli

CLUSTERMODE CLUSTER
CLUSTERCONFIG
REMOVEMACHINE

Remove both machines...

Then add them to the other cluster...


"...Then add them to the other cluster..." -  How is this possible? How to get the initial menu where the actions “create a new cluster/connect to an existing cluster” are indicated?  

370.lab> clustering

 

Do you want to join or create a cluster?

1. No, configure as standalone.

2. Create a new cluster.

3. Join an existing cluster over SSH.

4. Join an existing cluster over

since clusters have already been created on both devices, this menu no longer exists, instead the menu of the previously created cluster appears: Cluster test)> clusterconfig

 

 Cluster test

 

 Choose the operation you want to perform:

 - ADDGROUP - Add a cluster group.

 - SETGROUP - Set the group that machines are a member of.

 - RENAMEGROUP - Rename a cluster group.

 - DELETEGROUP - Remove a cluster group.

 - REMOVEMACHINE - Remove a machine from the cluster.

 - SETNAME - Set the cluster name.

 - LIST - List the machines in the cluster.

 - CONNSTATUS - Show the status of connections between machines in the cluster.

 - COMMUNICATION - Configure how machines communicate within the cluster.

 - DISCONNECT - Temporarily detach machines from the cluster.

 - RECONNECT - Restore connections with machines that were previously detached.

 - PREPJOIN - Prepare the addition of a new machine over CCS.

 []>

After creating a cluster on each device, there is no initial menu with options to create a new cluster or add to an existing cluster: C370.lab> clusterconfig

Do you want to join or create a cluster?

1. No, configure as standalone.

2. Create a new cluster.

3. Join an existing cluster over SSH.

4. Join an existing cluster over CCS.

 

 

Instead, the clusterconfig command displays the settings of an existing cluster: Cluster test)> clusterconfig

Cluster test

Choose the operation you want to perform:
- ADDGROUP - Add a cluster group.
- SETGROUP - Set the group that machines are a member of.
- RENAMEGROUP - Rename a cluster group.
- DELETEGROUP - Remove a cluster group.
- REMOVEMACHINE - Remove a machine from the cluster.
- SETNAME - Set the cluster name.
- LIST - List the machines in the cluster.
- CONNSTATUS - Show the status of connections between machines in the cluster.
- COMMUNICATION - Configure how machines communicate within the cluster.
- DISCONNECT - Temporarily detach machines from the cluster.
- RECONNECT - Restore connections with machines that were previously detached.
- PREPJOIN - Prepare the addition of a new machine over CCS.
[]> prepjoin

Assuming the following:
Cluster A
Esa1
Esa2

Cluster B
Esa3
Esa4


Did you run clusterconfig removemachine on esa3, and remove esa3 and esa4 from their cluster?

At that point you should be able to add them to Cluster A.




Can you write what commands need to be entered? I'm telling you that in the clusterconfig menu there is now no function to add to an existing cluster or create a new cluster. When you write to add to the cluster, please indicate which command to do this with?

I've bolded the commands to run on ESA2

 

(Cluster TestCluster)> clusterconfig

Cluster TestCluster

Choose the operation you want to perform:
- ADDGROUP - Add a cluster group.
- SETGROUP - Set the group that machines are a member of.
- RENAMEGROUP - Rename a cluster group.
- DELETEGROUP - Remove a cluster group.
- REMOVEMACHINE - Remove a machine from the cluster.
- SETNAME - Set the cluster name.
- LIST - List the machines in the cluster.
- CONNSTATUS - Show the status of connections between machines in the cluster.
- COMMUNICATION - Configure how machines communicate within the cluster.
- DISCONNECT - Temporarily detach machines from the cluster.
- RECONNECT - Restore connections with machines that were previously detached.
- PREPJOIN - Prepare the addition of a new machine over CCS.
[]> removemachine

Choose the machine to remove from the cluster.
1. esabeta1.opus.corp.root (group Main_Group)
[1]> 1<enter>

Warning:
- This is the last machine in the cluster. Removing it from the cluster will
destroy the cluster.
- This change will happen immediately without a commit.
Are you sure you want to continue? [N]> y

 

Now you add ESA2 to the other cluster.   when you join it to the other cluster it will take on that clusters policies/security config, etc.  

"You are now adding ESA2 to another cluster." - you cannot do this because the custerconfig command does not open the "Join Cluster" commands but opens the settings of the existing Cluster B.

 

   I solved this problem using the reset configuration command - this helped to completely remove cluster B and only after that the clusterconfig command would display commands for creating a new cluster or connecting to an existing cluster.

The scheme is like this.

Cluster A
Esa1


Cluster B
Esa2

On cluster B, I remove the Esa2 machine from the cluster, but since this is one device and this cluster B was created on it, it remains on this device, right?
I cannot call the following menu in Esa2 (according to the guide):

"....370.lab> clustering
Do you want to join or create a cluster?
1. No, configure as standalone.
2. Create a new cluster.
3. Join an existing cluster over SSH.
4. Join an existing cluster over
...."

Instead, the following is now displayed on Esa2:
Cluster B )> clusterconfig

Cluster B

Choose the operation you want to perform:
- ADDGROUP - Add a cluster group.
- SETGROUP - Set the group that machines are a member of.
- RENAMEGROUP - Rename a cluster group.
- DELETEGROUP - Remove a cluster group.
- REMOVEMACHINE - Remove a machine from the cluster.
- SETNAME - Set the cluster name.
- LIST - List the machines in the cluster.
- CONNSTATUS - Show the status of connections between machines in the cluster.
- COMMUNICATION - Configure how machines communicate within the cluster.
- DISCONNECT - Temporarily detach machines from the cluster.
- RECONNECT - Restore connections with machines that were previously detached.
- PREPJOIN - Prepare the addition of a new machine over CCS.

How now to add ESA2 to cluster A?

master_ds
Level 1
Level 1

how to get this wizard? : C370.lab> clusterconfig

Do you want to join or create a cluster?

1. No, configure as standalone.

2. Create a new cluster.

3. Join an existing cluster over SSH.

4. Join an existing cluster over CCS.

 

One of the devices already has a cluster created on it. This menu is no longer displayed. I'm afraid that resetting the settings to factory settings won't help either? Is a complete reimage really required?