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

Promoting a Physical Copy, Creating an Online Copy, Snapshots and Domains

Page 100 highlights

To resynchronize a group of physical copies, issue the creategroupvvcopy -r command, where -r is the volume to be resynchronized with its parent volume. Snapshots of the parent volume must have been saved during their creation (using the -s option) in order to resynchronize the volumes. Promoting a Physical Copy Over time, physical copies and their base volumes can change as data is written to each. At some point the association between the two volumes may no longer be relevant. The association between a physical copy and a base volume is broken by promoting the physical copy back to the base volume. To promote a physical copy back to a base volume, issue the promotevvcopy |set: command, where: • is the name of the physical copy being promoted. • is the name of the physical copy set being promoted. Creating an Online Copy An online copy is a virtual volume copy operation that enables the physical copy or read-write virtual copy to be instantly available for export to hosts. The destination volume can be immediately exported and is automatically created by the command. To create an online copy of a virtual volume, issue the createvvcopy -p -online [-snp_cpg ] [-tpvv] command, where: • -p creates a snapshot of the parent volume, as identified by , and copies the snapshot data to the destination volume. • -online specifies that the copy is to be performed online. The destination can be immediately exported and is automatically created. • [-snp_cpg ] specifies the snapshot CPG to be associated with the destination volume. • [-tpvv] indicates that the destination volume should be a TPVV. • specifies the destination CPG to use for the destination volume. • 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 volume, and must not be exported as a VLUN. NOTE: Using the createvvcopy command with the -online option is incompatible with the -r, -halt, -s, -b, and -pri options. For a complete list of options available for the createvvcopy command, see the HP 3PAR Command Line Interface Reference and the HP 3PAR CLI Help. Snapshots and Domains NOTE: Virtual domains require the Virtual Domains Software license. Contact your local HP representative for further details. As with standard systems, virtual copies and physical copies can also be created in systems using virtual domains. Domain snapshot creation and modification does not differ from snapshot creation and modification in systems not using domains. Domain snapshot creation and modification is 100 Managing Virtual Volume Copies

  • 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

To resynchronize a group of physical copies, issue the
creategroupvvcopy -r
<destination_VV>
command, where
-r <destination_VV>
is the volume to be
resynchronized with its parent volume.
Snapshots of the parent volume must have been saved during their creation (using the
-s
option)
in order to resynchronize the volumes.
Promoting a Physical Copy
Over time, physical copies and their base volumes can change as data is written to each. At some
point the association between the two volumes may no longer be relevant. The association between
a physical copy and a base volume is broken by promoting the physical copy back to the base
volume.
To promote a physical copy back to a base volume, issue the
promotevvcopy
<copy_name>|set:<set_name>
command, where:
<copy_name>
is the name of the physical copy being promoted.
<set_name>
is the name of the physical copy set being promoted.
Creating an Online Copy
An online copy is a virtual volume copy operation that enables the physical copy or read-write
virtual copy to be instantly available for export to hosts. The destination volume can be immediately
exported and is automatically created by the command.
To create an online copy of a virtual volume, issue the
createvvcopy -p <parent_volume>
-online [-snp_cpg <snap_cpg>] [-tpvv] <destination cpg> <destination
volume>
command, where:
-p <parent_volume>
creates a snapshot of the parent volume, as identified by
<parent_volume>
, and copies the snapshot data to the destination volume.
-online
specifies that the copy is to be performed online. The destination can be immediately
exported and is automatically created.
[-snp_cpg <snap_cpg>]
specifies the snapshot CPG to be associated with the destination
volume.
[-tpvv]
indicates that the destination volume should be a TPVV.
<destination cpg>
specifies the destination CPG to use for the destination volume.
<destination_volume>
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 volume, and
must not be exported as a VLUN.
NOTE:
Using the
createvvcopy
command with the
-online
option is incompatible with the
-r
,
-halt
,
-s
,
-b
, and
-pri
options.
For a complete list of options available for the
createvvcopy
command, see the
HP 3PAR
Command Line Interface Reference
and the HP 3PAR CLI Help.
Snapshots and Domains
NOTE:
Virtual domains require the Virtual Domains Software license. Contact your local HP
representative for further details.
As with standard systems, virtual copies and physical copies can also be created in systems using
virtual domains. Domain snapshot creation and modification does not differ from snapshot creation
and modification in systems not using domains. Domain snapshot creation and modification is
100
Managing Virtual Volume Copies