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
- 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.
- Ensure that all systems are running a level of software that can support the type of FC adapters that are being used.
- Ensure that the systems use FC adapters at the same speed.
- Verify that the host attachment ports are available.
- Ensure that you have the appropriate number of cables to connect to each system or switch, as needed.
- Stop all host I/O operations.
- Unmap the logical drives that contain the data from the hosts.
- 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
- 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
-
Unplug the FC cables between the Storwize family system and the
hosts.
Ensure that no host ports on the FlashSystem 5000 system are occupied.
-
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.
- Connect the remaining host ports on the FlashSystem 5000 system to the host server ports.
Software configuration
-
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
-
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
-
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
-
On the
FlashSystem 5000
system,
complete the following steps to manage the logical unit.
-
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. -
To list the unmanaged-mode MDisks, enter the following command.
svcinfo lsmdisk
-
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
-
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.
-
To list the WWPN of hosts that were previously using the data that the MDisk now
contains, enter the following command.
svcinfo lsfcportcandidate
-
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
-
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
-
To create one empty storage pool, enter the following command.
- 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.
- If you have more than one logical drive to migrate, repeat steps 6 through 8.
-
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.
-
To create one empty internal storage pool, enter the following command.
svctask mkmdiskgrp -ext extent_size
-
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.
-
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. -
To check the progress of the synchronization, enter the following command.
svcinfo lsvdisksyncprogress
-
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.
-
To create one empty internal storage pool, enter the following command.