PSERVERS

Used in

Application Server Administration  

Parent elements

ADMINCMD 

Syntax

<PSERVERS >
     No Attributes

     (m)<PSERVER... />

</PSERVERS >
(m):  Child element can be used multiple times.

Description

Main element for administering ArcIMS Spatial Servers (PSERVERS) from the command line. 

Examples for PSERVERS

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">
<!--Add two new Spatial Servers-->
<PSERVERS>
      <PSERVER type="add" machine="mymachine"/>
      <PSERVER type="add" machine="mymachine"/>
</PSERVERS>
<!--Create a new Image Server-->
<VSERVERS>
      <VSERVER type="add" name="ImageServer2" access="Public" description="ImageServer Example" servicetype="ImageServer" version="" >
            <!--Associate the new Spatial Servers to the new Image Server-->
            <PSERVER id="mymachine_4" threads="2"/>
            <PSERVER id="mymachine_5" threads="2"/>
      </VSERVER>
</VSERVERS>

<!--Add and start an Image Service-->


<SERVICES>

<SERVICE type="add" name="world_image" axl="c:\arcims\axl\myworldservice.axl" vsname="ImageServer2" imgloc="c:\arcims\output" imgurl="http://mymachine.domain.com/output" imagememory="4" cleanup="20" imgtype="GIF" />
<SERVICE type="start" name="world_image" />
</SERVICES>


</ADMINCMD>

Back to top