Hitachi

In-Memory Data Grid Hitachi Elastic Application Data Store


11.2.2 How to delete EADS servers from a cluster (using disk caches)

This subsection is applicable when you will be using disk caches and two-way caches.

This subsection explains how to delete EADS servers from a cluster when disk caches or two-way caches are used.

Organization of this subsection

(1) Check the data distribution among the ranges

Execute the eztool storeusage --replica command to check the distribution of the data among the ranges.

eztool storeusage --replica

Command execution example

[Figure]

Based on the execution results of the eztool storeusage --replica command, determine the ranges from which EADS servers need to be deleted.

(2) Terminate all EADS servers in the cluster

Terminate all EADS servers in the cluster.

For details about this procedure, see 10.6 Terminating the EADS servers (terminating caches on disk).

(3) Change the cluster properties

Because the number of EADS servers making up the cluster is to be decreased, you must change the cluster properties.

Delete from the cluster property files for all the EADS servers the following parameters for each EADS server that will be deleted:

(4) Move the cache files of the EADS servers

Move to desired directories the cache files for all EADS servers except the EADS servers that are to be deleted.

For each server, move all files under the following directories (copy all files under the following directories and then delete the source files):

Make sure that the paths of the target directories are identical on all the EADS servers.

(5) Back up the cache files of the EADS servers to be deleted

Back up the cache files of the EADS servers to be deleted to the directories to which the cache files of one of the other EADS servers were moved in 11.2.2(4) Move the cache files of the EADS servers.

Move all files under the following directories of the EADS servers to be deleted:

(6) Start all EADS servers in the cluster (relocate data)

Relocate data after all EADS servers in the cluster have started.

For details about this procedure, see 11.1.3(5) Start all EADS servers in the cluster through 11.1.3(9) Verify that the EADS servers have been opened.