06.08.2015 Views

IBM XIV Storage System Copy Services and Migration

IBM XIV Storage System: Copy Services and Migration - Common ...

IBM XIV Storage System: Copy Services and Migration - Common ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Changing the slave peer roleThe role of the slave volume or consistency group can be changed to the master role, asshown in Figure 5-11. After this changeover, the following is true:►►►The slave volume or consistency group is now the master.The coupling has the status of unsynchronized.The coupling remains inactive, meaning that the remote mirroring is deactivated. Thisensures an orderly activation when the role of the peer on the other site is changed.Figure 5-11 Change role of a slave consistency groupThe new master volume or consistency group (at the secondary site) starts to accept writecomm<strong>and</strong>s from local hosts. Because coupling is not active, in the same way as for anymaster volume, metadata maintain a record of which write operations must be sent to theslave volume when communication resumes.After changing the slave to the master, an administrator must change the original master tothe slave role before communication resumes. If both peers are left with the same role(master), mirroring cannot be restarted.Slave peer consistencyWhen the user is changing the slave volume or consistency group to a master volume ormaster consistency group <strong>and</strong> a snapshot of the last consistent state exists that wasproduced during the process of resynchronizing (as a result of a broken link, for instance), thesystem reverts the slave to the last consistent snapshot.Changing the master peer roleWhen coupling is inactive, the master volume or consistency group can change roles. Aftersuch a change the master volume or consistency group becomes the slave volume orconsistency group.Unsynchronized master becoming a slave volume or consistency groupWhen a master volume (or consistency group) is inactive, it is also in an unsynchronizedstate, <strong>and</strong> it might have a backlog of uncommitted data. The uncommitted changes willpotentially be lost when the volume (CG) becomes a slave volume (CG), as this data must bereverted to match the data on the peer volume, which is now the new master volume. In thiscase, an event is created, summarizing the size of the changes that were lost. Theuncommitted data has now switched its semantics, <strong>and</strong> instead of representing updates thatthe primary peer (former master, now slave) needs to update on the secondary peer (oldslave, new master), metadata now represents updates that must be replicated from thesecondary to the primary.Upon re-establishing the connection, the primary volume or consistency group (current slavevolume/CG) updates the secondary volume/CG (new master volume/CG) with thisChapter 5. Synchronous Remote Mirroring 135

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!