Skip Headers
Oracle® Traffic Director Command-Line Reference
11g Release 1 (11.1.1.7)

Part Number E21037-03
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

help

Describes the command-line interface.

Syntax

The usage of the tadm command-line utility is as follows:

Syntax Notations


The following conventions are used in this document to show the syntax for command-line options:

Description

The command-line interface (CLI) enables you to configure and administer Oracle Traffic Director. Use the command-line tool tadm to execute the administration commands.

You can invoke tadm in standalone mode, shell mode, or file mode.

tadm Variables

You can also set the following tadm variables to modify the overall behavior of tadm:

Common Options

The term Common Options is used in this document, and in the CLI man pages, to represent the following options:

The following is the full list of common options.

--user|-u

Specify the user name of the authorized Oracle® Traffic Director administrator.

Note:

The --user|-u option is not mandatory for the following CLI commands:

  • configure-server

  • unconfigure-server

  • start-snmp-subagent

  • stop-snmp-subagent

The --user|-u option is not required while executing the reset-admin-password command.

  • When you use the configure-server command to create the administration server, --user|-u option specifies the log-in name for the administration server. It defaults to admin while configuring the administration server.

  • When you use the configure-server command to create an administration node, --user|-u option specifies the log-in name that should be used to connect to the administration server. This is a mandatory option while configuring the administration node.

--password-file|-w

Specify the name and the location of the password file. The password file contains the password to authenticate administrators to the administration server. Apart from the administration password, you can also specify other passwords such as bind-password, user-password, and token-pin. If you do not specify this option, you will be prompted for a password when you execute the command. You will also be prompted for password(s) if the required password(s) are not mentioned in the password file you specified.

A sample password file is as follows:

tadm_password=tadm-password
tadm_bind_password=bind-password
tadm_user_password=user-password
tadm_token_pin=token-pin
tadm_new_token_pin=new-token-password
tadm_admin_password=admin-password
tadm_<token_name>=token-pin

Note:

tadm_<token_name> is applicable only for the start-instance command. You can use tadm_<token_name> to set multiple token pins to start instances on multiple nodes.

For example, a default token named internal is configured for any instance. The entry for the default token in the password-file will be tadm_internal=88888888.

--host|-h

Specify the name of the computer on which the administration server is running. The default host is localhost.

Note:

This option is required only if you are connecting to the administration server remotely. The --host|-h option is not required while executing the reset-admin-password command.

--port|-p

Specify the SSL port number of the administration server. The default port is 8989.

Note:

The --port|-p option is not required while executing the reset-admin-password command.

  • If you are creating the administration server using the configure-server command, --port|-p option specifies the SSL port on which the administration server should listen.

  • If you are creating an administration node using the configure-server command, --port|-p option specifies the SSL port of the remote administration server with which the administration node should be registered.

--no-ssl|-N

Specify this option to use a plain text connection to communicate with the administration server. The default connection is SSL.

--rcfile|-R

Specify the name of the rcfile that must be loaded when you start tadm. The default file is ~/.tadmrc. The .tadmrc file is a TCL file that is loaded before any command is executed. You can use the long options as variables by changing the hyphen (-) in the option name to underscore (_) and prefixing it with tadm. For example:

  • --config can be set as set tadm_config config1

  • --key-type can be set as set tadm_key_type ecc

A sample rcfile is as follows:

set tadm_config sampleconfig
set tadm_password mypassword
set tadm_nodehost sample.mail.com
--echo|-e

Specify this option to print this command on the standard output before executing. This option also prints the default value for all the non-mandatory options that you do not provide in the command.

--no-prompt|-Q

If you specify this option, tadm will not prompt you for passwords while executing this command. Use this option if you have defined all passwords in a password file and specified the file using the --password-file option.

--verbose|-v

Specify this option to display a verbose output.

--command|-C

Specify the name of the commands file which contains the list of tadm commands. For more information about commands file, see the description of the file mode.

Exit Codes

The following exit codes are returned: