✅ Procedure to Refresh Daemons:
-
1. Check Active nodes in the cluster
Use the following commands to identify nodes running HSM daemons:
-
2. Verify running processes
Look for dsmwatchd, dsmrecalld, and related processes using “ps -ef” command.
[root@testnode ~]# ps –ef | grep –i dsm
root 1234 1 0 Jan01 ? 01:09:42 /opt/tivoli/tsm/client/hsm/bin/dsmwatchd nodetach
root 123456 1 0 04:22 ? 00:00:00 dsmrecalld
root 234567 123456 0 04:22 ? 00:00:00 dsmrecalld
root 345678 123456 0 04:22 ? 00:00:00 dsmrecalld
-
3. Stop recall processes if needed
Run “mmshutdown” and confirm daemon shutdown with “mmgetstate -a” commands.
[root@testnode ~]#mmshutdown
The resultant output is expected as below:
Shutting down the following quorum nodes will cause the cluster to lose quorum:
(Here we tested on the mentioned nodename in IBM lab)
Do you wish to continue [yes/no]: yes
Tue Jun 3 04:20:30 MST 2025: 6027-1341 mmshutdown: Starting force unmount of GPFS file systems
Tue Jun 3 04:20:35 MST 2025: 6027-1344 mmshutdown: Shutting down GPFS daemons
Tue Jun 3 04:20:42 MST 2025: 6027-1345 mmshutdown: Finished
[root@testnode ~]#mmgetstate -a
Please refer the Storage Scale documentation to find the details of desired results.
-
5. Observe daemon behaviour
Post-shutdown, only dsmwatchd should remain active - others exit gracefully.
[root@testnode ~]# ps –ef | grep –i dsm
root 1234 1 0 Jan01 ? 01:09:42 /opt/tivoli/tsm/client/hsm/bin/dsmwatchd nodetach
In the case of dsmrecalld / dsmmigrate daemons are still running, the below command will need to be run:
[root@testnode ~]#dsmmigfs stop
It is also recommended to stop dsmwatchd using the following command :
[root@testnode ~]#systemctl stop hsm
-
6. Restart GPFS
Use mmstartup to start the daemons and validate with mmgetstate -a.
[root@testnode ~]#mmstartup
Tue Jun 3 04:20:52 MST 2025: 6027-1642 mmstartup: Starting GPFS ...
Tip : For multiple nodes in cluster, the command may be used in the format:
mmstartup -N node_name1, node_name2
[root@testnode ~]#mmgetstate -a
Node number Node name GPFS state
----------------------------------------------------
Please refer the Storage Scale documentation to find the details of desired results.
-
7. Confirm HSM daemon recovery
After a few minutes, ps -ef should show all expected HSM processes back online.
[root@testnode ~]# ps –ef | grep –i dsm
Root 1234 1 0 Jan01 ? 01:09:42 /opt/tivoli/tsm/client/hsm/bin/dsmwatchd nodetach
Root 123456 1 0 05:00 ? 00:00:00 dsmrecalld
Root 234567 123456 0 05:00 ? 00:00:00 dsmrecalld
Root 345678 123456 0 05:00 ? 00:00:00 dsmrecalld
If dsmwatchd is not running, use the following command to start it:
[root@testnode ~]#systemctl start hsm
Start the recall and migration processes using the following command:
[root@testnode ~]#dsmmigfs start