A computer program product for processing a migration request, the computer program product comprising a computer readable storage medium having computer readable program code embodied therein that executes to perform operations, the operations comprising:
- processing a migration request to migrate metadata and storage management of data in a first storage environment to a second storage environment, wherein the first storage environment has a first storage server, a first storage media, and first metadata describing first data objects stored in the first storage media, wherein the first metadata includes first data object metadata providing information on the first data objects in the first storage media, including a volume in which each first data object is stored, first volume metadata including information on volumes in the first storage media, first storage pool metadata providing information on volumes associated with the storage pool, and first device class metadata providing information on the first server used to manage volumes indicated in the first volume metadata and indicated in the first storage pool metadata, wherein the second storage environment has a second storage server, a second storage media, and second metadata for second data objects stored in the second storage media, wherein the second metadata includes second data object metadata providing information on the second data objects in the second storage media, including a volume in which each second data object is stored, second volume metadata including information on volumes in the second storage media, second storage pool metadata providing information on volumes associated with the storage pool, and second device class metadata providing information on the second server used to manage volumes indicated in the first volume metadata and indicated in the first storage pool metadata;
- copying the first metadata to the second storage environment to incorporate with the second metadata, wherein incorporating the first metadata into the second metadata comprises including the first data object metadata, first volume metadata, first storage pool metadata, and first device class metadata into the second data object metadata, second volume metadata, second storage pool metadata, and second device class metadata, respectively;
- modifying the first device class metadata incorporated into the second device class metadata to indicate first server information used by the second server to communicate with the first server to access the migrated data from the first storage media;
- and
- completing the migration request in response to incorporating the first metadata into the second metadata, wherein the first data objects remain in the first storage media after completing the migration request, and wherein the first data objects are copied to the second storage media after completing the migration request.