The remove cu command removes CUs from the list of CUs to be sampled for performance. When a CU is removed, any existing performance data for that CU is discarded. If you need the existing performance data for the CU, export it before removing the CU.
Syntax
Windows:
runWin2.bat remove cu -ip {<ip-address> | <host-name>} [-login <user-name> <password>] [-proxy {<ip-address> | <host-name>} <port-number> <user-name> <password>] -cu <CU-number> -q [-security {verify|ignore}]
UNIX and Linux:
runUnix2.sh remove cu -ip {<ip-address> | <host-name>} [-login <user-name> <password>] [-proxy {<ip-address> | <host-name>} <port-number> <user-name> <password>] -cu <CU-number> -q [-security {verify|ignore}]
Options and parameters
- -ip {ip-address | host-name}
Service IP address (IPv4 or IPv6 format) or host name.
- -login <user name> <password>
User name and password of the Export Tool 2 user. If this option is omitted, you are prompted to enter your user name and password.
- -proxy <IP address or host name> <port number> <user name> <password>
-
If the management client is connected to the storage system through a proxy server, this option specifies the proxy information (IP address [IPv4 or IPv6 format] or host name, port number, user name, and password). If <user name> and <password> are omitted here but specified for the -login parameter, the proxy is used without authentication. If <user name> and <password> are omitted and the -login parameter is omitted, you are prompted to enter the user name and password for the proxy server.
- -cu <control unit number>
Specifies the CUs (two-digit hexadecimal number) to remove from performance information collection.
To specify multiple CUs, use a comma (,) to separate CU numbers and a colon (:) to specify a range of CU numbers. For example, use 00,02,05:0A to specify CUs 00, 02, and 05 to 0A.
The number of CU numbers that you can set differs depending on the sampling interval as described in set interval.- -q
-
Specifies whether to run the command with or without prompting you to confirm that the accumulated data will be discarded before continuing the processing.
This parameter is optional:
- When specified: The command runs without requesting confirmation. The accumulated data is discarded and the CUs are removed.
- When omitted: A message appears requesting you to confirm discarding the accumulated data. You must respond to the request for processing to continue.
- -security {verify|ignore}
-
This parameter specifies whether to perform certificate validation.
This parameter is optional. If omitted or if "verify" is specified, certificate validation will be performed. If "ignore" is specified, certificate validation will be skipped; however, this is not recommended.
Output example
In this example, the service IP address is IPv4 with 192.168.0.100, the user ID is User, the password is Pass, and the CUs to be removed are 00, 02, and 05 to 0A. No prompting messages are displayed.
c:\export> runWin2.bat remove cu -ip 192.168.0.100 -login User Pass -cu 00,02,05:0A -q
Output results
remove cu command success