asadmin [asadmin-options] delete-virtual-server [--help]
[--target target] virtual-server-id
delete-virtual-server DRAFT |
Previous | Next | Contents |
removes a virtual server
Synopsis
asadmin [asadmin-options] delete-virtual-server [--help]
[--target target] virtual-server-id
Description
The delete-virtual-server
subcommand removes the virtual server with
the specified virtual server ID. This subcommand is supported in remote
mode only.
Options
Options for the asadmin
utility. For information about these
options, see the asadmin
(1M) help 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.
Deletes the virtual server from the specified configuration.
Deletes the virtual server from all server instances in the specified cluster.
Deletes the virtual server from the specified standalone server instance.
Operands
The unique identifier for the virtual server to be deleted.
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.
Exit Status
command executed successfully
error in executing the command
See Also
Previous | Next | Contents |
DRAFT