Chapter 2. Setting up a Content Manager OnDemand instance 27
The cache file system must be owned by the Content Manager OnDemand instance owner. 
The permissions on these file systems are important. On AIX servers, the cache file system 
must be owned by the root user and the system group. On Linux, HP-UX, and Sun Solaris, 
these file systems must be owned by the root user and the root group. Y ou must ensure that 
no other permissions are set. On AIX, the file system permissions need to be similar to the 
following example:
drwx------ 3 root system 512 Sep 22 13:08 /arscache/cache1
ARS.DBFS
The ARS.DBFS file location is identified in the ARS.INI file. It is read when the instance is 
started. The ARS.DBFS file contains the file names in which Content Manager OnDemand can 
store table spaces, and it determines the type of table space that Content Manager 
OnDemand can create. Storing application group index data in a table space is optional, but 
recommended. We also recommend that these file systems contain only Content Manager 
OnDemand data and that each instance on the server has its own file systems on which to 
store data. In general, the more table space file systems that you define, the better the 
system performance is. When you use more than one table space file system, each table 
space file system needs the same allocated disk space.
When you use DB2 as the database, Content Manager OnDemand supports the use of 
storage management subsystem (SMS) and automatic table space. See the DB2 
documentation for the use of automatic table spaces. The use of the SMS table space allows 
the operating system to increase the size of the table space, as required, during a load 
process. 
When you create an instance that uses table space, you must create an ARS.DBFS file. We 
created the ars.dbfs file in our scenario. Each line in this file must contain the name of the file 
system and the type of table space to be stored. The naming convention of these files is 
shown:
/filesystem SMS
The name of the file system must identify the table spaces that can be created in the file 
system. For example, the following line identifies the SMS table space file system:
/arsdb/db1/SMS SMS
These file systems must be owned by the database instance owner and the group. In our 
scenario, the file system is owned by db2iadm1 and belongs to the sysadm1 group. See the 
following example for the correct permissions:
drwxrws---    4 archive db2iadm1       512 May 17 12:58 /arsdb/db1/SMS
We include the SMS in the file system name to indicate the type of data that is stored.
Creating a Content Manager OnDemand database
After the database instance is created, and all of the Content Manager OnDemand directories 
are set up with the appropriate permissions, it is time to create the Content Manager 
OnDemand database. Verify that the group to which the database instance owner (ondtest) 
belongs has write access to the database directory names that are specified in the ARS.CFG 
file. 
The arsdb command performs the following actions:
/SM590000Updates the database configuration.
/SM590000Verifies the directories for the primary and the archived log files.
/SM590000Creates a link to the database user exit program.
/SM590000Creates a backup of the database.