4.6 Copying a Configuration

When you want to create a configuration that is similar to an existing configuration, you can copy the existing configuration and make the required changes later.

You can copy a configuration by using either the administration console or the CLI.

Note:

The CLI examples in this section are shown in shell mode (tadm>). For information about invoking the CLI shell, see Section 2.3.1, "Accessing the Command-Line Interface."

Copying a Configuration Using the Administration Console

To copy a configuration by using the administration console, do the following:

  1. Log in to the administration console, as described in Section 2.3.2, "Accessing the Administration Console."

  2. Click the Configurations button that is situated at the upper left corner of the page.

    A list of the available configurations is displayed.

  3. Select the configuration that you want to copy.

  4. In the Common Tasks pane, click Duplicate Configuration.

  5. In the resulting dialog box, enter a name for the new configuration, and then click Duplicate

    A message is displayed confirming that the configuration was copied.

  6. Click Close.

Copying a Configuration Using the CLI

To copy a configuration, run the copy-config command.

For example, the following command copies the configuration soa.example.com to a new configuration named soa2.example.com.

tadm> copy-config --config=soa.example.com soa2.example.com
OTD-70201 Command 'copy-config' ran successfully.

For more information about copy-config, see the Oracle Traffic Director Command-Line Reference or run the command with the --help option.