start-instance

Syntax

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

Description

Use this command to start one or more instances of a configuration. When you execute start-instance, if the administration node process is running as non-root on the node where the instances are located, then it will start the instance, but it will not start the failover. In order to manually start the failover, you must run start-failover on those nodes as a root user.

Options

For information about common_options, run the help command.

--config|-c

Specify the configuration for which you want to start instances.

Operands

node-host

Specify the name of the node running on the configuration. If you do not specify any node, all instances of the configuration are started. If you run this command when one or more instances are already running, an error is displayed.

Example

tadm start-instance --user=admin --password-file=./admin.passwd --host=admin.example.com --port=8989 --no-prompt 
--config=soa serverhost
tadm start-failover --user=admin 
--password-file=./admin.passwd --host=admin.example.com --port=8989 
--no-prompt --config=soa --instance-home=/home/otd

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.