CLI – Adding or removing storage array 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 array access credentials that Spectrum Control uses in order to access all the IBM storage arrays. Use the required argument after the command, as specified in the following table.
Note:
|
| Argument | Use after sc_storage_credentials to: |
|---|---|
| set -u <array username> -p <array password> -f -a <user type> or set --user <array username> --password <array 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 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 Control side) to
any storage array that is in use, Spectrum Control immediately locks
the storage admin user account and all storage arrays become inaccessible
on the Spectrum Control 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 Control side, with either the same credentials or
with updated credentials. For example:
The equivalent action in the Spectrum Control GUI is to update the
account credentials, as described in GUI – Entering the storage array credentials.If the storage credentials are defined on a directory server, see Checking the format of directory-based storage array credentials. |
| remove | Delete the existing storage array 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
array user account definition. The following example shows the command
output when the storage admin user account is defined locally on the
storage system:
The following example shows the command output when the storage admin
user account is defined on a directory server:
|
| -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. |