VSERVER

Used in

Application Server Administration  

Parent elements

VSERVERS 

Syntax

<VSERVERAttribute Description Table

     When adding a Virtual Server:
     (r)access="PUBLIC | PRIVATE"
     (r)name="string"
     (r)servicetype="ImageServer | FeatureServer | MetadataServer | QueryServer | ExtractServer | GeocodeServer"
     (r)version=""" | ArcMap"
     description="string"
     frequency="1 | 2 | 3 | 4 | 6 | 8 | 12 | 24" [2]
     referencehour="0 .. 23" [0]
     referenceminute="0 | 15 | 30 | 45" [0]
     type="add"

     When deleting a Virtual Server:
     (r)name="string"
     type="remove"
>

     (m)<PSERVER... />

</VSERVER >
(r): Attribute or child element is required.
(m):  Child element can be used multiple times.

Description

Allows adding and removing an ArcIMS Virtual Server using the command line.

Notes


Attribute Descriptions for VSERVER


When adding a Virtual Server:
AttributeUsage
accessSpecifies whether a Virtual Server is public or private. In general, you should use "PUBLIC" for Image, Feature, ArcMap, and Metadata Servers. You should use "PRIVATE" for Query, Geocode, and Extract Servers.
descriptionProvides a description of the Virtual Server.
frequencyNumber of times per each 24 hour period to recycle all Spatial Servers associated with this Virtual Server. Used only with Virtual Servers that are capable of recycling.
nameSpecifies the Virtual Server name.
referencehourStarting hour to begin the first recycling period each day using a 24 hour clock. "0" is midnight. Used only with Virtual Servers that are capable of recycling.
referenceminuteStarting minute to begin the first recycling period each day using a 24 hour clock. Used only with Virtual Servers that are capable of recycling.
servicetypeThe Virtual Server type: ImageServer, FeatureServer, MetadataServer, ExtractServer, GeocodeServer, QueryServer. For ArcMap Server, use "ImageServer" for this attribute.
typeUse "add" to specify adding a Virtual Server.
versionSpecifies whether an ImageServer is an ArcMap Image Server. For ArcMap Image Servers, use "ArcMap". For all other server types, use "".

When deleting a Virtual Server:
AttributeUsage
nameSpecifies the Virtual Server name.
typeUse "remove" to specify removing a Virtual Server.
Back to top 

Examples for VSERVER

Example 1: When adding a new Virtual Server. This example adds an ArcMap Image Server.
<?xml version="1.0"?>
<ADMINCMD version="1.0">
  <PSERVERS>
    <PSERVER type="add" machine="mymachine.domain.com"/>
  </PSERVERS>
  <VSERVERS>
    <VSERVER type="add"
             name="ImageServerArcMap2"
             access="Public"
             description="ImageServer ArcMap Example"
             servicetype="ImageServer"
             version="ArcMap"
             referencehour="1"
             referenceminute="0"
             frequency="2"
    >

      <PSERVER id="mymachine.domain.com_4" threads="1"/>  
      <PSERVER id="mymachine.domain.com_5" threads="1"/>
    </VSERVER>
  </VSERVERS>      
</ADMINCMD>

Example 2: When removing a Virtual Server.
<?xml version="1.0"?>
<ADMINCMD version="1.0">
  <VSERVERS>
    <VSERVER type="remove" name="ImageServerArcMap2"/>
  </VSERVERS>

  <PSERVERS>
    <PSERVER type="remove" machine="mymachine.domain.com" id="mymachine.domain.com_4"/>
    <PSERVER type="remove" machine="mymachine.domain.com" id="mymachine.domain.com_5"/>
  </PSERVERS>
</ADMINCMD>

Back to top

Search code: @arcxml_VSERVER


Search code: @VSERVER