Patent ID: 8799594

Claim:
An apparatus for configuring data migration, comprising: a host computer; a first volume; a second volume; a storage area network (SAN) configured to couple the host computer, the first volume and the second volume; a memory coupled to the second volume; and a plurality of processors, a first processor of the plurality of processors in communication with the first volume, and a second processor of the plurality of processors in communication with the second volume, the plurality of processors configured: to map the first volume to the host computer, to set the first volume to active, by setting a first target port group comprising a port associated with the first volume to active, thereby setting a state of all logical paths between the host computer and the first volume to active; to query volumes mapped to the host computer to determine the states of the volumes mapped to the host computer to thereby define multipath devices and ascertain the state of every logical path to each multipath device; after setting the first volume to active, to copy a volume identifier associated with the mapped first volume to the memory, after setting the first volume to active, to retrieve, by the host computer, the copied volume identifier of the first volume from the memory, after setting the first volume to active, to set a state of a second target port group comprising a port associated with the second volume to inactive using the second processor, thereby setting a state of all logical paths between the host computer and the second volume to inactive, after setting the first volume to active and the second volume to inactive and after the setting the state of the second target port group, to map the inactive second volume to the host computer, after the mapping of the inactive second volume to the host computer, to send a query to identify a state of the first volume and a state of the second volume mapped to the host computer, to determine from the query that the state of the first volume is active and the state of the second volume is inactive, to identify the first volume and the second volume as a single multipath device, due to the volume identifier associated with the mapped first volume being in the memory, to set a state of the mapped first volume to inactive using the first processor, after the identifying, to synchronize status data between the inactive first volume and the inactive second volume, after the copying, to start data migration from the inactive first volume to the inactive second volume, and after the starting, to set the state of the second volume to active.