Examples

The following ARSMAINT examples include guidance on how to add a user ID to the stash file. For example, to add the user ID "sysadmin" to the stash file, enter the following command:

arsstash -a 1 -s stash_file -u sysadmin
where:
-a 1
Adds the user ID to the stash file.
-s stash_file
Name of the stash file.
-u sysadmin
User ID that is added to the stash file (if -u sysadmin is used on command line, then -p is not required since the password is obtained from the stash file).
  1. The following shows how to run the ARSMAINT program with options to migrate and expire files from cache storage, migrate and expire indexes from the database, optimize database index data, print statistics, and validate cache storage. These options are typical of those used to maintain a standard library/object server system (with archive storage on the library server).
        arsmaint -h ARCHIVE -u sysadmin -cdeimrsv
  2. The following shows how to run the ARSMAINT program with options to migrate and expire files from cache storage, print statistics, and validate cache storage. These options are typical of those used to maintain cache storage and archive storage on an object server that resides on a different workstation or node than the library server.
        arsmaint -h ARCHIVE -u sysadmin -cmsv