|Oracle® Traffic Director Command-Line Reference
11g Release 1 (22.214.171.124)
Part Number E21037-03
|PDF · Mobi · ePub|
tadm set-failover-group-primary common_options --config=config_name --virtual-ip=ip --primary-node=node
Use this command to toggle the primary and backup nodes in a failover group. If the administration node process is running as non-
root on the node where the instances are located, then you must run
start-failover on those nodes as a
root user. This is to manually toggle the nodes. If this command is not executed, the nodes will not be toggled. And, when you execute
get-failover-group-prop , the result will show the configured primary and the backup nodes, which will not be the same as the runtime primary and backup nodes.
For information about
common_options, run the help command.
Specify the name of the configuration for which you want to toggle the primary and backup nodes of a failover group.
Specify the virtual IP address of the failover group for which you want to toggle the primary and backup nodes.
Specify the primary node for the failover group. This is the existing backup node of the failover group.
tadm set-failover-group-primary --config=soa --virtual-ip=10.228.12.250 --primary-node=app2.example.com
tadm start-failover --user=admin --password-file=./admin.passwd --host=admin.example.com --port=8989 --no-prompt --config=soa --instance-home=/home/otd
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.