CLI – Managing integration with vRealize Operations Manager
Before you can use the IBM® Storage Management Pack for VMware vRealize Operations Manager, you must set a connection to at least one vRealize Operations Manager (vROps) server, and then define which storage systems should be monitored in vROps.
After a vROps server connection is defined and storage systems (referred to as arrays in the command syntax and output) are associated with the vROps server, detailed monitoring information for these storage systems becomes available in vROps (for more information, see IBM Storage Management Pack for VMware vRealize Operations Manager).
Use the sc_vrops_server CLI command to add, remove, or disable connections to vROps servers, or to list the current server connections. An adapter is automatically created for each vROps server that you add.
Use the sc_vrops_adapter command to attach storage systems to any created adapter. A storage system that is attached to an adapter can be monitored by the vROps server for which the adapter was created. You can use the sc_vrops_adapter command for additional options as described below.
- Storage systems can be attached to adapters only after the storage systems have been added to Spectrum Connect, as explained in CLI – Managing storage systems.
- If the IBM Storage PAK file was not deployed on the vROps server, IBM Storage monitoring information is not displayed with dedicated dashboards, graphic icons, and user-friendly attribute names in vROps. For information about how to deploy the IBM Storage PAK file, see Downloading the vROps management package.
- If you want to detach storage systems:
- A detached storage system can no longer be monitored through vRealize Operations Manager.
- After the detachment, you can reattach the storage system to fully restore its monitoring
through vRealize Operations Manager.Note:
- All CLI command arguments are case-sensitive.
- Apart from the ability to add more than one vROps server and additional adapters from the CLI, the same operations are available from the GUI as well, as explained in Managing integration with vRealize Operations Manager.
| Argument | Use after sc_vrops_server to: |
|---|---|
| add -n <hostname> -u <username> -p
<password> or add --hostname <hostname> --username <username> --password <password> |
Add a vROps server connection by specifying the following parameters on the
command line:
For
example:
Note: The
local adapter is added automatically after the vROps server is added.
|
| remove -n <hostname> or remove --hostname <hostname> |
Remove a vROps server connection by specifying its IP address or hostname on
the command line. For example:
Note: A removed vROps server ceases to receive monitoring information regarding IBM storage resources that are in use. You can add a vROps server
back by using the add option (see above).
|
| disable -n <hostname> or disable --hostname <hostname> |
Disable reporting to a vROps server (without removing its connection) by
specifying its IP address or hostname on the command line. For
example:
Note: A vROps
server for which reporting is disabled ceases to receive monitoring information regarding IBM storage resources that are in use. You can resume reporting to
a vROps server by using the enable option (see below).
|
| enable -n <hostname> or enable --hostname <hostname> |
Resume reporting to a vROps server by specifying its IP address or hostname on
the command line. For example:
|
| list | List all the currently connected (added) vROps servers and their operation
status (enabled or disabled). For
example:
|
| -h
or --help |
Display help information that is relevant to
sc_vrops_server . You can also display help for the add, remove, enable, or disable argument if it is typed on the command line as well. |
| Argument | Use after sc_vrops_adapter to: |
|---|---|
| array_attach -a <alias> -n
<hostname> or array_attach --alias <alias> --hostname <hostname> |
Attach a storage system to a vROps adapter (of a vROps server) by specifying
the following parameters on the command line:
For
example:
Note: The
storage system must already be added to Spectrum Connect, as explained in CLI – Managing storage systems.
|
| array_detach -a <alias> -n
<hostname> or array_detach --alias <alias> --hostname <hostname> |
Detach a storage system from a vROps adapter (of a vROps server) by specifying
the following parameters on the command line:
For
example:
|
| add -s <server> -n
<hostname> or add --server <server> --hostname <hostname> |
Add an adapter for a vROps server by specifying the following parameters on
the command line:
For
example:
|
| remove -n <hostname> or remove --hostname <hostname> |
Remove an adapter by specifying its IP address or hostname on the command
line. For example:
|
| report_thresholds -n
<hostname> or report_thresholds --hostname <hostname> |
Report the thresholds to a vROps server by specifying its IP address or
hostname on the command line. For
example:
|
| report_thresholds
-a or report_thresholds -all |
Report the thresholds to all vROps servers that are currently added
(connected). Usually, this command can be omitted, because the thresholds are defined by default,
when a vROps server is added.
|
| list | List all the currently defined adapters and display their associated vROps
server, alias name of attached storage systems, last report time (report to the vROps server), and
indication regarding whether the adapter is remote or locally defined. For
example:
|
| -h
or --help |
Display help information that is relevant to
sc_vrops_adapter. You can also display help for the array_attach, array_detach, add, remove, or report_thresholds argument if it is typed on the command line as well. |