Azure Migrate - Hydration Scripts
Перейти к файлу
Shantanu Mishra ff1bcbeb4d
Delete host/cxpslib/pem directory Certs
2024-03-07 15:59:47 +05:30
.config Initial Checkin - AzMigrate-Hydration 2022-07-15 22:24:08 +05:30
.pipelines PreRelease False for Main Branch 2023-04-28 14:30:02 +05:30
build Linux Build Changes (#6) 2022-09-14 14:37:12 +05:30
docs/img Feb4 Hydration Release Changes (#7) 2023-02-04 20:03:28 +05:30
host Delete host/cxpslib/pem directory Certs 2024-03-07 15:59:47 +05:30
thirdparty Linux Build Changes (#6) 2022-09-14 14:37:12 +05:30
.gitattributes Git LFS File System ACE 6.4.6 2022-07-20 00:08:06 +05:30
.gitignore Initial Checkin - AzMigrate-Hydration 2022-07-15 22:24:08 +05:30
AzureRecoveryTools.zip Initial Checkin - AzMigrate-Hydration 2022-07-15 22:24:08 +05:30
CONTRIBUTING.md Initial Checkin - AzMigrate-Hydration 2022-07-15 22:24:08 +05:30
README.md Feb4 Hydration Release Changes (#7) 2023-02-04 20:03:28 +05:30
SECURITY.md Microsoft mandatory file 2023-04-28 07:57:31 +00:00

README.md

Build & Test Status

Platform Build
Win-x64 Windows x64 Build Status
Ubuntu-20.04-x64 Ubuntu 20.04 Build Status
Platform Test
Win-x64 Windows 2016 Datacenter Build Status
Redhat7-x64 Redhat 7.7 Build Status
CentOS7-x64 CentOS 7.0 Build Status
SLES15-x64 SLES 15 SP2 Build Status
Ubuntu-18.04-x64 Ubuntu 18.04 Build Status

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:

  1. dracut/mkinitrd, lsinitrd in Linux VMs if Hyper-V LIS modules are missing in kernel image.
  2. dhclient/dhcpcd in Linux VMs if networking rules are not configured to DHCP.
  3. 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.