You typically migrate data to copy data to a new volume, to temporarily move data from an LU to accommodate other activities (for example, to make repairs), or to relocate LUs in order to balance workloads and distribute I/O activity evenly within or across storage systems.
- Make sure that the data path is installed and TrueCopy configuration procedures are completed.
- Verify that the target volume (S-VOL) is offline from all attached hosts.
The source volume (P-VOL) can remain online.
- Connect to the storage system that contains the volume to be migrated.
Add a remote connection in a storage system that contains the volume to be migrated, and then register storage systems in the secondary site. To set the port attribute, run the raidcom modify port command with the -port_attribute option.
- Create a TrueCopy pair.
You can perform this task by using the CCI paircreate command.
- Monitor the progress of the initial copy operation and the status of the pair using the raidcom get remote_copy_pair command. When the pair status changes to PAIR, the operation is completed.
You can monitor the progress of the operation by using the CCI pairdisplay command.
- If you are using CCI commands to migrate data, first delete the TC pair (pairsplit command), and then re-create the pair in the reverse direction by specifying the -f never option of the paircreate command.
If you are not using CCI commands to complete the migration, use the following procedure to stop using the P-VOLs and switch to the S-VOLs:
- Stop all host updates to the P-VOLs.
- When all update activity to the P-VOLs has stopped, connect to the primary system, select the correct CU, and release the TrueCopy pairs.
- If the P-VOL and S-VOL are attached to the same host, vary the P-VOL offline, and then vary the S-VOL online. Use this order because the P-VOL and S-VOL have the same volume labels and cannot be online to the same host at the same time.
- If you want to keep the volumes synchronized, establish the same TrueCopy pairs in the reverse direction using the None initial copy option. If the original P-VOLs will be temporarily unavailable for update copy operations, you can split the new pairs (pairsplit-r) so that the new primary system keeps track of changes.
- Start the applications with the S-VOLs. When the original P-VOLs become available, you can resynchronize the pairs.