Reference Guide
To save a default le with a specied name for storagecenter1:
java –jar compcu.jar –default -defaultname saved_default_01 -host storagecenter1 -user admin -
password mmm
To use the newly created default le:
java –jar compcu.jar -defaultname saved_default_01 -c "anycommand"
The ability to specify a default le name allows you to specify dierent default les for each Storage Center you manage.
–file filename
Species a le in which to save output.
-h
Shows help for command options.
-host string
Species the Storage Center IP Address/Host Name or the Storage Center Management IP.
–password string
Species 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
Species a script le of Storage Center CU commands to execute. Script le names that contain the space character must be enclosed by
double (") quotation marks. For example:
–s "my script.txt"
-user string
Species 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
Species the xml le to which return code information is returned. For example:
java –jar compcu.jar -xmloutputfile ’command_out_file.xml’ -c "anycommand"
Logon Options
To execute CompCU.jar, the Storage Center logon must be provided. Logon information can be provided in the following ways:
• Use the –host, –user, and –password parameters to specify the logon information.
• Use the –default option with the –host, –user, and –password parameters to set a default for the Storage Center logon. For example:
java –jar compcu.jar –default –host storagecenter1 –user admin –password mmm
• Use the –defaultname option with the name of the encrypted le used to store logon information for a specic Storage Center.
Getting Started
15