<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
<!--ArborText, Inc., 1988-1999, v.4002-->
<!ENTITY metainfo SYSTEM "metainfo.sgm">
<!ENTITY options-common SYSTEM "options-common.sgm">
<!ENTITY synopsis-common SYSTEM "synopsis-common.sgm">
<!ENTITY % commonents SYSTEM "smancommon.ent">
%commonents;
<!ENTITY % booktitles SYSTEM "booktitles.ent">
%booktitles;
<!ENTITY Dash "&ndash;">
]>
<?Pub UDT _bookmark _target>
<?Pub EntList brvbar bull cross dash diam diams frac12 frac13 frac14 hellip
 laquo lArr loz mdash nabla ndash para pound rArr raquo sect yen ne>
<?Pub Inc>
<refentry id="delete-virtual-server-1">
<refmeta><refentrytitle>delete-virtual-server</refentrytitle><manvolnum>1
</manvolnum>&metainfo;
</refmeta>
<refnamediv><indexterm><primary sortas="delete-virtual-server "><?Pub Caret>
delete-virtual-server  &mdash; removes a virtual server</primary></indexterm>
<indexterm><primary sortas="deletes the virtual server with the named virtual server ID">
removes a virtual server &mdash; delete-virtual-server </primary></indexterm>
<refname>delete-virtual-server </refname><refpurpose>removes a virtual server
</refpurpose></refnamediv>
<refsynopsisdiv><title>&synp-tt;</title>
<cmdsynopsis><command>delete-virtual-server</command>&synopsis-common;
<arg>&Dash;&Dash;target <replaceable>server</replaceable></arg><arg choice="plain"><replaceable>
virtual_server_id</replaceable></arg>
</cmdsynopsis></refsynopsisdiv>
<refsect1><title>&desc-tt;</title>
<para>The <command>delete-virtual-server</command> command removes the virtual
server with the specified virtual server ID. This command is supported in
remote mode only.</para>
</refsect1>
<refsect1><title>&opts-tt;</title>
<variablelist termlength="medium">&options-common;
<varlistentry><term><option role="nodash">&Dash;&Dash;target</option></term>
<listitem><para>This option specifies the target from which you are deleting
the virtual server. Valid values are<itemizedlist>
<listitem><para><literal>server</literal>, which deletes the virtual server
from the default server instance <literal>server</literal> and is the default
value</para>
</listitem>
<listitem><para><replaceable>configuration_name</replaceable>, which deletes
the virtual server from the named configuration</para>
</listitem>
<listitem><para><replaceable>cluster_name</replaceable>, which deletes the
virtual server from every server instance in the cluster</para>
</listitem>
<listitem><para><replaceable>instance_name</replaceable>, which deletes the
virtual server from a particular server instance</para>
</listitem>
</itemizedlist></para>
<para>&se-ee-only;</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&oper-tt;</title>
<variablelist termlength="medium">
<varlistentry><term><replaceable>virtual_server_id</replaceable></term><listitem>
<para>The unique identifier for the virtual server to be deleted.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&exam-tt;</title>
<example>
<title>Using the delete-virtual-server command</title>
<para>The following command deletes the virtual server named <literal>sample_vs1
</literal>:</para>
<screen>asadmin> <userinput>delete-virtual-server --user admin1 
--passwordfile passwords.txt --host pigeon --port 5001 sample_vs1</userinput>
Command delete-virtual-server executed successfully.</screen>
</example>
</refsect1>
<refsect1><title>&exit-tt;</title>
<variablelist termlength="medium">
<varlistentry><term>0</term><listitem><para>command executed successfully
</para>
</listitem></varlistentry>
<varlistentry><term>1</term><listitem><para>error in executing the command
</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&also-tt;</title>
<para><link linkend="create-virtual-server-1"><citerefentry><refentrytitle>
create-virtual-server</refentrytitle><manvolnum>1</manvolnum></citerefentry></link>, <link
linkend="list-virtual-servers-1"><citerefentry><refentrytitle>list-virtual-servers
</refentrytitle><manvolnum>1</manvolnum></citerefentry></link></para>
</refsect1>
</refentry>
<?Pub *0000004135>
