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...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Using XCLI comm<strong>and</strong>s for deactivation <strong>and</strong> activationExample 6-4 shows XCLI comm<strong>and</strong>s for CG deactivation <strong>and</strong> activation.Example 6-4 XCLI comm<strong>and</strong>s for CG deactivation <strong>and</strong> activation-- Deactivate Mirrored CGmirror_deactivate cg="HS_Pool1_CG"-- Activate Mirrored CGmirror_activate cg="HS_Pool1_CG"DeletionWhen a mirror pair (volume pairs or a consistency group) is inactive, the mirror relationshipcan be deleted. When the mirror is deleted, the <strong>XIV</strong> forgets everything about the mirror. If youwant to set up the mirror again, the <strong>XIV</strong> must do an initial copy again from the source to thetarget volume.When the mirror is part of a consistency group the mirror first must be removed from themirrored CG <strong>and</strong> the last_replicated CG for the master <strong>and</strong> the slave must be disb<strong>and</strong>ed. Thissnapshot CG is recreated with only the current volumes after the next interval completes. Thelast_replicated snapshots for the mirror can now be deleted, allowing a new mirror to becreated.Note that when the mirror is deleted, the slave volume becomes a normal volume again, butthe volume is locked, which means that it is write protected. To enable writing to the volumego to the Volumes list panel, select the volume, right-click it, <strong>and</strong> select Unlock.The slave volume must also be formatted before it can be part of a new mirror. Formattingalso requires all snapshots of that volume to be deleted.XCLI comm<strong>and</strong>s for mirror deletionExample 6-5 illustrates the use of XCLI comm<strong>and</strong>s for mirror deletion.Example 6-5 XCLI comm<strong>and</strong>s for mirror deletion-- delete Mirrorcg_remove_vol vol="HS2_3"mirror_deactivate vol="HS2_3"mirror_delete vol="HS2_3"-- Format slave volumesnap_group_disb<strong>and</strong> snap_group="last-replicated-HS_Pool2_CG"snapshot_delete snapshot="last-replicated-HS2_3"vol_unlock vol="HS2_3"vol_format vol="HS2_3"-- Delete snapshots on Mastersnap_group_disb<strong>and</strong> snap_group="last-replicated-HS_Pool2_CG"snapshot_delete snapshot="last-replicated-HS2_3"Chapter 6. Asynchronous Remote Mirroring 165

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

Saved successfully!

Ooh no, something went wrong!