Hitachi

In-Memory Data Grid Hitachi Elastic Application Data Store


14.3.26 importecf (relocates persistent data)

This subsection is applicable when you are using disk caches or two-way caches.

Organization of this subsection

(1) Description

This subcommand relocates persistent data by importing (put) data from cache data files and cache index files located in a specified directory.

When you add EADS servers to the cluster, delete EADS servers from the cluster, or change the multiplicity and size of data, you can use this subcommand to relocate data from cache data files.

(2) Rules

(3) Format

eztool importecf [--convertid EADS-server-ID-conversion-rule]
                path-name-of-storage-for-cache-data-files-and-cache-index-files

(4) Options and arguments

(a) --convertid EADS-server-ID-conversion-rule

Specify this option if you have grouped keys by specifying the EADS server IDs of the storage locations (EADS server ID specified groups are used) and you want to convert the specified EADS server IDs to other EADS server IDs and import the data.

Specify each EADS server ID conversion rule in the following format:

source-EADS-server-ID>target-EADS-server-ID

For the source EADS server ID and the target EADS server ID, you can specify an integer in the range from 1 to 96 (a two-digit integer beginning with zero, such as 01 and 02, cannot be specified).

The target EADS server ID must differ from the source EADS server ID.

If you specify multiple EADS server ID conversion rules, delimit them with the comma. When multiple EADS server ID conversion rules are specified, the order in which the rules are specified has no effect on the priority. Note that the same source EADS server ID cannot be specified more than once.

The following characters and character strings are ignored:

  • Comma specified at the beginning or at the end

    Example: --convertid ,1>2,

  • Null character string delimited by commas or a character string consisting only of spaces that is delimited by commas

    Example: --convertid 1>2,, ,

(b) path-name-of-storage-for-cache-data-files-and-cache-index-files

This option specifies the path name of the storage location for the cache data files and cache index files that you want to import.

The path name cannot be a directory that contains an asterisk (*), double quotation mark ("), question mark (?), vertical bar (|), less-than sign (<), or greater-than sign (>).

If a relative path is specified as the path of the cache data file and cache index file storage location, it is treated as being relative to the management directory.

(5) Return code

The following table lists the return codes that this subcommand returns.

Table 14‒52: Return codes returned by the eztool importecf command

No.

Return code

Description

eads.command.compat parameter omitted in the command properties

0300 specified in the eads.command.compat parameter in the command properties

1

0

0

Command execution was successful.

2

101

101

Initialization of the command failed.

3

110

Connection establishment failed.

4

111

The command failed due to a communication timeout.

5

120

The command failed due to a syntax error.

6

130

The command failed because it could not be executed.

7

131

The command failed because another command was executing.

8

150

The command failed during execution.

9

200

The command failed due to a timeout.

(6) Notes