VPLEX: Data mobility migration is failing with error message." NullPointerException: while extracting elements on property extent-migrations"
Summary: This article talks to an error seen when attempting to start a data migration and how to workaround the issue.
Symptoms
When starting either a batch migration or a single device migration, the below error message is seen:> failed. cause: while extracting elements on property extent-migrations: NullPointerException
Cause
Data mobility migration is failing with error message." NullPointerException: while extracting elements on property extent-migrations"
Resolution
Resolution:
This issue is fixed in GeoSynchrony 6.2 Patch 4 and later.
Workaround:
Only during the migration window it is advisable to switch to RestV1, then revert to RestV2 once migrations are completed.
Once migrations are completed we need to move back to RestV2 as V2 is faster than V1.
- Log in to the management server, then change directory (
cd) to/var/log/VPlex/cli - Once in
/var/log/VPlex/cli vithe fileinstance.propertiesand make the below changes .
uncomment VPlexRESTv2Enabled if there is a # symbol in front of it. #VPlexRESTv2Enabled=true Then change "true" to "false" VPlexRESTv2Enabled=false
when done save and quit the vi session by typing :wq
- Restart management console.
sudo /etc/init.d/VplexManagementConsole restart
- Then rerun the migration job.
- After finishing the migration job, revert back from RestV1 to RestV2.
- From the management server prompt, if not in the
/var/log/VPlex/cli/directory cd to it. - Once in the
/var/log/VPlex/clidirectory, vi theinstance.propertiesfiles as follows:
change VPlexRESTEnabled from false to true.
from: VPlexRESTv2Enabled=false
to: VPlexRESTv2Enabled=true
When edits are done, save and quit the vi session by typing :wq
- Restart the management console.
sudo /etc/init.d/VplexManagementConsole restart