Hitachi

In-Memory Data Grid Hitachi Elastic Application Data Store


14.3.27 deleteecf (deletes cache files)

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

Organization of this subsection

(1) Description

This subcommand deletes the cache files for a specified cache.

When this subcommand is executed, the following cache files are deleted in accordance with parameters specified in the cache property file on each EADS server:

The following directories are also deleted if they are empty after the cache files have been deleted:

(2) Rules

(3) Format

eztool deleteecf cache-name [-l]

(4) Options and arguments

(a) cache-name

This option specifies the cache name for the cache files to be deleted.

Specify the cache name as a maximum of 32 single-byte alphanumeric characters (0 to 9, A to Z, a to z).

(b) -l or --local

Specify this option if you want to delete the cache files only on the EADS server on which the command is executed.

For example, specify this option when a system in which data was updated and deleted frequently has become isolated and you want to delete cache files that are not needed for restoration before performing restoration in order to reduce the time required for importing data.

When this option is specified, the cache files are deleted only if the target EADS server is stopped. The cache files are not deleted while the target EADS server is running.

(5) Return code

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

Table 14‒53: Return codes returned by the eztool deleteecf 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