restart-hazelcast

Restarts the Data Grid/Hazelcast in an specific target.

Synopsis

asadmin [asadmin-options] restart-hazelcast
[--help]
[--target target]

Description

This command can be used to restart the Data Grid/Hazelcast subsystem in the specified target.

Options

asadmin-options

Options for the asadmin utility. For information about these options, see the asadmin help page.

--help
-?

Displays the help text for the subcommand.

--target

This option helps specify the target on which you are restarting its corresponding Hazelcast member. Valid values are:

server

Applies to the default server instance. This is the default value.

instance_name

Applies to a specified server instance.

Examples

Example 1 Restarts the Data Grid/Hazelcast

This example restarts the Data Grid/Hazelcast with instance1 as its target.

asadmin> restart-hazelcast --target instance1
instance1:
Hazelcast Restarted

Command restart-hazelcast executed successfully.