Chapter 2. Setting up a Content Manager OnDemand instance 31
3. Create the instance by using the Create Instance for Content Manager OnDemand 
(CRTINSTOND) command. 
At a minimum, you must specify the name of the instance (which then uses system values 
and defaults for the additional parameters, such as *DFT for the PORT parameter, which 
uses port 1445). Y ou can specify additional parameters to customize the instance to meet 
your requirements. 
For example, you can specify a three-character language identifier (by using the LANGID 
parameter), which must match one of the language identifiers that are listed in Chapter 13, 
“Defining a locale”, in the IBM Content Manager OnDemand i - Planning and Installation 
Guide, SC19-2790. If you specify the LOCALE parameter, the one that you specify must be 
included in the list of valid locales that are listed in Chapter 13, “Defining a locale”, in the 
IBM Content Manager OnDemand i - Planning and Installation Guide, SC19-2790. 
If the instance is in a user auxiliary storage pool (ASP), the user ASP number (2 - 32) must 
be specified for the ASP parameter and *ASP must be specified for the ASPDEV parameter. If 
the instance is in an independent auxiliary storage pool (IASP), *ASPDEV must be specified 
for the ASP parameter and the IASP name (such as IASP2) must be specified for the 
ASPDEV parameter. 
For example, the Create instance for Content Manager OnDemand command CRTINSTOND 
INSTANCE(ONDTEST) LANGID(ENU) LOCALE('/QSYS.LIB/EN_US.LOCALE') creates an 
instance that is called ONDTEST with a server language of US English that uses TCP/IP port 
1445. 
The CRTINSTOND command performs the following actions: 
– Creates the  /CONFIG directory under /QIBM/UserData/OnDemand and the default and 
model files under /QIBM/UserData/OnDemand (if they do not exist). 
– Appends the model ARS.INI file (in /QIBM/ProdData/OnDemand/config) to the actual 
ARS.INI file (in /QIBM/UserData/OnDemand/config) and uses the name of the instance 
wherever it finds [instance] in the model file. 
– Creates the instance directory /QIBM/UserData/OnDemand/[instance]. If the instance is 
in an Independent ASP , the instance directory path is preceded by the Independent 
ASP name. For example, if the Independent ASP name is IASP, the instance directory 
is created in /IASP/QIBM/UserData/OnDemand. 
– Creates the ARS.CFG, ARS.CACHE, and ARS.DBFS files in 
/QIBM/UserData/OnDemand/[instance] and uses the name of the instance wherever it 
finds [instance] and the language identifier wherever it finds [language] in the model 
file. (The model files for these three files are in /QIBM/ProdData/OnDemand/config.) If 
the instance is in an Independent ASP , the instance directory path is preceded by the 
Independent ASP name. For example, if the Independent ASP name is IASP , the 
ARS.CFG, ARS.CACHE, and ARS.DBFS files are created in 
/IASP/QIBM/UserData/OnDemand/[instance]. 
– Creates the library and database tables for the instance. If the instance is in an IASP , 
you must set the ASP Group before you can work with files in that library. Run the Set 
ASP Group (SETASPGRP) command to set the ASP Group. 
– Creates the directories that are needed for the instance as specified in the ARS.CFG and 
ARS.CACHE files. 
– Creates a user profile with the same name as the instance, and adds that user to the 
instance as a Content Manager OnDemand system administrator. 
– Adds the user QONDADM to the instance as a Content Manager OnDemand system 
administrator.