Migrate a physical machine (PM) or virtual machine (VM) to transfer it over an A-link network to a new VM on the system. (You can also import an Open Virtualization Format (OVF) file to a system, as summarized in Creating and Migrating Virtual Machines.)
Procedures below describe how to migrate a PM or VM over the network: download the P2V client (virt-p2v) ISO file, boot the P2V client ISO file on the source PM or VM, and then use the client to configure, initiate, and monitor the secure network transfer from source side. No configuration steps are required on the system until after the migration is complete, but you can confirm that the migration is in progress on the Volumes page of the everRun Availability Console as volumes associated with the new VM begin to appear.
The migration process supports PMs or VMs running only the following operating systems:
Microsoft Windows 7, 8.x, or 10; or Windows Server 2008 R2, 2012, or 2016.
Windows Server 2003—To migrate this VM, you must perform a different procedure. See Migrating a Windows Server 2003 VM to an everRun 7.x System.
Ubuntu 14.04 LTS, 16.04 LTS, or 18.04 Server—After migrating this VM, you need to perform additional procedures. See To complete the migration of an Ubuntu VM.
When migrating a VMware VM, you must shutdown the VM using operating system shutdown commands in addition to powering it off from the VMware console. If you shutdown the VM using only the VMware console, the migration will fail.
Download the P2V client ISO file from the Downloads page at https://www.stratus.com/services-support/downloads/?tab=everrun.
If you want to verify the integrity of the ISO image, use the associated fciv checksum file and the Microsoft File Checksum Integrity Verifier (FCIV) executable file, if you have already downloaded the Microsoft file to your system. Otherwise, use the MD5 checksum hash function.
Download the associated fciv verification file from the Drivers and Tools section of the Downloads page. Save the fciv verification file to the directory that contains the ISO file you downloaded.
Open a command prompt window. From the directory containing the ISO, executable, and verification files, type a command similar to the following to verify the ISO image:
fciv -v -xml virt-p2v-n.n.n-n.nnnnnnnn.n.el6.centos.xml
If the command succeeds (that is, it returns the message All files verified successfully), go to the next step. If the command fails, repeat the download.
Open a command prompt window as an administrator, and enter the following:
CertUtil -hashfile path_to_file MD5
The CertUtil command displays a message indicating whether or not it completed successfully. If the command succeeds, continue with the next step. If the command fails, repeat the download.
Download the P2V client ISO file from the Drivers and Tools section of the Downloads page at https://www.stratus.com/services-support/downloads/?tab=everrun. Ensure that you download the version of the P2V client that matches the version of the everRun system to which you are migrating the VM.
If you want to verify the integrity of the ISO image, use the associated fciv checksum file and the Microsoft File Checksum Integrity Verifier (FCIV) executable file, if you have already downloaded the Microsoft file to your system. Otherwise, use the MD5 checksum hash function.
Download the associated fciv verification file from the Drivers and Tools section of the Downloads page. Save the fciv verification file to the directory that contains the ISO file you downloaded.
Open a command prompt window. From the directory containing the ISO, executable, and verification files, type a command similar to the following to verify the ISO image:
fciv -v -xml virt-p2v-n.n.n-n.nnnnnnnn.n.el6.centos.xml
If the command succeeds (that is, it returns the message All files verified successfully), go to the next step. If the command fails, repeat the download.
Open a command prompt window as an administrator, and enter the following:
CertUtil -hashfile path_to_file MD5
The CertUtil command displays a message indicating whether or not it completed successfully. If the command succeeds, continue with the next step. If the command fails, repeat the download.
Click Test connection. If the P2V client connects to the everRun system, click Next to continue. A page appears with sections for Target properties, Fixed hard disks, and other settings.
If the P2V client cannot connect, verify the connection settings and try to connect again.
Select which Fixed hard disks (volumes) to include in the migration by activating the check box next to each device.
You must select at least one volume, including the boot volume. (Because the P2V client is a Linux-based utility, all devices are listed by Linux device names, where sda or vda represents the boot volume.)
If the target everRun system has more than one storage group, you can also select the storage group in which to create each volume. Double-click the volume entry to open the Choose Storage Group panel. Ensure that you select a Storage Group that supports the sector size of the volume you are importing (see Planning Virtual Machine Storage) and select the Sector Size that matches the source volume (the P2V client cannot convert the sector size of a volume). Note that the boot volume must have a sector size of 512 B. You can select the sector size, either 4K or 512B, only for data disks.
Select which Network Interfaces to include in the migration by activating the check box next to each device.
If the target everRun system has more than one shared network, you can also select the shared network to connect with each network interface. Double-click the network interface to open the Configure Network dialog box and select the shared network from a drop-down list.
In the Configure Network dialog box, you can also specify a MAC address for a specific network interface. If you do not specify an address, the system automatically sets the MAC address for each network interface.
Click OK when you have finished configuring the network interface.
Select the new VM in the top pane and click Config to open the Reprovision Virtual Machine wizard, as described in Reprovisioning Virtual Machine Resources. Use the wizard to configure the desired vCPUs, memory, storage, and network settings for the VM:
Click Finish on the last wizard page to implement the changes.
Disable any guest operating system services that are unnecessary for operation on the everRun system:
After disabling these services, restart the guest operating system to implement your changes.
After you verify that the new VM is functioning properly, the migration process is complete; however, the system may continue to synchronize data between PMs to enable High Availability (HA)
After migrating a VM using P2V from a bare metal machine running an Ubuntu release, the VM may have problems, such as no active network. To correct the problem, perform the appropriate procedure below after migrating the Ubuntu VM.
The following procedure does not require you to reboot the system.
Note that the command output does not include eth0.
Enter the following command:. ifconfig -a.
Note that the command output includes eth0.
Enter the following command: sudo vi interfaces.
In the interfaces file, change em1 to eth0.
Enter the following command: sudo vi ifstate.eth0.
In the ifstate.eth0 file, insert eth0 at the top of the file.
The following procedure requires you to reboot the VM:
If necessary, use the following information to resolve problems with the migration process.
Power down the source PM or VM running the P2V client.
Open the everRun Availability Console and remove any migrated volumes associated with the source PM or VM. If you want to restart the migration process, reboot the P2V client on the source PM or VM.
If the migration process fails, an error message is displayed in the P2V client on the source PM or VM. Another message may be displayed on the everRun system. Use these messages to determine the problem.
If the migration continues to fail, and the option is available, enable server-side debugging. After the migration, generate a diagnostic file to send to your authorized Stratus service representative, as described in Creating a Diagnostic File. The diagnostic file includes any server-side debugging messages from the migration process.
For Windows-based PMs or VMs, if the migration process fails with the following error message, it may indicate that hibernation or fast startup mode are enabled:
Failed to mount '/dev/sda1': Operation not permitted
The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option.
To resolve the issue, disable hibernation and fast startup in the source PM or VM:
Open Administrator Power Shell and execute the following command:
> powercfg /h off
A Linux-based VM may fail to exit the booting state in everRun Availability Console if the VM's network is offline.
During the migration process, the P2V client attempts to set a new MAC address for each network interface to prevent conflicts with the original VM. Some Linux-based operating systems detect a new MAC address and automatically create a new network interface for it while still retaining the original interface. The guest operating system boots, but the network may remain offline until you manually configure the network settings.
To correct the problem, open the VM console, log on to the guest operating system, and update the network startup scripts. Ensure that you retain only one entry for each network interface, and that each interface uses a unique MAC address and correct network settings for your environment.
If the data volumes do not appear in the VM on the everRun system after the import, you may need to manually restore the volumes, as follows:
If the network devices do not appear in the VM on the everRun system after the import, you may need to manually restore them, as follows:
To manually install a new network driver
After migrating a PM or VM, the network driver might not be properly installed (for example, Device Manager might list the driver with a warning, ). In this situation, manually install the driver:
Click Let me pick from a list of device drivers.
After the driver is installed, check the VM's state in the everRun Availability Console. If the state is running (), the driver is working properly.
Migrating From Avance or everRun MX Systems
Creating and Migrating Virtual Machines
Configuring Windows-based Virtual Machines
Configuring Linux-based Virtual Machines