Home > Storage > PowerMax and VMAX > Storage Admin > Dell PowerMax and VMAX: Non-Disruptive and Minimally Disruptive Migration Best Practices and Operational Guide > Canceling a migration
The ‘cancel’ command cancels a migration that has not yet been committed. The administrator must identify the target array and the application whose migration is to be canceled. For minimally disruptive migrations, the administrator must shut down the application before issuing the cancel command. Upon successful completion of a cancel operation, the application configuration would need to be changed to use the original source LUNs before it can be restarted.
Upon successful completion of a cancel operation, the application storage will be as it was prior to the start of the migration:
The administrator must perform a host rescan with the option to remove dead paths to clean up the paths that were created for the target side LUNs.
If the administrator has configured local or remote replication of the target-side devices, then a cancel will be blocked. Administrator will need to remove the replication sessions before running the cancel operation.
The following command can be used to cancel a migration. After a successful cancel, the application will be running against its storage on the source array, and any resources configured for the application on the target array by the migration create processing will have been removed.
symdm cancel –sid 643 –sg APP1
Analyze Configuration....................................................Started.
Source Array:APM00150519204
Target Array:000197900644
Checking Target devices for IO......................................Started.
Checking Target devices for IO......................................Done.
Analyze Configuration....................................................Done.
Remove Data Replication...............................................Started.
Remove Masking View(s) on Target...............................Started.
Remove Masking View(s) on Target...............................Done.
Remove Data Replication...............................................Done.
Remove Port Group(s) on Target...................................Started.
Remove Port Group(s) on Target....................................Done.
Remove Storage Group(s) on Target..............................Started.
Remove Storage Group(s) on Target..............................Done.
Remove created Device(s) on Target.............................Started.
Remove created Device(s) on Target..................................Done.
The DM 'Cancel' operation successfully executed for storage group 'APP1'.