Options
–c "
command"
Specifies a
Storage Center CU command to execute.
CU commands and options must be enclosed by double quotation (
") marks. For example:
java –jar compcu.jar –c "server"
–default
Using the values specified by the
–host,
–user, and
–password options, sets (or changes) a default for
Storage Center logon. Logon parameters are stored in an encrypted
file.
–defaultname
filename
Specifies the name of the encrypted file used to store logon information
for a specified
Storage Center.
For example:
To save a default file with a specified name for
storagecenter1:
java –jar compcu.jar –default -defaultname saved_default_01 -host storagecenter1 -user admin -password mmm
To use the newly created default file:
java –jar compcu.jar -defaultname saved_default_01 -c "anycommand"
The ability to specify a default file name allows you to specify
different default files for each
Storage Center you manage.
–file
filename
Specifies a file in which to save output.
-h
Shows help for command options.
-host string
Specifies the
Storage Center IP Address/Host Name or the
Storage Center Management IP.
–password
string
Specifies the password for the logon user. Passwords
that contain the space character must be enclosed by double quotation
(
") marks. For example:
–password "my password"
–s
filename
Specifies
a script file of
Storage Center CU
commands to execute. Script file names that contain the space character
must be enclosed by double (
") quotation marks. For
example:
–s "my script.txt"
-user
string
Specifies the
Storage Center logon user. Logon user
names that contain the space character must be enclosed by double
(
") quotation marks. For example:
–user "my username"
–verbose
Shows debug output.
–xmloutputfile
string
Specifies the xml file to which return code information
is returned. For example:
java –jar compcu.jar -xmloutputfile ’command_out_file.xml’ -c "anycommand"