Hitachi

In-Memory Data Grid Hitachi Elastic Application Data Store


14.2.2 ezserver (starts an EADS server in the foreground)

Organization of this subsection

(1) Description

This command starts an EADS server in the foreground.

(2) Rules

(3) Format

ezserver [-h]
         [-r|-ai EADS-server-ID|-ap EADS-server-location-(hash-value)]
         [-rd port-number suspend-method]

(4) Options and arguments

(a) -h or --help

Specify this option to display the command's usage.

When this option is specified, any other options that are specified are ignored.

(b) -r or --recovery

Specify this option to restore a stopped EADS server into the cluster and set its cluster participation status to online.

(c) -ai EADS-server-ID or --add_id EADS-server-ID

Specify this option if you want to add a new EADS server to a specific range in the existing cluster configuration. Specify in this option the EADS server ID of the EADS server that currently manages the range into which the new EADS server is to be added.

An EADS server ID is an integer in the range from 1 to 96.

The new EADS server will be placed at the midpoint between the two EADS servers (hash values) adjacent to where the new EADS server will be located on the consistent hashing circumference. The smallest integer in the range from 1 to 96 that has not been assigned to any existing EADS servers is assigned as the new EADS server's EADS server ID.

If none of the EADS servers in the cluster has the specified EADS server ID, an error results. An error also results if the cluster contains an isolated or stopped (-----------) EADS server when the command with this option specified is executed.

(d) -ap EADS-server-location-(hash-value) or --add_position EADS-server-location-(hash-value)

Specify this option if you want to add a new EADS server at a specific location (hash value) in the existing cluster configuration. Specify in this option the location (hash value) at which the new EADS server is to be added.

For the location (hash value), you can specify an integer in the range from -2147483648 to 2147483647.

The smallest integer in the range from 1 to 96 that has not been assigned to any existing EADS server is assigned as the new EADS server's EADS server ID.

If the specified location (hash value) is already occupied by an existing EADS server, an error results. An error also results if the cluster contains an isolated or stopped (-----------) EADS server when the command with this option specified is executed.

(e) -rd port-number suspend-method or --remotedebug port-number suspend-method

This option is used to remotely debug user functions by using a debugger application. Do not use this option in a production environment.

Use this option to start the EADS server with the following java options specified:

-agentlib:jdwp=transport=dt_socket,server=y,suspend=suspend-method,address=port-number

For the port number (used by the EADS server to connect to the debugger application), you can specify an integer in the range from 1024 to 65535.

If the EADS server is to be started after it has been connected with the debugger application, specify y for suspend-method. If the EADS server is to be started without waiting to be connected with the debugger application, specify n for suspend-method.

(5) Return code

0: Normal termination

Other than 0: Error

(6) Notes