Moving a Dedicated Virtual Machine Host with Manual Migration
To manually migrate a dedicated virtual machine host, you manually move each instance that is placed on the unhealthy dedicated virtual machine host to a healthy host. This method requires that you create a new dedicated virtual machine host, delete (terminate) any instances that are placed on the original dedicated virtual machine host, and then launch new instances from the retained boot volumes. Instances that have additional VNICs, secondary IP addresses, remote attached block volumes, the Trusted Platform Module (TPM) enabled, or that belong to a backend set of a load balancer require additional steps.
Tip
You now have the option to migrate Dedicated Virtual Machine Hosts using reboot migration which automates many of the steps that follow in this section. For more information, see:
Be aware of the following limitations and warnings when performing a manual migration:
Any public IP addresses assigned to your instance from a reserved public pool are retained. Any that were not assigned from a reserved public IP address pool will change. Private IP addresses do not change.
MAC addresses, CPUIDs, and other unique hardware identifiers do change during the move. If any applications running on the instance use these identifiers for licensing or other purposes, be sure to take note of this information before moving the instance to help you manage the change.
Perform the following steps for each instance that is placed on the dedicated virtual machine host.
Before moving the instance, document all critical details:
The instance's region, availability domain, and fault domain.
The instance's display name.
All private IP addresses, names, and subnets. Note that the instance can have multiple VNICs, and each VNIC can have multiple secondary IP addresses.
All private DNS names. The instance can have multiple VNICs, and each VNIC can have multiple secondary IP addresses. Each private IP address can have a DNS name.
Any public IP addresses assigned from a reserved public pool. Note that the instance can have multiple VNICs, and each VNIC can have multiple secondary private IP addresses. Each VNIC and secondary private IP address can have an attached public IP address.
Any block volumes attached to the instance.
Any tags on the instance or attached resources.
Prepare the instance for manual migration:
Ensure that any block volumes defined in /etc/fstab use the recommended options.
Ensure that any File Storage service (NFS) mounts use the nofail option.
If you have statically defined any network interfaces belonging to secondary VNICs using their MAC addresses, such as those defined in /etc/sysconfig/network-scripts/ifcfg*, those interfaces will not start due to the change in the MAC address. Remove the static mapping.
If you use the Oracle-provided script to configure secondary VNICs, ensure it runs automatically at startup.
Moving a Dedicated Virtual Machine Host Instance Manually 🔗
After you complete the prerequisites, create a new dedicated virtual machine host. Use the same shape as the original dedicated virtual machine host and create the dedicated virtual machine host in the same fault domain.
For each instance that is placed on the dedicated virtual machine host, perform the following steps.
Ensure that those applications will not start automatically.
Caution
When the relocated instance starts for the first time, any block volumes, secondary VNICs, or any resource that relies on them, will not be attached. The absence of these resources can cause application issues.
If the instance uses a dense I/O shape, back up the locally-attached NVMe-based SSD:
Create and attach one or more block volumes to the instance.
Copy the data from the NVMe devices to the block volumes.
Follow the steps in Terminating an Instance, ensuring that the Permanently delete the attached boot volume check box is cleared. This preserves the boot volume that is associated with the instance.
(Optional) If the instance is on a new dedicated virtual machine host:
In the Placement section, click Show advanced options.
For Capacity type, select Dedicated host.
Select the dedicated virtual machine host that you want to place the instance on.
In the create instance flow, specify the private IP address that was attached to the primary VNIC. If the public IP address was assigned from a reserved IP address pool, be sure to assign the same IP address.
This step includes any volumes used to back up local NVMe devices. Copy the data onto the NVMe storage on the new instance, and then detach the volumes.