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

InstantRestoreFromSnapshot, Launch

Page 123 highlights

InstantRestoreFromSnapshot Replaces the data on a storage volume by copying data from one of its snapshots. Syntax and arguments When initially inserted into a job, the command syntax and default arguments are: InstantRestoreFromSnapshot ( %snapshot_unc_name%, %source_storvol_unc_name%, %wait_nowait% ) UNC Snapshot Storage Volume Name (%storvol_unc_name%). Select or enter the name of one of its snapshots to restore from. UNC Source Storage Volume Name (%storvol_unc_name%). Select or enter the name of the source storage volume to be restored. Wait Flag. Select wait or nowait. See jobs wait/no wait argument. Examples InstantRestoreFromSnapshot ( "\\ArrayA2\Cats", "\\ArrayA2\Cats_backup", WAIT ) Comments • Associated validation commands. ValidateStorageVolume. • Agent and license prerequisites. Requires a local replication license for the storage system on which the storage volume is located. • Command result value. None. For a complete list, see command result values. • OS specifics. None. • The mirrorclone to restore from must be fractured. • See resource names and UNC formats. Launch Executes a command, batch file, or script on an enabled host. The wait and success value arguments allow you to control how to proceed to the next step in the job. Syntax and arguments When initially inserted into a job, the command syntax and default arguments are: Launch ( %hostname%, %command%, "", WAIT, "0" ) Host Name (%hostname%). Select or enter the name of the enabled host on which the command, batch file or script will be executed. Command (%command%). Enter the full path and name for the host command, batch file, or script to be executed on the enabled host. Arguments. Enter parameters that accompany the command, batch file or script. Wait for activity to complete?. Select wait to have the job wait for a result from the host command before executing the next step. A result can be a return code or message that is issued from the specified host command. Select nowait to go immediately to the next step after issuing the host command. Success Value. If waiting for any result, leave the argument empty. If waiting for a specific code, enter the integer value of the exit code. For example, if you are checking for success and the host command returns a zero for success, enter a zero (0). Do not enclose a value in quotes. This is done automatically. An empty value appears as two quotes (""). HP StorageWorks Replication Solutions Manager 4.0.1 123

  • 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

InstantRestoreFromSnapshot
Replaces the data on a storage volume by copying data from one of its snapshots.
Syntax and arguments
When initially inserted into a job, the command syntax and default arguments are:
InstantRestoreFromSnapshot ( %snapshot_unc_name%, %source_storvol_unc_name%, %wait_nowait% )
UNC Snapshot Storage Volume Name
(%storvol_unc_name%). Select or enter the name of one of
its snapshots to restore from.
UNC Source Storage Volume Name
(%storvol_unc_name%). Select or enter the name of the source
storage volume to be restored.
Wait Flag
. Select wait or nowait. See jobs wait/no wait argument.
Examples
InstantRestoreFromSnapshot ( "\\ArrayA2\Cats", "\\ArrayA2\Cats_backup", WAIT )
Comments
Associated validation commands
.
ValidateStorageVolume
.
Agent and license prerequisites
. Requires a local replication license for the storage system on
which the storage volume is located.
Command result value
. None. For a complete list, see
command result values
.
OS speci
cs
. None.
The mirrorclone to restore from must be fractured.
See
resource names and UNC formats
.
Launch
Executes a command, batch
le, or script on an enabled host. The wait and success value arguments
allow you to control how to proceed to the next step in the job.
Syntax and arguments
When initially inserted into a job, the command syntax and default arguments are:
Launch ( %hostname%, %command%, "", WAIT, "0" )
Host Name
(%hostname%). Select or enter the name of the enabled host on which the command,
batch
le or script will be executed.
Command
(%command%). Enter the full path and name for the host command, batch
le, or script
to be executed on the enabled host.
Arguments
. Enter parameters that accompany the command, batch
le or script.
Wait for activity to complete?
. Select
wait
to have the job wait for a result from the host command before
executing the next step. A result can be a return code or message that is issued from the speci
ed host
command. Select
nowait
to go immediately to the next step after issuing the host command.
Success Value
. If waiting for
any result
, leave the argument empty. If waiting for a speci
c code, enter
the integer value of the exit code. For example, if you are checking for success and the host command
returns a zero for success, enter a zero (0).
Do not enclose a value in quotes. This is done automatically. An empty value appears as two quotes ("").
HP StorageWorks Replication Solutions Manager 4.0.1
123