HP 3PAR StoreServ 7400 2-node HP 3PAR Command Line Interface Administrator& - Page 99

Creating a Group of Physical Copies

Page 99 highlights

Creating a Group of Physical Copies The HP 3PAR CLI also allows for the creation of consistent group physical copies of a list of virtual volumes. A maximum group size of 100 virtual volumes is recommended for making a group of physical copies. To create group physical copies, issue the creategroupvvcopy -p -s :-pri high command, where: • -p creates a group of snapshots of the parent volume, as identified by , and copies data from the snapshots to the destination volume. • -s saves the snapshot for quick resynchronization, and retains the parent/copy relationship between the parent and destination volumes. • -pri specifies the priority of the copy operation before it is started. This option allows you to control the speed of the task. If this option is not specified, the operation is started with default priority of medium. High priority indicates that the operation will complete as fast as possible. Low priority indicates that the operation will run slower than the default priority task. You can use the -pri option to raise the priority of the task if your virtual volumes are unavailable and restoring access to the volume is the highest priority. However, raising the priority of the task may impact host I/O performance. This option cannot be used with -halt option. The priority of the task can also be changed after it is running with the settask command. For more information about changing the priority of a running task, see "Setting the Priority of a Running Task" (page 128). • is the name of the destination volume. The destination volume must be equal to or greater in size than the parent volume, must be a writeable base volume, and must not be exported as a VLUN. For a complete list of options available for the creategroupvvcopy command, see the HP 3PAR Command Line Interface Reference and the HP 3PAR CLI Help. NOTE: If you wish to copy multiple volumes, the : argument can be repeated multiple times on the command line for a single instance of the creategroupvvcopy command. The -halt option cancels a running group copy operation. The destination volume is marked with the cpf status, which indicates that the group copy operation failed. The cpf status can be cleared by issuing a new instance of the creategroupvvcopy command. The creategroupvvcopy command can be issued multiple times. However, the system allows only two physical copy tasks to run concurrently. Any additional physical copy tasks are queued, pending the completion of the active physical copy tasks. Resynchronizing a Physical Copy At some point, you may want to resynchronize a physical copy with its original base volume because either virtual volume could have been modified since the copy operation was launched. When you resynchronize a physical copy, the system copies changes from one volume in the physical copy pair to the other. To resynchronize a physical copy, issue the createvvcopy -r command, where -r is the volume to be resynchronized with its parent volume. The snapshot is retained for quick resynchronization, and the parent-copy relationship is also retained. Resynchronizing a Group of Physical Copies Just as groups of physical copies can be created for a list of virtual volumes, those physical copies can also be resynchronized. Physical Copies 99

  • 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

Creating a Group of Physical Copies
The HP 3PAR CLI also allows for the creation of consistent group physical copies of a list of virtual
volumes. A maximum group size of 100 virtual volumes is recommended for making a group of
physical copies.
To create group physical copies, issue the
creategroupvvcopy -p -s
<parent_VV>:<destination_VV>-pri high
command, where:
-p <parent_VV>
creates a group of snapshots of the parent volume, as identified by
<parent_VV>
, and copies data from the snapshots to the destination volume.
-s
saves the snapshot for quick resynchronization, and retains the parent/copy relationship
between the parent and destination volumes.
-pri <high|med|low>
specifies the priority of the copy operation before it is started. This
option allows you to control the speed of the task. If this option is not specified, the operation
is started with default priority of medium. High priority indicates that the operation will complete
as fast as possible. Low priority indicates that the operation will run slower than the default
priority task. You can use the
-pri
option to raise the priority of the task if your virtual volumes
are unavailable and restoring access to the volume is the highest priority. However, raising
the priority of the task may impact host I/O performance. This option cannot be used with
-halt
option.
The priority of the task can also be changed after it is running with the
settask
command.
For more information about changing the priority of a running task, see
“Setting the Priority
of a Running Task” (page 128)
.
<destination_VV>
is the name of the destination volume. The destination volume must be
equal to or greater in size than the parent volume, must be a writeable base volume, and
must not be exported as a VLUN.
For a complete list of options available for the
creategroupvvcopy
command, see the
HP 3PAR
Command Line Interface Reference
and the HP 3PAR CLI Help.
NOTE:
If you wish to copy multiple volumes, the
<parent_VV>:<destination_VV>
argument
can be repeated multiple times on the command line for a single instance of the
creategroupvvcopy
command.
The
-halt
option cancels a running group copy operation. The destination volume is marked with
the
cpf
status, which indicates that the group copy operation failed. The
cpf
status can be cleared
by issuing a new instance of the
creategroupvvcopy
command.
The
creategroupvvcopy
command can be issued multiple times. However, the system allows
only two physical copy tasks to run concurrently. Any additional physical copy tasks are queued,
pending the completion of the active physical copy tasks.
Resynchronizing a Physical Copy
At some point, you may want to
resynchronize
a physical copy with its original base volume
because either virtual volume could have been modified since the copy operation was launched.
When you resynchronize a physical copy, the system copies changes from one volume in the
physical copy pair to the other.
To resynchronize a physical copy, issue the
createvvcopy -r <destination_VV>
command,
where
-r <destination_VV>
is the volume to be resynchronized with its parent volume. The
snapshot is retained for quick resynchronization, and the parent-copy relationship is also retained.
Resynchronizing a Group of Physical Copies
Just as groups of physical copies can be created for a list of virtual volumes, those physical copies
can also be resynchronized.
Physical Copies
99