Hitachi

In-Memory Data Grid Hitachi Elastic Application Data Store


11.1.3 How to add EADS servers to a cluster after stopping the cluster (using only disk caches)

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

This subsection explains how to add EADS servers to a cluster after stopping the cluster when using disk caches or two-way caches.

Organization of this subsection

(1) 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).

(2) Move cache files for all EADS servers

Move the cache files for all EADS servers to desired directories.

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.

(3) Install and set up the EADS servers to be added

Install and set up the EADS servers you want to add. For details about how to install and set up EADS servers, see 5. Installing and Setting Up (EADS Servers).

(4) Change the cluster properties

Because the number of EADS servers that make up the cluster is increasing, you must change the cluster properties.

For details about how to change the properties, see 11.4 Changing the properties.

(5) Start all EADS servers in the cluster

Log in to the host on which you plan to start the EADS server, and then execute the ezstart command to start the EADS server. You must execute this command for each EADS server.

ezstart

(6) Verify that initialization is finished

After an EADS server starts up successfully, it changes to initialized status.

Execute the eztool status command to verify that the initialization of all EADS servers is finished.

eztool status

Command execution example

[Figure]

If the initialization is finished, initialized is displayed in the State column.

(7) Relocate data

Execute the eztool importecf command to relocate data. For path-name-of-the-storage-for-cache-data-files-and-cache-index-files, specify the directory to which cache data files and cache index files were moved in 11.1.3(2) Move cache files for all EADS servers.

Important note

The following directories cannot be specified for path-name-of-the-storage-for-cache-data-files-and-cache-index-files:

  • directory-specified-in-the-eads.cache.disk.n.dir-parameter-in-the-cache-properties/cache-name

  • directory-specified-in-the-eads.cache.disk.info.dir-parameter-in-the-cache-properties/cache-name (the default is management-directory/store/cache-name)

eztool importecf path-name-of-the-storage-for-cache-data-files-and-cache-index-files

Command execution example

[Figure]

(8) Open the cluster

As is the case with closed status, in initialized status, the EADS servers do not accept requests from the EADS client. Execute the eztool open command to open the cluster.

eztool open

Command execution example

[Figure]

(9) Verify that the EADS servers have been opened

Execute the eztool status command to verify that all EADS servers have been opened.

eztool status

Command execution example

[Figure]

If the EADS servers have been opened, running is displayed in the State column.