Problem description
After the UltraVR Test, the VM is getting the same IP as the PR.
Problem Analysis
1.DRtest
Whenever the production service is running normally, the test is performed. The snapshot LUN is mounted to the disaster recovery end FC and the virtual machine is started.
During the test, the production virtual machine and the disaster recovery virtual machine are running simultaneously. It is recommended to isolate the network between the production end and the disaster recovery end to prevent the IP address conflict from affecting the production end service.
2. Planned migration
Performing a planned migration and re-protection will delete the production VM and start the disaster recovery VM. Only one VM will be powered on. In order to keep the business open, it is recommended to keep it the same as the production side, no custom IP is required.
3. Failure recovery
Performing fault recovery and re-protection will delete the production VM and start the disaster recovery VM. In order to keep the business open, it is recommended to keep it the same as the production side, no custom IP is required.
In summary, only in the disasterrecovery test scenario will generate IP conflicts, other real environments donot need to restore the virtual machine to a custom IP.
Root cause
When restoring a standby site VM, the process of configuring the IP is as follows:
1. LUN copy;
2. Mount the system disk;
3. Copy the Windows VBScript from the system disk;
4. Execute the VBScript after the virtual machine starts.
The problem fails in the second step. The reason is that when the Win10 advanced version is used, if the system disk has dirty data (the system is abnormally shut down and the array asynchronous replication scene system disk is always in an inconsistent scenario), Windows will do a system disk detection and prohibit the hanging. Loaded.
Solution description
Modify the configuration on the DR site, mount the system disk and then repair the NTFS file system to ensure that the mount is successful.
This has been implemented and tested successfully.