Migrating data from a Storwize V3500 for Lenovo or Storwize V3700 for Lenovo system

You can use SAS connections to migrate data from a Storwize V3500 for Lenovo or Storwize V3700 for Lenovo system to a Lenovo Storage V series system.

  1. Install and configure the system.

    Ensure that the Storwize V3500 for Lenovo or Storwize V3700 for Lenovo system is running a level of software that can support SAS migration (minimum version 7.6.1.0).

  2. Verify that the host attachment ports are available.

    The Lenovo Storage V3700 V2 XP system has two onboard 12 Gbps host attachment SAS ports. Lenovo Storage V3700 V2 XP systems can also support the optional SAS host interface adapter.Lenovo Storage V3700 V2, Lenovo Storage V5030, and Lenovo Storage V5030F systems support 12 Gbps SAS host attachment I/O but must have the optional host interface adapter installed.

  3. Ensure that you have four mini SAS cables.
  4. Stop all host I/O operations.
  5. Unmap the logical drives that contain the data from the hosts.
  6. Verify that the Lenovo Storage V series system is configured as a replication layer system. To do so, enter the following command.
    svcinfo lssystem
    If the Lenovo Storage V series system is not configured as a replication layer system, enter the following command.
    svctask chsystem -layer replication
  7. Verify that the Storwize V3500 for Lenovo or Storwize V3700 for Lenovo system is configured as a storage layer system. To do so, enter the following command.
    svcinfo lssystem
    If the Storwize V3500 for Lenovo or Storwize V3700 for Lenovo system is not configured as a storage layer system, enter the following command.
    svctask chsystem -layer storage

Hardware configuration

  1. Unplug the SAS cables between the Storwize V3500 for Lenovo or Storwize V3700 for Lenovo system and the hosts.
    Ensure that no SAS host ports on the Lenovo Storage V series system are occupied.
  2. Connect four SAS host ports on the Storwize V3500 for Lenovo or Storwize V3700 for Lenovo system to the SAS host ports on the Lenovo Storage V series system. Connect each Lenovo Storage V series node to each Storwize V3500 for Lenovo or Storwize V3700 for Lenovo node canister..

    You can use SAS ports 1, 2, and 3 on the Storwize V3500 for Lenovo or Storwize V3700 for Lenovo system. Do not use SAS port 4.

    Note: 12 Gbps SAS cables have a square design rather than a rectangular design, which makes them easy to insert upside down. You can identify the correct orientation by observing the ridge at the top of the SAS connector and lining it up with the ridge on the node canister. However, this ridge is not enough to prevent the cable from being inserted incorrectly. Take extra care as the orientation of the SAS ports on a connector for a host interface adapter is the opposite of the onboard SAS ports.
    The cabling for the port connections varies for each Lenovo Storage V series system. The following figures show examples of the connection between a Storwize V3500 for Lenovo or Storwize V3700 for Lenovo system and a Lenovo Storage V series system. To provide extra redundancy and ensure that the detected MDisks are not degraded, ensure that each controller is connected to both node canisters on the Lenovo Storage V series system.

    Connecting SAS cables from a Storwize V3500 for Lenovo or Storwize V3700 for Lenovo system to a Lenovo Storage V3700 V2 system shows the cabling between a Storwize V3500 for Lenovo or Storwize V3700 for Lenovo system and a Lenovo Storage V3700 V2 system. The Lenovo Storage V3700 V2 system has a 12 Gbps SAS host interface adapter installed. Any 2 ports on the host interface adapter can be used. In this example, ports 1 and 2 are used.

    Figure 1. Connecting SAS cables from a Storwize V3500 for Lenovo or Storwize V3700 for Lenovo system to a Lenovo Storage V3700 V2 system
    Diagram showing cable connections from Lenovo Storage V3700 V2 to Storwize V3500 for Lenovo or Storwize V3700 for Lenovo

    Connecting SAS cables from a Storwize V3500 for Lenovo or Storwize V3700 for Lenovo system to a Lenovo Storage V3700 V2 XP system shows the cabling between Storwize V3500 for Lenovo or Storwize V3700 for Lenovo systems and a Lenovo Storage V3700 V2 XP system.On the Lenovo Storage V3700 V2 XP system, the cables are connected to onboard 12 Gbps SAS port 2 and port 3.
    Figure 2. Connecting SAS cables from a Storwize V3500 for Lenovo or Storwize V3700 for Lenovo system to a Lenovo Storage V3700 V2 XP system
    Diagram showing cable connections from Lenovo Storage V3700 V2 XP to Storwize V3500 for Lenovo or Storwize V3700 for Lenovo

    Connecting SAS cables from a Storwize V3500 for Lenovo or Storwize V3700 for Lenovo system to a Lenovo Storage V5030 system shows the cabling between a Storwize V3500 for Lenovo or Storwize V3700 for Lenovo and a Lenovo Storage V5030 system. The Lenovo Storage V5030 system has a 12 Gbps SAS host interface adapter installed. Any 2 ports on the host interface adapter can be used. In this example, port 1 and port 2 are used.
    Figure 3. Connecting SAS cables from a Storwize V3500 for Lenovo or Storwize V3700 for Lenovo system to a Lenovo Storage V5030 system
    Diagram showing cable connections from Lenovo Storage V5030 to Storwize V3500 for Lenovo or Storwize V3700 for Lenovo

  3. Connect the remaining Lenovo Storage V series SAS host ports to the host server SAS ports.

