HP 418800-B21 HP StorageWorks Replication Solutions Manager 4.0.1 job command - Page 43

Template Options, Comments, Example

Page 43 highlights

E. Presents the snapclones to a host at site 2. (This is required by some controller software versions before the snapclones can be members of a DR group. F. Creates a new DR group pair that contains the snapclone copies at site 2. G. Halts the job (waits) to ensure that the snapclones are remotely replicated to new storage volumes at site 3. H. Deletes the newly created DR group pair for sites 2 and 3, but retains the new storage volumes at site 3. When the job is completed, point-in-time copies of the storage volumes at site 1 exist at site 3. Guidelines apply. Template Options • Number of virtual disks in DR group. Adds commands for each virtual disk. • Suspend source before replication. Adds launch commands for interacting with an enabled host, for example to suspend and resume host application I/O. • Include e-mail notification. Adds a command for e-mail notification of the job instance status. See SetNotificationPolicy. Comments • Guidelines apply. Example This template was generated to perform one iteration of the cascaded replication involving one virtual disk. No other template options were selected. Line Task 1 // Perform cascaded replication. 2 // 3 // This template assumes that you have three storage systems located at three different sites: 4 // Site 1: Contains a source DR group. 5 // Site 2: Contains a destination DR group. 6 // Site 3: After the script completes, it will contain a snapclone of the virtual disk. 7 // 8 // Assign some variables that will be used in this job. 9 $site_1_array = SetVariable(%site_1_array%) 10 $site_1_array_DR_Group_name_unc = SetVariable(%site_1_array_DR_Group_name_unc%) 11 $source_storvol_unc1 = SetVariable(%source_storvol_unc1%) 12 $dest_storvol1 = SetVariable(%dest_storvol1%) 13 $DiskGroup_name = SetVariable(%DiskGroup_name%) 14 $site_2_array = SetVariable(%site_2_array%) 15 $host_name = SetVariable(%host_name% 16 $site_3_array = SetVariable(%site_3_array%) 17 $DR_group_name = SetVariable(%DR_group_name%) 18 $DR_source_storvol_unc1 = SetVariable(%DR_source_storvol_unc1%) HP StorageWorks Replication Solutions Manager 4.0.1 43

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207

E.
Presents the snapclones to a host at site 2. (This is required by some controller software versions
before the snapclones can be members of a DR group.
F.
Creates a new DR group pair that contains the snapclone copies at site 2.
G.
Halts the job (waits) to ensure that the snapclones are remotely replicated to new storage
volumes at site 3.
H.
Deletes the newly created DR group pair for sites 2 and 3, but retains the new storage volumes
at site 3.
When the job is completed, point-in-time copies of the storage volumes at site 1 exist at site 3.
Guidelines apply.
Template Options
Number of virtual disks in DR group.
Adds commands for each virtual disk.
Suspend source before replication
.
Adds launch commands for interacting with an enabled host,
for example to suspend and resume host application I/O.
Include e-mail noti
cation
.
Adds a command for e-mail noti
cation of the job instance status.
See
SetNoti
cationPolicy
.
Comments
Guidelines apply.
Example
This template was generated to perform one iteration of the cascaded replication involving one virtual
disk. No other template options were selected.
Line
Task
1
// Perform cascaded replication.
2
//
3
// This template assumes that you have three storage systems located at three different sites:
4
// Site 1: Contains a source DR group.
5
// Site 2: Contains a destination DR group.
6
// Site 3: After the script completes, it will contain a snapclone of the virtual disk.
7
//
8
// Assign some variables that will be used in this job.
9
$site_1_array = SetVariable(%site_1_array%)
10
$site_1_array_DR_Group_name_unc = SetVariable(%site_1_array_DR_Group_name_unc%)
11
$source_storvol_unc1 = SetVariable(%source_storvol_unc1%)
12
$dest_storvol1 = SetVariable(%dest_storvol1%)
13
$DiskGroup_name = SetVariable(%DiskGroup_name%)
14
$site_2_array = SetVariable(%site_2_array%)
15
$host_name = SetVariable(%host_name%
16
$site_3_array = SetVariable(%site_3_array%)
17
$DR_group_name = SetVariable(%DR_group_name%)
18
$DR_source_storvol_unc1 = SetVariable(%DR_source_storvol_unc1%)
HP StorageWorks Replication Solutions Manager 4.0.1
43