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.

We now use the unmanaged MDisk to create an image mode VDisk in the new MDisk group<strong>and</strong> map it to the relevant host. Notice in Example 8-58 that the host ID is 2 <strong>and</strong> the VDisknumber changed to 10.Example 8-58 Creating the image mode VDisk<strong>IBM</strong>_2145:SVC:admin>svctask mkvdisk -mdiskgrp 2 -iogrp 0 -vtype image -mdisk 9 -name migratedVirtual Disk, id [10], successfully created<strong>IBM</strong>_2145:SVC:admin>svctask mkvdiskhostmap -host 2 10Virtual Disk to Host map, id [2], successfully createdWe can now reboot the host (or scan for new disks) <strong>and</strong> the LUN will return with data intact.Important: The VDisk ID <strong>and</strong> VDisk names were both changed in this example. Scriptsthat use the VDisk name or ID (such as those used to automatically create flashcopies)must be changed to reflect the new name <strong>and</strong> ID.8.10.5 <strong>Migration</strong> from image mode to managed modeWe now must migrate the VDisks from image mode on individual image mode MDisks tostriped mode VDisks in a managed mode MDisk group.First we create a new managed disk group using volumes on the <strong>XIV</strong> intended to be used asthe final destination. In Example 8-59, five volumes, each 1632 GB, were created on the <strong>XIV</strong><strong>and</strong> mapped to the SVC. These are detected as 1520 GiB (because 1632 GB on the <strong>XIV</strong> GUIequals 1520 GiB on the SVC GUI). At a certain point the MDisks must also be renamed fromthe default names given by the SVC using the svctask chmdisk -name comm<strong>and</strong>.Example 8-59 Listing free MDisks<strong>IBM</strong>_2145:SVCSTGDEMO:admin>svcinfo lsmdisk -filtervalue mode=unmanagedid name status mode capacity ctrl_LUN_# controller14 mdisk14 online unmanaged 1520.0GB 0000000000000007 <strong>XIV</strong>15 mdisk15 online unmanaged 1520.0GB 0000000000000008 <strong>XIV</strong>16 mdisk16 online unmanaged 1520.0GB 0000000000000009 <strong>XIV</strong>17 mdisk17 online unmanaged 1520.0GB 000000000000000A <strong>XIV</strong>18 mdisk18 online unmanaged 1520.0GB 000000000000000B <strong>XIV</strong>We create a MDisk group using an extent size of 1024 MB with the five free MDisks. InExample 8-60 MDisk group 3 is created.Example 8-60 Creating target MDisk group<strong>IBM</strong>_2145:SVCSTGDEMO:admin>svctask mkmdiskgrp -name <strong>XIV</strong>_Target -mdisk 14:15:16:17:18 -ext 1024MDisk Group, id [3], successfully createdWe then migrate the image mode VDisk (in our case VDisk 5) into the new MDisk group (inour case group 3), as shown in Example 8-61.Example 8-61 Migrating the VDisk<strong>IBM</strong>_2145:SVCSTGDEMO:admin>svctask migratevdisk -mdiskgrp 3 -vdisk 5Chapter 8. SVC migration with <strong>XIV</strong> 271

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

Saved successfully!

Ooh no, something went wrong!