Patent ID: 8806157

Claim:
A method, comprising: configuring data migration from a first volume to a second volume, which are coupled via a storage area network (SAN) to a host computer, with the first volume mapped to the host computer, the first volume in communication with a first processor, and the second volume in communication with a second processor, by: setting, using the first processor, the first volume to active, by setting a first target port group volume to active, thereby setting a state of all logical paths between the host computer and the first volume to active; querying 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, copying a volume identifier associated with the first volume to a memory coupled to the second volume; after setting the first volume to active, retrieving, by the host computer, the copied volume identifier of the first volume from the memory; after setting the first volume to active, setting, using the second processor, a state of a second target port group comprising a port associated with the second volume to inactive, 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, mapping the inactive second volume to the host computer; after the mapping of the inactive second volume to the host computer, sending a query to identify a state of the first volume and a state of the second volume mapped to the host computer; determining from the query that the state of the first volume is active and the state of the second volume is inactive; identifying 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; setting, using the first processor, a state of the first volume to inactive, after the identifying; synchronizing status data between the inactive first volume and the inactive second volume; after the copying, starting data migration from the inactive first volume to the inactive second volume; and after the starting, setting the state of the second volume to active.