Configuring the ARSLOAD program

About this task

Note: The Content Manager OnDemand server program (ARSSOCKD or ARSOBJD in UNIX; LibSrvr or ObjSrvr in Windows) must be running, otherwise the ARSLOAD program will fail.

The ARSLOAD program is the primary Content Manager OnDemand data indexing and loading program. The ARSLOAD program determines if the input data needs to be indexed, and if so, it calls the indexing program. The ARSLOAD program then processes the index data, loading it into the database, optionally compresses the input data into storage objects, and copies the storage objects to storage volumes. See ARSLOAD for more information about the ARSLOAD program, including the parameters that you can specify to process input data.

You typically run the ARSLOAD program each time that you want to load a file or set of files into the system. You can either run the ARSLOAD program from the command line or configure it to run as a daemon (UNIX servers) or service (Windows servers) to periodically check for input data to process. To store a few files at a time, most customers choose to run the ARSLOAD program from the command line. For example:
/opt/IBM/ondemand/V10.5/bin/arsload -h ARCHIVE -u admin -n -g "Microsoft Word Documents" docx
The following parameters were specified to the ARSLOAD program:
-h ARCHIVE
The name of the Content Manager OnDemand instance.
-u admin
The name of a Content Manager OnDemand user that can add documents to the application group. This is typically a user with administrator authority for the application group.
-n
Do not delete the input files.
-g "Microsoft Word Documents"
The name of the application group to load.
docx
The name of the input file to process.

In the example, the ARSLOAD program can locate the input file DOCX.IND in the directory from which the program was started. The input file contains the index information that was created in Creating the index data (which is a parameter file for the Generic indexer). Because the full path names of the input files were not specified in the Generic index file, the input files must reside in the directory from which you start the ARSLOAD program.