Changing the db2sshid user ID to a different user

For Db2® managed IBM Storage Scale filesystems, the non-root user ID (db2sshid) is used to establish a secure shell (SSH) network protocol between a local host and a remote host. This user ID defaults to be the instance owner, but can be changed.

Procedure

To change the db2sshid to a different user:

  1. Create the new user on every host in the IBM Storage Scale domain with the same UID and GID.
  2. Setup SSH for this new userid. To obtain and setup Open Secure Shell (OpenSSH), see Installing and setting up OpenSSH.
  3. On each host, update the configuration file db2ssh.cfg to the new user ID.
    Set the new user ID on each host:
    db2locssh set_db2sshid <newuserID>
    where <newuserID> specifies the new user ID.
    Verify the user ID is changed:
    db2locssh display_config 

Results

The db2ssh.cfg configuration file is updated to the new db2sshid user ID.