34 IBM Content Manager OnDemand Guide
Starting the servers 
Servers are started by running STRTCPSVR *ONDMD. The INSTANCE parameter of the STRTCPSVR 
*ONDMD command supports the special values of *DFT, *ALL, and *AUTOSTART, and the 
specification of the name of an instance. (An instance is set to autostart if the ars.cfg file for 
that instance contains ARS_AUTOSTART_INSTANCE=1.) The default value for the INSTANCE 
parameter is *DFT. Y ou can also create a data area that is named STRTCPSVR to further control 
the behavior of the STRTCPSVR command. For more information about the data area, see the 
IBM Content Manager OnDemand for i - Common Server Administration Guide, SC19-2792.
Without the STRTCPSVR data area, the values of *DFT and *AUTOSTART work identically. All 
instances that are set to autostart are started. Use the special value *ALL to start all of the 
instances that are configured on the system. Y ou can also specify the name of a single 
instance to start, for example: 
STRTCPSVR SERVER(*ONDMD) INSTANCE(ONDTEST)
With the data area, the value of *DFT starts only the instance that is named in the data area. 
The data area must be named STRTCPSVR and in library QUSRRDARS. The data area must be of 
the type character with a length of 10. To create the data area, run the following command (all 
as one command): 
CRTDTAARA DTAARA(QUSRRDARS/STRTCPSVR) TYPE(*CHAR) LEN(10) VALUE(QUSROND) 
TEXT('Autostart instance name for STRTCPSVR *ONDMD *DFT') 
QUSROND is the name of the instance to start. 
The special values *ALL and *AUTOSTART work the same with the data area as without the data 
area. 
To determine the instances that are started when STRTCPSVR SERVER(*ONDMD) 
INSTANCE(*AUTOSTART) is run, you can look for the ARS_AUTOSTART_INSTANCE=1 in the ARS.CFG 
file. However, an easier way is available so that you do not need to check the ARS.CFG file for 
every instance. 
Run grep in Qshell to search the contents of all of the ARS.CFG files for the string 
ARS_AUTOSTART_INSTANCE=1, for example: 
$ 
grep -n 'ARS_AUTOSTART_INSTANCE=1' /qibm/userdata/ondemand/*/ars.cfg 
/qibm/userdata/ondemand/ONDDEMO/ars.cfg:53:ARS_AUTOSTART_INSTANCE=1 
/qibm/userdata/ondemand/ONDDEU/ars.cfg:53:ARS_AUTOSTART_INSTANCE=1 
/qibm/userdata/ondemand/ONDENU/ars.cfg:53:ARS_AUTOSTART_INSTANCE=1 
/qibm/userdata/ondemand/QUSROND/ars.cfg:53:ARS_AUTOSTART_INSTANCE=1 
$ 
From the last four detail lines, which are the output of the grep command, you can determine 
that instances ONDDEMO, ONDDEU, ONDENU, and QUSROND are started when the STRTCPSVR 
SERVER(*ONDMD) INSTANCE(*AUTOSTART) command is run. 
Table 2-1 on page 35 summarizes the behavior of the STRTCPSVR command with and without 
the STRTCPSVR data area.