stop-failover

Syntax

stop-failover common_options --config=config_name --instance-home=instance_home

Description

If the administration node process is running as non-root on the node where the instances are located, then in some cases stop-failover must be run on those nodes as a root user. Use this command in the following cases:

  • After deleting failover groups if no other failover groups are available for the corresponding instances.

  • When you need to manually stop an instance.

Note:

stop-failover must be executed on the node as a root user.

Options

For information about common_options, run the help command.

--config|-c

Specify the name of the configuration for which you want to stop failover.

--instance-home|-i

Indicates the location where the server instances can be found.

Example

tadm stop-failover --user=admin 
--password-file=./admin.passwd --host=admin.example.com --port=8989 
--no-prompt --config=www.example.org --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.

See Also

help, create-failover-group, delete-failover-group, set-failover-group-primary, start-failover