Re-adding a deleted db2sshid user ID

For Db2® managed IBM Spectrum 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. If accidentally deleted on one or more hosts, the user ID must be recreated on all hosts where it was deleted.

Procedure

To re-add a deleted db2sshid user ID on a host:

  1. Recreate the user ID with the same UID and GID as they exist on the other hosts in the IBM Spectrum Scale domain.
  2. Setup SSH for this new userid. To obtain and setup Open Secure Shell (OpenSSH), see Installing and setting up OpenSSH
  3. Update the db2sshid user ID setting in the db2ssh.cfg configuration file:
    db2locssh set_db2sshid <db2sshID>
    where <db2sshID> is the db2sshid user ID.
  4. Verify the db2sshid user ID setting is updated:
    db2locssh display_config 

What to do next

The user ID must be recreated on all hosts where it was deleted.