Logs for HSM activity and error messages

The space management client logs HSM activity and error messages. An HSM log contains information about file migration and recall, threshold migration, reconciliation, and starting and stopping the HSM daemon. An error log records error messages.

Logs for HSM activity

You can analyze an HSM log to determine the current state of the system. For instance, the HSM logs can indicate when a recall starts but does not finish within the last hour. The administrator can analyze a particular recall and react appropriately.

In addition, an administrator might analyze an HSM log to optimize HSM usage. For example, if the HSM log indicates that 1000 files are recalled at the same time, the administrator can analyze the log records. The administrator might suggest that the files can be first compressed into an archive file and then migrated.

To configure the HSM log file, set the following options in the dsm.sys file:
  • hsmlogeventflags
  • hsmlogmax
  • hsmlogname
  • hsmlogretention
  • hsmlogsampleinterval
You can briefly change the HSM log file name if you specify the logname parameter for the following commands. The new log captures the results of only the operation that was started by the command.
  • dsmmigrate
  • dsmrecall
  • dsmmigundelete
  • dsmmigfs
  • dsmdf
Daemons and commands that do not specify the logname parameter write log entries as follows:
  • Log entries are written to the file specified with the hsmlogname option in the dsm.sys options file.
  • If hsmlogname is not specified, log entries are written to the default log file.

Logs for error messages

To configure the error log file, set the following options in the dsm.sys file:
  • errorlogmax
  • errorlogname
  • errorlogretention

You can briefly change the error log file name if you specify the errorlogname parameter on any space management client command. The new log captures the errors of only the operation that was started by the command.