Hitachi

In-Memory Data Grid Hitachi Elastic Application Data Store


10.3.1 How to start the EADS servers (creating caches in memory)

This subsection explains how to start the EADS servers and then import back into memory cache the data that was exported to the store data files during the previous session.

Organization of this subsection

(1) Start the EADS servers

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

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

(3) Import data into memory

Execute the eztool import command to import back into memory the most recent data that was exported to the store data files during the previous session.

eztool import

Command execution example

[Figure]

As shown in this example, if a store data file key is omitted, the store data file with the most recent store data file key displayed in latest by the eztool listesd command is imported automatically.

You can specify the store data file key of any store data file.

Important note

If memory was almost full when the eztool export command was executed during the previous session, a data import operation might fail due to a memory shortage the next time the eztool import command is executed. This situation occurs, for example, if the eztool export command is executed while there is a memory shortage at the server on which a redundant copy of data is being created.

If this happens, increase the eads.java.external.heapsize parameter value in the shared properties, and then re-execute the eztool import command.

(4) Verify that caches have been created

Execute the eztool listcache command to display a list of caches.

eztool listcache

Command execution example

[Figure]

Check the cache names in the CacheName column and the cache types in the CacheType column to verify that the caches have been created as intended.

(5) 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]

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