Overriding session sleep values for long-running jobs

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

  1. From your Db2 server, stop your SSH service.
  2. 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
  3. Add the following properties and set keepalive values (in minutes) that meet your needs:
    ClientAliveInterval <e.g., 120>
    ClientAliveCountMax <e.g., 200>
  4. Restart your SSH service.
    Once you have added these new keepalive values
    , the correct stats of longer-running jobs should display correctly in DSM.