When monitoring scheduled jobs with IBM® Data
Server Manager (DSM) that run
longer than one hour, you may get false Running statuses displayed, even when the jobs have
successfully completed.
About this task
You can correct this issue by adding keepalive values, found in the sshd_config
file of your Db2® SSH
server.
Procedure
-
From your Db2
server, stop your SSH service.
-
Locate and open the sshd_config file on your SSH server: The locations are different
for Windows and Linux/UNIX machines.
- On Windows machines, go to %ALLUSERSPROFILE%\Application
Data\IBM\IBMSSH\etc\sshd_config,
where %ALLUSERSPROFILE% is the
Windows-provided environment variable that can be displayed by using the set ALLUSERSPROFILE
command.
- On Linux/UNIX machines, go to /etc/ssh/sshd_config
-
Add the following properties and set keepalive values (in minutes) that meet your
needs:
ClientAliveInterval <e.g.,
120>
ClientAliveCountMax <e.g., 200>
-
Restart your SSH service.
Once you have added these new keepalive values
, the correct stats of longer-running jobs should display correctly in DSM.