HP 418800-B21 HP StorageWorks Replication Solutions Manager 4.0.1 job command - Page 13
Job concepts, templates and, commands
UPC - 882780564640
View all HP 418800-B21 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 13 highlights
1 Job concepts, templates and commands Job concepts Job language overview The job language provides a simple and structured way to automate replication and other storage related tasks. A typical job consists of commands, assignments (variables), branching instructions, labels, comments and exits. Jobs with launch commands often include transactions. See also imported jobs. Click the links below for information. Line Task comment > 1 // Replicate storage volumes. 2 // command > 3 ValidateStorageSystem ( %array_name% ) ... branch > 9 Launch ( %source_host%, %suspend_command_line%, "", WAIT, "0" ) onerror pauseat E1: transaction start > 10 DO { assignment > 11 $Rep1 = SnapshotStorageVolume ( %array_name_source_storvol_unc1%, FULLY_ALLOCATED, SAME, %dest_storvol1%, NOWAIT ) onerror pauseat E1: 12 // 13 } ALWAYS { 14 // Resume the host application. 15 Launch ( %source_host%, %resume_command_line%, "", WAIT, "0" ) transaction end > 16 } ... exit > 27 Exit (SUCCESS) 28 // 29 // Failure exit - no rollback needed. label > 30 E1: Exit (FAILURE) ... Jobs, templates, and commands You can create, save, run, schedule, and manage jobs that automate replication tasks. HP StorageWorks Replication Solutions Manager 4.0.1 13