PSERVER  Examples
 
Used in:  Application Server Administration  
Parent elements: 
PSERVERS   VSERVER  
<PSERVER Attribute Description Table
 
     When parent element is PSERVERS and adding a Spatial Server:
     machine ="string"

     type ="add"

     When parent element is PSERVERS and deleting a Spatial Server:
     id ="string"

     machine ="string"

     type ="remove"

     When parent element is VSERVER and associating the Spatial Server to a Virtual Server:
     id ="string"

     threads ="integer"

>


     No Child Elements
</PSERVER >
Bold: 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.
 

Restrictions:

    None
 

Notes:

 

Attribute Descriptions for PSERVER:

 
When parent element is PSERVERS and adding a Spatial Server:
Attribute Usage Back to Top
machine Machine name where Spatial Server resides. Include the domain (mymachine.domain.com) if applicable.
type Use "add" to specify adding a Spatial Server.
 
When parent element is PSERVERS and deleting a Spatial Server:
Attribute Usage Back to Top
id Spatial Server name to remove such as mymachine.domain.com_5.
machine Machine name where Spatial Server resides. Include the domain (mymachine.domain.com) if applicable.
type Use "remove" to specify removing a Spatial Server.
 
When parent element is VSERVER and associating the Spatial Server to a Virtual Server:
Attribute Usage Back to Top
id Spatial Server name to add to a Virtual Server such as mymachine.domain.com_5.
threads Number of instances (or threads) to assign to the Spatial Server.
 

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) Back to Top
<?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. Back to Top
<?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>