The showvvcpg cli extension – HP 3PAR StoreServ 7000 Storage User Manual

Page 190

Advertising
background image

report shows the space moved over the selected time interval for each Adaptive Optimization
configuration.

The showvvcpg CLI extension

Adaptive Optimization may move regions of a VV into different CPGs. In order to more easily see
how much of each VV is in each tier, the CD for System Reporter 3.1 includes a CLI script file,
showvvcpg.tcl

, that adds a new CLI command when it is sourced from the CLI.

Once you start the CLI and connect to the HP 3PAR StoreServ Storage array, you can source the
showvvcpg.tcl

command:

cli% source showvvcpg.tcl

This adds a new showvvcpg command to the CLI. You can get the help text for the command as
follows:

cli% showvvcpg -h

Usage: showvvcpg [options] [<vvname|pattern> ...]

The [options] include

-domain <domain_name|pattern>[,<domain_name|pattern>...]

Show only VVs that are in domains with names matching one or more of

the specified domain_name or patterns. Only VVs within domains that

the user is a member of can be listed. Multiple domain names or

patterns can be repeated using a comma-separated list

(for example -domain <domain_name>,<domain_name>...).

-sortcol <col>[,<dir>][:<col>[,<dir>]...]

Sorts command output based on column number (<col>). Columns are

numbered from left to right, beginning with 0. At least one column must

be specified. In addition, the direction of sorting (<dir>) can be

specified as follows:

inc

Sort in increasing order (default).

dec

Sort in decreasing order.

Multiple columns can be specified and separated by a colon (:). Rows

with the same information in them as earlier columns will be sorted

by values in later columns.

An example of the output of the command is shown below, where we have chosen to show only
the VVs in the domain ESX:

cli% showvvcpg -domain ESX

------(MB)------- -New (MB)--

Name CPG Adm Snp Usr Adm Snp Usr

esx-ui esx-fc-r1 352 - 161152 - - -

esx-ui esx-ssd-r1 160 - 11904 - - -

esx-st esx-fc-r1 384 - 35584 - - -

esx-st esx-ssd-r1 128 - 2304 - - -

190 Using Adaptive Optimization

Advertising