Software configuration

  1. To get the SAS worldwide port name (WWPN) of the Lenovo Storage V series system, enter the following command on the Storwize V3500 for Lenovo or Storwize V3700 for Lenovo system.
    svcinfo lssasportcandidate
  2. On the Storwize V3500 for Lenovo or Storwize V3700 for Lenovo system, define a new host using the SAS WWPNs that were detected from the Lenovo Storage V series system in step #tb5_migrate_data_v35k_v37k/map_drives.
    Enter the following command, where sas_wwpn is a colon-separated list of SAS WWPNs of the Lenovo Storage V series system. If you are using the management GUI, set the Host type (operating system) to Generic.
    svctask mkhost -saswwpnsas_wwpn
  3. On the Storwize V3500 for Lenovo or Storwize V3700 for Lenovo 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 -hosthostnamediskname
      hostname
      Name or ID of the SAS host created in step #tb5_migrate_data_v35k_v37k/new_SAS_host.
      diskname
      Name or ID of the volume that you want to migrate to the Lenovo Storage V series system.
  4. On the Lenovo Storage V series system, complete the following steps to manage the logical unit.
    1. To create one empty storage pool, enter the following command.
      svctask mkmdiskgrp -extextent_size
      The logical unit mapped from the Storwize V3500 for Lenovo or Storwize V3700 for Lenovo system appears as an unmanaged-mode MDisk to the Lenovo Storage V series 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 -iogrpiogrp_name-mdiskgrp -mdiskmdiskgrp_namemdisk_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 #tb5_migrate_data_v35k_v37k/create_pool_1.
      mdisk_name
      Name or ID of the unmanaged-mode MDisk.
    5. To list the SAS WWPN of hosts that were previously using the data that the MDisk now contains, enter the following command.
      svcinfo lssasportcandidate
    6. If the SAS host does not exist on the system, enter the following command, where sas_wwpn is the colon-separated list of SAS WWPNs of the host server.
      svctask mkhost -saswwpnsas_wwpn
    7. Map the new volume to the SAS 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 -hosthostname diskname
      hostname
      Name or ID of the SAS host you created in step #tb5_migrate_data_v35k_v37k/create_sas_hosts.
      diskname
      Name or ID of the volume you created in step #tb5_migrate_data_v35k_v37k/convert_mdisk.
  5. On the host server, you can detect the new volume presented from the Lenovo Storage V series system and start I/O operations towards it.
  6. If you have more than one logical drive to migrate, repeat steps #tb5_migrate_data_v35k_v37k/map_logical_drive through #tb5_migrate_data_v35k_v37k/start_io.
  7. On the Lenovo Storage V series 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 -levelraidtype-drivedrivelist mdiskgrpname
      raidtype
      Type of RAID array to be created.
      drivelist
      List of drive IDs.
      mdiskgrpname
      Name or ID of storage pool created in step #tb5_migrate_data_v35k_v37k/convert_mdisk.
    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 -mdiskgrpnewmdiskgrname 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.
The data on the logical drives from the Storwize V3500 for Lenovo or Storwize V3700 for Lenovo system is migrated to the Lenovo Storage V series system. Host I/O is also switched to the Lenovo Storage V series system.
You can now disconnect the SAS cabling between the Storwize V3500 for Lenovo or Storwize V3700 for Lenovo system and the Lenovo Storage V series system.