Reference Guide
Once the default logon is set, you need not specify the logon information. Logon information is automatically supplied from an encrypted
le.
Getting Command Help
All Storage Center CU commands provide the –h option. Use the –h option to display help information for the command and command
options.
To get a list of all commands, execute CompCU.jar with the –h option:
java -jar compcu.jar -h
The format for CompCU.jar, as well as a list of all Storage Center CU commands is displayed.
To get help for an individual command, enter the command with the –h option. For example, to get help for the volume create command:
java -jar compcu.jar -c "volume create -h"
The format for the volume create command, as well as descriptions of all command options is displayed.
Command Output Options
By default, output from a command is displayed on the console. To save output to a le, use the –le option. For example, to save help
information to a le named help_text.txt:
java -jar compcu.jar -h -file help_text.txt
File Options
Description
–csv lename Saves output to a comma-separated le. Output items are delimited by commas.
–txt lename Saves output to a text le. Output is a text version of the console display. That is, output is formatted
and truncated exactly as it appears on the console display.
–xml lename Saves output to an xml le. Output object labels are used as the XML tags. XML is the preferred
output method as this le type output has the same or more data than .txt or .csv output.
NOTE: For some commands xml output may dier from what is output to csv and txt output or what is output to the console.
For example, xml output for the volume show command includes volume mapping information, whereas the csv and txt output
does not. The diskfolder show command xml output shows Redundancy, but console output does not. The diskfolder show
command xml output lists Storage Types found on the system after each dened disk folder. Neither cvs nor txt output lists
Storage Type.
Exit Codes
When CompCU.jar terminates, it issues the following exit codes.
Exit Codes
Descriptions
0 Command executed successfully. Deprecated commands are ignored and return an exit code of 0.
non 0 Command terminated with an error. See the console (or output le) for a description of the error. If a
Storage Center CU command terminates with an error after creating a Storage Center object, the
object is not deleted when the command terminates.
16 Getting Started