Oracle® Traffic Director Administrator's Guide 11g Release 1 (11.1.1.7.0) Part Number E21036-04 |
|
|
PDF · Mobi · ePub |
You can copy a virtual server by using either the administration console or the CLI.
Note:
When you copy a virtual server, you are, in effect, modifying a configuration. So for the new virtual server to take effect in the Oracle Traffic Director instances, you should redeploy the configuration as described in Section 4.3, "Deploying a Configuration."
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 Virtual Server Using the Administration Console
To copy a virtual server by using the administration console, do the following:
Log in to the administration console, as described in Section 2.3.2, "Accessing the Administration Console."
Click the Configurations button that is situated at the upper left corner of the page.
A list of the available configurations is displayed.
Select the configuration for which you want to copy virtual servers.
In the navigation pane, select Virtual Servers.
The Virtual Servers page is displayed. It shows a list of the virtual servers defined for the configuration.
Click the Duplicate icon for the virtual server that you want to copy.
The Duplicate Virtual Server dialog box is displayed.
Enter a name for the new virtual server, and click Duplicate.
A message is displayed confirming that the new virtual server was created.
Click Close.
The virtual server that you just created is displayed on the Virtual Servers page.
In addition, the Deployment Pending message is displayed at the top of the main pane. You can either deploy the updated configuration immediately by clicking Deploy Changes, or you can do so later after making further changes, as described in Section 4.3, "Deploying a Configuration."
Copying a Virtual Server Using the CLI
To copy a virtual server, run the copy-virtual-server
command.
For example, the following command creates a copy (vs2
) of the virtual server vs1
.
tadm> copy-virtual-server --config=soa --vs=vs1 vs2OTD-70201 Command 'copy-virtual-server' ran successfully.
For the updated configuration to take effect, you should deploy it to the Oracle Traffic Director instances by using the deploy-config
command.
For more information about copy-virtual-server
, see the Oracle Traffic Director Command-Line Reference or run the command with the --help
option.