c2723397-IBM Tivoli Storage Productivity Center-Command-Line Interface Reference
c2723397-IBM Tivoli Storage Productivity Center-Command-Line Interface Reference
Version 4.2.2.2
SC27-2339-07
IBM Tivoli Storage Productivity Center
Version 4.2.2.2
SC27-2339-07
Note:
Before using this information and the product it supports, read the information in “Notices” on page 275.
This edition applies to V4.2.2, Fix Pack 2 of IBM Tivoli Storage Productivity Center (product numbers 5608-WB1,
5608-WC0, 5608-WC3, 5608-WC4, 5725-A01, 5725-E18, 5608-WB2, and 5608-WB3) and to all subsequent releases and
modifications until otherwise indicated in new editions.
This edition replaces SC27-2339-06.
© Copyright IBM Corporation 2005, 2012.
US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract
with IBM Corp.
Contents
Tables . . . . . . . . . . . . . . . v commit . . . . . . . . . . . . . . . 31
deactzs . . . . . . . . . . . . . . . 31
Preface . . . . . . . . . . . . . . vii encrypt . . . . . . . . . . . . . . . 32
getdscfg . . . . . . . . . . . . . . 32
Who should read this guide . . . . . . . . . vii
getdslogopt . . . . . . . . . . . . . 34
Publications . . . . . . . . . . . . . . vii
getrpt . . . . . . . . . . . . . . . 34
Accessing publications online . . . . . . . vii
lsarray . . . . . . . . . . . . . . . 36
IBM Redbooks . . . . . . . . . . . . ix
lsbackenddisktypes . . . . . . . . . . . 39
Translation . . . . . . . . . . . . . . ix
lsbackendraidtypes . . . . . . . . . . . 40
Ordering publications . . . . . . . . . . ix
lsbackendtypes . . . . . . . . . . . . 42
Providing feedback about publications. . . . . x
lscluster . . . . . . . . . . . . . . 43
Contacting the IBM Support Center. . . . . . . x
lscomp . . . . . . . . . . . . . . . 45
Reporting a problem. . . . . . . . . . . . x
lscounters . . . . . . . . . . . . . . 46
lsdev . . . . . . . . . . . . . . . 48
Command-line interface . . . . . . . . 1 lsdevp . . . . . . . . . . . . . . . 50
CLI requirements . . . . . . . . . . . . . 1 lsdisk . . . . . . . . . . . . . . . 52
Command modes. . . . . . . . . . . . . 1 lsexport. . . . . . . . . . . . . . . 53
Conventions used in this guide . . . . . . . . 2 lsextent . . . . . . . . . . . . . . . 55
Syntax diagram conventions . . . . . . . . 2 lsfcpath. . . . . . . . . . . . . . . 57
Common agent commands . . . . . . . . . 4 lsfs . . . . . . . . . . . . . . . . 58
agentcli deployer install . . . . . . . . . 4 lsfset . . . . . . . . . . . . . . . 60
agentcli deployer list bundles . . . . . . . . 4 lshtype . . . . . . . . . . . . . . . 62
agentcli deployer list bundles state . . . . . . 5 lsmetrics . . . . . . . . . . . . . . 63
agentcli deployer list services . . . . . . . . 5 lsnode . . . . . . . . . . . . . . . 65
agentcli deployer list services inuse . . . . . . 5 lsnsd . . . . . . . . . . . . . . . 67
agentcli deployer refresh . . . . . . . . . 6 lspool . . . . . . . . . . . . . . . 69
agentcli deployer start . . . . . . . . . . 6 lsport . . . . . . . . . . . . . . . 71
agentcli deployer state . . . . . . . . . . 6 lsquota . . . . . . . . . . . . . . . 72
agentcli deployer stop . . . . . . . . . . 7 lssrg . . . . . . . . . . . . . . . . 75
agentcli deployer uninstall . . . . . . . . . 7 lssrgmembers. . . . . . . . . . . . . 76
agentcli deployer update . . . . . . . . . 7 lssvr . . . . . . . . . . . . . . . . 77
agentcli TPCData stop . . . . . . . . . . 8 lssvrdisk . . . . . . . . . . . . . . 78
agentcli TPCFabric ConfigService lsswitch . . . . . . . . . . . . . . 80
setauthenticationpw . . . . . . . . . . . 8 lstapedrive . . . . . . . . . . . . . 81
agentcli TPCFabric help. . . . . . . . . . 9 lstapelib . . . . . . . . . . . . . . 82
agentcli TPCFabric log get . . . . . . . . . 9 lstapemc . . . . . . . . . . . . . . 83
agentcli TPCFabric log set . . . . . . . . 10 lstime . . . . . . . . . . . . . . . 84
agentcli TPCFabric ServiceManager get status . . 11 lstype . . . . . . . . . . . . . . . 85
agentcli TPCFabric ConfigService lsvmdisk . . . . . . . . . . . . . . 86
setauthenticationpw . . . . . . . . . . 11 lsvol . . . . . . . . . . . . . . . . 87
agentcli TPCFabric help . . . . . . . . . 11 lszone . . . . . . . . . . . . . . . 89
agentcli TPCFabric log get . . . . . . . . 12 lszs . . . . . . . . . . . . . . . . 90
agentcli TPCFabric log set . . . . . . . . 13 mksrg . . . . . . . . . . . . . . . 92
agentcli TPCFabric ServiceManager get status . . 13 mkvol . . . . . . . . . . . . . . . 93
Bundle states . . . . . . . . . . . . . 14 mkzone. . . . . . . . . . . . . . . 95
tpctool command . . . . . . . . . . . . 14 mkzs . . . . . . . . . . . . . . . 96
actzs. . . . . . . . . . . . . . . . 17 modifysrg . . . . . . . . . . . . . . 97
addza . . . . . . . . . . . . . . . 18 rmbackenddisktype. . . . . . . . . . . 99
addzaports . . . . . . . . . . . . . 19 rmbackendraidtype . . . . . . . . . . 100
addzone . . . . . . . . . . . . . . 20 rmbackendtype . . . . . . . . . . . . 102
addzoneports . . . . . . . . . . . . . 21 rmsrg . . . . . . . . . . . . . . . 103
assignvol . . . . . . . . . . . . . . 22 rmvol . . . . . . . . . . . . . . . 104
autosetarray . . . . . . . . . . . . . 23 rmza . . . . . . . . . . . . . . . 106
catdscfg . . . . . . . . . . . . . . 28 rmzaports . . . . . . . . . . . . . 106
ckzone . . . . . . . . . . . . . . . 29 rmzone . . . . . . . . . . . . . . 107
ckzs . . . . . . . . . . . . . . . . 30 rmzoneports. . . . . . . . . . . . . 108
Publications
This section lists publications in the IBM Tivoli Storage Productivity Center library
and other related publications. It also describes how to access publications online,
how to order publications, and how to submit comments on publications.
IBM Redbooks
The IBM Redbooks® are books on specialized topics.
You can order publications through your IBM representative or the IBM branch
office serving your locality. You can also search for and order books of interest to
you by visiting the IBM Redbooks home page at http://www.redbooks.ibm.com/
redbooks.
Translation
Translated publications are available from the information center which is available
in certain translated languages. It is displayed in the language that is appropriate
for the browser locale setting.
When a locale does not have a translated version, the information center is
displayed in English, which is the default language. Translations of the PDFs are
available when the information center is translated.
Contact your service representative for more information about the translated
publications and whether translations are available in your language.
Ordering publications
Information is provided for the ordering of IBM publications on the Internet or by
telephone.
Preface ix
You can also order by telephone. In the United States and Canada, call
800-879-2755. In other countries, contact your IBM service representative.
For support for IBM Tivoli Storage Productivity Center, you can contact the IBM
Support Center in one of the following ways:
v Go to the IBM Tivoli Storage Productivity Center technical support website at
http://www.ibm.com/support/entry/portal/Overview/Software/Tivoli/
Tivoli_Storage_Productivity_Center_Standard_Edition.
To receive future support notifications, sign in under Notifications. You are
required to enter your IBM ID and password. After you are authenticated, you
can configure your subscription for Tivoli Storage Productivity Center technical
support website updates.
v Customers in the United States can call 1-800-IBM-SERV (1-800-426-7378).
v For international customers, go to the Tivoli Storage Productivity Center
technical support website for customer support telephone numbers.
You can also review the IBM Software Support Handbook, which is available on our
website at http://www14.software.ibm.com/webapp/set2/sas/f/handbook/
home.html.
When you contact the IBM Support Center, be prepared to provide identification
information for your company so that support personnel can readily assist you.
Company identification information might also be needed to access various online
services available on the website. See “Reporting a problem.”
Reporting a problem
This topic provides a list of what information you should have ready when you
encounter a problem.
Preface xi
xii IBM Tivoli Storage Productivity Center: Command-Line Interface Reference
Command-line interface
This section describes the IBM Tivoli Storage Productivity Center command-line
interface (CLI).
CLI requirements
Verify the requirements for running the command-line interpreter and using the
command-line interface.
v Verify that the installer checks for and installs the correct version of Java, and
configures the CLI to use the installed Java.
v Verify that IBM Tivoli Storage Productivity Center is installed and running, and
that storage devices have been discovered.
v Verify that the CLI is connected to an IBM Tivoli Storage Productivity Center
Device server before using all commands. The encrypt command is the only
exception that does not require the connection.
v Verify that you have a valid user ID, password, and URL before using all
commands, except for the encrypt command.
.
Command modes
You can use the CLI to run one command or a series of commands, either
interactively or from a script.
Single-shot mode
To run a single command, specify the CLI program and that command at
the shell prompt, for example:
shell> tpctool lsdev -user me -password mypass -url myhost:myport -l -subsys
Interactive mode
Interactive mode is entered by entering the tpctool command with no
command line options. In the following example, the string "shell>"
represents the shell prompt and "tpctool>" represents the prompt from the
CLI while in interactive mode. At the CLI prompt, any valid CLI command
can be entered.
shell> tpctool
tpctool> lsdev -user me -password mypass -url myhost:myport -l -subsys
Script mode
To run a set of commands that you defined in a file, start the CLI program
and specify a file that contains the commands, for example:
This publication uses several conventions for special terms and actions, and
operating system-dependent commands and paths.
Syntax diagrams use position to indicate required, optional, and default values for
keywords, variables, and operands.
The main path line begins on the left with double arrowheads (>>) and ends on
the right with two arrowheads facing each other (><). If a diagram is longer than
one line, each line to be continued ends with a single arrowhead (>) and the next
line begins with a single arrowhead. The -->< symbol indicates the end of the
syntax diagram.
Required keywords
Required keywords appear on the main path line. Mutually exclusive required
keywords are stacked vertically. In the following example, you must choose A, B,
and C.
A B C
Optional keywords
A
B
C
When an optional item appears above the main line, the item above the line is the
default value when no optional item is specified in the command. In the following
example, the user has the same choices as above (A, B, C, or nothing at all), but if
nothing is selected, the default value will be A.
A
B
C
Repeatable items
A stack of items followed by an arrow returning to the left means that you can
select more than one item or, in some cases, repeat a single item. For example:
An arrow returning to the left means you can repeat the item.
repeat
Command-line interface 3
If one or more characters appear in the arrow's line, those characters are required
as a delimiter to separate repeated items.
repeat
If you can choose from two or more items, they are displayed vertically in a stack.
A stack of items followed by an arrow returning to the left means that you can
select more than one item or, in some cases, repeat a single item. In the following
example, you can choose any combination of A, B, or C.
A
B
C
Variables
Italicized, lowercase elements denote variables. In the following example, you must
specify a variable value when you enter the keyword command:
keyword variable
Syntax
agentcli deployer install url
Parameters
url
The specified URL becomes the bundle location for the installed bundle.
Examples
agentcli deployer install url
Syntax
Examples
agentcli deployer list bundles
Syntax
agentcli deployer list bundles state
Examples
agentcli deployer list bundles state
Syntax
agentcli deployer list services
bundle_location
Parameters
bundle_location
The URL that was used to install the bundle. To determine this value run the
agentcli deployer list bundles command. In addition to the URL, you can
specify the bundle location for the Data bundle as "TPCData" and for the
Fabric bundle as "TPCFabric".
Examples
agentcli deployer list services
Syntax
agentcli deployer list services inuse bundle_location
Command-line interface 5
Parameters
bundle_location
The URL that was used to install the bundle. To determine this value, run the
agentcli deployer list bundles command. In addition to the URL, you can
specify the bundle location for the Data bundle as "TPCData" and for the
Fabric bundle as "TPCFabric".
Examples
agentcli deployer list services inuse url
Syntax
agentcli deployer refresh
Examples
agentcli deployer refresh
Syntax
agentcli deployer start bundle_location
Parameters
bundle_location
The URL that was used to install the bundle. To determine this value, run the
agentcli deployer list bundles command. In addition to the URL, you can
specify the bundle location for the Data bundle as "TPCData" and for the
Fabric bundle as "TPCFabric".
Examples
agentcli deployer start url
Syntax
agentcli deployer state bundle_location
Examples
agentcli deployer list bundles state url
Syntax
agentcli deployer update bundle_location
Parameters
bundle_location
The URL that was used to install the bundle. To determine this value run the
agentcli deployer list bundles command. In addition to the URL, you can
specify the bundle location for the Data bundle as "TPCData" and for the
Fabric bundle as "TPCFabric".
Examples
agentcli deployer stop url
Syntax
agentcli deployer uninstall bundle_location
Parameters
bundle_location
The URL that was used to install the bundle. To determine this value run the
agentcli deployer list bundles command. In addition to the URL, you can
specify the bundle location for the Data bundle as "TPCData" and for the
Fabric bundle as "TPCFabric".
Examples
agentcli deployer uninstall url
Syntax
Command-line interface 7
agentcli deployer update bundle_location
Parameters
bundle_location
The URL that was used to install the bundle. To determine this value run the
agentcli deployer list bundles command. In addition to the URL, you can
specify the bundle location for the Data bundle as "TPCData" and for the
Fabric bundle as "TPCFabric".
Examples
agentcli deployer update url
Format
agentcli TPCData stop abort
normal
Parameters
abort
Stops the Data agent immediately.
normal
Stops the Data agent after the current operation completes.
Examples
agentcli TPCData stop normal
Format
Parameters
new_host_password
This changes the host authentication password that was created when Fabric
Manager was installed.
Format
agentcli TPCFabric help
service_name
Parameters
service_name
A valid Fabric service name, such as ConfigService.
Examples
Command:
agentcli TPCFabric help ConfigService
Format
agentcli TPCFabric log get -filterkey
-maxfiles
-maxfilesize
-format
-locale
Parameters
-filterkey
Displays the current types of messages that are logged in the message log file.
-maxfiles
Displays the current maximum number of log files to be created.
-maxfilesize
Displays the current maximum file size (in kilobytes) of the log before a new
log file is created.
-format
Displays the current format in which messages are saved in the message log
file. Messages can be saved in either plain text or XML format.
Command-line interface 9
-locale
Displays the current language locale setting in which messages are displayed
in the message log file.
Examples
Display the current types of messages that are logged in the message log file.
Command:
agentcli TPCFabric log get -filterkey
Format
agentcli TPCFabric log set –defaults
–filterkey INFO
ERROR
WARN
–maxfiles max_files
–maxfilesize max_file_size
–format plain_text
pdxml
Parameters
-defaults
Resets all the logging settings to their default settings.
-filterkey {INFO|ERROR|WARN}
Specifies the types of messages that will be logged in the message log file.
These values are case sensitive. The types are as follows:
INFO Displays informational, warning, and error messages.
ERROR
Displays error messages.
WARN
Displays warning and error messages.
-maxfiles max_files
Sets the maximum number of log files to be created. You should specify more
than one log file to be created if you want to save older log entries. If you
specify only one log file, and that log file becomes full, the old entries in the
log file are deleted, and new entries are added.
-maxfilesize max_file_size
Sets the maximum file size (in kilobytes) of the log before a new log file is
created.
-format {plain_text|pdxml}
The values are as follows:
plain_text
The messages are saved in plain text format.
Examples
Format
agentcli TPCFabric ServiceManager get status
Parameters
None
Examples
Format
Parameters
new_host_password
This changes the host authentication password that was created when Fabric
Manager was installed.
Examples
Format
Command-line interface 11
agentcli TPCFabric help
service_name
Parameters
service_name
A valid Fabric service name, such as ConfigService.
Examples
Command:
agentcli TPCFabric help ConfigService
Format
agentcli TPCFabric log get -filterkey
-maxfiles
-maxfilesize
-format
-locale
Parameters
-filterkey
Displays the current types of messages that are logged in the message log file.
-maxfiles
Displays the current maximum number of log files to be created.
-maxfilesize
Displays the current maximum file size (in kilobytes) of the log before a new
log file is created.
-format
Displays the current format in which messages are saved in the message log
file. Messages can be saved in either plain text or XML format.
-locale
Displays the current language locale setting in which messages are displayed
in the message log file.
Examples
Display the current types of messages that are logged in the message log file.
Command:
agentcli TPCFabric log get -filterkey
Format
agentcli TPCFabric log set –defaults
–filterkey INFO
ERROR
WARN
–maxfiles max_files
–maxfilesize max_file_size
–format plain_text
pdxml
Parameters
-defaults
Resets all the logging settings to their default settings.
-filterkey {INFO|ERROR|WARN}
Specifies the types of messages that will be logged in the message log file.
These values are case sensitive. The types are as follows:
INFO Displays informational, warning, and error messages.
ERROR
Displays error messages.
WARN
Displays warning and error messages.
-maxfiles max_files
Sets the maximum number of log files to be created. You should specify more
than one log file to be created if you want to save older log entries. If you
specify only one log file, and that log file becomes full, the old entries in the
log file are deleted, and new entries are added.
-maxfilesize max_file_size
Sets the maximum file size (in kilobytes) of the log before a new log file is
created.
-format {plain_text|pdxml}
The values are as follows:
plain_text
The messages are saved in plain text format.
pdxml The messages are saved in XML format.
Examples
Command-line interface 13
Format
agentcli TPCFabric ServiceManager get status
Parameters
None
Examples
Bundle states
The state of a bundle is returned by the "agentcli deployer list bundles state"
command and the "agentcli deployer state" command.
See “agentcli deployer list bundles state” on page 5 and “agentcli deployer state”
on page 6 for more information.
Table 2. Bundle states
State Description
Installed The bundle is installed but not resolved, and it cannot run. This state is visible if the code
dependencies of the bundle are not resolved. The Framework might attempt to resolve the code
dependencies and move the bundle to the Resolved state.
Resolved The code dependencies of the bundle are resolved and the bundle can be started. These
dependencies include:
v The class path of the bundle from its Constants.BUNDLE_CLASSPATH Manifest header.
v The package dependencies of the bundle from its Constants.EXPORT_PACKAGE and
Constants.IMPORT_PACKAGE Manifest headers.
v The required bundle dependencies of the bundle from its Constants.REQUIRE_BUNDLE
Manifest header.
v The host dependency of a fragment bundle from its Constants.FRAGMENT_HOST Manifest
header.
The bundle is not active yet and must be put in the Resolved state before it can be started. The
Framework might attempt to resolve a bundle at any time.
Starting The start() method is active and the bundle is starting. A bundle must be in this state when the
bundle's BundleActivator.start(org.osgi.framework.BundleContext) is called. If this method
completes without exception, then the bundle has started and must move to the Active state.
Stopping The stop() method is active and the bundle is stopping. A bundle must be in this state when the
bundle's BundleActivator.stop(org.osgi.framework.BundleContext) method is called. When this
method completes the bundle is stopped and must move to the Resolved state.
Active The bundle has been successfully started and is running.
tpctool command
The tpctool command is the Tivoli Storage Productivity Center command line
interpreter (CLI) program. The command can be used either on its own, using the
associated options and arguments, or interactively by invoking tpctool with no
options or arguments to start an interactive session.
Syntax
command-arguments
Parameters
command
Either one of the commands (generic, disk, fabric, or reporting) or a command
alias.
connection-options
Options used to connect to Tivoli Storage Productivity Center. These options
include:
v -user
v -pwd
v -url
These options are described in detail below.
formatting-options
Options used to format output for some of the commands.
command-options
Options associated with commands that define command behavior.
command-arguments
Generally, values used to define command options. They can be defined as lists
of string values separated by commas or spaces.
Command aliasing
Tivoli Storage Productivity Center provides the capability for command aliasing
using the command configuration file. The default configuration file is c:\program
files\ibm\tpc\cli\libs\tpccli.conf. With aliasing, you define a name for the alias
followed by a value that is the name of a command and any options associated
with command. The aliased command string is replaced by the defined value and
the entire line is reparsed. Passwords used in aliased commands must first be
encrypted using the encrypt command.
For example, to shorten a frequently used command you can define the following
alias:
Command-line interface 15
tpctool>lsperf = lsdev -user dsadmin
-pwd 1ac75d82784ce0a327d45289604ae7b227
-url 9.44.33.126:8990 -fabric -perf
After the alias is defined, you can run the lsperf command to run the aliased lsdev
command shown above.
You can provide a short form command targeting different device servers, as
follows:
tpctool>lsperfd1 = lsdev -user dsadmin
-pwd 1ac75d82784ce0a327d45289604ae7b227
-url hostOne:9161 -perf
You can specify additional options and arguments for an aliased command:
tpctool>lsperfd2 -fabric -ctype port
To unset an alias, type the name of the command alias followed by the '=' sign:
lsperf =
When you use an alias with a key and value pair in the tpccli.conf file, note that
there is special handling of the value part for back slashes. You must specify four
back slashes for each back slash.
Examples
The following command starts an interactive session. After the session starts, you
can use other CLI commands in the session:
The following command starts an interactive session and specifies the user ID,
password, and destination:
tpctool -user adminpass
-pwd adminpw1
-url 9.43.124.255:8080
Return codes
The following table contains the codes returned by the tpctool command.
Code Description
0 The command completed successfully.
1 The command was unknown to tpctool and
was not resolved as an alias.
2 A required option was not provided.
3 An option was unknown to tpctool or was
not applicable to the command.
4 An option was missing a required
parameter.
5 The format of a parameter for the option
was not valid.
6 The format of an argument was not valid.
7 An extraneous argument or argument list
was provided.
8 The tpctool client could not connect with the
Device server.
9 The tpctool client could not log in to the
Device server using the specified credentials.
10 The specified credentials are not authorized
to perform the requested action.
11 A required component (such as Disk
Manager or Fabric Manager) is not installed
and enabled.
12 The command might have started, but the
connection with the Device server was lost.
The command might not be completed
successfully.
13 Some operations were completed partially
before the Device server returned a failure.
14 The command failed.
actzs
Use the actzs command to activate changes to the zone set in the fabric. This
command must be run within a transaction. You must have Fabric Administrator
authority to use this command.
Syntax
Command-line interface 17
tpctool actzs -user user -pwd password -url url -fabric WWN
zone_set
-help -silent
Examples
addza
Use the addza command to add a zone alias to a zone. You must have Fabric
administrator authority to use this command.
Syntax
tpctool addza -user user -pwd password -url url -fabric WWN
Examples
The following commands add the PARIS zone alias to the EUROPE zone:
tpctool -user me -pwd mypass -url myhost:myport
tpctool> start -fabric 100000051E34F6A8
tpctool> addza -fabric 100000051E34F6A8 -zone EUROPE PARIS
tpctool> commit -fabric 100000051E34F6A8
addzaports
Use the addzaports command to add ports to a zone alias. You must have Fabric
administrator authority to use this command.
Syntax
tpctool addzaports -user user -pwd password -url url -fabric WWN
Command-line interface 19
-silent
Suppresses all output for the command. If you omit this parameter, output is
enabled.
-za zone_alias
Specifies the name of the zone alias where the port is to be added.
port
Specifies the name of the port to be added to the zone alias.
Examples
addzone
Use the addzone command to add a zone to a zone set. This command must be
run as a transaction. See the start command for more information. You must have
Fabric Administrator authority to use this command.
Syntax
tpctool addzone -user user -pwd password -url url -fabric WWN
The following commands add the WINDOWSNT zone to the PARIS zone set:
tpctool> start -user me -pwd mypass -url myhost:myport -fabric 100000051E34F6A8
tpctool> addzone -fabric 100000051E34F6A8 -zs PARIS WINDOWSNT
tpctool> commit -fabric 100000051E34F6A8
addzoneports
Use the addzoneports command to add switch ports to a zone. This command
must be run as a transaction. You must have Fabric Administrator authority to use
this command.
Syntax
tpctool addzoneports -user user -pwd password -url url -fabric WWN
Examples
The following commands add several switch ports to the WINDOWSNT zone. The
list of WWPNs is read from standard input:
Command-line interface 21
tpctool> start -user me -pwd mypass -url myhost:myport -fabric 100000051E34F6A8
tpctool> addzoneports -fabric 100000051E34F6A8 -zone WINDOWSNT -
tpctool> commit -fabric 100000051E34F6A8
assignvol
Use the assignvol command to assign host ports to volumes. You must have Disk
Administrator authority to use this command.
Syntax
tpctool assignvol -user user -pwd password -url url -dev subsystem
-hp host_port
-hn host_name -ht host_type -lun LUN_ID
-sp subsystem_port -fs character -header -help
volume id
-qs character -silent -
Examples
autosetarray
Use the autosetarray command to extract and save information about storage
pools.
You can save information about a storage pool such as the type of back-end
storage system, type of RAID, and type of disk. To do this you use a default
pattern or create a pattern that matches the names of pools in a subsystem. If the
match is successful, the information about the pool is extracted and saved. This
command is available for Storwize V7000 and SAN Volume Controller storage
systems. You must have Disk Administrator authority to use this command.
Syntax
tpctool autosetarray -user user -pwd password -url url
-subsysid subsystem_id
-pattern conversion_pattern
-backenddiskcount disk_count -test -fs character
Command-line interface 23
-header -help -qs character -silent -grouping
Tip: To obtain a list of valid types of back-end storage system, types of disk, and
types of RAID, run the following commands: lsbackendtypes,
lsbackenddisktypes, and lsbackendraidtypes. If the types of back-end storage
system, types of disk, and types of RAID that are used in the pool names are not
listed, you can add them to the list. See the descriptions of the following
commands: setbackendtype, setbackenddisktype, and setbackendraidtype.
You can use the default pattern or create patterns to match the names of pools in a
storage subsystem. A list of the characters that are used to create patterns are
provided in the following table.
Character Represents
B The character that is used to represent the type of back-end storage
system. The matching character:
v Must be in the position specified by the pattern
v Must be of the same length
v Must be a valid type of storage system
In the default pattern, one character is used to represent the type of
back-end storage system.
x The character that is used to represent insignificant characters. In the
default pattern, the second, third, fourth, fifth, sixth, and seventh
characters in a matching pool name are ignored.
You issue the autosetarray command and the default pattern is used to extract
information about the pool CFG1xGGA1071. In the table, each character in the
default pattern is matched against the corresponding character in the pool name.
Command-line interface 25
Default pattern Pool name Description
R 1 The type of back-end RAID
D 0 The second character of three
characters that are used to
represent the type of in the
back-end disk
D 7 The third character of three
characters that are used to
represent the type of
back-end disk
x* 1 This character and all
subsequent characters are
ignored
Examples
The following command extracts information about pools in the specified storage
subsystem that match the default pattern. If a pool name does not match the
pattern, an information message is displayed.
tpctool> autosetarray -subsysid 00000200A0C0005C+0
Name of Array Back-end Type Back-end RAID Type Back-end Disk Type
=================================================================
mdiskgroup0 - - -
Cognos - - -
mdiskgrp1 - - -
mdiskgrp2 - - -
Cpool3GA60713 C 6 A07
Cpool2GA607 C 6 A07
Dpool1GA607F D 6 A07
Command-line interface 27
catdscfg
Use the catdscfg command to list the contents of the property files for the Device
server and to check the status of the Device server. You must have IBM Tivoli
Storage Productivity Center administrator authority to use this command.
Syntax
tpctool catdscfg -user user -pwd password -url url
-fs character -header -help -qs character
-silent
Examples
ckzone
Use the ckzone command to verify that a fabric contains a zone. You must have
Fabric Administrator authority to use this command.
Syntax
tpctool ckzone -user user -pwd password -url url -fabric WWN
zone
-help -silent
Examples
The following command checks whether the fabric contains the SUNSOLARIS
zone:
Command-line interface 29
tpctool> ckzone -user me -pwd mypass -url myhost:myport
-fabric 100000051E34F6A8 SUNSOLARIS
ckzs
Use the ckzs command to verify that a fabric contains a zone set. You must have
Fabric Administrator authority to use this command.
Syntax
tpctool ckzs -user user -pwd password -url url -fabric WWN
zone_set
-help -silent
Examples
The following command determines whether the fabric contains the PARIS zone
set:
tpctool> ckzs -user me -pwd mypass -url myhost:myport -fabric 100000051E34F6A8 PARIS
If the fabric contains the zone set, the following text is returned:
Zoneset PARIS found in fabric 100000051E34F6A8
Syntax
tpctool commit -user user -pwd password -url url -fabric WWN
-help
Examples
Committing a transaction
The following command commits a transaction. The user has previously specified
connection options, started a transaction, and issued a fabric-control command:
tpctool> commit -fabric 100000051E34F6A8
deactzs
Use the deactzs command to deactivate the active zone set. This command must be
run as a transaction. You must have Fabric Administrator authority to use this
command.
Syntax
tpctool deactzs -user user -pwd password -url url -fabric WWN
-help -silent
Command-line interface 31
-pwd password
Specifies the password for the Tivoli Storage Productivity Center user ID.
-url url
Specifies the Device server. The format of url is: system:port_number where
system represents either the host name or IP address, and port_number
represents a valid port number for the HTTP service of the Device server.
-fabric WWN
Specifies the fabric. The WWN variable is the World Wide Name (WWN).
-help | -h | -?
Lists help information for the command.
-silent
Suppresses all output for the command. If you omit this parameter, output is
enabled.
Examples
encrypt
Use the encrypt command to generate an encrypted password for use in the
configuration file. This command takes text from standard input and generates
7-bit ASCII-equivalent characters (uuencode).
Syntax
tpctool encrypt password
password
Specifies the password to be encrypted.
Examples
Encrypting a password
getdscfg
Use the getdscfg command to list the current value of a property from the
property file for the Device server. You must have IBM Tivoli Storage Productivity
Center administrator authority to use this command.
Syntax
tpctool getdscfg -user user -pwd password -url url
-header -help -qs character -silent
-user user
Specifies a valid Tivoli Storage Productivity Center user ID.
-pwd password
Specifies the password for the Tivoli Storage Productivity Center user ID.
-url url
Specifies the Device server. The format of url is: system:port_number where
system represents either the host name or IP address, and port_number
represents a valid port number for the HTTP service of the Device server.
-property property_key
Specifies the property key. The property_key variable is the property key.
-context context
Specifies a classification or category for a configuration property. The context
variable is the context properties. For example:
-context DeviceServer
This parameter applies to the Tivoli Storage Productivity Center device server
only.
-context PerformanceManager
Examples
Command-line interface 33
The following output is returned:
Property Context Value
=================================
SnmpRetryCount DeviceServer 3
getdslogopt
Use the getdslogopt command to list the properties for the log file associated with
the Device server. You must have IBM Tivoli Storage Productivity Center
administrator authority to use this command.
Syntax
tpctool getdslogopt -user user -pwd password -url url
-help
-silent
Examples
The following command lists the properties of the log file used by the Device
server:
tpctool> getdslogopt -user me -pwd mypass -url myhost:myport
getrpt
Use the getrpt command to list a performance report for a specified storage
subsystem. You must have Fabric Operator or Disk Operator authority to use this
command.
Syntax
34 IBM Tivoli Storage Productivity Center: Command-Line Interface Reference
tpctool getrpt -user user -pwd password -url url
-duration duration_seconds
-fs character -header -help
-qs character -silent
-grouping -colname
Command-line interface 35
All time zones are relative to the Device server. See the lstime command for
more information.
-duration duration_seconds
Specifies the duration of the sampling period, in seconds. The duration_seconds
variable is an integer.
-fs character
Specifies the 7-bit character that separates the fields in the output. If you omit
this parameter, the fields are separated by spaces.
-header
Suppresses the column headers in the output. If you omit this parameter, the
column headers are enabled.
-help | -h | -?
Lists help information for the command.
-qs character
Specifies the 7-bit character that surrounds strings and date stamps in the
output. If you omit this parameter, strings and date stamps are enclosed by
double quotation marks (").
-silent
Suppresses all output for the command. If you omit this parameter, output is
enabled.
-grouping
Enables the grouping of numeric values. For example, in English the value
12000 would display as 12,000. The grouping character is determined by the
system locale.
-colname
Displays the name of the counter or metric in the column header. By default,
an integer indicating the column or metric type is displayed in the column
header.
Examples
Note: If you have multiple volumes in your subsystems, use the -fs character
option with a comma as a field separator.
tpctool> getrpt -subsys 2107.1302541+0 -columns 1,2,4,5,10,11,13,14,22,23,28,29,31,
32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,5,
9,828,829,830,831,832,833,801,802,803,804,805,806,807,808,809,810,811,812,813,814,
815,816,817,818,819,820,821,822,823 -ctype vol -level sample -start 2007.06.27:19:
01:40 -duration 3600 -fs
lsarray
Use the lsarray command to display information about arrays and back-end
storage subsystems.
You must have Disk Administrator authority to use this command. You use the
setarray command or autosetarray command to provide information about
Syntax
tpctool lsarray -user user -pwd password -url url -dev system
-l -fs character -header -help -qs character
-silent -grouping
Command-line interface 37
Column label Details
Back-end Type The type of back-end storage system that manages disk group
storage.
Back-end RAID Type The type of Random Access Independent Disk (RAID) that the
back-end storage system uses.
Back-end Disk Type The type of disk that the back-end storage system uses.
Back-end Disk Count The total number of disks.
Tip: To find out how to set values for back-end storage subsystems, see the
description of the setarray command.
-fs character
Specifies the 7-bit character that separates the fields in the output. If you omit
this parameter, the fields are separated by spaces.
-header
Suppresses the column headers in the output. If you omit this parameter, the
column headers are enabled.
-help | -h | -?
Lists help information for the command.
-qs character
Specifies the 7-bit character that surrounds strings and date stamps in the
output. If you omit this parameter, strings and date stamps are enclosed by
double quotation marks (").
-silent
Suppresses all output for the command. If you omit this parameter, output is
enabled.
-grouping
Enables the grouping of numeric values. For example, in English the value
12000 would display as 12,000. The grouping character is determined by the
system locale.
Examples
The following command lists IDs for the arrays on the specified system:
tpctool> lsarray -user me -pwd mypass -url myhost:9550 -dev 2107.75DG000+0
The following command provides detailed information about the array on the
specified system:
lsbackenddisktypes
Use the lsbackenddisktypes command to list the types of back-end disks and their
average input/output.
This command applies only to Storwize V7000 and SAN Volume Controller disks.
You must have Disk Administrator authority to use this command.
Syntax
tpctool lsbackenddisktypes -user user -pwd password -url url
-fs character -header -help -qs character
-silent -grouping
Command-line interface 39
-fs character
Specifies the 7-bit character that separates the fields in the output. If you omit
this parameter, the fields are separated by spaces.
-header
Suppresses the column headers in the output. If you omit this parameter, the
column headers are enabled.
-help | -h | -?
Lists help information for the command.
-qs character
Specifies the 7-bit character that surrounds strings and date stamps in the
output. If you omit this parameter, strings and date stamps are enclosed by
double quotation marks (").
-silent
Suppresses all output for the command. If you omit this parameter, output is
enabled.
-grouping
Enables the grouping of numeric values. For example, in English the value
12000 would display as 12,000. The grouping character is determined by the
system locale.
Examples
lsbackendraidtypes
Use the lsbackendraidtypes command to list the types of back-end RAID arrays
available for Storwize V7000 and SAN Volume Controller managed disk groups.
This command applies only to Storwize V7000 and SAN Volume Controller disks.
You must have Disk Administrator authority to use this command.
Syntax
tpctool lsbackendraidtypes -user user -pwd password -url url
-fs character -header -help -qs character
-silent -grouping
Tip: Use the setbackendraidtype command to set or update the type of a back-end
RAID array.
-user user
Specifies a valid Tivoli Storage Productivity Center user ID.
-pwd password
Specifies the password for the Tivoli Storage Productivity Center user ID.
-url url
Specifies the Device server. The format of url is: system:port_number where
system represents either the host name or IP address, and port_number
represents a valid port number for the HTTP service of the Device server.
-fs character
Specifies the 7-bit character that separates the fields in the output. If you omit
this parameter, the fields are separated by spaces.
-header
Suppresses the column headers in the output. If you omit this parameter, the
column headers are enabled.
-help | -h | -?
Lists help information for the command.
-qs character
Specifies the 7-bit character that surrounds strings and date stamps in the
output. If you omit this parameter, strings and date stamps are enclosed by
double quotation marks (").
-silent
Suppresses all output for the command. If you omit this parameter, output is
enabled.
-grouping
Enables the grouping of numeric values. For example, in English the value
12000 would display as 12,000. The grouping character is determined by the
system locale.
Examples
Command-line interface 41
Back-end RAID Type Weighted IO
====================================================================
X 1
6 6
5 4
1 2
DEFAULT 1
lsbackendtypes
Use the lsbackendtypes command to list the types of back-end storage systems.
Additional information, such as the name, description, and cache hit ratio of the
back-end type of the storage system is also provided. This command is available
for Storwize V7000 and SAN Volume Controller storage systems. You must have
Disk Administrator authority to use this command.
Syntax
tpctool lsbackendtypes -user user -pwd password -url url
-fs character -header -help -qs character
-silent -grouping
Tip: Use the setbackendtype command to set or update the type of back-end
storage system.
-user user
Specifies a valid Tivoli Storage Productivity Center user ID.
-pwd password
Specifies the password for the Tivoli Storage Productivity Center user ID.
-url url
Specifies the Device server. The format of url is: system:port_number where
system represents either the host name or IP address, and port_number
represents a valid port number for the HTTP service of the Device server.
-fs character
Specifies the 7-bit character that separates the fields in the output. If you omit
this parameter, the fields are separated by spaces.
Examples
The following command provides a list of the types of back-end storage systems:
tpctool> lsbackendtypes
Description
========================================
"Theoretical All Cache subsystem"
"IBM XIV"
"DS8K Disk Controller"
"DS5K Disk Controller"
"DMX BE Cache Hit Ratio"
"CX BE Cache Hit Ratio"
"DEFAULT TYPE FOR UNCONFIGURED DEVICES"
lscluster
Use the lscluster command to list all clusters or specified clusters that are on a
Storwize V7000 Unified storage system. You must have Data Operator authority to
use this command.
Syntax
tpctool lscluster -user user -pwd password -url url
Command-line interface 43
-dev device_id
-l -fs character -header
-cluster cluster_id
-help -qs character -silent
Examples
The following command generates a list of all clusters that are on the specified
Storwize V7000 Unified storage system:
tpctool> lscluster -dev 00000200A0E0005C+0 -l
lscomp
Use the lscomp command to list the components for which performance data has
been collected. You must have Fabric operator or Disk operator authority to use
this command.
Syntax
tpctool lscomp -user user -pwd password -url url
-start date/time -duration duration_seconds -help -silent
Command-line interface 45
-level sample | hourly | daily
Specifies the level for which the performance metrics of the components
should be summarized. You can specify a sample summary, an hourly
summary, or a daily summary.
-ctype comp_type
Specifies that the output should include only components of the specified type.
See the lstype command for more information about the comp_type variable.
-start date/time
Specifies the date and time to start the sampling period. The date and time are
formatted as:
yyyy.MM dd:HH:mm:ss
All time zones are relative to the Device server. See the lstime command for
more information.
-duration duration_seconds
Specifies the duration of the sampling period, in seconds. The duration_seconds
variable is an integer.
-help | -h | -?
Lists help information for the command.
-silent
Suppresses all output for the command. If you omit this parameter, output is
enabled.
Examples
Listing components with performance date.
lscounters
Use the lscounters command to list available performance counters. You must have
Fabric operator or Disk operator authority to use this command.
Syntax
-fs character -header -help -qs character
-silent
Command-line interface 47
Examples
lsdev
Use the lsdev command to list information about storage subsystems, fabrics, and
switches. This information includes the globally-unique identifier (GUID) or
world-wide name (WWN) for fabric, user-defined name, device type, status, and
the time that the status was updated. You must have Disk Administrator authority
to use this command.
Syntax
tpctool lsdev -user user -pwd password -url url
-perf
level sample
hourly -fabric -subsys -l -fs character
daily
-header -help -qs character -silent
Command Aliases
You can run the following lsdev command aliases that have been predefined by
IBM.
Command-line interface 49
Name Value
lsfabric lsdev -fabric
lsperf lsdev -perf
lssubsys lsdev -subsys
lstape lsdev -tape
Examples
The following command lists the GUIDs for all storage subsystems in the Tivoli
Storage Productivity Center environment:
tpctool> lsdev -user me -pwd mypass -url myhost:myport -subsys
The following command lists the long version of information for fabric devices.
tpctool> lsdev -user me -pwd mypass -url myhost:myport -fabric -l
lsdevp
Use the lsdevp command to list world-wide port names (WWPNs) for a
subsystem. You must have Disk Administrator authority to use this command.
Syntax
tpctool lsdevp -user user -pwd password -url url -dev subsystem
-l -fs character -header -help -qs character
-silent
Examples
The following command lists the WWPNs for the specified subsystem:
tpctool> lsdevp -user me -pwd mypass -url myhost:myport -dev 2105.22232+0
Command-line interface 51
lsdisk
Use the lsdisk command to list all the physical disks on a specified storage
subsystem.You must have Fabric Operator or Disk Operator authority to use this
command.
Syntax
tpctool lsdisk -user user -pwd password -url url -subsys subsystem
-l -fs character -header -help -qs character
-silent
Examples
lsexport
Use the lsexport command to list all exports or specified exports that are
associated with a cluster that is on a Storwize V7000 Unified storage system. You
can also list exports by file system. You must have Data Operator authority to use
this command.
Syntax
tpctool lsexport -user user -pwd password -url url
-cluster cluster_id
-l -fs character -header
-filesystem file_system_id
-export export_id
-help -qs character -silent
Command-line interface 53
-url url
Specifies the Device server. The format of url is: system:port_number where
system represents either the host name or IP address, and port_number
represents a valid port number for the HTTP service of the Device server.
-cluster cluster_id | -filesystem file_system_id... | -export export_id...
The -cluster parameter specifies that information is displayed for the for all
exports that are associated with a cluster. You can use the lscluster command
to return information, including the cluster IDs, for all clusters that were
discovered.
The -filesystem parameter specifies that information is displayed only for
exports that are associated with specific file systems. You can enter one or
multiple file system IDs. Use a comma to separate multiple IDs. You can use
the lsfs command to return information, including the file system IDs, for all
file systems that have been discovered.
The -export parameter specifies that information is displayed only for specific
exports. You can enter one or multiple export IDs. Use a comma to separate
multiple IDs.
-l
Specifies that the following information is listed:
ID An ID for the cluster that is composed of the export name, storage
system name, and storage system format.
Export The name of the export.
Path The path on the computer where the export is located.
Protocol
The protocol for the export can be one of following values: HTTP, FTP,
SCP, CIFS, or NFS.
Active Indicates whether the export is active or inactive in the cluster. The
value can be true or false. If an export is inactive, it is included in the
list of exports, but the data that is associated with the export cannot be
accessed.
Options
The configuration options that were set for the export. This column
contains information only if the protocol is CIFS or NFS.
Examples
The following command generates a list of all exports that are on the specified
Storwize V7000 Unified cluster:
tpctool> lsexport -cluster tpcsonas2.storage.tucson.ibm.com+00000200A0E0005C+0 -l
lsextent
Use the lsextent command to display a list of all the storage extents on a specified
storage subsystem. An example of a storage extent is an MDisk on a SAN Volume
Controller.You must have Fabric Operator or Disk Operator authority to use this
command.
Syntax
tpctool lsextent -user user -pwd password -url url
-subsys subsystem
-l
Command-line interface 55
system represents either the host name or IP address, and port_number
represents a valid port number for the HTTP service of the Device server.
-subsys subsystem
Specifies the GUID of the storage subsystem. You can use the lsdev command
to return information, including the GUID, for all storage subsystems that have
been discovered.
-l
Specifies that long information is listed. This includes the following
information:
v Key
v Label
v Total Capacity
v Free Space
v Virtual
If this parameter is not issued, only the host name is returned.
-fs character
Specifies the 7-bit character that separates the fields in the output. If you omit
this parameter, the fields are separated by spaces.
-header
Suppresses the column headers in the output. If you omit this parameter, the
column headers are enabled.
-help | -h | -?
Lists help information for the command.
-qs character
Specifies the 7-bit character that surrounds strings and date stamps in the
output. If you omit this parameter, strings and date stamps are enclosed by
double quotation marks (").
-silent
Suppresses all output for the command. If you omit this parameter, output is
enabled.
Examples
Syntax
tpctool lsfcpath -user user -pwd password -url url -svr server
-dev GUID
-fs character -header -help -qs character
-silent
Examples
Command-line interface 57
The following command lists the paths on which data can be transmitted between
MARKETING and the storage subsystem 2105.20870+0:
tpctool> lsfcpath -user me -pwd mypass -url myhost:myport -svr
MARKETING -dev 2105.20870+0
lsfs
Use the lsfs command to list all file systems or specified file systems that are
associated with a cluster that is on a Storwize V7000 Unified storage system. You
can also list file systems by pool or Network Shared Disk (NSD). You must have
Data Operator authority to use this command.
Syntax
tpctool lsfs -user user -pwd password -url url
-cluster cluster_id
-l -fs character -header
-pool pool_id
-nsd nsd_id
-filesystem file_system_id
-help -qs character -silent -grouping
Command-line interface 59
-silent
Suppresses all output for the command. If you omit this parameter, output is
enabled.
-grouping
Enables the grouping of numeric values. For example, in English, the value
12000 would display as 12,000. The grouping character is determined by the
system locale.
Examples
The following command generates a list of all file systems that are on the specified
Storwize V7000 Unified cluster:
tpctool> lsfs -cluster tpcsonas2.storage.tucson.ibm.com+00000200A0E0005C+0 -l
lsfset
Use the lsfset command to list all files sets or specified files sets that are associated
with a file system on a Storwize V7000 Unified storage system. You must have
Data Operator authority to use this command.
Syntax
tpctool lsfset -user user -pwd password -url url
-filesystem file_system_id
-l -fs character -header
-fileset file_set_id
-help -qs character -silent -grouping
Command-line interface 61
-grouping
Enables the grouping of numeric values. For example, in English, the value
12000 would display as 12,000. The grouping character is determined by the
system locale.
Examples
The following command generates a list of all file sets that are on a specified file
system:
tpctool> lsfset -filesystem
testadd+tpcsonas2.storage.tucson.ibm.com+00000200A0E0005C+0 -l
lshtype
Use the lshtype command to list host types. You must have Disk Administrator
authority to use this command.
Syntax
tpctool lshtype -user user -pwd password -url url -dev subsystem
-fs character -header -help -qs character
-silent
Examples
The following command lists the host types associated with the specified
subsystem:
tpctool> lshtype -user me -pwd mypass -url myhost:myport -dev 2105.22232+0
lsmetrics
Use the lsmetrics command to list available performance metrics.You must have
Fabric operator or Disk operator authority to use this command.
Syntax
Command-line interface 63
tpctool lsmetrics -user user -pwd password -url url
-fs character -header -help -qs character
-silent
The following command generates a list of performance metrics for switch ports on
the specified fabric:
tpctool lsmetrics -user me -pwd mypass -url myhost:myport
-fabric 100000051E34F6A8 -ctype switch_port -level sample
lsnode
Use the lsnode command to list all nodes or specified nodes that are associated
with a cluster that is on a Storwize V7000 Unified storage system. You must have
Data Operator authority to use this command.
Syntax
tpctool lsnode -user user -pwd password -url url
-cluster cluster_id
-l -fs character -header -help
-node node_id
-qs character -silent
Command-line interface 65
that are on a cluster. This parameter requires the ID for the cluster. You can use
the lscluster command to return information, including the cluster IDs, for all
clusters that were discovered.
The -node parameter specifies that information is displayed only for specific
nodes. You can enter one or multiple node IDs. Use a comma to separate
multiple IDs.
-l
Specifies that the following information is listed:
ID An ID for the node that is composed of the node name, cluster name,
storage system name, and storage system format.
Node The name of the node.
Description
The description of the node.
IP Address
The IP address for the node.
Role One or more of the following roles: interface, management, or storage.
Status One of the following values: NORMAL, CRITICAL, or WARNING.
Examples
The following command generates a list of all nodes that are on the specified
Storwize V7000 Unified cluster:
tpctool> lsnode -cluster tpcsonas2.storage.tucson.ibm.com+00000200A0E0005C+0 -l
lsnsd
Use the lsnsd command to list all Network Shared Disks (NSDs) or specified NSDs
that are on a Storwize V7000 Unified storage system. You can also list NSDs by file
system, pool, or both. You must have Data Operator authority to use this
command.
Syntax
tpctool lsnsd -user user -pwd password -url url
-dev device_id
-l -fs character -header
-pool pool_id
-filesystem file_system_id
-nsd nsd_id
-help -qs character -silent -grouping
Command-line interface 67
a comma to separate multiple IDs. You can use the lspool command to return
information, including the pool IDs, for all pools that were discovered.
The -filesystem parameter specifies that information is displayed only for
NSDs that are associated with specific file systems. You can enter one or
multiple file system IDs. Use a comma to separate multiple IDs. You can use
the lsfs command to return information, including the file system IDs, for all
file systems that were discovered.
The -nsd parameter specifies that information is displayed only for specific
NSDs. You can enter one or multiple NSD IDs. Use a comma to separate
multiple IDs.
-l
Specifies that the following information is listed:
ID An ID for the NSD that composed of the NSD name, storage system
name, and storage system format.
NSD NSD: The name of the NSD.
Cluster ID
The ID for the cluster that is associated with the NSD as defined by
the Storwize V7000 Unified file module.
Failover Group
The failure group that the NSD belongs to.
Type One or more of the following types: dataAndMetadata, dataOnly,
metadataOnly.
Pool The pool that the NSD is associated with.
Status One of the following values: NORMAL, CRITICAL, WARNING, or
UNREACHABLE.
Disk Space (GB)
The total disk space for the NSD.
Available Space (GB)
The amount of unused disk space for the NSD.
File System
The file system that the NSD is associated with.
Examples
The following command generates a list of all NSDs that are on the specified
Storwize V7000 Unified storage system:
tpctool> lsnsd -dev 00000200A0E0005C+0 -l
lspool
Use the lspool command to list all storage pools that are on a specified Storwize
V7000 Unified storage system. You can also list pools by file system. You must
have Data Operator authority to use this command.
Syntax
tpctool lspool -user user -pwd password -url url
-dev device_id
-l -fs character -header
-filesystem file_system_id
-pool pool_id
Command-line interface 69
pool_id...
-help -qs character -silent -grouping -
Examples
The following command generates a list of all pools that are on the specified
Storwize V7000 Unified storage system:
tpctool> lspool -dev 00000200A0E0005C+0 -l
lsport
Use the lsport command to list the ports located on a fibre-channel host bus
adapter (HBA). You must have Fabric Administrator authority to use this
command.
Syntax
tpctool lsport -user user -pwd password -url url -svr server
-l -fs character -header -help -qs character
-silent
Command-line interface 71
-l
Specifies that the long version of the information should be listed:
v World wide port name (WWPN)
v Name
v Status
If you omit this parameter, only the WWPN is returned.
-fs character
Specifies the 7-bit character that separates the fields in the output. If you omit
this parameter, the fields are separated by spaces.
-header
Suppresses the column headers in the output. If you omit this parameter, the
column headers are enabled.
-help | -h | -?
Lists help information for the command.
-qs character
Specifies the 7-bit character that surrounds strings and date stamps in the
output. If you omit this parameter, strings and date stamps are enclosed by
double quotation marks (").
-silent
Suppresses all output for the command. If you omit this parameter, output is
enabled.
Examples
The following command lists the long version of information about the ports
associated with the fibre-channel HBA:
tpctool> lsport -user me -pwd mypass -url myhost:myport -svr <server> -l
lsquota
Use the lsquota command to list all quotas or specified quotas that are on a
Storwize V7000 Unified storage system. You can also list quotas by file system. You
must have Data Operator authority to use this command.
Syntax
tpctool lsquota -user user -pwd password -url url
-filesystem file_system_id
-quota quota_id
-help -qs character -silent -grouping
Command-line interface 73
Used I-Nodes: The number of used inodes.
Gracetime Usage (sec.): The timeframe in which storage space usage
must be brought below the quota.
Gracetime I-Nodes (sec.): The timeframe in which inode usage must be
brought below the quota.
In Doubt (KB): The amount of data for which the quota was not
updated.
Examples
The following command generates a list of all quotas on the specified Storwize
V7000 Unified storage system:
tpctool> lsquota -dev 00000200A0E0005C+0 -l
lssrg
Use the lssrg command to display a list of Storage Resource Groups known to
Tivoli Storage Productivity Center.You must have Fabric Operator or Disk Operator
authority to use this command.
Syntax
tpctool lssrg -user user -pwd password -url url
-l
Command-line interface 75
v User Defined Property 1
v User Defined Property 2
v User Defined Property 3
If this parameter is not issued, only the host name is returned.
Examples
lssrgmembers
Use the lssrgmembers command to list of members of a specified Storage Resource
Group.You must have Fabric Operator or Disk Operator authority to use this
command.
Syntax
tpctool lssrgmembers -user user -pwd password -url url -name
Examples
lssvr
Use the lssvr command to list all systems discovered by Fabric Manager. You must
have Fabric Administrator authority to use this command.
Syntax
tpctool lssvr -user user -pwd password -url url
-l -help
-fs character -qs character -silent -header
Command-line interface 77
-fs character
Specifies the 7-bit character that separates the fields in the output. If you omit
this parameter, the fields are separated by spaces.
-header
Suppresses the column headers in the output. If you omit this parameter, the
column headers are enabled.
-help | -h | -?
Lists help information for the command.
-qs character
Specifies the 7-bit character that surrounds strings and date stamps in the
output. If you omit this parameter, strings and date stamps are enclosed by
double quotation marks (").
-silent
Suppresses all output for the command. If you omit this parameter, output is
enabled.
Examples
The following commands list long information for all systems that are discovered
by Fabric Manager:
tpctool
tpctool> lssvr -l
Key
========================================================
bfcf0e0192a111dc9ac60011258d9a29+tb142-wi+9.47.97.149+++
lssvrdisk
Use the lssvrdisk command to list all the physical disks known to a specified
server.
Syntax
tpctool lssvrdisk -user user -pwd password -url url
-srv servername
-l -help -fs character -qs character
-silent -header
Examples
Listing long information for all physical disks known to a specified server
The following commands list long information for all physical disks that are
known to a specified server::
tpctool
tpctool> lssvrdisk -svr bfcf0e0192a111dc9ac60011258d9a29+tb142-wi.beaverton.
ibm.com+9.47.97.149+++ -l
Command-line interface 79
lsswitch
Use the lsswitch command to display a list of all switches in a specified fabric. .
You must have Fabric Administrator authority to use this command.
Syntax
tpctool lsswitch -user user -pwd password -url url -fabric fabric
-l -help -fs character -qs character -silent
-header
The following command lists long information for all switches in the specified
fabric:
tpctool
tpctool> lsswitch -fabric 10000800880476F0 -l
lstapedrive
Use the lstapedrive command to display a list of all tape drives in the specified
tape library.
Syntax
tpctool lstapedrive -user user -pwd password -url url
-tapelibrary tapelibrary
Command-line interface 81
lstapelib
Use the lstapelib command to list all tape libraries known to the Tape Manager.
You must have Fabric Administrator authority to use this command.
Syntax
tpctool lstapelib -user user -pwd password -url url
-l
-help -fs character -qs character -silent
-header
Listing long information for all tape libraries known to Tape Manager
The following command lists long information for all tape libraries that are know
to Tape Manager:
tpctool
tpctool> lstapelib -l
lstapemc
Use the lstapemc command to display a list of all tape media changers in the
specified tape library.
Syntax
tpctool lstapemc -user user -pwd password -url url
-tapelibrary tapelibrary
Command-line interface 83
lstime
Use the lstime command to print a list of time ranges for which performance data
is available.You must have Fabric operator or Disk operator authority to use this
command.
Syntax
tpctool lstime -user user -pwd password -url url
-fabric WWN
-subsys subsystem -ctype comp_type -comps component_list
level sample
hourly -fs character -header -help
daily
-qs character -silent
Examples
The following command generates a list of time ranges for performance data:
tpctool> lstime -user me -pwd mypass -url myhost:myport
-fabric 100000051E34F6A8 -ctype switch_port -level sample
lstype
Use the lstype command to list the components that are recognized by IBM Tivoli
Storage Productivity Center. No authorization is required to run this command.
Syntax
tpctool lstype
-fs character -header -help
-qs character -silent
Command-line interface 85
Examples
The following command lists the component types that are recognized by Tivoli
Storage Productivity Center:
tpctool> lstype
lsvmdisk
Use the lsvmdisk command to list all the VMWare Virtual Machine Disks known
to the given virtual machine or hypervisor. You must have Fabric Administrator
authority to use this command.
Syntax
tpctool lsvmdisk -user user -pwd password -url url
-l
-help -fs character -qs character -silent
-header
lsvol
Use the lsvol command to list all volumes on a system, list a specific volume or
volumes, or list volumes on a specific array. You must have Disk administrator
authority to use this command.
Syntax
tpctool lsvol -user user -pwd password -url url -dev GUID
array array -l -fs character -header -help
-qs character -silent volume id
-
Command-line interface 87
array array
Specifies the array. The array variable is the array ID. You can use the lsarray
command to return information, including array IDs, about the arrays on a
specific storage subsystem.
-l Specifies that long information is listed. In addition to the volume ID, the
volume size and FlashCopy relationship information are also listed.
-fs character
Specifies the 7-bit character that separates the fields in the output. If you omit
this parameter, the fields are separated by spaces.
-header
Suppresses the column headers in the output. If you omit this parameter, the
column headers are enabled.
-help | -h | -?
Lists help information for the command.
-qs character
Specifies the 7-bit character that surrounds strings and date stamps in the
output. If you omit this parameter, strings and date stamps are enclosed by
double quotation marks (").
-silent
Suppresses all output for the command. If you omit this parameter, output is
enabled.
volume id | -
Specifies the volumes. The volume_ID variable is a comma-separated list of
volume IDs, such as that obtained by running the lsvol command. If a single
dash (-) is issued, the volume IDs are read from standard input.
Examples
The following commands list all volumes on a specified subsystem. The -dev
option specifies your system. Additional information for the volumes can be
displayed as specified with the -l option.
tpctool> lsvol -user me -pwd mypass -url myhost:9550 -dev 2107.75DG000+0 -l
FlashCopy
Indicates if the volume is in a FlashCopy (FC) relationship and whether it
is an FC source or FC target. Volumes that are not in an FC relationship are
displayed with a None value whether or not the volume is on a system
that supports FC.
Note:
v This value is available for volumes of the following systems only: IBM
TotalStorage Enterprise Storage Server® (ESS), IBM System Storage
DS6000, IBM System Storage DS8000, and IBM System Storage SAN
Volume Controller.
v TotalStorage Enterprise Storage Server systems must have at least the
following microcode levels: ess800mincodelevel = 2.4.3.56,
essf20mincodelevel = 2.3.3.89. Tivoli Storage Productivity Center does
not report FlashCopy information if the TotalStorage Enterprise Storage
Server systems do not meet this requirement.
Note:
v If a system is new and there is no data in the volumes, the value is zero.
For example, the Size field might show 16 GB but the Real Used is 0.
v For non-thin provisioned volumes, the Real Used value always matches
the Size value.
v Thin provisioned volumes always have an asterisk in front of their name
(Label).
v Thin provisioned volumes of other storage systems are not supported by
Tivoli Storage Productivity Center. The Real Used value is displayed as
N/A.
Encrypted
Indicates if the volumes are on encrypted disks (Yes or No).
lszone
Use the lszone command to list the zones in a zone set. You must have Fabric
Administrator authority to use this command.
Syntax
tpctool lszone -user user -pwd password -url url -fabric WWN
-active -fs character -header -help -qs character
zone_set
-silent
Command-line interface 89
-header
Suppresses the column headers in the output. If you omit this parameter, the
column headers are enabled.
-help | -h | -?
Lists help information for the command.
-qs character
Specifies the 7-bit character that surrounds strings and date stamps in the
output. If you omit this parameter, strings and date stamps are enclosed by
double quotation marks (").
-silent
Suppresses all output for the command. If you omit this parameter, output is
enabled.
zone_set
Specifies the zone set. The zone_set variable is the name of the zone set.
Examples
Listing all zones
The following command lists the names of all zones in the PARIS zone set:
tpctool> lszone -user me -pwd mypass -url myhost:myport
-fabric 100000051E34F6A8 PARIS
lszs
Use the lszs command to list information about zone sets. This information
includes the zone-set name and status. You must have Fabric Administrator
authority to use this command.
Syntax
tpctool lszs -user user -pwd password -url url -fabric WWN
-qs character -silent
Examples
The following command lists the long version of information for all zone sets:
tpctool> lszs -user me -pwd mypass -url myhost:myport
-fabric 100000051E34F6A8 -l
Command-line interface 91
Name Status
=================
PARIS ACTIVE
LONDON INACTIVE
The following command lists the name of the active zone set:
tpctool> lszs -user me -pwd mypass -url myhost:myport
-fabric 100000051E34F6A8 -active
mksrg
Use this command to create a Storage Resource Group with a specific name,
description, and user-defined properties.
Syntax
tpctool mksrg -user user -pwd password -url url name SRGname
-fs character -header -help -qs character
-silent
. The username of the user creating the Storage Resource Group will be added
to the beginning of the Storage Resource Group name, followed by the name
specified in the name variable.
descriptionSRGDescription
(optional) The description can contain any alphanumeric characters, and must
be less than 255 characters long.
Examples
The following command creates a Storage Resource Group with the specified
attributes:
tpctool
tpctool> mksrg -name testsrg -description Test-SRG-Description
-udp1 myudp1 -udp2 myudp2 -udp3 myudp3
mkvol
Use the mkvol command to create volumes. You must have Disk Administrator
authority to use this command.
Syntax
tpctool mkvol -user user -pwd password -url url -array array
Command-line interface 93
-size size -lss lss
-count count -fs character -header
-help -qs character -silent
Creating volumes
mkzone
Use the mkzone command to create a zone. This command must be run within a
transaction. You must have Fabric Administrator authority to use this command.
Syntax
tpctool mkzone -user user -pwd password -url url -fabric WWN
Command-line interface 95
Examples
Creating a zone
Important:
v An orphan zone is one that does not belong to a zone set. If the zone that you
are creating is an orphan zone and the switch and Data Source that you are
using support orphan zones, use only the mkzone command to create the zone.
However, if the switch and Data Source that you are using do not support
orphan zones, you must use the addzone command within the same transaction
to add the zone to a zone set. Specify the addzone command after you create the
zone using the mkzone command. For details about adding a zone to a zone set,
see the addzone command.
v To activate your changes to a zone set, use the actzs command. For details, see
the actzs command.
The switch that you are using does not support orphan zones. To create the
SUNSOLARIS zone, add the zone to a zone set, and activate the zone set, enter the
following commands. Specify all zoning changes within one transaction, from start
to commit, and then activate the zone set using the actzs command. The list of
WWPNs is read from standard input.
tpctool> start -user me -pwd mypass -url myhost:myport -fabric 100000051E34F6A8
tpctool> mkzone -fabric 100000051E34F6A8 -zone SUNSOLARIS -
tpctool> addzone -fabric 100000051E34F6A8 -zs PARIS SUNSOLARIS
tpctool> commit -fabric 100000051E34F6A8
tpctool> actzs -fabric 100000051E34F6A8 PARIS
mkzs
Use the mkzs command to create a zone set. This command must be run as a
transaction. You must have Fabric Administrator authority to use this command.
Syntax
tpctool mkzs -user user -pwd password -url url -fabric WWN
zone_set
-help -silent
Tip: To create a zone set, you must include at least one zone.
Examples
The following commands create the PARIS zone set, which includes the
SUNSOLARIS zone:
tpctool> start -user me -pwd mypass -url myhost:myport -fabric 100000051E34F6A8
tpctool> mkzone -fabric 100000051E34F6A8 -zone SUNSOLARIS -
tpctool> mkzs -fabric 100000051E34F6A8 PARIS
tpctool> addzone -fabric 100000051E34F6A8 -zs PARIS SUNSOLARIS
tpctool> commit -fabric 100000051E34F6A8
modifysrg
Use the modifysrg to modify an existing Storage Resource Group. You can add
and remove members by specifying the member type, such as switch or volume,
and the key for the member you want to add or remove.
Syntax
tpctool modifysrg -user user -pwd password -url url -add -remove
-fs character -qs character -silent -header
Command-line interface 97
system represents either the host name or IP address, and port_number
represents a valid port number for the HTTP service of the Device server.
-add
Adds a new member to the specified Storage Resource Group, designated by
the specified member type and key.
-remove
Removes an existing member from the specified Storage Resource Group,
designated by the specified member type and key. Use the lssrgmembers
-name SRGNameto see a list of members and member keys for a specified
Storage Resource Group.
-name SRGName
Indicates the unique Storage Resource Group to take action on. See the output
of lssrg.
-type srg | fabric | switch | server | subsystem | pool | tapelibrary |
tapedrive |
tapemediachanger | volume | hostdisk | vmdisk | mdisk | disk
Denotes the type of element that corresponds to the unique key in the key
parameter of this function.
-key memberKey
The unique key that corresponds to the member and member type specified in
the type parameter.
-fs character
Specifies the 7-bit character that separates the fields in the output. If you omit
this parameter, the fields are separated by spaces.
-header
Suppresses the column headers in the output. If you omit this parameter, the
column headers are enabled.
-help | -h | -?
Lists help information for the command.
-qs character
Specifies the 7-bit character that surrounds strings and date stamps in the
output. If you omit this parameter, strings and date stamps are enclosed by
double quotation marks (").
-silent
Suppresses all output for the command. If you omit this parameter, output is
enabled.
Examples
This command is available for Storwize V7000 and SAN Volume Controller storage
systems. You must have Disk Administrator authority to use this command.
Tip: You can use the following commands to set the back-end type of disk:
v setarray
v setbackenddisktype
You can also set the back-end type of disk for storage systems on the MDisk
Group Details page in the Tivoli Storage Productivity Center graphical user
interface.
Syntax
tpctool rmbackenddisktype -type disk_type
-help -qs character -silent -grouping
Value Description
A07 Sata - 7,500 rpm
F10 Fiber - 10,000 rpm
F15 Fiber - 15,000 rpm
DEFAULT Default value
-pwd password
Specifies the password for the Tivoli Storage Productivity Center user ID.
-url url
Specifies the Device server. The format of url is: system:port_number where
system represents either the host name or IP address, and port_number
represents a valid port number for the HTTP service of the Device server.
-fs character
Specifies the 7-bit character that separates the fields in the output. If you omit
this parameter, the fields are separated by spaces.
Command-line interface 99
-header
Suppresses the column headers in the output. If you omit this parameter, the
column headers are enabled.
-help | -h | -?
Lists help information for the command.
-qs character
Specifies the 7-bit character that surrounds strings and date stamps in the
output. If you omit this parameter, strings and date stamps are enclosed by
double quotation marks (").
-silent
Suppresses all output for the command. If you omit this parameter, output is
enabled.
-grouping
Enables the grouping of numeric values. For example, in English the value
12000 would display as 12,000. The grouping character is determined by the
system locale.
Examples
rmbackendraidtype
Use the rmbackendraidtype command to remove a back-end RAID array type
from the set of RAID array types available for Storwize V7000 and SAN Volume
Controller managed disk groups.
This command applies only to Storwize V7000 and SAN Volume Controller RAID
arrays.You must have Disk Administrator authority to use this command.
Syntax
tpctool rmbackendraidtype -type raid_type
-help -qs character -silent -grouping
Value Description
DEFAULT The default RAID type.
1 RAID 1
5 RAID 5
6 RAID 6
X The RAID type used by IBM XIV Storage System.
-user user
Specifies a valid Tivoli Storage Productivity Center user ID.
-pwd password
Specifies the password for the Tivoli Storage Productivity Center user ID.
-url url
Specifies the Device server. The format of url is: system:port_number where
system represents either the host name or IP address, and port_number
represents a valid port number for the HTTP service of the Device server.
-fs character
Specifies the 7-bit character that separates the fields in the output. If you omit
this parameter, the fields are separated by spaces.
-header
Suppresses the column headers in the output. If you omit this parameter, the
column headers are enabled.
-help | -h | -?
Lists help information for the command.
-qs character
Specifies the 7-bit character that surrounds strings and date stamps in the
output. If you omit this parameter, strings and date stamps are enclosed by
double quotation marks (").
-silent
Suppresses all output for the command. If you omit this parameter, output is
enabled.
-grouping
Enables the grouping of numeric values. For example, in English the value
12000 would display as 12,000. The grouping character is determined by the
system locale.
Examples
If the command is successful, a list of the types of back-end RAIDs that have been
removed is displayed:
Back-end Type Status
=======================
testing Succeeded
This command is available for Storwize V7000 and SAN Volume Controller storage
systems. You must have Disk Administrator authority to use this command.
Tip: You can use the following commands to set the type of back-end storage
system:
v setarray
v setbackendtype
You can also set the type of back-end storage system on the MDisk Group Details
page in the Tivoli Storage Productivity Center graphical user interface.
Syntax
tpctool rmbackendtype -type storage_system_type
-help -qs character -silent -grouping
Value Description
C EMC Clariion
D IBM System Storage DS8000
S EMC Symmetrix
X IBM XIV Storage System
V IBM System Storage DS4000
DEFAULT Default value
-user user
Specifies a valid Tivoli Storage Productivity Center user ID.
-pwd password
Specifies the password for the Tivoli Storage Productivity Center user ID.
Examples
The following command removes the specified type of back-end storage system:
tpctool> rmbackendtype -type L
rmsrg
Use the rmsrg command to delete the specified Storage Resource Group.
Syntax
tpctool rmsrg -user user -pwd password -url url name SRGname
-fs character -header -help -qs character
-silent
Examples
rmvol
Use the rmvol command to remove volumes. You must have Disk Administrator
authority to use this command.
Syntax
tpctool rmvol -user user -pwd password -url url
-f
volume_id
-silent -
Examples
The following command removes volumes from the specified array. Because the -f
option is specified, you are not prompted to confirm the removal:
tpctool> rmvol -f 000000000001107+6+2107.7597621+0
Syntax
tpctool rmza -user user -pwd password -url url -fabric WWN
Examples
The following commands remove the PARIS zone alias from the EUROPE zone:
tpctool -user me -pwd mypass -url myhost:myport
tpctool> start -fabric 100000051E34F6A8
tpctool> rmza -fabric 100000051E34F6A8 -zone EUROPE PARIS
tpctool> commit -fabric 100000051E34F6A8
rmzaports
Use the rmzaports command to remove a port or ports from a zone alias. You
must have Fabric Administrator authority to use this command.
Syntax
Examples
The following commands remove a port from the PARIS zone alias:
tpctool> -user me -pwd mypass -url myhost:myport
tpctool> start -fabric 100000051E34F6A8
tpctool> rmzaports -fabric 100000051E34F6A8 -za PARIS 210000E08B0B4C2G
tpctool> commit -fabric 100000051E34F6A8
rmzone
Use the rmzone command to delete a zone or remove a zone from a zone set. If
you remove or delete the last zone in a zone set, the zone set is also deleted. This
command must be run as a transaction. You must have Fabric Administrator
authority to use this command.
Syntax
tpctool rmzone -user user -pwd password -url url -fabric WWN
-zone zone
-zs zone_set -help -silent
| Tip: To delete a zone from a zone set, the zone must be included in another zone
| set.
Examples
Deleting a zone
The following commands remove the WINDOWSNT zone from the PARIS zone
set:
tpctool> start -user me -pwd mypass -url myhost:myport -fabric 100000051E34F6A8
tpctool> rmzone -fabric 100000051E34F6A8 -zone WINDOWSNT -zs PARIS
tpctool> commit -fabric 100000051E34F6A8
rmzoneports
Use the rmzoneports command to remove switch ports from a zone. This
command must be run as a transaction. You must have Fabric Administrator
authority to use this command.
Syntax
Examples
The following commands remove several switch ports from the SUNSOLARIS
zone. The list of WWPNs is read from standard input:
tpctool> start -user me -pwd mypass -url myhost:myport -fabric 100000051E34F6A8
tpctool> rmzoneports -fabric 100000051E34F6A8 -zone SUNSOLARIS -
tpctool> commit -fabric 100000051E34F6A8
rmzs
Use the rmzs command to delete a zone set. This command must be run as a
transaction. You must have Fabric Administrator authority to use this command.
Syntax
tpctool rmzs -user user -pwd password -url url -fabric WWN
zone_set
-help -silent
Tip: To delete a zone set, it must be inactive. If you attempt to delete a zone set
that is empty, the zone set is not deleted and no error message is given.
Examples
rollback
Use the rollback command to erase any commands that were issued since you
started the transaction. You must have Fabric Administrator authority to use this
command.
Syntax
tpctool rollback -user user -pwd password -url url -fabric WWN
-help
Examples
The following command rolls back a transaction. The user has previously issued
connection options, started a transaction, and issued a fabric-control command:
tcptool> rollback -fabric 100000051E34F6A8
setarray
Use the setarray command to set the type of back-end storage system, type of
Redundant Array of Independent Disks (RAID), type of disk, and number of disks
for an array.
This command is available for Storwize V7000 and SAN Volume Controller storage
systems. You must have Disk Administrator authority to use this command.
Syntax
tpctool setarray -user user -pwd password -url url -array array_id
-backendtype
storage_system_type -fs character -header -help
-backendraid
raid_type
-backenddisk
disk_type
-backenddiskcount
disk_count
-qs character -silent -grouping
When you issue the setarray command, you must enter a value for the array
parameter and at least one of the following parameters:
v -backendtype
v -backendraid
v -backenddisk
v -backenddiskcount
The default value is used for the parameters that you do not set.
Tip: You can set the values for back-end storage systems on the MDisk Group
Details page in the Tivoli Storage Productivity Center graphical user interface.
Value Name
C EMC Clariion
D DS8000
S EMC Symmetrix
X XIV
V DS4000
DEFAULT Default value
-backendraid raid_type
Specifies the type of RAID associated with the back-end storage system. You
can enter a type that you added or use one of the following values.
Value Description
1 RAID 1
5 RAID 5
6 RAID 6
X RAID X
DEFAULT Default value
-backenddisk disk_type
Specifies the type of disk. You can enter a type that you added or use one of
the following values.
-backenddiskcount disk_count
Specifies the number of disks.
-fs character
Specifies the 7-bit character that separates the fields in the output. If you omit
this parameter, the fields are separated by spaces.
-header
Suppresses the column headers in the output. If you omit this parameter, the
column headers are enabled.
-help | -h | -?
Lists help information for the command.
-qs character
Specifies the 7-bit character that surrounds strings and date stamps in the
output. If you omit this parameter, strings and date stamps are enclosed by
double quotation marks (").
-silent
Suppresses all output for the command. If you omit this parameter, output is
enabled.
-grouping
Enables the grouping of numeric values. For example, in English the value
12000 would display as 12,000. The grouping character is determined by the
system locale.
Examples
The following command sets the back-end storage system, type of RAID, type of
disk, and the number of disks for the specified array:
tpctool> setarray -array 0000020064405BA0:0+0000020064405BA0+0 -backendtype D
-backendraidtype 5 -backenddisktype F10 -backenddiskcount 160
setbackenddisktype
Use the setbackenddisktype command to set or update the type of back-end disk.
This command applies only to Storwize V7000 and SAN Volume ControllerYou
must have Disk Administrator authority to use this command.
-fs character -header -help -qs character
-silent -grouping
-fs character -header -help -qs character
-silent -grouping
Value Description
A07 Sata - 7 500 rpm
F10 Fiber - 10 000 rpm
F15 Fiber - 15 000 rpm
DEFAULT Default type for unconfigured devices
-iops disk_iops
The average number of input/output operations per second for the disk. You
can specify a value or use one of the following values:
-description description
Provides additional information about the type of back-end disk. The
maximum number of characters that you can enter is 256.
-fs character
Specifies the 7-bit character that separates the fields in the output. If you omit
this parameter, the fields are separated by spaces.
-header
Suppresses the column headers in the output. If you omit this parameter, the
column headers are enabled.
-help | -h | -?
Lists help information for the command.
-qs character
Specifies the 7-bit character that surrounds strings and date stamps in the
output. If you omit this parameter, strings and date stamps are enclosed by
double quotation marks (").
-silent
Suppresses all output for the command. If you omit this parameter, output is
enabled.
-grouping
Enables the grouping of numeric values. For example, in English the value
12000 would display as 12,000. The grouping character is determined by the
system locale.
Examples
Setting a back-end disk type
The following command sets the type of back-end disk for a back-end disk pool:
tpctool> setbackenddisktype -type testing -description testing -iops 99
setbackendraidtype
Use the setbackendraidtype command to set the types of back-end RAID arrays
for Storwize V7000 and SAN Volume Controller managed disk groups.
This command applies only to Storwize V7000 and SAN Volume ControllerYou
must have Disk Administrator authority to use this command.
Syntax
tpctool setbackendraidtype -user user -pwd password -url url
-help -qs character -silent -grouping
Value Description
DEFAULT The default RAID type.
1 RAID 1
5 RAID 5
6 RAID 6
X The RAID type used by IBM XIV Storage System.
Examples
setbackendtype
Use the setbackendtype command to set or update the type of back-end storage
system.
This command is available for Storwize V7000 and SAN Volume Controller storage
systems. You must have Disk Administrator authority to use this command.
-header -help -qs character -silent -grouping
-type storage_system_type
-name storage_system_name
-cachehit cache_hit_ratio -description description
-fs character -header -help -qs character
-silent -grouping
-name storage_system_name
Specifies the name of the back-end type of storage system. The maximum
number of characters that you can enter is 256. The name of the type of storage
system is displayed on the MDisk Group Details page in the Tivoli Storage
Productivity Center graphical user interface. You can enter a name or use one
of the following values.
Tip: If you enter a value for the -name or -description parameter that contains
spaces, you must enclose the value in double quotation marks such as "My
Description".
-cachehit cache_hit_ratio
Specifies the ratio of cache hits for read operations. The maximum number of
characters that you can enter is 4. You can specify a value or use one of the
following values:
-description description
Provides additional information about the type of back-end storage system.
The maximum number of characters that you can enter is 256. You can enter a
description or use one of the following values:
Value Description
"CX BE Cache Hit Ratio" EMC Clariion
"DS8K Disk Controller" DS8000
"DMX BE Cache Hit Ratio" EMC Symmetrix
"IBM XIV" XIV
"DS5K Disk Controller" DS4000
"DEFAULT TYPE FOR UNCONFIGURED 0 (default value)
DEVICES"
-fs character
Specifies the 7-bit character that separates the fields in the output. If you omit
this parameter, the fields are separated by spaces.
-header
Suppresses the column headers in the output. If you omit this parameter, the
column headers are enabled.
-help | -h | -?
Lists help information for the command.
-qs character
Specifies the 7-bit character that surrounds strings and date stamps in the
output. If you omit this parameter, strings and date stamps are enclosed by
double quotation marks (").
-silent
Suppresses all output for the command. If you omit this parameter, output is
enabled.
-grouping
Enables the grouping of numeric values. For example, in English the value
12000 would display as 12,000. The grouping character is determined by the
system locale.
Examples
setdscfg
Use the setdscfg command to set the value of a property in the property file for
the Device server. You must have IBM Tivoli Storage Productivity Center
administrator authority to use this command.
Syntax
tpctool setdscfg -user user -pwd password -url url
-help
This parameter applies to the Tivoli Storage Productivity Center device server
only.
-context PerformanceManager
Examples
setdslogopt
Use the setdslogopt command to set options for the log file used by the Device
server. You must have IBM Tivoli Storage Productivity Center administrator
authority to use this command.
Syntax
tpctool setdslogopt -user user -pwd password -url url
-format plain_text
pdxml -help -silent
The following command sets options for the log file used by the Device server:
tpctool> setdslogopt -user me -pwd mypass -url myhost:myport -filterkey character
-maxfiles 4 -maxfilesizes 10 -format plain_text
start
Use the start command to start a transaction. You must have Fabric Administrator
authority to use this command.
Syntax
tpctool start -user user -pwd password -url url -fabric WWN
-help
Examples
Starting a transaction
unassignvol
Use the unassignvol command to remove the host ports from the assignment list
for a volume. You must have Disk Administrator authority to use this command.
Syntax
tpctool unassignvol -user user -pwd password -url url
volume_id
-help -qs character -silent -
Examples
updatesrg
This command updates the attributes of the specified Storage Resource Group with
a new name, description, or user-defined properties.
Syntax
tpctool updatesrg -user user -pwd password -url url
newudp1 user-defined-property1
-newdescription newdescription
-fs character -header -help -qs character
-silent
. The username of the user creating the Storage Resource Group will be added
to the beginning of the Storage Resource Group name, followed by the name
specified in the name variable.
-newdescription newdescription
The description can contain any alphanumeric characters, and must be less
than 255 characters long.
newudp1 user-defined-property1
(optional) A user-defined property that may contain anything of significance to
the Storage Resource Group administrator. The UDP can contain any
alphanumeric character, and must be less than 255 characters long.
Examples
The following command updates a Storage Resource Group with the specified
attributes:
tpctool
tpctool> updatesrg -name testsrg -description Test-SRG-Description
-udp1 myudp1 -udp2 myudp2 -udp3 myudp3
csmcli command
The csmcli command is the IBM Tivoli Storage Productivity Center for Replication
command line interpreter (CLI) program. This command can be used either on its
own, using the associated options and arguments, or interactively by invoking
csmcli with no parameters or arguments to start an interactive session.
Syntax
Parameters
-help | -h | -? [command_name]
Displays help for the specified command. If you do not specify a command
name, this option displays help for the csmcli command. If you specify
additional parameters and arguments other than a command name, those
parameters and arguments are ignored.
-overview
Displays overview information about using the CLI program.
-noinfo
Removes the copyright, version, and build information when you start the
csmcli.
-username user_name
Specifies the IBM Tivoli Storage Productivity Center for Replication user name
with which you want to log in.
-password password
Specifies the password for the IBM Tivoli Storage Productivity Center for
Replication user name with which you want to log in.
Important: When you specify this option, the password is displayed as plain
text. Using this form of authentication could cause a security exposure.
If you specify a user name but not a password, and IBM Tivoli Storage
Productivity Center for Replication does not find the password in an
authentication file, you are prompted for the password. If prompted for the
password, the password does not display in plain text.
-server {domain_name | ip_address}
Sets the domain name or IP address of the IBM Tivoli Storage Productivity
Center for Replication server to which you want to connect.
Note: The server domain name or IP address is used only during this CLI
session.
-portport
Sets the port number to be used by the CLI program to connect to the IBM
Tivoli Storage Productivity Center for Replication server. The default value is
5110.
Note: The port number is used only during this CLI session.
-script file_name
Runs the set of command strings in the specified file outside of an interactive
CLI session. If you specify this parameter, you must specify a file name.
Description
You can run csmcli commands locally from the management server or remotely by
accessing the management server using a remote-access utility, such as secure shell
(SSH) or Telnet.
Invoking the csmcli command without any parameters, except the user name and
password, starts a interactive CLI session.
Note: You can also go to the installation directory and double-click the csmcli.bat
or csmcli.sh file to start a csmcli session in interactive mode. For example, on a
Windows system, the csmcli.bat file is located in C:\Program Files\IBM\
replication.
Note: On Linux systems, you must enter the CLI program name (csmcli) lower
case. Command input can be either lowercase, uppercase, or mixed case, unless
specific command parameters require case sensitivity.
Each CLI command issues a return value and message. Warning and informational
messages are written to the standard output stream (stdout). Error messages are
written to stderr. If a syntax error occurs while one of the commands in the script
is running, the script exits at the point of failure and returns to the system prompt.
Example
1. Start an interactive CLI session
This example illustrates how to start an CLI session if you have not set up an
authentication configuration file.
shell> cmscli -username admin -password admin
csmcli>
2. Set the server and port for the management server
This example illustrates how to set the server domain name to localhost and
port number to 5110 for the local management server.
shell> cmscli -server localhost -port 5110
3. Run several commands using a script file
This example illustrates how to run several commands using a script file name
cli_script.txt.
shell> cmscli -script cli_script.txt
To read syntax diagrams, follow the path of the line. Read the diagrams from
left-to-right, top-to-bottom, following the main path line:
v Required keywords are displayed on the main path line. Mutually exclusive
required keywords are stacked vertically. Optional key words indicate the
parameters or arguments you can choose to specify for the command. Optional
keywords appear below the main path line. Mutually exclusive optional
keywords are stacked vertically.
v The main path line begins on the left with double arrowheads (>>) and ends on
the right with two arrowheads facing each other (><). If a diagram is longer
than one line, each line to be continued ends with a single arrowhead (>) and
the next line begins with a single arrowhead. The -->< symbol indicates the end
of the syntax diagram.
v A dash (-) indicates that you must supply parameters from the stdin file rather
than entering parameters.
v An arrow returning to the left means you can repeat the item. A character or
space within the arrow means you must separate repeated items with that
character or space.
v A stack of items followed by an arrow returning to the left means that you can
select more than one item or, in some cases, repeat a single item.
v When a group of parameters is lengthy or a section is used more than once in a
command, it is shown as a separate fragment following the main diagram.
Syntax diagrams use position to indicate required, optional, and default values for
keywords, variables, and operands:
v If an element is shown on the line, the element is required. If an element is
shown below the line, the element is optional. If an element is shown above the
line, the element is the default.
v If an operand has a default value, the operand is shown both above and below
the main line. A value below the main line indicates that the operand must be
specified. You must specify the default value or one of the other valid values
that are shown. If an operand is not specified, the default value above the main
line is used.
v When one or more items are shown below the main line, all of the items are
optional.
Command emphasis
Special characters
Command entry
This topic describes how to enter commands in a valid format.
Order of parameters
Multiple values
For any commands that accept multiple input values of the same type, delimit the
values with a comma with no spaces in the input string (for example, -vol
3,5,8,9).
For any commands that require multiple value types in one string, delimit the
value types with a period. For example, if a volume requires a device number and
a volume number, you might specify -vol FCA86.3,FCA78.5,FCA96.8. When input
values are of different types but specified in the same flag, use a colon. For
example, to specify a minimum and maximum value in the same flag, you would
type –size min:max.
When a command runs on more than one argument, the CLI program establishes a
single security session to run the command on each of the multiple arguments.
User-defined objects
User-defined descriptions
Command modes
You can use the command line interface (CLI) to run a single command or a series
of commands, either interactively or from a script.
Single-shot mode
If you want to run only a single command, specify the csmcli program and
the command that you want to run from the shell prompt, for example:
shell> csmcli lslocation
Location Details
=================
1 Boulder
3 Marana
2 Tucson
shell>
Interactive mode
If you want to run several commands, start an CLI session using the
csmcli program with no parameters or arguments, and then enter each
command at the csmcli> shell prompt, for example:
shell> csmcli
csmcli> rmsess exmp_session
Are you sure that you want to remove session exmp_session? [y/n]:y
Session exmp_session removed
csmcli> exit
shell>
Script mode
If you want to run a set of commands that you defined in a file, use the
csmcli program with the -script parameter, for example:
shell> tpctool -script ~/bin/containersetup
shell>
You can add comments to the script file by placing a pound sign (#) in the
first column, for example:
# This script file lists the default storage pool.
lspool -l -type default
The CLI program recognizes these built-in commands in interactive mode:
setoutput
Specifies various command-output format options. All settings
specified with setoutput remain in effect for the duration of the
interactive command session unless reset either with a command
option or with setoutput. With no options, setoutput displays the
current settings in the default output format. Settings from the
setoutput command do not apply to help pages; help pages are
shown in text output only.
Syntax
setoutput
default -p on
-fmt xml off
delimchar
stanza
Syntax
help
-l command_name
-s
Parameters
-l Displays a list of all available commands and syntax for each if no other
options are specified. If a command name is also specified, this option displays
syntax for that command.
-s Displays a list of all available commands and a brief description of each if no
other options are specified. If a command name is also specified, this option
displays a brief description for that command.
command_name
Displays detailed help for the specified command
Description
You can use the command-help parameters (-help, -h, or -?) that are supported by
each command to display a detailed description of the specified command. For
more information about the command-help parameters, see the description for
each command.
Confirmation prompts
Messages
Each CLI command issues a return value and message. These messages are output
as follows:
v Warning and informational messages are written to stdout.
v Error messages are written to stderr.
v Messages include an explanation of the problem, if one exists.
Exit codes
The following exit codes apply to all commands that you enter using the CLI
program.
Table 3. Exit codes for CLI commands
Code Category Description
0 Success The command was successful.
2 Syntax error The syntax of the command was not correct.
3 Connection error A connectivity error or protocol error
occurred.
4 Server error An error occurred during a function call to
the application server.
5 Authentication error An error was detected during authentication
checking.
6 Application error An error occurred during processing that is
performed by the MetaProvider client
application.
Notes:
v In single-shot mode, an exit code is provided after each command.
v In interactive and script mode, an exit code is not provided after each command.
Instead, output is echoed to stdout for status information.
v In single-shot and interactive mode, with commands that act on more than one
argument if one or more operations fail, the CLI will:
– Complete execution of all operations that it can continue executing
– Report on all successful completions
– Report on any failures
The standard format parameters set the output format of the listing (ls) commands
in the CLI program. These parameters can be used either in one of the listing
commands or in the setoutput command. The format settings remain in effect for
the duration of the session or until you reset the parameters either by specifying
these parameters in a listing command (commands that start with ls) or using the
setoutput command.
v -p specifies whether to display one page of text at a time or all text at once.
v off displays all text at one time. This is the default value when the csmcli
command is run in single-shot mode.
v on displays one page of text at time. Pressing any key displays the next page.
This is the default value when the command is run in interactive mode.
v -r number specifies the number of rows per page to display when the -p
parameter is on. The default value is 24. You can specify a value of 1 - 100.
v -fmt specifies the format of the output. You can specify one of the following
values:
– default specifies that output be displayed in a tabular format using spaces as
the delimiter between the columns. This is the default value.
– delim character specifies that output be displayed in a tabular format using
the specified character to separate the columns. If you use a shell
metacharacter as the delimiting character, enclose the character in quotation
marks or single quotation marks. A blank space is not a valid character.
– xml specifies that output using XML format.
– -hdr specifies whether to display the table header. Use the default value of on
to display the table header. This is the default value. Use off to hide the table
header.
v -v specifies whether to enable verbose mode. Use the default value of off to
disable verbose mode. This is the default value. Use on to enable verbose mode.
These standard listing options modify command output in any CLI mode:
v lsobject-s lists only the objects without other columns of information. For
example, lssess –s lists only the name header and the session names.
v lsobject-l lists all the objects with all defined columns, including the description.
You can set output formats using the setoutput command in interactive or script
modes or using the corresponding standard command options in single-shot mode.
setoutput with no options
When you issue setoutput with no options, the CLI always displays the
current output settings in the default format (space-separated plain-text
table), regardless of the values of the output settings. For example, enter
the following command:
csmcli> setoutput
Paging Rows Format Header Verbose
===========================================
off - default on off
Name Personnel
Type System
Size (GB) 10000
Used (GB) 2500
Used (%) 25
Alert (%) 80
Volumes 20
Partition Size (MB) 64
Description Personnel data
There are three properties files that are used to configure the command-line
interface:
repcli.properties
Contains the server and port information used to communicate with the
IBM Tivoli Storage Productivity Center for Replication server and the
command-line interface.
rmserver.properties
Contains configuration information about logging.
tpcrcli-auth.properties
Contains authorization information for signing on to the CLI automatically
without entering your user name and password.
2. Copy the template to the tpcr-cli directory in your home directory (for
example, C:\Documents and Settings\joe\tpcr-cli\ on Windows.)
3. Edit the file, and add your user name and password.
4. Issue a csmcli command or enter the csmcli shell to encrypt the password in
the tpcrcli-auth.properties file.
adddevice
Use the adddevice command to add a storage system.
To add a storage system that is attached through an IBM z/OS connection, use the
addstorsys command.
Syntax
adddevice -devtype ds
-help ess
-h storwize-v7000
-? svc
xiv
-port port
; port
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-devtype { ds | ess | storwize-v7000 | svc | xiv}
Specifies the type of storage system. Supported storage systems are:
v ds: IBM System Storage DS8000 or System Storage DS6000
v ess: IBM TotalStorage Enterprise Storage Server Model 800
v storwize-v7000: IBM Storwize V7000 and IBM Storwize V7000 Unified
v svc: IBM System Storage SAN Volume Controller
v xiv: IBM XIV Storage System
Important: After you enter the parameters for the adddevice command, you
are prompted to enter the password for this user name. The password is not
displayed in the command window.
-port port[;port]
Specifies the port to use for accessing the clusters or nodes.
For the following storage systems, you can provide one port number, which is
used for both clusters, or you can provide two port numbers. If you have
separate port numbers, include a semicolon between the port for cluster 0 and
cluster 1. The default port number is 2433.
v TotalStorage Enterprise Storage Server Model 800
v System Storage DS8000
v System Storage DS6000
For XIV system, provide one port number, which is used for all nodes. The
default port number is 7778.
The following storage systems do not require this parameter.
v System Storage SAN Volume Controller
Examples
The following command adds a TotalStorage Enterprise Storage Server Model 800
storage system to Tivoli Storage Productivity Center for Replication.
csmcli> adddevice -devtype ess -ip sts596c0;sts596c1 -username admin
addhost
Use the addhost command to add host system connections to the IBM Tivoli
Storage Productivity Center for Replication server.
Syntax
addhost IP_Address
-help -port port -
-h
-?
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-port port
This is an optional parameter that specifies the port to use to access the host
system. If a port is not specified, the default port 9930 is used.
IP_Address | -
Specifies the IP address or host name of the host system.
Alternatively, use the dash (-) to specify that input for this parameter comes
from an input stream (stdin). The dash is supported only in single-shot mode.
Example
v Adding host systems
The following command shows how to add a host system with IP address
9.11.223.43. In this example, you could omit the -port parameter because port
9930 is the default.
csmcli> addhost -port 9930 9.11.223.43
addmc
Use the addmc command to add a management console connection and all the
storage systems that are managed by that management console.
Syntax
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-devtype { ds | ds8000 }
Specifies the type of hardware device. You can specify either ds or ds8000.
-ip ip_address[;ip_address]
Specifies the IP addresses of the management consoles to be added. For
dual-management console configurations, both IP addresses must be specified
with a semicolon in between (for example, 192.0.2.0;192.0.2.1).
-username user_name
Specifies the user name for the management console. For dual management
console configurations, the management consoles must have the same user
name.
Important: After you enter the parameters for the addmc command, you are
prompted to enter the password for this user name. For security, the password
is not displayed in the command window.
Example
addstorsys
Use the addstorsys command to add a specific storage system and its volumes that
are attached to the IBM Tivoli Storage Productivity Center for Replication server to
the IBM Tivoli Storage Productivity Center for Replication configuration through a
z/OS connection.
Syntax
Tip: Use the lsdevice command to display a list of valid storage system IDs.
Description
Important:
v You must have Administrator privileges to run this command.
v You can run this command only from the IBM Tivoli Storage Productivity Center
for Replication server that is installed on a system running z/OS.
v You can use this command to add only DS and ESS type storage systems.
If the storage system has been previously added through another connection type,
then z/OS is added to the storage system's connection types.
To add a storage system that is attached through a direct connection, use the
adddevice command. To add a storage system that is attached through a
hardware-management-console (HMC) connection, use the addmc command.
To change the location of the storage system, use the chlocation command.
Example
1. Adding an ESS storage system
This example illustrates how to add the storage system with ID
ESS:BOX:2105.12345 to the IBM Tivoli Storage Productivity Center for
Replication configuration through the z/OS connection.
csmcli> addstorsys -dev ESS:BOX:2105.12345 -conntype zos
The following output is returned:
IWNH1612I The connection ESS:BOX:2105.12345 was successfully added.
2. Adding an DS8000 storage system
This example illustrates how to add the storage system with ID
DS8000:BOX:2107.MV492 to the IBM Tivoli Storage Productivity Center for
Replication configuration through the z/OS connection.
csmcli> addstorsys -dev DS8000:BOX:2107.MV492 -conntype zos
The following output is returned:
IWNH1619I The storage device 2107.MV492 at ZOS was successfully added.
chauth
Use the chauth command to change the authorization level of a user.
Syntax
-type group
user
session_name
-
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-quiet
Suppresses the confirmation prompt for this command. This flag answers yes
to all confirmation prompts.
-authlevel { admin | operator | monitor }
Specifies the new authorization level. You can specify one of these
authorization levels: admin, operator, or monitor.
-name name
Specifies a user ID or group name for which you are changing the
authorization level.
-type group | user
Specifies whether authorization is to be changed for a user group or user.
session_name... | -
Specifies one or more sessions that the user can access. Separate multiple
session names using a blank space. Use this parameter when you are changing
the authorization level from user to operator. This parameter does not apply to
monitors or administrators.
If no session name is specified, all sessions are used by default, unless another
filter is used.
Alternatively, use the dash (-) to specify that input for this parameter comes
from an input stream (stdin). The dash is supported only in single-shot mode.
Example
1. Changing user authorization to administrator
The following command changes the authorization level for the user csmuser to
operator privileges with permission to manage session session1.
csmcli> chauth -name csmuser -type user -authlevel operator session1
The following output is returned:
Are you sure you want to change access for user csmuser? [y/n]:y
IWNR4016I Successfully granted the session operator role to csmuser.
chdevice
Use the chdevice command to change user names and passwords for accessing
storage systems.
Tip: To change the location of storage systems, use the chlocation command.
Syntax
chdevice -devtype ds
-help ess -ip ip_address
-h storwize-v7000
-? svc
xiv
-username user_name
-password password
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-devtype { ds | ess | storwize-v7000 | svc | xiv }
Specifies the type of storage system. Supported devices are:
v ds: IBM System Storage DS8000 or System Storage DS6000
v ess: IBM TotalStorage Enterprise Storage Server Model 800
v storwize-v7000: IBM Storwize V7000 and IBM Storwize V7000 Unified
v svc: IBM System Storage SAN Volume Controller
v xiv: IBM XIV Storage System
-ip ip_address [;ip_address]
Specifies the IP address or host name of the clusters or nodes that are used by
the storage system.
The following storage systems use two clusters. You must specify the IP
address or host name for each cluster using a semicolon between the addresses
(for example, 192.0.2.0;192.0.2.1):
v TotalStorage Enterprise Storage Server Model 800
v System Storage DS8000
v System Storage DS6000
The following storage systems use one node and require only one address or
host name:
v System Storage SAN Volume Controller
v Storwize V7000
v Storwize V7000 Unified
XIV system uses multiple nodes. Specify the IP address or host name for one
node and the remaining nodes are discovered automatically.
Examples
The following command changes the user name and password for a DS storage
system.
csmcli> chdevice -devtype DS -ip ds8kboxc0.domain.company.com;ds8kboxc1.domain.company.com
-username admin
chhost
Use the chhost command to change credentials for host systems that are connected
to the IBM Tivoli Storage Productivity Center for Replication server.
Syntax
chhost
-help -quiet -oldport port -newip IP_Address
-h
-?
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-quiet
Suppresses the confirmation prompt for this command. This flag answers yes
to all confirmation prompts.
-oldport port
Specifies the old port number for the host system connection to be modified.
-newip IP_Address
Specifies the new IP address or host name of the host system connection to be
modified.
-newport port
Specifies the new port number for the host system connection to be modified.
IP_Address | -
Specifies the IP address or host name of the host system connection to be
modified.
Alternatively, use the dash (-) to specify that input for this parameter comes
from an input stream (stdin). The dash is supported only in single-shot mode.
Example
The following command shows how to change the IP address or host name and
port number for a host system connection.
csmcli> chhost -oldport 9930 -newip 9.11.224.23 -newport 9931 9.11.223.43
chlocation
Use the chlocation command to change the location associated with the specified
storage systems.
Syntax
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
Tip: Use the lsdevice command to list the valid storage system IDs.
Description
To list the locations that have already been associated with storage systems, use the
lslocation command.
Example
chmc
Use the chmc command to set or change the hardware credentials for the hardware
management console (HMC).
Syntax
chmc
-help -devtype ds
-h ds8000
-?
id
-
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
Tip: Use the lsmc command to list the management console IDs.
Description
To change the location of a storage system behind a HMC connection, use the
chlocation command.
Example
The following command change the user name and password for the HMC with
ID HMC:127.0.0.1 and IP address 9.11.222.33.
csmcli> chmc -devtype ds -ip 127.0.0.1 -username admin -password HMC:127.0.0.1
chsess
Use the chsess command to change the description or options set of an existing
session. To change the session type, you must delete the session and create a new
one.
Syntax
chsess
-help -quiet -desc description
-h
-?
-maxdrain_h1j3 max_drain_time -maxdrain_h2j3 max_drain_time
-maxdrain_h2j1 value -coordint coordination_interval_time
-coordint_h1j2 coordination_interval_time
-coordint_h1j3 coordination_interval_time -coordint_h2j3 value
-coordint_h2j1 value -rpo rpo_value -schedule schedule
-rpo_h1j2 rpo_value -rpo_h1j3 rpo_value -rpo_h2j1 rpo_value
-rpo_h2j3 rpo_value -dsinc yes -dspers yes
no no
-dsnocpy yes -dspmir no -dstgtpprc true
no preferred false
required
-reflash yes -svccopyrate svc_background_copy_rate
no
-svccopyrate_h2i2 svc_background_copy_rate -svcinc yes
no
-manageH1H2withHyperSwap yes -disableHS yes
no no
-onConfigErrorHS disable -onPlannedErrorHS disable
partition partition
-onUnplannedErrorHS disable
partition
-manageH1H2withOpenHyperSwap yes -disableOHS yes
no no
-rmreserves yes -failIfTgtOnline yes
no no
session_name
-aftersuspend hold -
release
Parameters
Restriction: Parameters that begin with ds, such as -dsinc, apply only to
TotalStorage Enterprise Storage Server Model 800, System Storage DS8000, and
System Storage DS6000. For practice sessions, the -dspers parameter is available
only for System Storage DS8000 version 4.2, or later.
Parameters that begin with svc, such as -svcinc, apply only to System Storage SAN
Volume Controller, Storwize V7000, and Storwize V7000 Unified.
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-quiet
Suppresses the confirmation prompt for this command. This flag answers yes
to all confirmation prompts.
Notes:
v Tivoli Storage Productivity Center for Replication cannot determine with
absolute certainty whether the target is online to a host.
v This parameter affects only count key data (CKD) volumes.
v Online means that path groups are present. A path group is necessary, but is
not enough to indicate that the volume is online. For example, an LPAR that
is not part of a sysplex can be taken down (for example, through a
power-off without a shutdown) and path groups will display as present, but
no LPAR will have the volume online. That is, the path groups are present,
but z/OS software might think the volumes are offline.
-aftersuspend{ hold | release }
(Metro Mirror sessions) Specifies the session operation after a suspend occurs.
Valid policies are:
hold Does not allow any updates to the primary volume after a suspend.
release
allow updates to the primary volume after a suspend.
session_name... | -
Specifies the name of the session that is to be modified.
Alternatively, use the dash (-) to specify that input for this parameter comes
from an input stream (stdin). The dash is supported only in single-shot mode.
Examples
The following command changes the description of the session session1 to MGM
session.
csmcli> chsess -desc "MGM session" session1
The following command changes location of each site in Metro Global Mirror
session session1.
Disabling HyperSwap
chvol
Use the chvol command to change the protection setting associated with a volume.
Syntax
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-quiet
Suppresses the confirmation prompt for this command. This flag answers yes
to all confirmation prompts.
-protected
Marks the volume or volumes as protected. It specifies that the volumes cannot
be used in an add copy set action.
-unprotected
Marks the volume or volumes as unprotected. It specifies that the volumes can
be used in an add copy set action.
volume_id | -
Specifies a volume ID for which to can change the protection setting.
Alternatively, use the dash (-) to specify that input for this parameter comes
from an input stream (stdin). The dash is supported only in single-shot mode.
Example
1. Protecting volumes
The following command marks the volume with ID ESS:2107.fca64:VOL:1234
as protected.
csmcli> chvol -protected DS8000:2107.04131:VOL:0001
The following output is returned:
cmdsess
Use the cmdsess command to run a specific action against a session.
Tip: To list all of the session actions that can be run for a session, use the
lssessactions command.
Syntax
session_name
-newname snapshot_group_name -
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-quiet
Suppresses the confirmation prompt for this command. This flag answers yes
to all confirmation prompts.
-action action_type
Specifies the action type (command) depending on the state and type of
session. The possible action types are displayed in the syntax diagram and are
described in the IBM Tivoli Storage Productivity Center User's Guide and IBM
Tivoli Storage Productivity Center for Replication for System z User's Guide.
-restorefrom snapshot_group_name
Specifies the name of the snapshot group that you want to use to restore the
data in the H1 volumes for the session. The snapshot group must be in the
session.
This parameter is required if the -action parameter value is restore.
-priority { 1 | 2 | 3 | 4}
Specifies the priority in which the snapshot group will be deleted from the
session. The value is the number 1 - 4. A value of 1 specifies that the snapshot
group is deleted last. A value of 4 specifies that the snapshot group is deleted
first.
This parameter is optional and only used if the -action parameter value is
create_snapshot.
-newname snapshot_group_name
Specifies the new name for the snapshot group.
This parameter is optional and only used if the -action parameter value is
create_snapshot.
session_name | -
Specifies the name of the session that the action will run against.
Alternatively, use the dash (-) to specify that input for this parameter comes
from an input stream (stdin). The dash is supported only in single-shot mode.
Examples
Starting a session
The following command runs the Start H1->H2->H3 action on session session1:
csmcli> cmdsess -action start_h1:h2:h3 session1
The following command runs the Enable Copy to Site 1 action on session
session1 without prompting for confirmation:
csmcli> cmdsess -quiet -action enable_copy_to_site_1 session1
cmdsnapgrp
Use the cmdsnapgrp command to run a specific action against a snapshot group
that is in an IBM XIV Storage System Snapshot session.
Syntax
-group snapshot_group_name
-restorefrom snapshot_group_name
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-quiet
Suppresses the confirmation prompt for this command. This flag answers yes
to all confirmation prompts.
-action action_type
Specifies the action that you want to complete for a snapshot group in a
session. The valid values are:
delete Deletes the snapshot group and all the individual snapshots that are in
the group from the session and from XIV system.
If the deleted snapshot group is the last snapshot group that is
associated with the session, the session returns to the Defined state.
disband
Disbands the snapshot group. When a snapshot group is disbanded,
the snapshot group no longer exists. All snapshots in the snapshot
group become individual snapshots that are no longer associated to the
consistency group or the session.
After a snapshot group is disbanded, it is no longer shown in or
managed by IBM Tivoli Storage Productivity Center for Replication. If
the disbanded snapshot group is the last snapshot group that is
associated with the session, the session returns to the Defined state.
duplicate
Duplicates the snapshot group. When a snapshot group is duplicated, a
new snapshot group is created with new snapshots for all volumes that
are in the duplicated group. A name for the duplicated snapshot group
is generated automatically by XIV system.
lock Locks a snapshot group. If the snapshot group is locked, write
operations to the snapshots within the snapshot group are prevented.
By default, a snapshot group is locked when it is created.
This action is valid only if the snapshot group is unlocked.
overwrite
Overwrites the snapshot group to reflect the data that is on the master
volume.
rename
Renames the snapshot group.
To specify the new name, use the -newname parameter.
restore
Restores the contents of a snapshot group using another snapshot
group in the session. Both of the snapshot groups must contain the
same subset of volumes.
Examples
The following command sets a deletion priority of 4 for the snapshot group
snap1_002.snap_group_0001 in the session snap1.
csmcli> cmdsnapgrp -group snap1_002.snap_group_0001 -action set_priority -priority 4
-quiet snap1
exportcsv
Use the exportcsv command to export the copy sets in a session to a
comma-separated values (CSV) file or to the console. You are prompted to
overwrite the CSV file if it exists.
Syntax
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-file file_name
Specifies the name and path of the CSV file. If you do not specify this
parameter, the CSV output is displayed on the command-line interface.
session_name | -
Specifies the name of the session from which you are exporting the copy sets.
Examples
The following command exports the copy sets in session session1 to the file
c:\session1.csv.
csmcli> exportcsv -file c:\session1.csv session1
The following command exports the copy sets in session session1 to standard
output.
csmcli> exportcsv session1
H1,H2,H3,I3,J3
DS8000:2107.NK791:VOL:1500,DS8000:2107.MW931:VOL:1500,
DS8000:2107.04131:VOL:1500,DS8000:2107.04131:VOL:1505,
DS8000:2107.04131:VOL:150A
DS8000:2107.NK791:VOL:1501,DS8000:2107.MW931:VOL:1501,
DS8000:2107.04131:VOL:1501,DS8000:2107.04131:VOL:1506,
DS8000:2107.04131:VOL:150B
DS8000:2107.NK791:VOL:1502,DS8000:2107.MW931:VOL:1502,
DS8000:2107.04131:VOL:1502,DS8000:2107.04131:VOL:1507,
DS8000:2107.04131:VOL:150C
DS8000:2107.NK791:VOL:1503,DS8000:2107.MW931:VOL:1503,
DS8000:2107.04131:VOL:1503,DS8000:2107.04131:VOL:1508,
DS8000:2107.04131:VOL:150D
DS8000:2107.NK791:VOL:1504,DS8000:2107.MW931:VOL:1504,
DS8000:2107.04131:VOL:1504,DS8000:2107.04131:VOL:1509,
DS8000:2107.04131:VOL:150E
ESS:2105.FCA57:VOL:1500,DS8000:2107.NF111:VOL:1505,
DS8000:2107.04131:VOL:1600,DS8000:2107.04131:VOL:1605,
DS8000:2107.04131:VOL:160A
ESS:2105.FCA57:VOL:1501,DS8000:2107.NF111:VOL:1506,
DS8000:2107.04131:VOL:1601,DS8000:2107.04131:VOL:1606,
DS8000:2107.04131:VOL:160B
ESS:2105.FCA57:VOL:1502,DS8000:2107.NF111:VOL:1507,
DS8000:2107.04131:VOL:1602,DS8000:2107.04131:VOL:1607,
DS8000:2107.04131:VOL:160C
ESS:2105.FCA57:VOL:1503,DS8000:2107.NF111:VOL:1508,
DS8000:2107.04131:VOL:1603,DS8000:2107.04131:VOL:1608,
DS8000:2107.04131:VOL:160D
ESS:2105.FCA57:VOL:1504,DS8000:2107.NF111:VOL:1509,
DS8000:2107.04131:VOL:1604,DS8000:2107.04131:VOL:1609,
DS8000:2107.04131:VOL:160E
The following command exports the copy sets in the XIV system Global Mirror
Failover/Failback session xiv_gm_1 to standard output.
csmcli> exportcsv xiv_gm_1
The following output is returned. For all XIV system session types, the volume
nickname rather than the volume ID is provided in the output. In the following
out example, myvolume is the volume nickname for both the H1 and H2 volumes.
H1,H2
XIV:VOL:7803448:myvolume,XIV:VOL:7804988:myvolume
hareconnect
Use the hareconnect command to reconnect the active and standby servers for
high availability (HA).
Syntax
hareconnect
-help -quiet
-h
-?
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-quiet
Suppresses the confirmation prompt for this command. This flag answers yes
to all confirmation prompts.
Example
The following command reconnect the active and standby management servers.
csmcli> hareconnect
hatakeover
Use the hatakeover command to change the standby server to the active server.
Syntax
hatakeover
-help -quiet
-h
-?
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
Description
Note: For the several commands that implement high-availability with the
definition of a standby server, the standby server must be at the same level of IBM
Tivoli Storage Productivity Center for Replication code as the active server.
Example
The following command changes the standby server to the active server.
csmcli> hatakeover
importcsv
Use the importcsv command to parse a comma-separated values (CSV) file to
create copy sets for a session.
The CSV file is parsed and copy sets are created from the data in the file. The CSV
file must contain data for all the necessary roles in the session for which the copy
sets are being created.
The following is an example CSV file for storage systems other than XIV system.
#Session1,
#FlashCopy,
#Oct 2 10:03:18 AM
H1,T1
DS8000:2107.FRLL1:VOL:1004,DS8000:2107.FRLL1:VOL:1104
DS8000:2107.FRLL1:VOL:1011,DS8000:2107.FRLL1:VOL:1101
DS8000:2107.FRLL1:VOL:1005,DS8000:2107.FRLL1:VOL:1105
Each line represents source and target volumes for the copy sets. The values for
the volumes consist of the following information delimited by a colon:
v The storage system type
v The numeric value for the storage system type (this is not included for all
storage system types)
v The serial number
v The volume ID preceded by VOL:.
H1,H2
XIV:VOL:7803448:myvolume,XIV:VOL:7804988:myvolume
Syntax
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-quiet
Suppresses the confirmation prompt for this command. This flag answers yes
to all confirmation prompts.
-file file_name
A required parameter that specifies the name of the CSV file.
session_name | -
Specifies the name of the session for which you are creating copy sets.
Alternatively, use the dash (-) to specify that input for this parameter comes
from an input stream (stdin). The dash is supported only in single-shot mode.
Examples
The following command imports the file name exportcsvtest.csv into session
session1 without prompting for a confirmation.
csmcli> importcsv -quiet -file exportcsvtest.csv session1
IWNR2001I The pair was successfully created in session session1 for copy set
DS8000:2107.FRLL1:VOL:1011 with source DS8000:2107.FRLL1:VOL:1011 and target
DS8000:2107.FRLL1:VOL:1101.
IWNR2001I The pair was successfully created in session session1 for copy set
DS8000:2107.FRLL1:VOL:1005 with source DS8000:2107.FRLL1:VOL:1005 and target
DS8000:2107.FRLL1:VOL:1105.
lsauth
Use the lsauth command to lists the name, authorization level, and session
permission for each user or user group.
Syntax
-s
lsauth
-help -l default
-h -fmt xml
-? delim
-delim char
stanza
on on -r number off
-p off -hdr off -v on
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-s Displays default information about each user and user group, including the
name, classification, and role.
-l Displays detailed information for each user and user group, including:
Example
1. Listing all users and user groups
The following command lists all currently defined users and user groups.
csmcli> lsauth
The following output is returned:
Name Classification Role
====================================
csmuser User Administrator
2. Listing detailed authorization information
The following command lists detailed information about the user csmuser.
csmcli> lsauth -l
The following output is returned:
Name Classification Role Session
============================================
csmuser User Administrator -
Syntax
-s
lsavailports
-help -l default
-h -fmt xml
-? delim
-delim char
stanza
on on -r number off
-p off -hdr off -v on
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-s
Displays default information, including the source and target LSS and the type
of port configuration.
-l
Displays detailed information for each port, including:
Example
The following command lists the port configuration used for each path with source
LSS DS8000:2107.04131:LSS:15 and target LSS ESS:2105.FCA57:LSS:15.
csmcli> lsavailports -src DS8000:2107.04131:LSS:15 -tgt ESS:2105.FCA57:LSS:15
lscpset
Use the lscpset command to list the IDs of copy sets in a session.
Syntax
-s
lscpset
-help -l default
-h -fmt xml
-? delim
-delim char
stanza
on on -r number off
-p off -hdr off -v on
session_name
-h1 h1_volume_id -
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-s | -l
Displays the following information:
Examples
The following command lists copy set IDs and the number of volumes that are
associated with the copy sets in a session called session1:
csmcli> lscpset session1
Syntax
-s
lscptypes
-help -l default
-h -fmt xml
-? delim
-delim char
stanza
on on -r number off
-p off -hdr off -v on
-devtype ds
ds6000
ds8000
ess
svc
storwize-v7000
xiv
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-s
Lists default information about the session types being used, including the full
name and description.
-l
Displays detailed information for each session types, including:
Example
Listing all session types for a System Storage DS8000 or System Storage DS6000
session
The following command lists all the session types that you can use.
csmcli> lscptypes
Listing session types supported for System Storage DS8000 and System Storage
DS6000 storage systems
csmcli> lscptypes -devtype ds
lsdevice
Use the lsdevice command to list storage systems and properties.
Tip: To list storage systems that can be discovered through an IBM z/OS
connection, use the lsstorcandidate command.
Syntax
-s
lsdevice
-help -l default
-h -fmt xml
-? delim
-delim char
stanza
-devtype ds
ds6000 -mcid mc_id
ds8000
ess device_id
storwize-v7000 -
svc
xiv
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-s
Specifies that default information for each storage system is displayed. This
information includes the device ID, connection type, device type, and local
server connection status.
-l
Specifies that detailed information for each storage system is displayed,
including:
Examples
Listing all System Storage DS8000 and System Storage DS6000 storage systems
The following command lists information for all System Storage DS8000 and
System Storage DS6000 series storage systems.
csmcli> lsdevice -devtype ds
Device ID Connection Type Device Type Local Server Connection
=========================================================================
DS8000:BOX:2107.04131 Direct DS8000 Connected;Connected
DS8000:BOX:2107.MW931 Direct DS8000 Connected;Connected
DS8000:BOX:2107.NF111 Direct DS8000 Connected;Connected
DS8000:BOX:2107.NK791 Direct DS8000 Connected;Connected
DS6000:BOX:1750.AAXYA Direct DS6000 Connected;Connected
The following command lists detailed information for the storage system
DS8000:BOX:2107.04131.
csmcli> lsdevice -devtype ds -l -fmt stanza DS8000:BOX:2107.04131
The following command lists detailed information for all XIV systems.
csmcli> lsdevice -devtype XIV -l
lshaservers
Use the lshaservers command to show the status of each active and standby
management server.
Syntax
-s
lshaservers
-help -l default
-h -fmt xml
-? delim
-delim char
stanza
on on -r number off
-p off -hdr off -v on
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-l | -s
Displays detailed information for each management server, including:
Example
The following command lists the status of the active and standby management
servers.
csmcli> lshaservers
lshost
Use the lshost command to view host systems that have been added to IBM Tivoli
Storage Productivity Center for Replication.
Syntax
-s
lshost
-help -l default
-h -fmt xml
-? delim
-delim char
stanza
on on -r number off
-p off -hdr off -v on
IP_Address ...
-
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-s Specifies that default information for each host system is displayed.
-l Specifies that detailed information for each host system is displayed, including:
Example
v Listing all host systems
lslocation
Use the lslocation command to list all defined locations.
Syntax
-s
lslocation
-help -l default
-h -fmt xml
-? delim
-delim char
stanza
on on -r number off
-p off -hdr off -v on
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-l | -s
Displays detailed information for each location, including:
Example
Listing locations
Syntax
-s
lslss
-help -l default
-h -fmt xml
-? delim
-delim char
stanza
on on -r number off
-p off -hdr off -v on
-dev device_id
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-l | -s
Displays detailed information for each storage system, including:
Example
The following command lists all available LSSs associated with the storage system
DS8000:BOX:2107.04131.
csmcli> lslss -dev DS8000:BOX:2107.04131
Syntax
-s
lsmc
-help -l default
-h -fmt xml
-? delim
-delim char
stanza
on on -r number off
-p off -hdr off -v on
-devtype
ds
ds8000 id
-
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-s
Displays default information for each management console, including the ID
and local server connection.
-l Displays detailed information for each management console, including:
Example
The following command lists the management consoles and settings for all DS
storage systems.
csmcli> lsmc -devtype ds -l
lspair
Use the lspair command to list the copy pairs for a specified role pair or to list the
copy pairs for a specified copy set.
Important: The lspair command is not used for IBM XIV Storage System Snapshot
sessions because copy pairs do not exist in this session type.
Syntax
-s
lspair
-help -l default
-h -fmt xml
-? delim
-delim char
stanza
on on -r number off
-p off -hdr off -v on
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-s Specifies that default information for each copy pair is displayed. The default
information is the source and target volumes in the pair and the role pair.
-l Displays detailed information for each copy pair, including:
Examples
The following command lists the copy pairs that are associated with role pair
h2-i3 in the session session1 and are in the Suspended state:
csmcli> lspair -rolepair h2-i3 -state Suspended session1
Listing detailed information for all copy pairs for a specific copy set
The following command lists detailed information about the copy pairs that are
associated with the copy set DS8000:2107.NK791:VOL:1500 in the session session1.
The -fmt stanza parameter specifies that the output is displayed as one
keyword-value pair per line.
csmcli> lspair -l -fmt stanza -cpset DS8000:2107.NK791:VOL:1500 session1
...
lsparameter
Use the lsparameter command to list Metro Mirror heartbeat setting.
Syntax
-s
lsparameter
-help -l default
-h -fmt xml
-? delim
-delim char
stanza
on on -r number off
-p off -hdr off -v on
-parmname consistencyheartbeat
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-s Displays default information for each system parameter, including the
parameter name and value.
-l Displays detailed information for each system parameter, including:
Note: Only the heartbeat setting is currently supported and returned by this
command.
csmcli> lsparameter -l
The following output is returned:
Parameter Name Value Parm Name
=========================================================
The heartbeat function is set on consistencyheartbeat
2. Displaying the Metro Mirror heartbeat setting
The following command displays the current setting for the Metro Mirror
heartbeat.
csmcli> lsparameter -parmname consistencyheartbeat
The following output is returned:
Parameter Name Value
====================================
The heartbeat function is set on
lspath
Use the lspath command to display paths between ESS and DS devices. You can
then use this information for a remote copy.
Syntax
-s
lspath
-help -l default
-h -fmt xml
-? delim
-delim char
stanza
on on -r number off
-p off -hdr off -v on
-src source_lss
-tgt target_lss
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-s Displays default information for each path, including the source and target
LSS, path type, status, and whether the path was auto-generated.
-l Displays detailed information for each path, including:
Example
1. Listing all paths with the same source LSS
The following command lists all paths that use source LSS
DS8000:2107.04131:LSS:15.
csmcli> lspath -src DS8000:2107.04131:LSS:15
The following output is returned:
Source Target Type
=============================================================================
DS8000:2107.04131:LSS:15.0x0330 DS8000:2107.NF111:LSS:15.0x0030 Fibre Channel
DS8000:2107.04131:LSS:15.0x0110 ESS:2105.FCA57:LSS:15.0x000C Fibre Channel
DS8000:2107.04131:LSS:15.0x0110 DS8000:2107.NK791:LSS:15.0x0032 Fibre Channel
Status Auto-Generated
==========================
Established Yes
Established Yes
Established Yes
2. Listing information about a specific path
The following command lists information about the path with source LSS
DS8000:2107.04131:LSS:15.
csmcli> lspath -src DS8000:2107.04131:LSS:15 -tgt ESS:2105.FCA57:LSS:15
The following output is returned:
Source Target Type
==========================================================================
DS8000:2107.04131:LSS:15.0x0110 ESS:2105.FCA57:LSS:15.0x000C Fibre Channel
Status Auto-Generated
==========================
Established Yes
lspool
Use the lspool to list pools that are on XIV systems.
Syntax
-s
lspool
-help -l default
-h -fmt xml
-? delim
-delim char
stanza
-dev device_ID
-devicename device_name
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-s | -l
Displays the following information:
Examples
The following command lists the pools that are on all XIV systems.
csmcli> lspool -l
The following command lists the pools that are on the XIV system with the ID
XIV:BOX:1300202.
csmcli> lspool -dev XIV:BOX:1300202 -l
The following command lists the pools that are on the XIV system that is named
XIV:BOX:1300202 Troy.
csmcli> lspool -devicename ’XIV:BOX:1300202 Troy’
lsrolepairs
Use the lsrolepairs command to display role pairs in a session.
Syntax
-s
lsrolepairs
-help -l default
-h -fmt xml
-? delim
-delim char
stanza
on on -r number off
-p off -hdr off -v on
session_name
-
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-s Displays default information for each role pair, including the role name,
session (copy) type, and whether the role pair is recovery, has errors, and is in
processes of copying data.
-l Displays detailed information for each role pair, including:
Description
Example
1. Listing role pairs in a session
The following command lists information about the role pairs in the session
session1.
csmcli> lsrolepairs session1
The following output is returned:
Name Recoverable Error Copying Copy Type
=========================================
H1-H2 No Yes Yes MM
H2-J3 No No No GM
H1-I3 No No No GC
I3-J3 No No No FC
H1-J3 No No No GM
H3-I3 No No No FC
H2-I3 No No Yes GC
H1-H3 No No No GC
Name H2-J3
Recoverable No
Name H1-I3
Recoverable No
Error No
Copying No
Copy Type GC
Progress -
Error volumes 0
Recoverable pairs 0
Copying pairs 0
Total pairs 10
Recovery time n/a
...
lsrolescpset
Use the lsrolescpset command to list the volume roles in the specified session.
Syntax
-s
lsrolescpset
-help -l default
-h -fmt xml
-? delim
-delim char
stanza
on on -r number off
-p off -hdr off -v on
session_name
-
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-l | -s
Displays detailed information for each session, including:
lssess
Use the lssess command to display sessions and their status.
Syntax
-s
lssess
-help -l default
-h -fmt xml
-? delim
-delim char
stanza
on on -r number off
-p off -hdr off -v on
-cptype copy_type -status normal
warning
severe session_name
unknown -
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-s Displays default information for each session, including the session name,
status, state, and session (copy) type.
-l
Displays detailed information for each session, including:
lssessactions
Use the lssessactions command to list all the session actions (commands) that can
be run for a session.
Syntax
-s
lssessactions
-help -l default
-h -fmt xml
-? delim
-delim char
stanza
on on -r number off
-p off -hdr off -v on
session_name
-
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-s | -l
Specifies that the following information is displayed for each session:
Example
The following command lists all actions that can be run for the session named
session1:
csmcli> lssessactions session1
lssessdetails
Use the lssessdetails command to display the details of a session.
Syntax
-s
lssessdetails
-help -l default
-h -fmt xml
-? delim
-delim char
stanza
on on -r number off
-p off -hdr off -v on
session_name
-
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-s
Displays default information for each session, including option names and
values.
-l
Displays detailed information for each session, including:
Example
The following command lists detailed information about a Metro Global Mirror
with Practice session named session1.
csmcli> lssessdetails -l session1
lssnapgrp
Use the lssnapgrp command to view snapshot groups that are in an IBM XIV
Storage System Snapshot session.
Syntax
-s
lssnapgrp
-help -l default
-h -fmt xml
-? delim
-delim char
stanza
on on -r number off
-p off -hdr off -v on
session_name
-
Example
The following command lists all snapshot groups that are in the session snap6:
csmcli> lssnapgrp snap6
Listing detailed information about the snapshot groups that are in a session
The following command lists detailed information about the snapshot groups that
are in the session snap6:
csmcli> lssnapgrp -l snap6
lssnapgrpactions
Use the lssnapgrpactions command to specify the session and snapshot group
name that you want to view available actions for.
Syntax
-s
lssnapgrpactions
-help -l
-h
-?
default on on
-fmt xml -p off -hdr off
delim
-delim char
stanza
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-s | -l
-s Specifies the default output which is action name and description.
-l Specifies the detailed output. In this case, specifies the same output as
the -s parameter.
-fmt { default | xml | delim | stanza }
Specifies the format of the output. You can specify one of these values:
default
Specifies that the output is displayed in tabular format using spaces as
delimiters between columns. This is the default value.
xml Specifies that the output is displayed in XML format.
delim Specifies that output is displayed in a tabular format using commas as
delimiters between columns.
To use a character other than a comma as the delimiter, specify -fmt
delim -delim char , where char represents the character that you want
Example
The following command specifies the session and snapshot group name that you
want to view available actions for.
csmcli> lssnapgrpactions -group MySnapSession.snap_group_0001 MySnapSession
lssnapshots
Use the lssnapshots command to view snapshots that are in a snapshot group in a
IBM XIV Storage System Snapshot session.
Syntax
-s
lssnapshots
-help -l default
-h -fmt xml
-? delim
-delim char
stanza
on on -r number off
-p off -hdr off -v on
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-s
Specifies that default information for each snapshot in the snapshot group is
displayed. The default information is the name of the snapshot.
-l
Specifies that detailed information for each snapshot in the snapshot group is
displayed, including:
Examples
The following command lists all snapshots that are in the snapshot group
snap6.snap_group_00001 for session snap6:
csmcli> lssnapshots -group snap6.snap_group_00001 snap6
Listing detailed information about the snapshots that are in a snapshot group in
a session
The following command lists detailed information about the snapshots that are in
snapshot group in the session snap6:
csmcli> lssnapshots -group snap6.snap_group_00001 -l snap6
lssnmp
Use the lssnmp command to list the SNMP managers to which IBM Tivoli Storage
Productivity Center for Replication is configured to send SNMP alerts.
Syntax
lssnmp
-help
-h
-?
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
Description
The information displayed is either the domain name or the IP address of the
server, depending on how you specified it.
SNMP traps are not specific to any particular session. All traps for any session are
sent to each server.
Example
lsstorcandidate
Use the lsstorcandidate command to list the storage systems that can be
discovered through an IBM z/OS connection. This command does not list storage
systems that are already added to the IBM Tivoli Storage Productivity Center for
Replication configuration.
To list storage systems that are already in the Tivoli Storage Productivity Center for
Replication configuration, use the lsdevice command.
You can run the lsstorcandidate command only from a Tivoli Storage Productivity
Center for Replication server that is installed on a system that is running z/OS.
Syntax
-s
lsstorcandidate
-help -l
-h
-?
default on on
-fmt xml -p off -hdr off
delim
-delim char
stanza
-conntype zos
-r number off
-v on
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-s | -l
Specifies that the following information is displayed for each storage system:
Example
lsvol
Use the lsvol command to display detailed information about volumes.
Important: If you issue the lsvol command without adding parameters, a list of all
the volumes for all storage systems is displayed. The processing of the command
can take minutes or hours depending on the size of your environment. You press
Enter to continue listing the output or press Ctrl+C to discontinue listing the
output.
Syntax
-s
lsvol
-help -l default
-h -fmt xml
-? delim
-delim char
stanza
on on -r number off
-p off -hdr off -v on
-devtype ds -dev dev_id -protected
ess -unprotected
storwize-v7000
svc
xiv
volume_id
-
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-s Displays default information for each volume, including the name, ID, device,
manufacturer, volume type, and whether the volume is protected and space
efficient.
-l Displays detailed information for each volume, including:
Command-line interface 227
Column Label Details
Name Volume name
ID Volume ID
Device The ID of the storage system
Manufacturer The manufacturer of the storage system. Currently,
only IBM storage systems are supported.
Type The values CKD or FB. The value is always FB for
the following storage systems:
v IBM System Storage SAN Volume Controller
v IBM Storwize V7000
v Storwize V7000 Unified
v IBM XIV Storage System
Protected Yes if the volume is protected; No if the volume is not
protected.
Space Efficient Yes, if the volume is a space efficient volume. No, if
the volume is not a space efficient volume.
Format Volume format
LSS/IO Group/Pool For the following storage system volumes, this
column displays the logical subsystem (LSS):
v IBM TotalStorage Enterprise Storage Server Model
800
v IBM System Storage DS8000
v System Storage DS6000
For the following storage system volumes, this
column displays the IO group:
v SAN Volume Controller
v Storwize V7000
v Storwize V7000 Unified
For XIV system volumes, this column displays the
pool.
Size Volume size
Size Unit The unit of measure that the capacity is given in,
either gigabytes or cylinders.
Is Z Attached Identifies whether the volumes are connected through
an IBM z/OS connection.
Locked Indicates whether the volume is locked. Applies only
to XIV system.
Examples
v Listing volumes for a storage system
The following command lists information about all volumes in the storage
system with ID DS8000:BOX:2107.02191.
csmcli> lsvol -devtype ds -dev DS8000:BOX:2107.02191
The following output is returned:
Name ID Device Manufacturer Type Protected Space Efficient
=============================================================================================
8K410F DS8000:2107.02191:VOL:010F 2107-02191 IBM CKD No No
8K410E DS8000:2107.02191:VOL:010E 2107-02191 IBM CKD No No
8K410D DS8000:2107.02191:VOL:010D 2107-02191 IBM CKD No No
v Listing protected volumes
The following command lists information about all protected volumes.
csmcli> lsvol -protected
The following output is returned:
Name ID Device Manufacturer Type Protected Space Efficient
================================================================================================
8K9005 DS8000:2107.LT742:VOL:0005 2107-LT742 IBM CKD Yes No
8K9004 DS8000:2107.LT742:VOL:0004 2107-LT742 IBM CKD Yes No
8K9003 DS8000:2107.LT742:VOL:0003 2107-LT742 IBM CKD Yes No
mkauth
Use the mkauth command to grant monitor, administrator, or operator
authorization to a user.
Syntax
-authlevel authorization_level
session_name
-
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-name name
Specifies a user ID or group name to which you grant authorization.
-type group | user
Specifies whether the name is of a group or user.
-authlevel authorization_level
Specifies the authorization level: admin, operator, or monitor.
Example
1. Adding a group with monitor privileges
The following command grants administrator authorization to the user named
MDMSUID.
csmcli> mkauth -name Guests -type group -authlevel monitor
The following output is returned:
IWNR4018I Successfully granted the monitor role to Guests.
2. Adding a user with operator privileges
The following command grants administrator authorization to the user named
MDMSUID.
csmcli> mkauth -name csmuser -type user -authlevel operator session1
The following output is returned:
IWNR4016I Successfully granted the session operator role to csmuser.
3. Adding the Superuser group
The following command adds the IBM Tivoli Storage Productivity Center
Superuser group to the Administrator role.
csmcli> mkauth -name Superuser -type group -authlevel admin
The following output is returned:
IWNR4017I Successfully granted the administrator role to Superuser.
mkbackup
Use the mkbackup command to create a backup of IBM Tivoli Storage
Productivity Center for Replication configuration data (including storage systems,
sessions, and copy set) in the zero-administration embedded repository.
Syntax
mkbackup
-help
-h
-?
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
Prerequisites:
v You must have Administrator privileges to run this command.
v This procedure applies to only the zero-administration embedded repository.
This procedure is not applicable when DB2 is being used as the persistent
datastore for the IBM Tivoli Storage Productivity Center for Replication
database. For information about restoring your DB2 environment, refer to your
DB2 documentation.
v The user ID that was used to create the backup file must exist on the
management server that is being restored.
You can use the backup file to restore the zero-administration embedded repository
on the same management server or on another management server running on the
same operating system platform. You cannot use the backup file to restore the
zero-administration embedded repository on a management server running a
different operating system platform or a management server that uses the DB2
database.
Example
This example backs up the IBM Tivoli Storage Productivity Center for Replication
configuration data:
csmcli> mkbackup
mkcpset
Use the mkcpset command to create copy sets.
When you run the mkcpset command for all sessions, except for IBM XIV Storage
System Snapshot sessions, you can specify both the source volume and target
volume for the copy sets. In XIV system Snapshot sessions, you must specify only
the source volume for the copy sets.
Tip: To display the status of volumes in a copy set, use the lsvol command.
Syntax
-t1 t1_volume_id -j1 j1_volume_id -j2 j2_volume_id
-j3 j3_volume_id -i1 i1_volume_id -i2 i2_volume_id
session_name
-i3 i3_volume_id -
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-quiet
Suppresses the confirmation prompt for this command. This flag answers yes
to all confirmation prompts.
-h1 {h1_volume_id | xiv_h1_volume_nickname}
For storage systems other than an XIV system, the volume ID is the only value
that can be provided for this parameter. This value specifies the volume ID of
the copy set at host site 1.
For XIV system sessions of any type, you can provide the user-defined
nickname for the volume or the volume ID. The nickname for the volume is
specified by using the XIV system user interface.
-h2 {h2_volume_id | xiv_h2_volume_nickname}
Specifies the volume ID or nickname of the copy set at host site 2, if required.
-h3 h3_volume_id
Specifies the volume ID of the copy set at host site 3, if required.
-t1 t1_volume_id
Specifies the target volume of the copy set at site 1, if required.
-j1 j1_volume_id
Specifies the volume ID of the journal for site 1 if required by the session type.
-j2 j2_volume_id
Specifies the volume ID of the journal for site 2 if required by the session type.
-j3 j3_volume_id
Specifies the volume ID of the journal for site 3 if required by the session type.
-i1 i1_volume_id
Specifies the intermediate volume ID of the copy set at site 1.
-i2 i2_volume_id
Specifies the intermediate volume ID of the copy set at site 2.
-i3 i3_volume_id
Specifies the intermediate volume ID of the copy set at site 3.
session_name | -
Specifies the name of the session that contains the copy sets.
When you run Metro Global Mirror on the OMVS command line, the parameters
for the mkcpset command can exceed the character limit set by the OMVS prompt.
To overcome this limitation, use a script to add the copy set. You create a script file
called mgm_mkcpset.txt that contains the command that you want to run such as:
csmcli> mkcpset -h1 DS8000:2107.12345:VOL:0000 -h2 DS8000:2107.67890:VOL:0000
-h3 DS8000:2107.02468:VOL:0000 -J3 DS8000:2107.01934:VOL:0000 myMGMSess
To run the script, you must ensure that you are in the IBM Tivoli Storage
Productivity Center for Replication CLI directory and have the appropriate paths
exported. You then run the script from the command line using the following
sample code:
csmcli.sh -script mgm_mkcpset.txt
Examples
The following command creates a copy set for a session named session1. The
volume ID of the copy set at host site 1 is DS8000:2107.04131:VOL:0A05 and the
target volume ID is DS8000:2107.04131:VOL:0A06.
csmcli> mkcpset -h1 DS8000:2107.04131:VOL:0A05
-t1 DS8000:2107.04131:VOL:0A06 session1
IWNR2001I The pair, the ID of the source volume and the ID of the target volume,
was created in the session named session1 for the copy set with a
volume ID of DS8000:2107.04131:VOL:0A05, a source volume ID of
DS8000:2107.04131:VOL:0A05, and a target volume ID of DS8000:2107.04131:VOL:0A06.
Creating a copy set for an XIV system Snapshot session by using the volume ID
The following command creates a copy set for an XIV system Snapshot session
named snap2 by using volume XIV:VOL:6000646:110789, where 110789 is the
volume ID.
csmcli> mkcpset -h1 XIV:VOL:6000646:110789 snap2
Creating a copy set for an XIV system Snapshot session by using the volume
nickname
The following command creates a copy set for an XIV system Snapshot session
named snap2 by using volume XIV:VOL:6000646:myvolume, where myvolume is the
volume nickname.
csmcli> mkcpset -h1 XIV:VOL:6000646:myvolume snap2
Syntax
mklogpkg
-help
-h
-?
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
Example
mkpath
Use the mkpath command to create a Fibre Channel path or paths between a
source logical subsystem (LSS) and a target LSS.
Syntax
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-src source
Specifies the source LSS and port (ESS and DS series storage servers). This
must be specified in the format type.serial.lss(hex).port(hex) (for example,
ESS:2105.FCA18:LSS:10.00FF).
-tgt target
Specifies the target LSS and port (ESS and DS series storage servers). This must
be specified in the format type.serial.lss(hex).port(hex) (for example,
ESS:2105.FCA18:LSS:10.00FF).
The mkpath command uses the information from the lslss command to create a
path or paths between the source LSS and the target LSS. You can specify a
number of paths to create between 1 and 8.
Notes:
v This command creates new paths in addition to paths that already exist between
the two specified LSSs.
v Only Fibre Channel paths are supported for ESS and DS series storage servers.
v You must verify the ports that are to be used in the path.
v For DS series storage servers, the plant of manufacturer must be added to the
beginning of the serial number, making the serial number a seven-digit number.
v If you specify a number of paths greater than the number of available paths,
existing paths are overwritten.
Example
The following command creates a Fibre Channel path between the source LSS
ESS:2105.20870:12.1 and target LSS ESS:2105.20870:14.2.
csmcli> mkpath –src ESS:2105.20870:12.1 –tgt ESS:2105.20870:14.2
mksess
Use the mksess command to create a session.
Syntax
-site1loc site1_location -site2loc site2_location
session_name
-site3loc site3_location -
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-cptype copy_type
Specifies the copy session type. The following are the valid values for this
parameter. The values are grouped by session type.
FlashCopy
fc: FlashCopy for:
v IBM TotalStorage Enterprise Storage Server Model 800
Examples
Creating a Global Mirror with Practice session for System Storage DS8000
The following command creates a System Storage DS8000 Global Mirror with
Practice session named session1.
csmcli> mksess -cptype pgm -desc "DS8000 Global Mirror with Practice" session1
Creating a Global Mirror with Practice session for System Storage SAN Volume
Controller
The following command creates a System Storage SAN Volume Controller Global
Mirror with Practice session named session1.
csmcli> mksess -cptype pgmsvc -desc "SVC Global Mirror with Practice" session1
The following command creates a Metro Global Mirror session named session1.
csmcli> mksess -cptype mgm -desc "Metro Global Mirror" session1
Syntax
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-server server
Specifies the IP address or domain name of the management server that is to
receive SNMP traps.
-port port
Specifies a port number to use for receiving SNMP traps. If not specified, the
default port is 162.
Example
The following command sends SNMP traps to the management server with ID
9.11.207.17 and port 2626.
csmcli> mksnmp -server 9.11.207.17 -port 2626
refreshdevice
Use the refreshdevice command refresh the volumes and configuration elements of
a storage device.
Syntax
refreshdevice device_id
-help -nowait -
-h
-?
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
Tip: To list the valid storage system IDs, use the lsdevice command.
Examples
The following output is returned when command has been submitted and accepted
by the server:
IWNH1611I A refresh of the storage configuration has completed
for the storage device DS8000:BOX:2107.02341.
rmactive
Use the rmactive command to remove an active management server.
Syntax
rmactive
-help -quiet
-h
-?
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-quiet
Suppresses the confirmation prompt for this command. This flag answers yes
to all confirmation prompts.
Description
You can run the rmactive command only from the standby management server
and only when the active and standby management servers are in a
non-synchronized state (such as when they are first connecting).
When a standby and active management servers are synchronized, use the
hatakeover command.
Example
The following command removes the active management server with IP address
127.0.0.1.
csmcli> rmactive -server 127.0.0.1
rmassoc
Use the rmassoc command to remove a session association from the host system.
This command removes a session associated with a host system but does not
remove the connection to the host system.
Syntax
IP_Address
-port port -
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-quiet
Suppresses the confirmation prompt for this command. This flag answers yes
to all confirmation prompts.
-session_name session_name
Specifies the name of the session to remove from the host system.
-port port
Specifies the port number for the host system if the system was added with a
port other than the default port 9930.
IP_Address | -
Specifies the IP address or host name of the host system to remove the session
from.
Alternatively, use the dash (-) to specify that input for this parameter comes
from an input stream (stdin). The dash is supported only in single-shot mode.
Example
v Removing a session from a host system
The following command shows how to remove the session MyMMsession from the
host system with IP address 9.11.223.43. In this example, you could omit the
-port parameter because port 9930 is the default.
csmcli> rmassoc -session_name MyMMsession –port 9930 9.11.223.43
Syntax
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-name name
Specifies a user ID or group name from which you remove authorization.
-type group | user
Specifies whether the name is of a user group or user.
Example
1. Removing authorization for a group
The following command remove authorization from the user named MDMSUID.
csmcli> rmauth -name Guests -type group
The following output is returned:
Are you sure you want to remove access for user Guests? [y/n]:y
rmcpset
Use the rmcpset command to remove a copy set.
Syntax
rmcpset
-help -quiet -force -keeponhw
-h
-?
Examples
The following command removes the copy set with source volume
DS8000:2107.04131:VOL:0A05 in session session1 without prompting for
confirmation.
csmcli> rmcpset -quiet -h1 DS8000:2107.04131:VOL:0A05 session1
IWNR2002I The pair was successfully deleted in session session1 for copy set
DS8000:2107.04131:VOL:0A05 with source DS8000:2107.04131:VOL:0A05 and target
DS8000:2107.04131:VOL:0A06.
Removing a copy set from an XIV system Snapshot session by using the volume
nickname
rmdevice
Use the rmdevice command to remove a direct connection to a storage system.
To remove a storage system that is attached through an IBM z/OS connection, use
the rmstorsys command.
Syntax
rmdevice
-help -quiet -port port_number
-h
-?
id
-ip ip_address -
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-quiet
Suppresses the confirmation prompt for this command. This flag answers yes
to all confirmation prompts.
-port port_number
Specifies the port number if a nondefault port number was entered when the
storage system was added.
-ip ip_address
Specifies the IP address or host name of the node that is used by the following
storage systems:
v IBM System Storage SAN Volume Controller
v IBM Storwize V7000
v IBM Storwize V7000 Unified
This parameter is ignored for all other storage systems.
id | -
Specifies the ID of the storage system to be removed.
Command-line interface 245
Alternatively, use the dash (-) to specify that input for this parameter comes
from an input stream (stdin). The dash is supported only in single-shot mode.
Examples
v Removing an IBM TotalStorage Enterprise Storage Server Model 800
The following command removes the TotalStorage Enterprise Storage Server
Model 800 with ID ESS:BOX:2105.18596 without prompting for confirmation.
csmcli> rmdevice -quiet ESS:BOX:2105.18596
The following output is returned:
IWNH1614I The connection at sts596c0:sts596c1 was successfully removed.
v Removing a SAN Volume Controller
The following command removes the SAN Volume Controller with ID
SVC:CLUSTER:RMSVC02 and IP address 127.0.0.1 without prompting for
confirmation.
csmcli> rmdevice -quiet -ip 127.0.0.1 SVC:CLUSTER:RMSVC02
The following output is returned:
IWNH1614I The storage device at 127.0.0.1 was successfully removed.
v Removing an IBM XIV Storage System
The following command removes the XIV system with ID XIV:BOX:6000646
without prompting for confirmation.
csmcli> rmdevice -quiet XIV:BOX:6000646
The following output is returned:
IWNH1624I The storage system XIV:BOX:6000646 was successfully removed.
rmhost
Use the rmhost command to remove a connection to a host system from the IBM
Tivoli Storage Productivity Center for Replication server.
Syntax
rmhost IP_Address
-help -quiet -port port -
-h
-?
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-quiet
Suppresses the confirmation prompt for this command. This flag answers yes
to all confirmation prompts.
-port port
Specifies the port number for the host system to be removed if the system was
added with a port other than the default port 9930.
IP_Address | -
Specifies the IP address or host name of the host system to be removed.
Alternatively, use the dash (-) to specify that input for this parameter comes
from an input stream (stdin). The dash is supported only in single-shot mode.
rmmc
Use the rmmc command to remove a management console.
Syntax
rmmc id
-help -quiet -
-h
-?
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-quiet
Suppresses the confirmation prompt for this command. This flag answers yes
to all confirmation prompts.
id | -
Specifies the ID of the management console to be removed.
Alternatively, use the dash (-) to specify that input for this parameter comes
from an input stream (stdin). The dash is supported only in single-shot mode.
Example
rmpath
Use the rmpath command to remove a path or paths between a source logical
subsystem (LSS) and a target LSS.
Syntax
Description
Notes:
v Removing a path removes only the path and ports specified and will not remove
any additional paths.
v Only Fibre Channel paths are supported for ESS800, DS6000, and DS8000.
Example
Removing paths:
The following command removes the paths between the source LSS
ess:2015.23884:11.4 and a target LSS ess:2105.23005:11.3.
csmcli> rmpath -src ess:2015.23884:11.4 -tgt ess:2105.23005:11.3
rmsess
Use the rmsess command to remove a session.
Important: You can remove only those sessions that are in the Defined state.
Syntax
rmsess session_name
-help -quiet -
-h
-?
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
Example
Removing a session
rmsnmp
You can use the rmsnmp command to remove the specified manager from the list
of servers to which SNMP traps are sent.
Syntax
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-server server
Specifies the IP address or domain name of the server that will no longer
receive SNMP traps.
Example
rmstdby
Use the rmstdby command to remove a standby management server.
Syntax
Command-line interface 249
rmstdby
-help -quiet -server standby_server
-h
-?
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-quiet
Suppresses the confirmation prompt for this command. This flag answers yes
to all confirmation prompts.
-server standby_server
The IP address of the standby management server that you are removing.
Example
The following command removes the standby management server with IP address
127.0.0.1.
csmcli> rmstdby -server 127.0.0.1
rmstorsys
Use the rmstorsys command to remove a specific storage system and its volumes
that are attached to the IBM Tivoli Storage Productivity Center for Replication
server from the IBM Tivoli Storage Productivity Center for Replication
configuration through a z/OS connection.
Syntax
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-quiet
Suppresses the confirmation prompt for this command. This flag answers yes
to all confirmation prompts.
-conntype zos
Specifies the type of connection that the storage systems uses. Currently, you
can specify only zos for a z/SO connection.
-dev device_id
Specifies the ID of the DS or ESS storage system that is to be removed from the
IBM Tivoli Storage Productivity Center for Replication configuration.
Tip: Use the lsdevice command to display a list of valid storage system IDs.
Important:
v You must have Administrator privileges to run this command.
v You can run this command only from the IBM Tivoli Storage Productivity Center
for Replication server that is installed on a system running z/OS.
v This command removes only the z/OS connection to the specified storage
system. To remove other connection types to the same storage system, use the
rmdevice or rmmccommand.
To remove a storage system that is attached through a direct connection, use the
rmdevice command. To remove a storage system that is attached through an
hardware-management-console (HMC) connection, use the rmmc command.
Example
This example illustrates how to remove the z/OS connection to the storage system
with ID ESS:BOX:2105.12345.
csmcli> rmstorsys -dev ESS:BOX:2105.12345 -conntype zos
setasstdby
Use the setasstdby command to set a management server to be the standby
management server of another active management server.
Syntax
Example
The following command sets the local server as a standby management server for
the active management server with IP address 127.0.0.1.
csmcli> setasstdby -server 127.0.0.1
setparameter
Use the setparameter command to set the system parameters.
Syntax
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-quiet
Suppresses the confirmation prompt for this command. This flag answers yes
to all confirmation prompts.
-parm {lsheartbeat | - chheartbeat { on | off } | -}
Specifies one of these system parameters:
lsheartbeat
Displays whether the Metro Mirror heartbeat is enabled.
chheartbeat { on | off }
Specifies whether the Metro Mirror heartbeat is enabled (on) or not
enabled (off).
Alternatively, use the dash (-) to specify that input for this parameter comes
from an input stream (stdin). The dash is supported only in single-shot mode.
setstdby
Use the setstdby command to set the standby management server for an active
management server.
Syntax
-username user_name
-password password
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-quiet
Suppresses the confirmation prompt for this command. This flag answers yes
to all confirmation prompts.
-username user_name
Specify the user name for the device.
-password password
Specifies this parameter to receive a password prompt. The password will not
be visible.
-server standby_server_ip
Specify the IP address of the server to be the standby management server for
the local management server.
Description
Notes:
v If a standby management server is already defined for the active management
server, the previously defined standby management server is replaced by the
server specified by this command.
Example
The following command sets the server with IP address 127.0.0.1 as the standby
management server for active management server on which this command run
without prompting for confirmation.
csmcli> setstdby -quiet -server 127.0.0.1 -username csmuser
showcpset
Use the showcpset command to display properties for a copy set.
Syntax
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-h1 h1_volume_id
Specifies the name of the source volume ID. The properties for this volume ID
are displayed.
session_name | -
Specifies the session name to which the copy set belongs.
Alternatively, use the dash (-) to specify that input for this parameter comes
from an input stream (stdin). The dash is supported only in single-shot mode.
The following command lists the properties for the copy set with the source host
ID DS8000:2107.NK791:VOL:1500 in the session session1.
csmcli> showcpset -h1 DS8000:2107.NK791:VOL:1500 session1
showdevice
Use the showdevice command to display storage system properties.
Syntax
showdevice device_id
-help -
-h
-?
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
device_id | -
Displays a unique identifier for each storage system in IBM Tivoli Storage
Productivity Center. The element ID format, for example ESS:BOX:2105.FCA57,
is used to display storage system IDs.
Alternatively, use the dash (-) to specify that input for this parameter comes
from an input stream (stdin). The dash is supported only in single-shot mode.
For each storage system, the following information is listed. The Direct Connect
Information properties are listed for storage systems that have a direct connection.
The Management Console properties are listed for storage systems that are
connected through a Hardware Management Console (HMC).
General
Example
The following command lists the properties of a System Storage DS8000 with ID
DS8000:BOX:2107.04131. This device is connected directly and not through an
HMC.
csmcli> showdevice DS8000:BOX:2107.04131
The following command lists the properties of an XIV Storage System with ID
XIV:BOX:7803448 and a user-defined name XIV_B.
csmcli> showdevice XIV:BOX:7803448
showgmdetails
Use the showgmdetails command to display detailed status information for a
Global Mirror session. Use this command for only TotalStorage Enterprise Storage
Server Model 800, System Storage DS8000, and System Storage DS6000 storage
systems only.
Syntax
-s
showgmdetails session_name
-help -l
-h
-?
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
-s Displays default information for the Global Mirror session.
-l Displays detailed information for the Global Mirror session, including:
session_name
Specifies the Global Mirror session for which the properties are to be
displayed.
The following command displays detailed information for the Global Mirror
session gmme.
csmcli> showgmdetails -l gmme
Successful CG Percentage 99
CG Interval Time 0 s
Last Failure Reason 0x0FCC XDC starting increment with wrong state
Last Failure Master State 0x4 Global Mirror Start Increment In Progress
Previous Failure LSS -
Subordinate Count 0
Subordinate Associations -
showha
Use the showha command to display the high-availability status.
Syntax
showha
-help
-h
-?
Description
Example
showmc
Use the showmc command to display the properties of a management console.
Syntax
showmc id
-help -
-h
-?
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
id | -
Specifies the management console ID in the element ID format (for example,
HMC:127.0.0.1).
Alternatively, use the dash (-) to specify that input for this parameter comes
from an input stream (stdin). The dash is supported only in single-shot mode.
Example
The following command displays the properties of the management console with
ID HMC:127.0.0.1.
csmcli> showmc HMC:127.0.0.1
showsess
Use the showsess command to display properties for a selected session, including
name, description, group managed, and copy type.
Syntax
showsess session_name
-help -
-h
-?
Description
Example
The following command lists properties for the session named session1.
csmcli> showsess session1
The following command lists properties for the session named session1.
csmcli> showsess session1
The following command lists properties for the session named session1.
csmcli> showsess session1
The following command lists properties for the session named session1.
csmcli> showsess session1
ver
Use the ver command to display the current version of IBM Tivoli Storage
Productivity Center for Replication.
Syntax
ver
-help
-h
-?
Example
The following command displays the current version of IBM Tivoli Storage
Productivity Center for Replication that is running on the local system.
csmcli> ver
whoami
Use the whoami command to display the name of the user that is currently logged
in.
Syntax
whoami
-help
-h
-?
Parameters
-help | -h | -?
Lists help for the command. If you specify additional parameters and
arguments, those parameters and arguments are ignored.
Example
Command aliases
This topic discusses command aliasing.
Aliased commands are saved in the command configuration file. The default
configuration file is c:\program files\ibm\tpc\cli\libs\tpccli.conf.
For example, to shorten a frequently used command, you can define the following
alias:
tpctool>lsperf = lsdev -user dsadmin -pwd 1ac75d82784ce0a327d45289604ae7b227
-url 9.44.33.126:8990 -fabric -perf
After the alias is defined, you can run the lsperf command to run the aliased lsdev
command previously displayed.
You can provide a short form command targeting different device servers, as
follows:
tpctool>lsperfd1 = lsdev -user dsadmin -pwd 1ac75d82784ce0a327d45289604ae7b227
-url hostOne:9161 -perf
You can specify additional options and arguments for an aliased command:
tpctool>lsperfd2 -fabric -ctype port
To unset an alias, type the name of the command alias followed by the '=' sign:
lsperf =
Parameter aliases
This topic lists common parameters and their aliases.
Accessibility features
The following list includes the major accessibility features in IBM Tivoli Storage
Productivity Center:
v Tivoli Storage Productivity Center functions are available using the keyboard for
navigation instead of the mouse. You can use keys or key combinations to
perform operations that can also be done using a mouse. However, you must
use the mouse to navigate the Topology Viewer and report graphs. Standard
operating system keystrokes are used for standard operating system operations.
v You can use screen readers to read the user interface.
v The user interface communicates all information independently of color.
v The IBM Tivoli Storage Productivity Center Information Center, and its related
publications are accessibility-enabled and include the following accessibility
features:
– The information center is provided in XHTML 1.0 format, which is viewable
in most Web browsers. XHTML allows you to view documentation according
to the display preferences set in your browser. With XHTML, you can use
screen readers and other assistive technologies.
– All documentation for Tivoli Storage Productivity Center is available in
Adobe Portable Document Format (PDF) using the Adobe Acrobat Reader.
You can access the PDFs from the Printable PDFs topic in the information
center at http://publib.boulder.ibm.com/infocenter/tivihelp/v4r1/index.jsp.
– All images are provided with alternative text, so that users with vision
impairments can understand the contents of the images.
Keyboard navigation
Click Preferences > Look and Feel to select how to display the Tivoli Storage
Productivity Center user interface. To do so, complete the following steps:
1. Start the Tivoli Storage Productivity Center user interface.
2. Click Preferences > Look and Feel to change the visual appearance of the user
interface to best suit your visual needs:
v Windows Classic
v Windows
v CDE/Motif
v Metal
There some limitations in the product graphical user interface (GUI) that requires
special attention before you start using Tivoli Storage Productivity Center for
Replication with a screen reader:
Dojo components are not read by all screen readers.
The JAWS screen reader does not read some Dojo components on Internet
Explorer 7. Use the command-line interface instead of the GUI with JAWS
on Internet Explorer 7.
The following list includes the major accessibility features in Tivoli Storage
Productivity Center for Replication:
v Keyboard-only operation
v Interfaces that are commonly used by screen readers
v Keys that are discernible by touch but do not activate just by touching them
v Industry-standard devices for ports and connectors
v The attachment of alternative input and output devices
The following list contains hints and tips that can help you more fully use the
graphical user interface:
Drop-down lists are positioned directly above or before the radio button that
activates it.
If you use a screen reader, you should be aware that there are radio
buttons to activate drop-down lists for several GUI pages. The way to
activate the drop-down list is by selecting the associated radio button. The
drop-down list is positioned directly above or before the radio button that
activates it. When you use a screen reader that processes the fields and
controls of a page sequentially, you might select the radio button, but not
know that the associated drop-down list has been activated. The screen
reader processes inactive drop-down lists first, and then processes the next
radio button. The drop-down list is activated if you select the radio button.
On the following pages, keep in mind that radio buttons activate a
drop-down list:
v Administration
v ESS/DS Paths
v Sessions
v Session Details
v Storage Systems
Tables are best understood by reviewing the surrounding text and the table row
and column number of the table.
On some graphical user pages, tables use the header or row ID attributes
when reading a single cell. The screen reader reads the table row and
column number, along with cell data. Therefore, you can infer the column
header and row ID.
Experiment with and fine-tune the way your screen reader pronounces some of
the product abbreviations.
Your screen reader might pronounce abbreviations as if they were words.
For example, the common abbreviation for Enterprise Storage Server is
ESS. Your screen reader might read ESS as the word "ess". With some
screen readers you can hear alternate pronunciations. If you frequently use
the software you might prefer to fine-tune such associations in your
settings. When an association is created, the screen reader can recognize
the abbreviation as a word. If you can add dictionary words with your
screen reader, replace the capitalized character sequence with the sequence
E space S space S.
Typically, this abbreviation is used in the combination form of ESS/DS.
This term refers to the Enterprise Storage Server 800, the DS6000, or the
DS8000.
Appendix B. Accessibility features for Tivoli Storage Productivity Center for Replication 273
274 IBM Tivoli Storage Productivity Center: Command-Line Interface Reference
Notices
This information was developed for products and services offered in the U.S.A.
IBM may not offer the products, services, or features discussed in this document in
other countries. Consult your local IBM representative for information on the
products and services currently available in your area. Any reference to an IBM
product, program, or service is not intended to state or imply that only that IBM
product, program, or service may be used. Any functionally equivalent product,
program, or service that does not infringe any IBM intellectual property right may
be used instead. However, it is the user's responsibility to evaluate and verify the
operation of any non-IBM product, program, or service.
IBM may have patents or pending patent applications covering subject matter
described in this document. The furnishing of this document does not grant you
any license to these patents. You can send license inquiries, in writing, to:
The following paragraph does not apply to the United Kingdom or any other
country where such provisions are inconsistent with local law:
INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS
PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS
FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express or
implied warranties in certain transactions, therefore, this statement may not apply
to you.
Any references in this information to non-IBM Web sites are provided for
convenience only and do not in any manner serve as an endorsement of those Web
sites. The materials at those Web sites are not part of the materials for this IBM
product and use of those Web sites is at your own risk.
Licensees of this program who wish to have information about it for the purpose
of enabling: (i) the exchange of information between independently created
programs and other programs (including this one) and (ii) the mutual use of the
information which has been exchanged, should contact:
IBM Corporation
2Z4A/101
11400 Burnet Road
Austin, TX 78758
U.S.A
The licensed program described in this document and all licensed material
available for it are provided by IBM under terms of the IBM Customer Agreement,
IBM International Program License Agreement or any equivalent agreement
between us.
This information contains examples of data and reports used in daily business
operations. To illustrate them as completely as possible, the examples include the
names of individuals, companies, brands, and products. All of these names are
fictitious and any similarity to the names and addresses used by an actual business
enterprise is entirely coincidental.
If you are viewing this information softcopy, the photographs and color
illustrations may not appear.
IBM, the IBM logo, and ibm.com are trademarks or registered trademarks of
International Business Machines Corp., registered in many jurisdictions worldwide.
Other product and service names might be trademarks of IBM or other companies.
A current list of IBM trademarks is available on the Web at "Copyright and
trademark information" at http://www.ibm.com/legal/copytrade.shtml.s
Trademarks
IBM, the IBM logo, and ibm.com® are trademarks or registered trademarks of
International Business Machines Corp., registered in many jurisdictions worldwide.
Other product and service names might be trademarks of IBM or other companies.
A current list of IBM trademarks is available on the Web at “Copyright and
trademark information” at http://www.ibm.com/legal/copytrade.shtml.
Java and all Java-based trademarks and logos are trademarks or registered
trademarks of Oracle and/or its affiliates.
UNIX is a registered trademark of The Open Group in the United States and other
countries.
Other company, product, and service names may be trademarks or service marks
of others.
Personal Use: You may reproduce these Publications for your personal, non
commercial use provided that all proprietary notices are preserved. You may not
distribute, display or make derivative work of these Publications, or any portion
thereof, without the express consent of IBM.
Commercial Use: You may reproduce, distribute and display these Publications
solely within your enterprise provided that all proprietary notices are preserved.
You may not make derivative works of these Publications, or reproduce, distribute
or display these Publications or any portion thereof outside your enterprise,
without the express consent of IBM.
IBM reserves the right to withdraw the permissions granted herein whenever, in its
discretion, the use of the Publications is detrimental to its interest or, as
determined by IBM, the above instructions are not being properly followed.
You may not download, export or re-export this information except in full
compliance with all applicable laws and regulations, including all United States
export laws and regulations.
Notices 277
278 IBM Tivoli Storage Productivity Center: Command-Line Interface Reference
Glossary
This glossary includes terms and definitions for IBM Tivoli Storage Productivity Center.
The following cross-references are used in this network management information. The
glossary: Distributed Management Task Force
v See refers the reader from a term to a preferred (DMTF) develops and maintains CIM
synonym, or from an acronym or abbreviation specifications.
to the defined full form. community name
v See also refers the reader to a related or The part of a Simple Network
contrasting term. Management Protocol (SNMP) message
that represents a password-like name and
To view glossaries for other IBM products, go to: that is used to authenticate the SNMP
http://www.ibm.com/software/globalization/ message.
terminology/.
consistency group
active management server A group of copy relationships between
A management server from which the virtual volumes or data sets that are
storage environment can be monitored maintained with the same time reference
and managed. The active management so that all copies are consistent in time.
server replicates its database to the
copy set
standby server.
The source and target volumes in a
business continuity session that contain copies of the same
The capability of a business to withstand data. A session can contain one or more
outages and to operate mission-critical copy sets.
services normally and without
count key data (CKD)
interruption in accordance with
In mainframe computing, a data-record
predefined service-level agreements.
format employing self-defining record
CIM See Common Information Model. formats in which each record is
represented by up to three fields: a count
CIM agent
field identifying the record and specifying
The code that consists of common
its format, an optional key field that can
building blocks that can be used instead
be used to identify the data area contents,
of proprietary software or device-specific
and an optional data field that typically
programming interfaces to manage
contains the user data.
devices that are compliant with the
Common Information Model (CIM). data collection
The process of obtaining performance and
CKD See count key data.
availability monitoring data and
cluster providing that data to a metric evaluator.
1. In SAN Volume Controller or Storwize Examples of data collectors include
V7000, a pair of nodes that provides a Domain Name System (DNS) probes, web
single configuration and service interface. page analyzers, or database analyzers. See
2. In IBM System Storage™ DS8000®, a also discovery.
partition capable of performing all
discovery
DS8000 series functions. With two clusters
The process of finding resources within
in the DS8000 storage unit, any
an enterprise, including finding the new
operational cluster can take over the
location of monitored resources that were
processing of a failing cluster.
moved. See also schedule.
Common Information Model (CIM)
enterprise repository
An implementation-neutral,
A component of the Data server that
object-oriented schema for describing
Glossary 281
controllers, disk drives, file systems, and site awareness
logical units. See also schedule. The association of a location with each
storage system in a session. Site
recovery point objective
awareness ensures that a volume can only
The maximum amount of data loss that
be selected for a session if it matches the
can be tolerated during a service
location of the site. Site awareness helps
interruption.
to prevent both reversing a hardware
remote mirror and copy relationship and selecting volumes at the
A feature of a storage server that wrong location.
constantly updates a secondary copy of a
SMI-S See Storage Management Initiative
logical volume to match changes made to
Specification.
a primary logical volume. The primary
and secondary volumes can be on the standby management server
same storage server or on separate A management server that is a backup for
storage servers. See also Metro Mirror and the active server. The replication
Global Mirror. environment cannot be monitored or
managed from the standby server.
resource
In a storage environment, an entity that is Storage Management Initiative Specification
monitored. Resources can include fabrics, (SMI-S)
switches, computers, storage systems, and A design specification developed by the
tape libraries. Storage Networking Industry Association
(SNIA) that specifies a secure and reliable
role A job function that identifies the tasks
interface with which storage management
that a user can perform and the resources
systems (SMSs) can identify, classify,
to which a user has access. A user can be
monitor, and control physical and logical
assigned one or more roles.
resources in a storage area network
role pair (SAN). The interface integrates the
The association of two volume roles in a various devices to be managed in a SAN
session that take part in a copy and the tools used to manage them.
relationship. For example, in a Metro
storage pod
Mirror session, the role pair can be the
A logical entity of components of a
association between host volumes at the
system that consists of two storage nodes,
primary site and host volumes at the
and one or two storage subsystems
secondary site (H1-H2).
directly connected with these storage
scan job nodes.
A job that monitors the usage and
storage resource group
consumption of storage. See also schedule.
A named collection of logically related
schedule resources that are monitored by Tivoli
A monitoring task that collects data about Storage Productivity Center. Monitored
storage resources. Monitoring tasks resources can include fabrics, switches,
include scans, probes, pings, discovery, computers, storage systems, tape libraries,
and performance monitors. For example, and other storage resource groups.
define a probe schedule to collect data
target volume
about storage systems; define a scan
A volume that receives data from a host
schedule to collect file-level information
volume or another intermediate volume.
about hosts.
thaw An operation in which a storage system
session
releases the block of the I/O from the
A collection of source and target volumes
host system to the affected volumes on
that are managed to create consistent
the primary site. A thaw operation can
copies of data. The type of data
occur after a freeze operation ends and
replication that is associated with the
consistency is formed on the secondary
session determines the actions that can be
site. See also freeze.
conducted for the volumes.
Glossary 283
284 IBM Tivoli Storage Productivity Center: Command-Line Interface Reference
Index
A back-end storage systems
showing a list of types of storage
commands (continued)
lspair 194
about this document x systems 42 lsparameter 198
accessibility features bundle states 14 lspath 200
for Tivoli Storage Productivity lspool 69, 202
Center 269 lsquota 72
accessibility features for users with
disabilities 271 C lsrolepairs 205
lsrolescpset 208
actzs 17 catdscfg 28
lssess 210
adddevice command 142 chauth command 146
lssessactions 213
addhost command 144 chdevice command
lssessdetails 215
addmc command 144 changing passwords 148
lssnapgrp
addstorsys command 145 changing user names 148
listing snapshot groups in a
addza 18 chhost command 149
session 217
addzaports 19 chlocation command 150
lssnapgrpactions 220
addzone 20 chmc command 151
lssnapshots
addzoneports 21 chsess command 152
listing snapshots in a sessions 222
agentcli deployer chvol command 160
lssnmp 224
install 4 ckzone 29
lsstorcandidate 225
list bundles 4 ckzs 30
lsvol
list bundles state 5 cmdsess command 161, 163
choosing volumes for copy
list services 5 command line interface
sets 227
list services inuse 5 automatic login authentication 137
displaying information about
refresh 6 command modes 131, 133
volumes 227
start 6 command-line interface
viewing volume properties 227
state 6 configuring 137
mkauth 230
stop 7 customizing 137
mkbackup 231
uninstall 7 commands 1
mkcpset
update 7 adddevice 142
creating copy sets 232
agentcli TPCData stop 8 addhost 144
mklogpkg 235
agentcli TPCFabric addmc 144
mkpath 235
ConfigService setauthenticationpw 8, addstorsys 145
mksess
11 chauth 146
creating sessions 236
help 9, 11 chdevice
mksnmp 240
log get 9, 12 changing passwords 148
refreshdevice 240
log set 10, 13 changing user names 148
rmactive 241
ServiceManager get status 11, 14 chhost 149
rmassoc 242
arrays chlocation 150
rmauth 243
listing 87 chmc 151
rmcpset 243
removing volumes 104 chsess 152
rmdevice 245
storage volumes chvol 160
rmhost 246
creating 93 cmdsess 161, 163
rmmc 247
viewing information 37 exit codes 134
rmpath 247
assignvol 22 exportcsv 167
rmsess 248
autosetarray hareconnect 169
rmsnmp 249
extracting back-end subsystem hatakeover 169
rmstdby 249
values 23 importcsv 170
rmstorsys 250
saving back-end system values 23 lsauth 172
setasstdby 251
lsavailports 174
setoutput 135
lscluster 43, 58
setparameter 252
B lscpset
listing copy set IDs 176
setstdby 253
back-end disks showcpset 254
lscptypes 178
listing types 39 showdevice
lsdevice 180
back-end RAID viewing device properties 255
lsexport 53
listing types 40 showgmdetails 258
lsfset 60
setting types 115 showha 260
lshost 186
back-end storage subsystems showmc 261
lslocation 188
removing the type of disk 99 showsess 262
lslss 184, 190
using the setarray command 111 ver 265
lsmc 192
whoami 266
lsnode 65
comments, sending x
lsnsd 67
Index 287
zones (continued)
switch ports
adding 21
removing 108
verifying 29
Printed in USA
SC27-2339-07