Remove Inactive or Reserve Node

There could be a scenario where you have inactive nodes that you would like to remove from the cluster. This section guides you through the procedure to remove inactive or reserve nodes permanently from a cluster. This section will use node n0013 as an example node that will be removed from the cluster.

Prerequisites

  • The procedure requires a maintenance window of at least half an hour.
  • You need access to a user in Exasol with at least Administrator access rights.
  • If a node you want to remove is currently in use, you need to replace the active node with reserve node before you deactivate it in the database and EXAStorage. You can follow the instruction in Replace Active Node with Reserve Node section to replace the active node with the reserve node.

Exasol does not support downsizing a database. It means that if you want to remove nodes that are used as active nodes by a database instance (for example, decrease the database from 5 active nodes to 4 active nodes), database migration is needed afterward. For this use case, it is best to contact Exasol support.

Check Node State

Check the nodes to ensure that the nodes you want to delete are not in use (running state) by any database or any EXAStorage volumes. To do this:

  1. In EXAoperation, go to Services> EXASolution, and then select the database name.
  2. In the EXASolution Instance screen, check the nodes that are in Running and Reserve state.
  3. Next, under Services, select EXAStorage
  4. In the EXAStorage screen displayed, select a volume—for example, select volume - v0000.
  5. In EXAStorage Volume v0000 screen displayed, check the nodes associated with this volume.

Shut down database(s)

  1. Before you shut down the database(s), check for running operations. In EXAoperation, go to Services > EXASolution and check for running operations.
  2. Select the database instances that should be shut down and click Shutdown.
  3. Refresh the page until the status of all instances change from Running to Created.

Shut Down Storage Services

  1. In EXAoperation, go to Services > EXAStorage.
  2. Click Shutdown Storage Service.
  3. The storage service will be shut down, and the EXAStorage screen looks as follows:

Shut Down Nodes

  1. Next, you need to shutdown all nodes except for the License Node (also known as Management node and is usually n0010). To identify or change the License Node in EXAoperation, go to Services -> EXAoperation.
  2. Next, go to Configuration > Nodes. Select all the nodes and then select Shutdown from the Actions drop down list, and click Execute.
  3. The nodes will shut down, and the State/Op will change to Unknown.

Remove Node

Follow these steps to remove a single node or multiple nodes: 

  1. In EXAoperation, go to Configuration > Nodes.
  2. Select the node you want to remove and then click Delete, as shown below: 
  3. The selected node is deleted.

Reboot License Node

For the deletion of the node to take effect, you need to reboot the license node.

  1. In EXAoperation, go to Configuration > Nodes.
  2. In the License Nodes section, click Reboot.
  3. Reboot License Node

Start Up Nodes

In AWS, you can start the node using the AWS console.

  1. Login to the AWS console.
  2. Select the node(s) that you want to start.
  3. Select Actions > Instance State, and click Start.
  4. Alternately, you can run the following command to start a node.
  5. aws ec2 start-instances --instance-ids <instance-ID>

For more additional information on stopping and starting nodes in AWS, see Stop and Start Nodes.

Start Storage Service

To start the storage services, perform the following steps: 

  1. In EXAoperation, go to Services > EXAStorage.
  2. Start Storage Services

    In the EXAStorage screen, you will still see node 13 displayed with the state Unknown and the action to delete it. You will see this node here as it is not deleted from EXAStorage yet.

  3. Select the checkbox next to Delete to remove the node from EXAStorage.
  4. Click Startup Storage Service. The storage service starts up and you will see the following screen in a few minutes:
  5. Exastorage running

Start Database Instance(s)

  1. Go to Services > EXASolution. In EXASolution Instances screen, you will see the database instance with the status Created.
  2. Start Database

  3. Select the database and click Start. Once the database is up, you will see the status change as Running, and there is a green light beside the database name in the EXASolution screen. This indicates the database is accepting client connections.