The remote delete-virtual-server command enables you to delete an existing virtual server.
Ensure that the server is running.
Remote commands require a running server.
Obtain the exact name of the virtual server that you are deleting.
To list the existing virtual servers:
asadmin list-virtual-servers |
If necessary, notify users that the virtual server is being deleted.
Delete a virtual server by using the delete-virtual-server(1) command.
To apply your changes, restart Enterprise Server.
Stop Enterprise Server.
For instructions, see To Stop a Domain (or Server).
Start Enterprise Server.
For instructions, see To Start a Domain (or Server).
The following example command deletes the virtual server named sampleServer from localhost:
asadmin delete-virtual-server sampleServer |
Information similar to the following is displayed:
Command delete-virtual-server executed successfully. |
To see the full syntax and options of the command, type asadmin delete-virutal-server --help at the command line.