Migrating data by using Fibre Channel connections

You can use Fibre Channel (FC) connections to migrate data from a Storwize® family system to a FlashSystem 5000 system.

Before you begin

  1. Install and configure the systems.
    supports FC connections to migrate data from the following Storwize family systems:
    • Storwize V3500
    • Storwize V3700
    • Storwize V5000 and Storwize V5000 Gen2
    • Storwize V7000 Gen1, Storwize V7000 Gen2, and Storwize V7000 Gen2+
    • Storwize V5010E to FlashSystem 5030 and FlashSystem 5035 systems only.
  2. Ensure that all systems are running a level of software that can support the type of FC adapters that are being used.
  3. Ensure that the systems use FC adapters at the same speed.
  4. Verify that the host attachment ports are available.
  5. Ensure that you have the appropriate number of cables to connect to each system or switch, as needed.
  6. Stop all host I/O operations.
  7. Unmap the logical drives that contain the data from the hosts.
  8. Verify that the FlashSystem 5000 system is configured as a replication layer system. To do so, enter the following command.
    svcinfo lssystem
    If the FlashSystem 5000 system is not configured as a replication layer system, enter the following command.
    svctask chsystem -layer replication
  9. Verify that the Storwize family system is configured as a storage layer system. To do so, enter the following command.
    svcinfo lssystem
    If the Storwize family system is not configured as a storage layer system, enter the following command.
    svctask chsystem -layer storage

Procedure

Hardware configuration

  1. Unplug the FC cables between the Storwize family system and the hosts.
    Ensure that no host ports on the FlashSystem 5000 system are occupied.
  2. Connect four FC host ports on the Storwize family system to the FC host ports on the FlashSystem 5000 system.
    The cabling for the port connections can vary, depending on whether the systems are connected directly or though a switch. To provide extra redundancy and ensure that the detected MDisks are not degraded, ensure that each controller is connected to both node canisters or switches, if applicable.
  3. Connect the remaining host ports on the FlashSystem 5000 system to the host server ports.

Software configuration

  1. On the Storwize family system, enter the following command to get the worldwide port name (WWPN) of the FC port on the FlashSystem 5000 system.
    svcinfo lsfcportcandidate
  2. On the Storwize family system, define a new host by using the WWPNs that were detected from the FlashSystem 5000 system in step 4.
    Enter the following command, where wwpn_list is a colon-separated list of WWPNs of the FC ports on the FlashSystem 5000 system. If you are using the management GUI, set the Host type (operating system) to Generic.
    svctask mkhost -fcwwpn wwpn_list
  3. On the Storwize family system, map the logical drives to the newly created host as a logical unit.
    • To select and map several drives at one time, use the management GUI.
    • To map an individual drive, enter the following command.
      svctask mkvdiskhostmap -host hostname diskname
      hostname
      Name or ID of the host that is created in step 5
      diskname
      Name or ID of the volume that you want to migrate to the system
  4. On the FlashSystem 5000 system, complete the following steps to manage the logical unit.
    1. To create one empty storage pool, enter the following command.
      svctask mkmdiskgrp -ext extent_size
      The logical unit that is mapped from the Storwize family system appears as an unmanaged-mode MDisk to the FlashSystem 5000 system.
    2. To list the unmanaged-mode MDisks, enter the following command.
      svcinfo lsmdisk
    3. If the new unmanaged-mode MDisk is not listed, perform a fabric-level discovery.
      Enter the following command to scan the network for the unmanaged-mode MDisks.
      svctask detectmdisk
    4. To convert the unmanaged-mode MDisk to an image mode volume disk, enter the following command.
      svctask mkvdisk -vtype image -iogrp iogrp_name -mdiskgrp -mdisk mdiskgrp_name 
       mdisk_name -mirrorwritepriority redundancy
      iogrp_name
      Name or ID of the I/O group.
      mdiskgrp_name
      Name or ID of the storage pool that you created in step 7.a.
      mdisk_name
      Name or ID of the unmanaged-mode MDisk.
    5. To list the WWPN of hosts that were previously using the data that the MDisk now contains, enter the following command.
      svcinfo lsfcportcandidate
    6. If the host does not exist on the system, enter the following command, where wwpn_list is the colon-separated list of the WWPNs of the FC ports on the host server.
      svctask mkhost -fcwwpn wwpn_list
    7. Map the new volume to the hosts.
      Enter the following command to create a new mapping between a volume and a host. The image mode volume becomes accessible for I/O operations to the host.
      svctask mkvdiskhostmap -host hostname diskname
      hostname
      Name or ID of the host you created in step 7.f.
      diskname
      Name or ID of the virtual disk you created in step 7.d.
  5. On the host server, you can detect the new volume that is presented from the FlashSystem 5000 system and start I/O operations towards it.
  6. If you have more than one logical drive to migrate, repeat steps 6 through 8.
  7. On the FlashSystem 5000 system, complete the following steps to start migration for each image-mode volume. For more information about migrating data to volumes, see Managing volumes.
    1. To create one empty internal storage pool, enter the following command.
      svctask mkmdiskgrp -ext extent_size
    2. To create arrays with internal drives and add them to the internal storage pool, enter the following command.
      svctask mkarray -level raidtype -drive drivelist mdiskgrpname
      raidtype
      Type of RAID array to be created.
      drivelist
      List of drive IDs.
      mdiskgrpname
      Name or ID of storage pool created in step 7.d.
    3. After you determine the volume that you want to migrate and the new storage pool that you want to migrate it to, enter the following command.
      svctask addvdiskcopy -mdiskgrp newmdiskgrname vdiskname
      The copy ID of the new copy is returned. The copies are now synchronized such that the data is stored in both storage pools.
    4. To check the progress of the synchronization, enter the following command.
      svcinfo lsvdisksyncprogress
    5. After the volume reports that it is fully synchronized and you are ready to stop using the external storage system, enter the following command on the image-mode copy of the volume.
      svctask rmvdiskcopy
      The image-mode copy is deleted, and its associated MDisk becomes unmanaged.

Results

The data on the logical drives from the Storwize family system is migrated to the FlashSystem 5000 system. Host I/O is also switched to the FlashSystem 5000 system.

What to do next

You can now disconnect the cabling between the switches (if applicable), the Storwize family system, and the FlashSystem 5000 system.