HP MSA 1040 HP MSA 1040 SMU Reference Guide (762784-001, March 2014) - Page 135

Exporting a replication image to a snapshot, Changing the primary volume for a replication set

Page 135 highlights

To reattach a secondary volume 1. In the Configuration View panel, right-click the secondary volume and select Provisioning > Reattach Replication Volume. 2. In the main panel, click Reattach Replication Volume. A message indicates whether the task succeeded or failed. • If the task succeeds, the secondary volume's status changes to "Establishing proxy" while it is establishing the connection to the remote (primary) system in preparation for replication; then the status changes to Online. The replication set is ready to resume replication operations. • If the reattach operation fails and says it is unable to get the primary volume's link type, the vdisk that contains the secondary volume may not have completed its startup activities. Wait approximately one minute for these activities to complete, then retry the operation. If this message continues to occur, check the event log to better understand the condition and for an indication of how to correct it. NOTE: If the secondary system does not support the link type that the replication set is configured to use, the secondary volume will be attached with the wrong link type. To fix this, repeat process steps 1 and 2 above to move the secondary volume into a system that supports the required link type. Exporting a replication image to a snapshot If the system is licensed to use remote replication, you can export a replication image to a new standard snapshot. For example, you could export a replication image from a secondary volume for use on the remote system. The standard snapshot will reside in the same snap pool, take a snapshot license, and be independent of the primary replication image, which can continue to be used as a sync point. The standard snapshot can be used like any other standard snapshot, and changes to it will not affect the replication image. The standard snapshot is subject to the snap pool's deletion policies. If the snap pool reaches its critical threshold, the snapshot may be deleted, even if it is mapped. If you want to preserve the standard snapshot's data, you can create a standard volume from the snapshot; see "Creating a volume copy" (page 71). NOTE: The export task will not succeed if the resulting snapshot would exceed license limits. To export a replication image to a snapshot 1. In the Configuration View panel, right-click a replication image and select Provisioning > Export Snapshot. 2. In the main panel, optionally change the default name for the snapshot. A snapshot name is case sensitive; cannot already exist in a vdisk; cannot include a comma, double quote, angle bracket, or backslash; and can have a maximum of 32 bytes. 3. Click Export Snapshot. A message specifies whether the task succeeded or failed. 4. Click OK. If the task succeeds, in the Configuration View panel the snapshot appears under the secondary volume on the remote system. Changing the primary volume for a replication set If a replication set's primary system goes offline, and the secondary volume is in a remote system, you can set the secondary volume to be the primary volume so hosts can access that volume and the replicated data it contains. When the secondary volume becomes the primary volume, it only retains the replication images that the primary volume had and deletes any images that the primary volume did not have. Because the secondary volume may not have successfully replicated all the images associated with the primary volume, the secondary volume might have a subset of the primary volume's images. If the primary system comes back online, you can set its volume to be the primary volume again. The following procedures apply to a replication set in which the primary and secondary volume are in separate storage systems. To change the primary volume for a replication set in which both volumes are in the same system (local replication), use the CLI set replication-primary-volume command. Exporting a replication image to a snapshot 135

  • 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

Exporting a replication image to a snapshot
135
To reattach a secondary volume
1.
In the Configuration View panel, right-click the secondary volume and select
Provisioning > Reattach Replication
Volume
.
2.
In the main panel, click
Reattach Replication Volume
. A message indicates whether the task succeeded or failed.
If the task succeeds, the secondary volume’s status changes to “Establishing proxy” while it is establishing the
connection to the remote (primary) system in preparation for replication; then the status changes to Online.
The replication set is ready to resume replication operations.
If the reattach operation fails and says it is unable to get the primary volume’s link type, the vdisk that contains
the secondary volume may not have completed its startup activities. Wait approximately one minute for these
activities to complete, then retry the operation. If this message continues to occur, check the event log to better
understand the condition and for an indication of how to correct it.
NOTE:
If the secondary system does not support the link type that the replication set is configured to use, the
secondary volume will be attached with the wrong link type. To fix this, repeat process steps 1 and 2 above to move
the secondary volume into a system that supports the required link type.
Exporting a replication image to a snapshot
If the system is licensed to use remote replication, you can export a replication image to a new standard snapshot.
For example, you could export a replication image from a secondary volume for use on the remote system. The
standard snapshot will reside in the same snap pool, take a snapshot license, and be independent of the primary
replication image, which can continue to be used as a sync point. The standard snapshot can be used like any other
standard snapshot, and changes to it will not affect the replication image.
The standard snapshot is subject to the snap pool’s deletion policies. If the snap pool reaches its critical threshold, the
snapshot may be deleted, even if it is mapped. If you want to preserve the standard snapshot’s data, you can create
a standard volume from the snapshot; see
"Creating a volume copy" (page 71)
.
NOTE:
The export task will not succeed if the resulting snapshot would exceed license limits.
To export a replication image to a snapshot
1.
In the Configuration View panel, right-click a replication image and select
Provisioning > Export Snapshot
.
2.
In the main panel, optionally change the default name for the snapshot. A snapshot name is case sensitive;
cannot already exist in a vdisk; cannot include a comma, double quote, angle bracket, or backslash; and can
have a maximum of 32 bytes.
3.
Click
Export Snapshot
. A message specifies whether the task succeeded or failed.
4.
Click
OK
. If the task succeeds, in the Configuration View panel the snapshot appears under the secondary
volume on the remote system.
Changing the primary volume for a replication set
If a replication set’s primary system goes offline, and the secondary volume is in a remote system, you can set the
secondary volume to be the primary volume so hosts can access that volume and the replicated data it contains.
When the secondary volume becomes the primary volume, it only retains the replication images that the primary
volume had and deletes any images that the primary volume did not have. Because the secondary volume may not
have successfully replicated all the images associated with the primary volume, the secondary volume might have a
subset of the primary volume’s images.
If the primary system comes back online, you can set its volume to be the primary volume again.
The following procedures apply to a replication set in which the primary and secondary volume are in separate
storage systems. To change the primary volume for a replication set in which both volumes are in the same system
(local replication), use the CLI
set replication-primary-volume
command.