Removes a virtual server.
Synopsis
asadmin [asadmin-options] delete-virtual-server [--help]
[--target target] virtual-server-idDescription
The delete-virtual-server subcommand removes the virtual server with the specified virtual server ID. This subcommand is supported in remote mode only.
Options
- asadmin-options
- 
Options for the asadminutility. For information about these options, see theasadminhelp page.
- --help
- -?
- 
Displays the help text for the subcommand. 
- --target
- 
Deletes the virtual server only from the specified target. Valid values are as follows: - server
- 
Deletes the virtual server from the default server instance. This is the default value. 
- configuration-name
- 
Deletes the virtual server from the specified configuration. 
- cluster-name
- 
Deletes the virtual server from all server instances in the specified cluster. 
- standalone-instance-name
- 
Deletes the virtual server from the specified standalone server instance. 
 
Examples
Example 1 Deleting a Virtual Server
The following command deletes the virtual server named sample_vs1:
asadmin> delete-virtual-server sample_vs1
Command delete-virtual-server executed successfully.