<VSERVER | Attribute Description Table |
When adding a Virtual Server: (r)access="PUBLIC | PRIVATE" (r)name="string" (r)servicetype="ImageServer | FeatureServer | MetadataServer | QueryServer | ExtractServer | GeocodeServer" (r)version="[blank]" 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. |
Attribute | Usage |
---|---|
access | Specifies whether a Virtual Server is public or private. In general, you should use "PUBLIC" for Image, Feature, and Metadata Servers. You should use "PRIVATE" for Query, Geocode, and Extract Servers. |
description | Provides a description of the Virtual Server. |
frequency | Number 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. |
name | Specifies the Virtual Server name. |
referencehour | Starting 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. |
referenceminute | Starting minute to begin the first recycling period each day using a 24 hour clock. Used only with Virtual Servers that are capable of recycling. |
servicetype | The Virtual Server type: ImageServer, FeatureServer, MetadataServer, ExtractServer, GeocodeServer, QueryServer. |
type | Use "add" to specify adding a Virtual Server. |
version | For all server types, use "". |
Attribute | Usage |
---|---|
name | Specifies the Virtual Server name. |
type | Use "remove" to specify removing a Virtual Server. |
<?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> |
<?xml version="1.0"?> <ADMINCMD version="1.0"> <VSERVERS> <VSERVER type="remove" name="ImageServer2"/> </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> |