dsmwatchd
The dsmwatchd command starts the watch daemon.
The watch daemon checks the status of the recall daemon, the monitor daemon, and the scout daemon. If any of these daemons end or become corrupted, dsmwatchd automatically recovers the failed daemon.
Valid only on GPFS™ file systems.
You must have root user authority to use this command.
Restriction: Do not use this command from the console. During installation, it is added
to /etc/inittab. The dsmwatchd command requires an IBM® Storage Scale cluster.
The dsmwatchd command
writes error messages to the /dsmerror.log. If you
want dsmwatchd to use another /dsmerror.log file,
you have the following options:
- Use the errorlogname option as a command option when you start dsmwatchd.
- Use the errorlogname option in the dsm.sys file to qualify the path and the file name in which to store information about errors that occur during processing. The value of this option overrides the DSM_LOG environment variable.
- Set the environment variable, DSM_LOG. For
example:
DSM_LOG=/usr/tivoli.tsm/client/hsm/bin/dsmerror.log - Restart the dsmwatchd daemon. When the dsmwatchd daemon
starts, it reads the new errorlogname option value or the new
DSM_LOG environment variable setting.
- On Linux® systems:
- Stop and restart the daemon with the following commands:
systemctl stop HSM systemctl start HSM - On AIX® systems:
- Stop the dsmwatchd daemon by using the command
kill -15 dsmwatchd_pid. The dsmwatchd daemon is restarted by the next init process.
You can stop the dsmwatchd daemon permanently.
- On Linux systems:
- Stop the daemon with the following command:
systemctl stop HSM. - On AIX systems:
- Remove the dsmwatchd entry from the /etc/inittab file.
Note:
- For IBM Storage Scale
AIX, set the DSM_LOG environment variable
in the
/etc/environmentfile. - For IBM Storage Scale
Linux, the
/etc/environmentfile does not exist. Use the errorlogname option.
Syntax
Parameters
- options
- –ERRORLOGName=file_path
- Specifies the path and file name of the error log file to be used by this command. Output from only this command is logged to the specified file. Other commands and daemons write output to the error log file specified by the errorlogname option in options file dsm.sys or dsm.opt, or as specified by the DSM_LOG environment variable. If any part of the path you specify does not exist, the space management client creates it.
- –Help
- Displays syntax and options for the command. Do not specify other options when you specify the help option.