Job Concepts, Templates And Commands; Job Concepts; Job Language Overview; Jobs, Templates, And Commands - HP 418800-B21 - StorageWorks Modular Smart Array 70 Storage Enclosure Command Reference Manual

Job command reference
Hide thumbs Also See for 418800-B21 - StorageWorks Modular Smart Array 70 Storage Enclosure:
Table of Contents

Advertisement

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
Click the links below for information.
comment
command >
branch
transaction
assignment
transaction end >
label

Jobs, templates, and commands

You can create, save, run, schedule, and manage jobs that automate replication tasks.
Line Task
>
1
// Replicate storage volumes.
2
//
3
ValidateStorageSystem ( %array_name% )
...
Launch ( %source_host%, %suspend_command_line%, "", WAIT, "0" )
>
9
onerror pauseat E1:
start >
10
DO {
$Rep1 = SnapshotStorageVolume ( %array_name_source_storvol_unc1%,
>
1 1
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" )
16
}
...
exit
>
27
Exit (SUCCESS)
28
//
29
// Failure exit - no rollback needed.
>
30
E1: Exit (FAILURE)
...
HP StorageWorks Replication Solutions Manager 4.0.1
imported
jobs.
13

Advertisement

Table of Contents
loading

Table of Contents