HP StorageWorks 70 HP StorageWorks Replication Solutions Manager 4.0.1 user gu - Page 187
Commands, Command result values
View all HP StorageWorks 70 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 187 highlights
Line Task ... 9 Launch ( %source_host%, %suspend_command_line%, "", WAIT, "0" ) onerror pauseat E1: ... 30 E1: Exit (FAILURE) Branching types • Default. If the command fails, abort the job at this task (line). • None. Use the default behavior. • Onerror Goto. If the command fails, go to the label. Execute the command at the label. • Onerror Pauseat. If the command fails, go to the label and pause the job. When the job is continued from the GUI or CLUI, resume the job by executing the command at the label. • Onsuccess Goto. If the command is successful, go to the label. Execute the command at the label. Commands When you include a command in a job, the command's arguments and default values are displayed in the job editor window. Argument names that appear with red % markers indicate that specific values are required. See job arguments. For example: SnapcloneStorageVolume ( %storvol_unc_name%, "", SAME, "", WAIT ) ^ command ^ arguments ... ^ ^ ^ ^ You must edit the command and select or enter values for any required arguments. After editing, the command displays the argument value as normal text, in quotes. SnapcloneStorageVolume ( "\\Array2\Cats", "", SAME, "", WAIT ) You can also edit a command to change its default values. In the example below, the defaults for disk group name and snapclone name have been changed. SnapcloneStorageVolume ( "\\Array2\Cats", "DskGrp3", SAME, "CatsCopy", WAIT ) You can also edit a command to add job flow controls and assignments. See job labels, branches and assignments. R1: $Rep1 = SnapcloneStorageVolume ( "\\Array2\Cats", "", SAME, "", WAIT ) onerror pauseat E1: label ^ ^ assignment branch ^ Command result values Some commands return a result that can be assigned to a variable. The variable can then be referenced in a succeeding step in the job. See also job assignments. The following table lists command result values and formats. See also resource names and UNC formats. Job command // AddAllOracleTablespacesToRepository AddDrGroupMember AddOracleArchiveLogFilesToRepository AddOracleTablespacesToRepository Command result value (format) - HP StorageWorks Replication Solutions Manager 4.0.1 187