PSERVER

Used in

Application Server Administration  

Parent elements

PSERVERS  VSERVER 

Syntax

<PSERVERAttribute Description Table

     When parent element is PSERVERS and adding a Spatial Server:
     (r)machine="string"
     type="add"

     When parent element is PSERVERS and deleting a Spatial Server:
     (r)id="string"
     (r)machine="string"
     type="remove"

     When parent element is VSERVER and associating the Spatial Server to a Virtual Server:
     (r)id="string"
     (r)threads="integer"
>

     No Child Elements
</PSERVER >
(r): Attribute or child element is required.

Description

Allows adding, removing, and setting the number of instances for an ArcIMS Spatial Server using the command line.

Notes


Attribute Descriptions for PSERVER


When parent element is PSERVERS and adding a Spatial Server:
AttributeUsage
machineMachine name where Spatial Server resides. Include the domain (mymachine.domain.com) if applicable.
typeUse "add" to specify adding a Spatial Server.

When parent element is PSERVERS and deleting a Spatial Server:
AttributeUsage
idSpatial Server name to remove such as mymachine.domain.com_5.
machineMachine name where Spatial Server resides. Include the domain (mymachine.domain.com) if applicable.
typeUse "remove" to specify removing a Spatial Server.

When parent element is VSERVER and associating the Spatial Server to a Virtual Server:
AttributeUsage
idSpatial Server name to add to a Virtual Server such as mymachine.domain.com_5.
threadsNumber of instances (or threads) to assign to the Spatial Server.
Back to top 

Examples for PSERVER

Example 1: When adding a new Spatial Server (PSERVER) or to associate one or more Spatial Servers with a Virtual Server (VSERVER)
<?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 Spatial 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_PSERVER


Search code: @PSERVER