CLI – Adding or removing storage system credentials
This section explains how to set the credentials that will be used to connect to the IBM® storage system, or systems, that your VMware platforms use for storage provisioning.
Important:
|
Use the sc_storage_credentials CLI command to set (add), remove, or display the current storage system access credentials that Spectrum Connect uses in order to access all the IBM storage systems. Use the required argument after the command, as specified in the following table.
Note:
|
| Argument | Use after sc_storage_credentials to: |
|---|---|
| set -u <storage system username> -p <storage system password> -f -a <user type> or set --user <storage system username> --password <storage system password> --force --user_account <user type> |
Set the username and password for accessing all the relevant IBM storage systems, and specify whether the storage admin user is
locally-defined on the storage system or on a directory server. For storage systems running Spectrum
Virtualize, ensure that the credentials belong to a user account with VASAProvider
role. For example, if the storage admin user is locally defined on the storage system,
enter:
And if the
storage admin user is defined on a directory server,
enter:
Attention: During regular operation, whenever a directory-based storage admin fails to log in
(from the Spectrum Connect side) to any storage system
that is in use, Spectrum Connect immediately locks the
storage admin user account and all storage systems become inaccessible on the Spectrum Connect side. This is to prevent repeated login
attempt failures after which the directory server blocks that user account. In such a case, use the
-f or --force argument on the command line to unlock the
storage admin account on the Spectrum Connect side, with
either the same credentials or with updated credentials. For example:
The equivalent
action in the Spectrum Connect GUI is to update the
account credentials, as described in Entering the storage system credentials. |
| remove | Delete the existing storage system user account definition from the
server. For example:
Attention: If
you already added storage systems to the server, deleting the user account disconnects all these
storage systems.
|
| list | Display the username of the existing storage system user account
definition. The following example shows the command output when the storage admin user account is
defined locally on the storage
system:
|
| -h or --help |
Display help information that is relevant to sc_storage_credentials. You can also display help for the set argument if it is typed on the command line as well. |