ff1bcbeb4d | ||
---|---|---|
.config | ||
.pipelines | ||
build | ||
docs/img | ||
host | ||
thirdparty | ||
.gitattributes | ||
.gitignore | ||
AzureRecoveryTools.zip | ||
CONTRIBUTING.md | ||
README.md | ||
SECURITY.md |
README.md
Build & Test Status
Platform | Build |
---|---|
Windows x64 | |
Ubuntu 20.04 |
Platform | Test |
---|---|
Windows 2016 Datacenter | |
Redhat 7.7 | |
CentOS 7.0 | |
SLES 15 SP2 | |
Ubuntu 18.04 |
Project
This project provides the source code for Azure Migrate hydration scripts. Hydration provides the capability to patch a VM disk brought onto azure with the necessary configuration changes to make the VM bootable on Azure, and necessary adjustments made > for VM to be acquire a connectable state on Azure platform. Hydration aditionally makes confiuration changes to make VM Azure environment friendly by redirectly the console output to Azure's Serial Console, and install the VM Guest agent, required for VM extensions and post deployment configuration of a VM.
Requirements
The scripts available in this repository can only be used through Powershell with Az Module installed.
The script doesn't copy contents from OnPrem hypervisor VMs to an Azure Managed disk. It expects customers to have an actiove subscription on azure with the disk contents present on an Azure managed disk.
For a Linux VM which is originally based out of Hyper-V hypervisor, it is possible for the VM to have Hyper-V LIS components missing. Before bringing the disk to Azure, it is expected for these components to be installed on the VMWare/Other hypervisors based VMs for hydration to work properly.
Some features may require additional internal tools such as:
- dracut/mkinitrd, lsinitrd in Linux VMs if Hyper-V LIS modules are missing in kernel image.
- dhclient/dhcpcd in Linux VMs if networking rules are not configured to DHCP.
- Python 2.6+ for installation of Linux Guest Agent. Read additional basic requirements here. It's preferred to have setuptools appropriate for the python version installed on the OnPrem machine, but it's not a blocker.
Usage
Contributing
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
Trademarks
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.