RHEV to ACS Migration #13085
Ezio1001
started this conversation in
Show and tell
Replies: 1 comment
-
|
great! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Everyone,
I’ve developed a scalable approach for migrating VMs that has significantly simplified the process.
Prerequisites
Pre-Migration Checks
Before migrating a VM, verify the following:
Power off the source VM before export.
Remove any active snapshots.
Verify sufficient free space exists in:
Validate guest boot mode compatibility (BIOS or UEFI) between source and destination.
Verify disk/controller driver compatibility (for example VirtIO drivers where applicable).
Record the source VM specifications for validation after migration:
(Optional) Generate checksums for source disks if integrity verification is required.
Migration Workflow
Export the target VM from RHEV to the Export Storage Domain.
On the jump host, navigate to the mounted RHEV Export Storage Domain and locate the VM disk under:
.metafileCopy only the qcow2 disk image and ignore the
.metafile.(Use
rsync, or another preferred copy method if desired.)Tools → Import Data Volumes
Select the migration Primary Storage Pool. The copied disk should appear under Unmanaged Volumes.
Import the volume.
Attach the imported volume to a placeholder instance created without a root disk, assigning it device ID 0, so it becomes the root disk.
Post-Migration Validation
After import, validate:
Automation
I also developed a Bash script that automates this workflow by:
We have tested this extensively and successfully migrated 100+ VMs so far, with significant time savings.
Current Limitation
At the moment, the script supports single-disk VMs only.
Support for multi-disk VMs is still in progress, although those can be migrated manually using the workflow above.
Further Enhancement
I later integrated this into our GitLab environment, and the process is now fully automated through a pipeline.
The administrator only provides three inputs:
The pipeline handles the rest.
Beta Was this translation helpful? Give feedback.
All reactions