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 Using the 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 HTTP POST adapter is automatically created for each vROps server that you add.
Use the sc_vrops_adapter command to attach storage systems to any created HTTP POST adapter. A storage system that is attached to an HTTP POST adapter can be monitored by the vROps server for which the HTTP POST adapter was created. You can use the sc_vrops_adapter command for additional options as described below.
Use the required argument after each command, as specified in the following tables.
Important:
|
Note:
|
| 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 HTTP POST 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 HTTP POST 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 Control Base, 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 HTTP POST 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 HTTP POST 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 HTTP POST 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 HTTP POST 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. |