restart-instance

Syntax

tadm restart-instance common_options --config=config_name (node_host)*

Description

Use this command to restart one or more instances of a configuration.

Options

For information about common_options, run the help command.

--config|-c

Specify the configuration for which you want to restart instances.

Operands

node-host

Specify the host name of the node (or nodes) on which the instance that you want to restart is running. When specifying multiple nodes, separate the host names by spaces. If no nodes are specified, all instances running on the specified configuration are restarted. If the instance on any node is not running, this command will display an error.

Example

tadm restart-instance --user=admin 
--password-file=./admin.passwd --host=admin.example.com 
--port=8989 --no-prompt --config=www.example.org serverhost

Exit Codes

The following exit values are returned:

0: command executed successfully

>0: error in executing the command

For more information about exit codes and syntax notations, run the help command.

See Also

help, create-instance, delete-instance, list-instances, start-instance, stop-instance, list-nodes