RSM Startup

[This is preliminary documentation and subject to change.]

RSM performs several tasks at startup time. During some of the tasks, RSM is unavailable for commands. At other times during startup, RSM may accept commands, however, the execution of the command may be delayed while RSM completes initialization. The following steps outline the process followed by RSM during startup. It is important to note that the process is the same when the service is restarted or the computer has been restarted.

  1. Build or reconfigure the RSM database based on the current device configuration.
  2. Remove all work-items from the work queue.
  3. Start a thread to process requests for each online library in the system.
  4. Each thread checks it configuration and performs a default inventory for its library. The inventory may result work items being placed on the library's work queue.
  5. Start accepting requests.
  6. Complete the default inventory work.

Note that inventory will empty the drives if possible. If the drives are currently in use, RSM leaves the media in the drive and examines the media in the drive at a later time. Also, note that the inventory performed is the default inventory for the specified device which can be set to FULL, FAST, or NONE.