Creating or identifying a user ID and password for scanning

Identify a user to perform scanning or create a new user ID.

About this task

You can identify an existing user to perform scanning or follow these steps on the IBM Storage Scale system to create a special user ID for scanning.

Procedure

  1. Log in to the IBM Storage Scale management node as root.
    Alternatively, you can sudo to root from another user ID.
  2. Use the following adduser steps to ensure that you are able to ssh into the cluster:
    1. adduser <user> -m
    2. passwd <user>
  3. Run: visudo.
    1. Add the following line in the users section:

      <user> ALL=NOPASSWD: /usr/lpp/mmfs/bin/mmapplypolicy, /usr/lpp/mmfs/bin/mmrepquota

    2. Write and quit: :wq
  4. Create an IBM Data Cataloging working directory and ensure that <user> has write permissions.
    For example: mkdir -p /gpfs/fs1/sd_scan -m 770; chown <user> /gpfs/fs1/sd_scan
  5. To execute a Data Mover policy for tiering data on the IBM Storage Scale cluster by using the ScaleILM application on the IBM Storage Scale connection , do the following:
    1. Run: visudo
    2. Add or update the following line in the users section:

      <user> ALL=NOPASSWD: /usr/lpp/mmfs/bin/mmapplypolicy, /usr/lpp/mmfs/bin/mmrepquota, /usr/lpp/mmfs/bin/mmlspool, /opt/ibm/ltfsee/bin/eeadm,/usr/bin/ls

    3. Write and quit: :wq
    For more information, see Tiering data by using ScaleILM application. For more information, see the topic Tiering data by using ScaleILM application in the Data Cataloging: Administration Guide.
  6. To execute a Data Mover policy for copying data to the IBM Storage Scale cluster by using the ScaleAFM application on the IBM Storage Scale connection, do the following:
    1. Run: visudo.
    2. Add or update this line in the users section:

      <user>ALL=NOPASSWD: /usr/lpp/mmfs/bin/mmapplypolicy, /usr/lpp/mmfs/bin/mmrepquota, /usr/lpp/mmfs/bin/mmlspool, /usr/lpp/mmfs/bin/mmafmctl, /usr/lpp/mmfs/bin/mmafmcosctl, /usr/lpp/mmfs/bin/mmaddcallback, /usr/lpp/mmfs/bin/mmdelcallback

    3. Write and quit: :wq
    For more information, see Copying data using ScaleAFM application. For more information, see the topic Copying data using ScaleAFM application in the Data Cataloging: Administration Guide.