Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7ef2ef7

Browse files
committedNov 14, 2018
added new articles
1 parent 726b63a commit 7ef2ef7

38 files changed

+960
-427
lines changed
 
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
---
2+
title: Prepare VMware VMs running Linux machine for migration to Azure with Azure Migrate | Microsoft Docs
3+
description: Describes how to prepare a Linux VM for migration to Azure with Azure Migrate
4+
author: rayne-wiselman
5+
ms.service: azure-migrate
6+
ms.topic: article
7+
ms.date: 11/14/2018
8+
ms.author: raynew
9+
---
10+
11+
12+
13+
# Prepare VMware VMs running Linux for migration to Azure
14+
15+
This article describes how prepare VMware VMs running Linux when you want to migrate them to Azure using [Azure Migrate](migrate-overview.md).
16+
17+
Prepare Linx machines as follows:
18+
19+
1. Install Hyper-V Linux Integration Services. Newer versions of Linux distributions might have this installed by default).
20+
2. Rebuild the Linux init image so that it contains necessary Hyper-V drivers, and so that the VM will boot in Azure (required for some distributions).
21+
3. Enable serial console logging for troubleshooting. [Learn more]https://docs.microsoft.com/azure/virtual-machines/linux/serial-console)
22+
4. Update the device map file with device name to volume associations, to use persistent device identifiers.
23+
5. Update fstab entries to use persistent volume identifiers.
24+
6. Remove any udev rules that reserve interface names based on MAC address etc.
25+
7. Update network interfaces to receive DHCP IP addresses.
26+
8. Ensure ssh is enabled. Check that sshd service is set to start automatically on reboot.
27+
9. Ensure that incoming ssh connection requests aren't blocked by the operating system firewall, or IP table rules.
28+
29+
[Learn more](https://docs.microsoft.com/azure/virtual-machines/linux/serial-console) about making these changes on the most popular Linux distributions.
30+
31+
## Sample script
32+
33+
This script (prepare-for-azure.sh) provides a sample for preparing Linux machines. The script might not work for all distributions and environments, but it's a useful starting point.
34+
35+
The script shows how to:
36+
37+
- Regenerate the Linux init image with the necessary drivers if needed.
38+
- Update fstab entries to use persistent volume identifiers.
39+
- Redirect console logs to the serial port.
40+
- Enable Azure serial access console
41+
- Remove udev net rules
42+
- Inject a run on boot script that runs when the VM boots up. It checks if the machine is running in Azure. If it is, it updates the network configuration on the VM, and sets the first ethernet interface to use DHCP to acquire an IP address.
43+
44+
### Before you start
45+
46+
- The sample script contains sample steps. It shouldn't be run on production systems. It could damage or corrupt the VM on which it runs.
47+
- We recommend you run it on a test VM. Before you start, take a VM backup or snapshot so that you can restore the VM if needed.
48+
- The script works when the VM is running one of these Linux distributions:
49+
- Red Hat Enterprise Linux 6.5+, 7.1+
50+
- Cent OS 6.5+, 7.1+
51+
- SUSE Linux Enterprise Server 12 SP1,SP2, SP3
52+
- Ubuntu 14.04, 16.04, 18.04
53+
- Debian 7, 8
54+
55+
### Run the script
56+
57+
1. Copy the script to the Linux test VM using sftp or an scp client such as FileZilla or WinScp.
58+
2. SSH into the Linux machine using an admin account.
59+
3. Navigate to the script directory.
60+
4. To make the script into an executable file, run **sudo chmod 777 prepare-for-azure.sh**.
61+
5. Run the script with **./prepare-for-azure.sh**.
62+
63+
Here's how the script runs:
64+
65+
![Linux script](./media/how-to-prepare-linux-for-migration/script1.png)
66+
![Linux script](./media/how-to-prepare-linux-for-migration/script2.png)
67+
![Linux script](./media/how-to-prepare-linux-for-migration/script3.png)
68+
![Linux script](./media/how-to-prepare-linux-for-migration/script4.png)
69+
![Linux script](./media/how-to-prepare-linux-for-migration/script5.png)
70+
![Linux script](./media/how-to-prepare-linux-for-migration/script6.png)
71+
![Linux script](./media/how-to-prepare-linux-for-migration/script7.png)
72+
![Linux script](./media/how-to-prepare-linux-for-migration/script8.png)
73+
![Linux script](./media/how-to-prepare-linux-for-migration/script9.png)
74+
![Linux script](./media/how-to-prepare-linux-for-migration/script10.png)
75+
![Linux script](./media/how-to-prepare-linux-for-migration/script11.png)
76+
![Linux script](./media/how-to-prepare-linux-for-migration/script12.png)
77+
![Linux script](./media/how-to-prepare-linux-for-migration/script13.png)
78+
![Linux script](./media/how-to-prepare-linux-for-migration/script14.png)
79+
![Linux script](./media/how-to-prepare-linux-for-migration/script15.png)
80+
![Linux script](./media/how-to-prepare-linux-for-migration/script16.png)
81+
![Linux script](./media/how-to-prepare-linux-for-migration/script17.png)
82+
![Linux script](./media/how-to-prepare-linux-for-migration/script18.png)
83+
![Linux script](./media/how-to-prepare-linux-for-migration/script19.png)
84+
![Linux script](./media/how-to-prepare-linux-for-migration/script20.png)
85+
![Linux script](./media/how-to-prepare-linux-for-migration/script21.png)
86+
![Linux script](./media/how-to-prepare-linux-for-migration/script22.png)
87+
![Linux script](./media/how-to-prepare-linux-for-migration/script23.png)
88+
![Linux script](./media/how-to-prepare-linux-for-migration/script24.png)
89+
![Linux script](./media/how-to-prepare-linux-for-migration/script25.png)
90+
91+
92+
93+
## Next steps
94+
95+
- Learn how to use [machine dependency mapping](how-to-create-group-machine-dependencies.md) to create high confidence groups.
96+
- [Learn more](concepts-assessment-calculation.md) about how assessments are calculated.
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

‎articles/migrate/migrate-overview.md

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ Azure Migrate services discover, assess, and migrate on-premises machines and wo
1616

1717
There are currently two versions of Azure Migrate available:
1818

19-
- **Azure Migrate services in public preview**:
20-
- **Azure Migrate Server Assessment service** discovers and assesses on-premises VMware VMs and Hyper-V - VMs to check whether they're suitable for migration to Azure.
21-
- **Azure Migrate Server Migration service** migrates on-premises VMware VMs to Azure.
22-
- **Azure Migrate service in General Availability (GA)** discovers and assessment on-premises VMware VMs for migration to Azure.
19+
- **Azure Migrate in public preview**:
20+
- **Azure Migrate Server Assessment** discovers and assesses on-premises VMware VMs and Hyper-V - VMs to check whether they're suitable for migration to Azure.
21+
- **Azure Migrate Server Migration** migrates on-premises VMware VMs to Azure.
22+
- **Azure Migrate in General Availability (GA)** discovers and assessment on-premises VMware VMs for migration to Azure.
2323

2424

2525
## Which version of the service should I use?
@@ -32,14 +32,21 @@ There are currently two versions of Azure Migrate available:
3232

3333
## Azure Migrate services public preview
3434

35-
The public preview provides a number of new features:
35+
The public preview provides a number of new features.
3636

37-
- **Hyper-V VM assessment**: Use the Azure Migrate Server Assessment service to discover and assess Hyper-V VMs.
37+
### Assessment
38+
39+
- **Hyper-V VM assessment**: Use Azure Migrate Server Assessment to discover and assess Hyper-V VMs.
3840
- **VMware VM assessment**: Get an enhanced experience for discovering and assessment VMware VMs, including:
3941
- **Continuous discovery**: Discovery of on-premises VMs with the Azure Migrate appliance is now continuous. You no longer need to trigger discovery when something changes on-premises. The appliance is aware of on-premises vCenter Server changes.
4042
- **Improved performance-based assessment**: You no longer need to modify the vCenter Server statistics level to run performance-based assessment. The Azure Migrate appliance now measures performance data of the VMs.
4143
- **Improved user experience**: The deployment flow in the Azure portal is improved and streamlined.
4244

45+
### Migration
46+
- **Migrate VMware VMs to Azure**: Use Azure Migrate Server Migration to migrate VMware VMs. With this new functionality, you can use Azure Migrate for the entire discovery, assessment, and migration process for VMware. Assessment information helps you to automatically configure compute and storage for migrated machines.
47+
- **Agentless migration**: You can migrate VMware VMs without installing anything on the VM.
48+
- **Unified Azure Migrate appliance**: A single appliance running on a VMware VM handles discovery, assessment, and migration. You don't need any additional Azure Migrate components.
49+
4350

4451
### Limitations
4552

@@ -116,15 +123,13 @@ The GA version of Azure Migrate provides the following:
116123

117124
## Limitations
118125

119-
- You can only assess on-premises VMware virtual machines (VMs) for migration to Azure VMs.
120-
- The VMware VMs must be managed by vCenter Server (version 5.5, 6.0, or 6.5).
121-
- You can discover up to 1500 VMs in a single discovery and up to 1500 VMs in a single project. Additionally, you can assess up to 1500 VMs in a single assessment. If you want to discover a larger environment, you split the discovery and create multiple projects. [Learn more](how-to-scale-assessment.md).
122-
- Azure Migrate supports up to 20 projects per subscription.
123-
- Azure Migrate only supports managed disks for migration assessment.
124-
- You can only create an Azure Migrate project in the United States geography. However, you can plan a migration to any target Azure location.
125-
- Only metadata discovered from the on-premises environment is stored in the migration project region.
126-
- Metadata is stored in one of the regions in the geography: West Central US/East US.
127-
- If you use dependency visualization with a Log Analytics workspace, it's created in the same region as the project.
126+
**Action** | **Details**
127+
--- | ---
128+
**Azure Migrate deployment** | Azure Migrate supports up to 20 projects per subscription.<br/><br/> You can only create an Azure Migrate project in the United States geography. Note that:<br/><br/> - You can plan a migration to any target Azure location.<br/><br/> - Only metadata discovered from the on-premises environment is stored in the migration project region.<br/><br/> - Metadata is stored in one of the regions in the geography: West Central US/East US.<br/><br/> If you use dependency visualization with a Log Analytics workspace, it's created in the same region as the project.<br/><br/> There are limited built-in monitoring and troubleshooting capabilities.
129+
**Discovery and assessment** | You can assess on-premises Hyper-V VMs and VMware VMs.<br/><br/> You can discover up to 1500 VMs in a single discovery and up to 1500 VMs in a single project.<br/><br/> You can assess up to 1500 VMs in a single assessment. If you want to discover a larger environment, split the discovery and create multiple projects. [Learn more](how-to-scale-assessment.md).<br/><br/> Azure Migrate only supports managed disks for assessment.<br/><br/> The VMware VMs must be managed by vCenter Server (version 5.5, 6.0, or 6.5).
130+
**Replication and migration** | You can only migrate on-premises VMware VMs with Azure Migrate.<br/><br/> You can simultaneously migrate up to five VMs. Performance might be impacted over this limit.<br/><br/> A single VM is limited to 16 disks.<br/><br/> The combined maximum of five VMs can have a a total of 20 or less disks. If you have more, migrate VMs in batches.<br/><br/> During migration, each VM disk can have an average data change rate (write bytes/sec) of up to 5 MBps. Higher rates are supported, but performance will vary depending on available upload throughput, overlapping writes etc.<br/><br/> VMs can only be migrated to managed disks (standard HHD, premium SSD) in Azure.<br/><br/>
131+
VM settings | Supported Windows operating systems for VMware VMs: Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 R2, Windows Server 2008 (64-bit, 32-bit), Windows Server 2003 R2 (64-bit, 32-bit), Windows Server 2003<br/><br/> Supported Linux operating systems for VMware VMs: Red Hat Enterprise Linux 7.0+/6.5+, CentOS 7.0+/6.5+, SUSE Linux Enterprise Server 12 SP1+, Ubuntu 14.04/16.04/18.04LTS, Debian 7/8 <br/><br/> VMs will UEFI boot can't be migrated.<br/><br/> Encrypted disks and volumes (Bitlocker, cryptfs) can't be migrated.<br/><br/> RDM devices/passthrough disks can't be replicated.<br/><br/> NFS volumes on VMs can't be replicated.
132+
128133

129134
## How does it work?
130135

‎articles/migrate/toc.yml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,20 @@
66
href: migrate-overview.md
77
- name: Tutorials
88
items:
9-
- name: Assess VMware VMs with Azure Migrate Server Assessment Service (preview)
10-
href: tutorial-server-assessment-vmware.md
11-
- name: Assess Hyper-V VMs with Azure Migrate Server Assessment Service (preview)
12-
href: tutorial-server-assessment-hyper-v.md
13-
- name: Assess VMware VMs with Azure Migrate GA
14-
href: tutorial-assessment-vmware.md
9+
- name: VMware VM assessment and migration
10+
items:
11+
- name: Deploy the Azure Migrate appliance for Server Assessment and Migration (preview)
12+
href: tutorial-deploy-appliance-vmware.md
13+
- name: Assess VMware VMs with Azure Migrate Server Assessment Service (preview)
14+
href: tutorial-server-assessment-vmware.md
15+
- name: Assess VMware VMs with Azure Migrate GA
16+
href: tutorial-assessment-vmware.md
17+
- name: Hyper-V assessment
18+
items:
19+
- name: Deploy the Azure Migrate appliance for Server Assessment and Migration (preview)
20+
href: tutorial-deploy-appliance-hyper-v.md
21+
- name: Assess Hyper-V VMs with Azure Migrate Server Assessment Service (preview)
22+
href: tutorial-server-assessment-hyper-v.md
1523
- name: Concepts
1624
items:
1725
- name: About the collector
@@ -66,6 +74,10 @@
6674
href: how-to-modify-assessment.md
6775
- name: Migrate machines after assessment
6876
href: how-to-get-migration-tool.md
77+
- name: Prepare VMware Linux VMs for migration
78+
href: how-to-prepare-linux-for-migration.md
79+
- name: Troubleshooting
80+
items:
6981
- name: Troubleshoot Azure Migrate
7082
href: troubleshooting-general.md
7183
- name: Resources
Lines changed: 227 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,227 @@
1+
---
2+
title: Deploy the Azure Migrate appliance for discovery and assessment of Hyper-V VMs to Azure with the Azure Migrate Server Assessment | Microsoft Docs
3+
description: Describes how to deploy the Azure Migrate appliance to discover and assess on-premises Hyper-V VMs to Azure, using Azure Migrate Server Assessment.
4+
author: rayne-wiselman
5+
ms.service: azure-migrate
6+
ms.topic: tutorial
7+
ms.date: 11/14/2018
8+
ms.author: raynew
9+
ms.custom: mvc
10+
---
11+
12+
# Discover and assess on-premises Hyper-V VMs for migration to Azure with the Server Assessment Service
13+
14+
As you move on-premises resources to the cloud, use [Azure Migrate](migrate-overview.md) to discover, assess, and migrate machines and workloads to Microsoft Azure. This article describes how to set up the Azure Migrate appliance to discover and assess on-premises Hyper-V VMs to Azure. After the appliance is deployed, you can run assessments.
15+
16+
17+
> [!NOTE]
18+
> Azure Migrate Server Assessment for Hyper-V VMs currently in public preview.
19+
20+
In this tutorial, you learn how to:
21+
22+
> [!div class="checklist"]
23+
> * Create an Azure subscription if you don't have one, and make sure it has the correct permissions.
24+
> * Create an account that Azure Migrate can use to discover VMs on Hyper-V hosts/clusters.
25+
> * Create the appliance VM by downloading a zipped VHD template, and importing it to a Hyper-V host to create the VM. Make sure the the appliance VM can connect to the required Azure Migrate URLs.
26+
> * Set up the appliance for the first time, and start discovery. Verify that the discovered VMs appear in the Azure portal.
27+
28+
29+
## Before you start
30+
31+
We recommend you do the following before you start:
32+
33+
- Review the [new features and limitations](migrate-overview.md#azure-migrate-services-public-preview) for Server Assessment.
34+
- Learn about [Hyper-V](migrate-overview.md#hyper-v-architecture) assessment architecture and processes.
35+
36+
37+
If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/pricing/free-trial/) before you begin.
38+
39+
40+
## Prerequisites
41+
42+
- **Azure account permissions**: When you log into Azure to set up discovery and assessment, your Azure account needs permission to create Azure Active Directory (Azure AD) apps.
43+
- **Hyper-V host requirements**: Requirements are as follows:
44+
- The Hyper-V host should running Windows Server 2012 R2 or 2016, with the latest updates. In a cluster, all hosts should run one of these operating systems.
45+
- PowerShell remoting should be enabled on each host. Run this command as an admin in the PowerShell console: **Enable-PSRemoting -force**.
46+
- **Account for discovery**: You need a domain or local account with admin permissions on the Hyper-V hosts/cluster. Azure Migrate uses this account to discover the on-premises VMs.
47+
- **Azure Migrate appliance**: The Azure Migrate appliance runs on a Hyper-V VM. It's deployed using a zipped VHD file that you download from the Azure portal. This VHD runs Hyper-V VM version 5.0.
48+
- You need permissions to import this VM on a Hyper-V host.
49+
- The Hyper-V host on which the appliance VM is located must be running Windows Server 2012 R2 or later, with the latest updates.
50+
- You should have enough capacity to allocate 16 GB RAM, four virtual processors, and one external virtual switch for the VM.
51+
- The appliance VM can have a static or dynamic IP address.
52+
- The appliance VM requires internet access.
53+
- **Requirements for VHDs on SMB**: If you run VHDs on SMB in your on-premises site, you need to enable delegation of credentials from the appliance VM to the Hyper-V hosts/cluster running the VMs that you want to discover. This enables Azure Migrate to capture required information from the discovered machines.
54+
55+
56+
## Set up Azure permissions
57+
58+
Either a tenant/global admin can assign permissions to create Azure AD apps to the account, or assign the Application Developer role (that has the permissions) to the account.
59+
60+
### Grant account permissions
61+
62+
The tenant/global admin can grant permissions as follows
63+
64+
1. In Azure AD, the tenant/global admin should navigate to **Azure Active Directory** > **Users** > **User Settings**.
65+
2. The admin should set **App registrations** to **Yes**.
66+
67+
![Azure AD permissions](./media/tutorial-server-assessment-vmware/aad.png)
68+
69+
> [!NOTE]
70+
> This is a default setting that isn't sensitive. [Learn more](https://docs.microsoft.com/azure/active-directory/develop/active-directory-how-applications-are-added#who-has-permission-to-add-applications-to-my-azure-ad-instance).
71+
72+
73+
74+
### Assign Application Developer role
75+
76+
The tenant/global admin has permissions to assign the role to the account. [Learn more](https://docs.microsoft.comazure/active-directory/fundamentals/active-directory-users-assign-role-azure-portal).
77+
78+
79+
80+
## Set up an account to access Hyper-V hosts
81+
82+
Create an account that the Azure Migrate appliance can use to access Hyper-V hosts and cluster for VM discovery.
83+
84+
- A single set of credentials is required for all hosts and clusters that you want to include in the discovery.
85+
- The account can be a local or domain account, and needs admin privileges on Hyper-V host/cluster servers.
86+
87+
88+
## Sign in to the Azure portal
89+
90+
Sign in to the [Azure portal](https://portal.azure.com).
91+
92+
## Open Azure Migrate
93+
94+
1. In the Azure portal, click **All services**.
95+
2. Search for **Azure Migrate**, and select **Azure Migrate - PREVIEW** in the search results. This opens the Azure Migrate dashboard.
96+
97+
98+
## Set up the appliance VM
99+
100+
Deploy the Azure Migrate appliance as a Hyper-V VM:
101+
102+
- The appliance discovers on-premises Hyper-V VMs, and sends VM metadata and performance data to Azure Migrate.
103+
- To set up the appliance you download a zipped VHD file, and import it to the on-premises Hyper-V host/cluster to create a VM.
104+
105+
### Download the VHD
106+
107+
1. In the Azure Migrate dashboard, click **Discover a new site** > **Discover & Assess** > **Discover Machines**.
108+
2. In **Discover machines** > **Are your machines virtualized?**, click **Yes, with Hyper-V**.
109+
3. Click **Download** to download the zipped VHD.
110+
111+
![Download VM](./media/tutorial-server-assessment-hyper-v/download-appliance-hyperv.png)
112+
113+
114+
### Verify security
115+
116+
Check that the zipped file is secure, before you deploy it.
117+
118+
1. On the machine to which you downloaded the file, open an administrator command window.
119+
2. Run the following command to generate the hash for the VHD
120+
- ```C:\>CertUtil -HashFile <file_location> [Hashing Algorithm]```
121+
- Example usage: ```C:\>CertUtil -HashFile C:\AzureMigrate\AzureMigrate.ova SHA256```
122+
3. The generated hash should match these settings.
123+
124+
125+
For OVA version 1.0.9.14
126+
127+
**Algorithm** | **Hash value**
128+
--- | ---
129+
MD5 | C78457689822921B783467586AFB22B3
130+
SHA1 | F1338F9D9818DB61C88F8BDA1A8B5DF34B8C562D
131+
SHA256 | 0BE66C936BBDF856CF0CDD705719897075C0CEA5BE3F3B6F65E85D22B6F685BE
132+
133+
134+
### Create the appliance VM
135+
136+
Import the downloaded file to the Hyper-V host, and create a VM from it.
137+
138+
1. Extract the zipped VHD file to a folder on the Hyper-V host on which you'll set up the appliance VM.
139+
2. Open Hyper-V Manager. In **Actions**, click **Import Virtual Machine**.
140+
141+
![Deploy VHD](./media/tutorial-server-assessment-hyper-v/deploy-vhd.png)
142+
143+
2. In the Import Virtual Machine Wizard > **Before you begin**, click **Next**.
144+
3. In **Locate Folder**, specify the folder in which the extracted VHD is located. Then click **Next**.
145+
1. In **Select Virtual Machine**, click **Next**.
146+
2. In **Choose Import Type**, click **Copy the virtual machine (dreate a new unique ID)**. Then click **Next**.
147+
3. In **Choose Destination**, leave the default setting unless you want a specific location. Click **Next**.
148+
4. In **Storage Folders**, leave the default setting unless you need to modify. Click **Next**.
149+
5. In **Choose Network**, specify the virtual switch that the VM will use. The switch needs internet connectivity to send data to Azure.
150+
6. In **Summary**, review settings. Then click **Finish**.
151+
7. In Hyper-V Manager > **Virtual Machines**, start the VM.
152+
153+
154+
### Verify internet connectivity
155+
156+
The appliance VM needs internet connectivity to Azure. If you're using a URL-based proxy to control outbound connectivity, make sure these URLs are allowed.
157+
158+
**URL** | **Reason**
159+
--- | ---
160+
*.portal.azure.com | Reach the Azure portal.
161+
*.windows.net<br/><br/> *microsoftonline.com | Log in to Azure.<br/><br/> Create Azure AD app and Service Principal objects for agent to service communications.
162+
management.azure.com | Communicate with Azure Resource Manager to set up Azure Migrate artifacts.
163+
dc.services.visualstudio.com | Upload app logs for internal monitoring.
164+
*.vault.azure.net | Communication between agent and service (persistent secrets).
165+
166+
## Set up the appliance
167+
168+
Set up the appliance for the first time, and register it with Azure Migrate.
169+
170+
1. In Hyper-V Manager > **Virtual Machines**, right-click the VM > **Connect**.
171+
2. Provide the language, time zone, and password preferences for the appliance.
172+
3. On the desktop of the appliance VM, click the **Start discovery** shortcut to open the appliance web app. Alternatively, run the web app remotely from **https://*appliance name or IP address*:44368**.
173+
2. In the appliance web app, click **Check for updates** to verify that you're running the latest version of the app. If not, you can download the latest upgrade.
174+
3. In **Set up prerequisites**, do the following:
175+
- **License**: Accept the license terms, and read the third-party information.
176+
- **Connectivity**: The app checks that the VM has internet access. If the VM accesses the internet via a proxy and not directly:
177+
- Click **Proxy settings**, and specify the proxy address and listening port, in the form http://ProxyIPAddress or http://ProxyFQDN.
178+
- Specify credentials if the proxy needs authentication.
179+
- Only HTTP proxy is supported.
180+
- The collector checks that the collector service is running. The service is installed by default on the collector VM.
181+
- **Time sync**: The time on the appliance should be in sync with internet time for discovery to function correctly.
182+
183+
### Register the appliance with Azure Migrate
184+
185+
1. Click **Log In**.
186+
2. On the new tab, log in using the Azure credentials with the required permissions.
187+
3. After a successful logon, go back to the web app.
188+
4. Select the subscription, resource group, and region in which you want to store the list of discovered VMs, and the VM metadata.
189+
5. Select a site name. A site gathers together a group of discovered VMs.
190+
191+
192+
## Start discovery
193+
194+
Now, connect to the Hyper-V host/cluster, and start discovery.
195+
196+
1. In **User name** and **Password**, specify the account credentials that you created for the appliance to discover VMs on the Hyper-V host/cluster. Specify a friendly name for the credentials, and click **Save details**.
197+
2. Click **Add host**, and specify the Hyper-V hosts/clusters on which you want to discover VMs. Click **Validate**. After validation, the number of VMs that can be discovered on each host/cluster is shown.
198+
- If validation fails for a host, reivewing the error by hovering over the icon in the **Status** column. Fix and validate again with **Validate list**.
199+
- To remote any hosts/clusters, select > **Delete**.
200+
- You can't remove a specific host from a cluster. You can only remove the entire cluster.
201+
- You can add a cluster even if there are issues with specific hosts in the cluster.
202+
3. After validation, click **Save and start discovery** to kick off the discovery process.
203+
204+
It takes around 15 minutes for metadata of discovered VMs to appear in the portal.
205+
206+
### Verify VMs in the portal
207+
208+
After discovery finishes, you can verify that the VMs appear in the portal.
209+
210+
1. Open the Azure Migrate dashboard
211+
2. In the **Server Assessment Service** page, click the icon that displays the count for the discovered machines.
212+
213+
Note the following:
214+
- The appliance continuously profiles the on-premises environment and sends metadata.
215+
- You can create as-is assessments immediately after discovery.
216+
- For performance assessments, we recommend that you wait at least a day after discovery:
217+
- Collecting performance data takes time. Waiting at least a day ensures that there are enough performance data points before you run the assessment.
218+
- For performance data, the appliance collects real-time data points every 20 seconds for each performance metrics, and rolls them up to a single five minute data point. The appliance sends the five-minute data point to Azure every hour for assessment calculation.
219+
220+
221+
## Next steps
222+
223+
After discovery, you can run assessments, and migrate VMware VMs to Azure:
224+
225+
- [Learn](tutorial-server-assessment-hyper-v.md) how to create assessments for Hyper-V VMs.
226+
- [Learn more](https://docs.microsoft.com/azure/migrate/concepts-collector#what-data-is-collected) about the data that's collected by the appliance.
227+
Lines changed: 218 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,218 @@
1+
---
2+
title: Deploy the Azure Migrate appliance for discovery, assessment, and migration of VMware VMs to Azure with the Azure Migrate | Microsoft Docs
3+
description: Describes how to deploy the Azure Migrate appliance to discover, assess, and migrate on-premises VMware VMs to Azure, using Azure Migrate Server Assessment and Server Migration.
4+
author: rayne-wiselman
5+
ms.service: azure-migrate
6+
ms.topic: tutorial
7+
ms.date: 11/14/2018
8+
ms.author: raynew
9+
ms.custom: mvc
10+
---
11+
12+
# Deploy the Azure Migrate appliance for VMware VM assessment and migration
13+
14+
As you move on-premises resources to the cloud, use [Azure Migrate](migrate-overview.md) to discover, assess, and migrate machines and workloads to Microsoft Azure. This article describes how to set up the Azure Migrate appliance to discover, assess, and migrate on-premises VMware VMs to Azure. After the appliance is deployed, you can run assessments and begin migration.
15+
16+
> [!NOTE]
17+
> This article describes how to set up the appliance for use with Azure Migrate Server Assessment and Server Migration. This version of Azure Migrate is currently in public preview. If you're using the earlier General Availability (GA) version of Azure Migrate, you set up the appliance as described in [this article](tutorial-assessment-vmware.md).
18+
19+
20+
In this tutorial, you learn how to:
21+
22+
> [!div class="checklist"]
23+
> * Create an Azure subscription if you don't have one, and make sure it has the correct permissions.
24+
> * Create an account on the vCenter Server so that the Azure Migrate can discover VMware VMs.
25+
> Azure Migrate uses the Azure Migrate appliance for discovery and assessment. The appliance runs on a VMware VM. Create the appliance VM by downloading the OVF template, and importing it to vCenter Server to create the VM. Make sure the the VM can connect to Azure Migrate URLs.
26+
> * Set up the appliance for the first time, and register it with Azure Migrate.
27+
> * Start discovery.
28+
29+
## Before you start
30+
31+
We recommend you do the following before you start:
32+
33+
- Review the [new features and limitations](migrate-overview.md#azure-migrate-services-public-preview) for Server Assessment.
34+
- Learn about [VMware](migrate-overview.md#vmware-architecture) assessment architecture and processes.
35+
36+
If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/pricing/free-trial/) before you begin.
37+
38+
39+
## Prerequisites
40+
41+
- **Azure account permissions**: When you log into Azure to set up discovery and assessment, the Azure account needs permission to create Azure Active Directory (Azure AD) apps.
42+
- **VMware requirements**: The VMs that you want to discover and assess must be managed by vCenter Server version 5.5, 6.0, or 6.5. Additionally, you need an ESXi host with version 5.0 or higher to deploy the Azure Migrate appliance.
43+
- **vCenter Server account**: You need a read-only account to access the vCenter Server. Azure Migrate uses this account to discover the on-premises VMs.
44+
- **Appliance**: The Azure Migrate appliance that you deploy on a VMware VM needs internet activity to connect to Azure.
45+
46+
47+
## Set up Azure permissions
48+
49+
Either a tenant/global admin can assign permissions to create Azure AD apps to the account, or assign the Application Developer role (that has the permissions) to the account.
50+
51+
### Grant account permissions
52+
53+
The tenant/global admin can grant permissions as follows
54+
55+
1. In Azure AD, the tenant/global admin should navigate to **Azure Active Directory** > **Users** > **User Settings**.
56+
2. The admin should set **App registrations** to **Yes**.
57+
58+
![Azure AD permissions](./media/tutorial-deploy-appliance-vmware/aad.png)
59+
60+
> [!NOTE]
61+
> This is a default setting that isn't sensitive. [Learn more](https://docs.microsoft.com/azure/active-directory/develop/active-directory-how-applications-are-added#who-has-permission-to-add-applications-to-my-azure-ad-instance).
62+
63+
64+
65+
### Assign Application Developer role
66+
67+
The tenant/global admin has permissions to assign the role to the account. [Learn more](https://docs.microsoft.comazure/active-directory/fundamentals/active-directory-users-assign-role-azure-portal).
68+
69+
70+
71+
## Set up a vCenter Server account
72+
73+
Azure Migrate needs access the vCenter Server to discover VMs for assessment. Before you deploy Azure Migrate, prepare a VMware account with the following properties:
74+
75+
- User type: At least a read-only user.
76+
- Permissions: Data Center object –> Propagate to Child Object, role=Read-only
77+
- Details: User assigned at datacenter level, and has access to all the objects in the datacenter.
78+
- To restrict access, assign the No access role with the Propagate to child object, to the child objects (vSphere hosts, datastores, VMs, and networks).
79+
80+
81+
## Sign in to the Azure portal
82+
83+
Sign in to the [Azure portal](https://portal.azure.com).
84+
85+
## Open Azure Migrate
86+
87+
1. In the Azure portal, click **All services**.
88+
2. Search for **Azure Migrate**, and select **Azure Migrate - PREVIEW** in the search results. This opens the Azure Migrate dashboard.
89+
90+
91+
## Set up the appliance VM
92+
93+
Deploy the Azure Migrate appliance as a VMware VM:
94+
95+
- The appliance discovers on-premises VMware VMs, and sends VM metadata and performance data to Azure Migrate.
96+
- To set up the appliance, you download an OVA template file, and import it to vCenter Server to create a VM.
97+
98+
### Download the OVA template
99+
100+
1. In the Azure Migrate dashboard, click **Discover a new site** > **Discover & Assess** > **Discover Machines**.
101+
2. In **Discover machines** > **Are your machines virtualized?**, click **Yes, with VMWare vSphere hypervisor**.
102+
3. Click **Download** to download the .OVA template file.
103+
104+
![Download .ova file](./media/tutorial-deploy-appliance-vmware/download-appliance.png)
105+
106+
107+
### Verify OVA security
108+
109+
Check that the OVA file is secure, before you deploy it.
110+
111+
1. On the machine to which you downloaded the file, open an administrator command window.
112+
2. Run the following command to generate the hash for the OVA:
113+
- ```C:\>CertUtil -HashFile <file_location> [Hashing Algorithm]```
114+
- Example usage: ```C:\>CertUtil -HashFile C:\AzureMigrate\AzureMigrate.ova SHA256```
115+
3. The generated hash should match these settings.
116+
117+
118+
For OVA version 1.0.9.14
119+
120+
**Algorithm** | **Hash value**
121+
--- | ---
122+
MD5 | C78457689822921B783467586AFB22B3
123+
SHA1 | F1338F9D9818DB61C88F8BDA1A8B5DF34B8C562D
124+
SHA256 | 0BE66C936BBDF856CF0CDD705719897075C0CEA5BE3F3B6F65E85D22B6F685BE
125+
126+
127+
### Create the appliance VM
128+
129+
Import the downloaded OVA file to vCenter Server, and create a VM from it.
130+
131+
1. In the vSphere Client console, click **File** > **Deploy OVF Template**.
132+
133+
![Deploy OVF](./media/tutorial-deploy-appliance-vmware/deploy-ovf.png)
134+
135+
2. In the Deploy OVF Template Wizard > **Source**, specify the location of the OVA file.
136+
3. In **Name** and **Location**, specify a friendly name for the VM, and the inventory object in which the VM
137+
will be hosted.
138+
5. In **Host/Cluster**, specify the host or cluster on which the VM will run.
139+
6. In **Storage**, specify the storage destination for the VM.
140+
7. In **Disk Format**, specify the disk type and size.
141+
8. In **Network Mapping**, specify the network to which the VM will connect. The network needs internet connectivity, to send metadata to Azure.
142+
9. Review and confirm the settings, then click **Finish**.
143+
144+
145+
### Verify internet connectivity
146+
147+
The appliance VM needs internet connectivity to Azure. If you're using a URL-based proxy to control outbound connectivity, make sure these URLs are allowed.
148+
149+
**URL** | **Requirement**
150+
--- | ---
151+
*.portal.azure.com | Reach the Azure portal.
152+
*.windows.net<br/><br/> *microsoftonline.com | Log into Azure.<br/><br/> Create Azure AD app and Service Principal objects for agent to service communications.
153+
management.azure.com | Communicate with Azure Resource Manager to set up Azure Migrate artifacts.
154+
dc.services.visualstudio.com | Upload app logs for internal monitoring.
155+
*.vault.azure.net | Communication between agent and service (persistent secrets).
156+
157+
## Set up the appliance
158+
159+
Set up the appliance for the first time, and register it with Azure Migrate.
160+
161+
1. In the vSphere Client console, right-click the VM > **Open Console**.
162+
2. Provide the language, time zone, and password preferences for the appliance.
163+
3. On the desktop of the appliance VM, click the **Start discovery** shortcut to open the appliance web app. Alternatively, run the app remotely from **https://*appliance name or IP address*:44368**.
164+
4. In the appliance web app, click **Check for updates** to verify that you're running the latest version of the app. If not, you can download the latest upgrade.
165+
5. In **Set up prerequisites**, do the following:
166+
- **License**: Accept the license terms, and read the third-party information.
167+
- **Connectivity**: The app checks that the VM has internet access. If the VM accesses the internet via a proxy and not directly:
168+
- Click **Proxy settings**, and specify the proxy address and listening port, in the form http://ProxyIPAddress or http://ProxyFQDN.
169+
- Specify credentials if the proxy needs authentication.
170+
- Only HTTP proxy is supported.
171+
- The collector checks that the collector service is running. The service is installed by default on the collector VM.
172+
- **Time sync**: The time on the appliance should be in sync with internet time for discovery to function correctly.
173+
174+
### Register the appliance with Azure Migrate
175+
176+
1. Click **Log In**.
177+
2. On the new tab, log in using the Azure credentials with the required permissions.
178+
3. After a successful logon, go back to the web app.
179+
4. Select the subscription, resource group, and region in which you want to store the list of discovered VMs, and the VM metadata.
180+
5. Select a site name. A site gathers together a group of discovered VMs.
181+
182+
183+
## Start discovery
184+
185+
Now connect to the vCenter Server and start discovery.
186+
187+
1. In **Specify vCenter Server details**, do the following:
188+
- Specify the name (FQDN) or IP address of the the vCenter Server. You can leave the default port, or specify a custom port on which your vCenter Server listens.
189+
- In **User name** and **Password**, specify the read-only account credentials that the appliance will use to discover VMs on the vCenter server.
190+
- In **Collection scope**, select a scope for VM discovery. The collector discovers VMs within the specified scope. Scope can be set to a specific folder, datacenter, or cluster.
191+
2. Click **Validate connection** to make sure that the appliance can connect to vCenter Server.
192+
3. After the connection is established, click **Save** > **Start discovery**.
193+
194+
It takes around 15 minutes for metadata of discovered VMs to appear in the portal.
195+
196+
### Verify VMs in the portal
197+
198+
After discovery you can verify that the VMs appear in the Azure portal, as follows:
199+
200+
1. Open the Azure Migrate dashboard
201+
2. In the **Server Assessment Service** page, click the icon that displays the count for the discovered machines.
202+
203+
Note the following:
204+
- The appliance continuously profiles the on-premises environment and sends metadata.
205+
- You can create as-is assessments immediately after discovery.
206+
- For performance assessments, we recommend that you wait at least a day after discovery:
207+
- Collecting performance data takes time. Waiting at least a day ensures that there are enough performance data points before you run the assessment.
208+
- For performance data, the appliance collects real-time data points every 20 seconds for each performance metrics, and rolls them up to a single five minute data point. The appliance sends the five-minute data point to Azure every hour for assessment calculation.
209+
210+
211+
## Next steps
212+
213+
After discovery, you can run assessments, and migrate VMware VMs to Azure:
214+
215+
- [Learn](tutorial-server-assessment-vmware.md) how to create assessments for VMware VMs.
216+
- [Learn](tutorial-server-migration-vmware.md) how to migrate VMware VMs to Azure
217+
- [Learn more](https://docs.microsoft.com/azure/migrate/concepts-collector#what-data-is-collected) about the data that's collected by the appliance.
218+

‎articles/migrate/tutorial-server-assessment-hyper-v.md

Lines changed: 23 additions & 202 deletions
Large diffs are not rendered by default.

‎articles/migrate/tutorial-server-assessment-vmware.md

Lines changed: 30 additions & 204 deletions
Large diffs are not rendered by default.

‎articles/migrate/tutorial-server-migration-vmware.md

Lines changed: 328 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.