Utilities to assist in migration of RHEL system from ESXi to Hyper-V.
OS support:
- RHEL 6
- RHEL 7
- RHEL 8
- Ubuntu 18.04
In addition, there is a post-zerto script that will remove vmtools and install HyperV tools.
This should be what you need to do on the VM for it's conversion.
Step-by-step with ansible commands here
When doing zerto migrattions leave VMware until after the migration is complete, where you can then run post-zerto.sh
# wget https://raw.githubusercontent.com/BrownUniversity/vm2hv/main/zerto.sh ; chmod 755 zerto.sh
# ./zerto.sh -y
# wget https://raw.githubusercontent.com/BrownUniversity/vm2hv/main/post-zerto.sh ; chmod 755 post-zerto.sh
# ./post-zerto.sh -y
Step-by-step with Ansible commands here
This should be all you need to do on the VM before it is shutdown for conversion.
# wget https://raw.githubusercontent.com/BrownUniversity/vm2hv/main/starwinds.sh ; chmod 755 starwinds.sh
# ./starwinds.sh -y
This will config and shutdown the system. Conversion can begin.
This doc provides help for the most common Linux migrations issues: Troubleshooting Linux Migration issues
- bash
- yum
And other standard unix utils. Nothing you need to install.
This script does these things to a running VM to prep it for migration:"
- Backup config files
- Change the network interfaces names (if needed)
- Remove VMWare tools (open-vm-tools)
- Install HyperVisor tools (hyperv-daemons hyperv-tools)
- Inject drivers into boot image (initrd)
- Restore from backup file (-r option)
- Show what will be done (-t option)
- Shutdown (can be disabled with -n)