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.
- 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).
- 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.
- Ensure that you have four mini SAS cables.
- Stop all host I/O operations.
- Unmap the logical drives that contain the data from the hosts.
- 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
- 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
- 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.
- 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.
Figure 1 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
Figure 2 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
Figure 3 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
- Connect the remaining Lenovo Storage V series SAS host ports to the host server SAS ports.
Software configuration
- 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
- 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 4.
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
- 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.
- On the Lenovo Storage V series system, complete the following steps to manage
the logical unit.
- 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.
- To list the unmanaged-mode MDisks, enter the following
command.
- 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 -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 7.a.
- mdisk_name
- Name or ID of the
unmanaged-mode MDisk.
- To list the SAS WWPN of hosts that were previously using
the data that the MDisk now contains, enter the following command.
svcinfo lssasportcandidate
- 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
- 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 7.f.
- diskname
- Name or ID of the
volume you created in step 7.d.
- 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.
- If you have more than one logical drive to migrate, repeat
steps 6 through 8.
- 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.
- 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 -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 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 -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.
- 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.
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.