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 9a8c8de

Browse files
committedApr 29, 2021
Arc docs
1 parent 0ce7403 commit 9a8c8de

File tree

5 files changed

+195
-0
lines changed

5 files changed

+195
-0
lines changed
 
Lines changed: 193 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,193 @@
1+
---
2+
title: Onboard on-premises servers in VMware virtual environment to Azure Arc
3+
description: Onboard on-premises servers in VMware virtual environment to Azure Arc
4+
author: deseelam
5+
ms.author: deseelam
6+
ms.manager: bsiva
7+
ms.topic: how-to
8+
ms.date: 04/27/2020
9+
---
10+
11+
# Onboard on-premises servers in VMware virtual environment to Azure Arc
12+
13+
This article describes how to onboard on-premises VMware VMs to Azure Arc for Azure Management using the Azure Migrate: Discovery and assessment tool.
14+
15+
Azure Arc allows you to manage your hybrid IT estate with a single pane of glass by extending the Azure management experience to your on-premises servers that are not ideal candidates for migration. [Learn more](https://docs.microsoft.com/azure/azure-arc/servers/overview) about Azure Arc.
16+
17+
## Before you get started
18+
19+
- [Review the requirements](https://docs.microsoft.com/azure/migrate/tutorial-discover-vmware#prerequisites) to discover servers running in VMware environment with Azure Migrate: Discovery and assessment tool.
20+
- Prepare [VMware vCenter](https://docs.microsoft.com/azure/migrate/tutorial-discover-vmware#prepare-vmware) for usage and review the [VMware requirements](migrate-support-matrix-vmware.md#vmware-requirements) to perform software inventory. Software inventory must be complete to start onboarding discovered servers to Azure Arc.
21+
- Review [application discovery requirements](migrate-support-matrix-vmware.md#application-discovery-requirements) before initiating software inventory on servers. Windows servers must have PowerShell version 3.0 or later installed.
22+
- Be sure to verify the [prerequisites for Azure Arc](https://docs.microsoft.com/azure/azure-arc/servers/agent-overview#prerequisites) and review the following considerations:
23+
- Onboarding to Azure Arc can only be initiated after the vCenter Server discovery and software inventory is completed. It may take up to 6 hours for software inventory to complete after it is turned on
24+
- The [Azure Arc Hybrid Connected Machine agent](https://docs.microsoft.com/azure/azure-arc/servers/learn/quick-enable-hybrid-vm) will be installed on the discovered servers during the Arc onboarding process. Make sure you provide credentials with administrator permissions on the servers to install and configure the agent. On Linux, provide the root account, and on Windows, provide an account that is a member of the Local Administrators group.
25+
- Verify that the servers are running [a supported operating system](https://docs.microsoft.com/azure/azure-arc/servers/agent-overview#supported-operating-systems).
26+
- Ensure that the Azure account is granted assignment to the [required Azure roles](https://docs.microsoft.com/azure/azure-arc/servers/agent-overview#required-permissions).
27+
- Make sure [the required URLs](https://docs.microsoft.com/azure/azure-arc/servers/agent-overview#networking-configuration) are not blocked if the discovered servers connect through a firewall or proxy server to communicate over the Internet.
28+
- Review the [regions supported](https://docs.microsoft.com/azure/azure-arc/servers/overview#supported-regions) for Azure Arc.
29+
- Azure Arc enabled servers supports up to 5,000 machine instances in a resource group.
30+
31+
32+
## Set up the Azure Migrate project
33+
34+
1. Before you start, prepare the [Azure user Account](https://docs.microsoft.com/azure/migrate/tutorial-discover-vmware#prepare-an-azure-user-account) and verify you have the [required roles](./create-manage-projects.md#verify-permissions) in the subscription to create resources required by Azure Migrate.
35+
2. [Use this article](https://docs.microsoft.com/azure/migrate/create-manage-projects) to set up a new Azure Migrate project with the Azure Migrate: Discovery and assessment tool added to it.
36+
37+
> [!Note]
38+
> You can also use an existing Migrate project and onboard the discovered servers inventory to Azure Arc. To do so, launch the appliance configuration manager from your appliance server and make sure the services are updated to their latest versions. [Learn more](https://docs.microsoft.com/azure/migrate/migrate-appliance#appliance-upgrades) <br/> <br/> Next, [follow these instructions](#onboard-to-Azure-Arc) to onboard your servers.
39+
40+
## Deploy and register the Azure Migrate appliance
41+
42+
Azure Migrate: Discovery and assessment use a lightweight Azure Migrate appliance. The appliance performs server discovery and sends server configuration and performance metadata to Azure Migrate.
43+
44+
Before you set up the appliance,
45+
46+
1. [Review](migrate-appliance.md#appliance---vmware) the requirements for deploying the Azure Migrate appliance.
47+
2. Review the Azure URLs that the appliance will need to access in the [public](migrate-appliance.md#public-cloud-urls) and [government clouds](migrate-appliance.md#government-cloud-urls).
48+
3. Note the [port access requirements](migrate-support-matrix-vmware.md#port-access-requirements) for the appliance.
49+
50+
51+
Next,
52+
53+
- Follow this article to [set up the Azure Migrate appliance](https://docs.microsoft.com/azure/migrate/tutorial-discover-vmware#set-up-the-appliance) to start vCenter Server discovery. To deploy the appliance, you can download and import an OVA template into VMware to create a server running in your vCenter Server.
54+
- After deploying the appliance, you need to register it with the project before you initiate the discovery. Follow [these instructions](https://docs.microsoft.com/azure/migrate/tutorial-discover-vmware#register-the-appliance-with-azure-migrate) to register the appliance.
55+
56+
## Configure the appliance and start discovery
57+
58+
Use [this article](https://docs.microsoft.com/azure/migrate/tutorial-discover-vmware#start-continuous-discovery) to configure the Azure Migrate appliance and kick off the vCenter Server discovery.
59+
60+
As you configure the appliance for discovery, you need to specify the details in the appliance configuration manager:
61+
62+
- The details of the vCenter Server to which you want to connect.
63+
- vCenter Server credentials scoped to discover the servers in your VMware environment.
64+
- Server credentials with Administrator permissions. Onboarding to Azure Arc requires credentials with Administrator permissions on the server to install and configure the Azure Arc Hybrid Connect Machine agent. [Learn more](add-server-credentials.md) about how to provide credentials and how we handle them.
65+
66+
After the discovery has been successfully completed, it takes around 15 minutes for discovered servers to appear in the portal.
67+
68+
69+
## Onboard to Azure Arc
70+
71+
>[!Important]
72+
>Software inventory must be completed before onboarding your discovered servers to Azure Arc.
73+
74+
Once the vCenter Server discovery has been completed, software inventory (discovery of installed applications) will be automatically initiated. During software inventory, the server credentials provided will be iterated and validated against the discovered servers. You can start onboarding after the software inventory has been completed and the credentials have been mapped. It may take up to 6 hours for software inventory to complete after it is turned on.
75+
1. Navigate to the **Onboard to Azure Arc** panel.
76+
77+
![Arc onboarding](./media/onboard-to-azure-arc-with-azure-migrate/azure-arc-onboarding-panel-after-being-enabled.png)
78+
79+
2. Provide the **subscription** and **resource group** where you want the servers to be managed within Azure.
80+
81+
3. In the **Region** drop-down list, select the Azure region to store the servers' metadata.
82+
83+
4. Provide the **Azure Active Directory service principal** details for onboarding at scale. Review this article to [create a service principal using the Azure portal or Azure PowerShell.](https://docs.microsoft.com/azure/azure-arc/servers/onboard-service-principal#create-a-service-principal-for-onboarding-at-scale) <br/>
84+
85+
The following inputs are required:
86+
- **Directory (tenant) ID** - The [unique identifier (GUID)](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal#get-tenant-and-app-id-values-for-signing-in) that represents your dedicated instance of Azure AD.
87+
- **Application (client) ID** - The [unique identifier (GUID)](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal#get-tenant-and-app-id-values-for-signing-in) that represents the application ID of the service principal.
88+
- **Service principal secret (application secret)** - The [client secret](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal#option-2-create-a-new-application-secret) for password-based authentication.
89+
90+
5. _Optional_: Provide the **proxy server IP address** or the name and **port number** if your discovered servers require a proxy server to connect to the Internet. Enter the value in the format `http://<proxyURL>:<proxyport>`. This proxy server used by the discovered servers can be different from the proxy server required by the appliance server to connect to the Internet (provided in the prerequisites section in the appliance configuration manager).
91+
92+
> [!Note]
93+
> Setting proxy authentication us not supported.
94+
95+
6. Select **Start Onboarding** to initiate the Azure Arc onboarding process. The onboarding process will take some time. Once the onboarding has been completed, you will be presented with the completion status and a detailed onboarding status report.
96+
97+
![Arc onboarding report](./media/onboard-to-azure-arc-with-azure-migrate/onboarding-completion-report.png)
98+
99+
> [!Note]
100+
> If your login expires, select **Login again**. This will open a modal with the device code. Select **Copy code & Login** to copy the device code and open an Azure Login prompt in a new browser tab. If it doesn't appear, make sure you've disabled the pop-up blocker in the browser.
101+
102+
7. Once the onboarding has completed, navigate to the [Azure Arc home page](https://portal.azure.com/#blade/Microsoft_Azure_HybridCompute/AzureArcCenterBlade/servers) to view and manage your onboarded servers.
103+
104+
8. View the detailed onboarding report to understand the onboarding status of your servers and take appropriate actions.
105+
106+
> [!Note]
107+
> The Azure Migrate appliance will initiate WinRM sessions to execute the Azure Arc onboarding script. Ensure that there are no settings restricting access to the WinRM service on the target servers.
108+
109+
110+
## Next steps
111+
112+
- For more information and error details, review the detailed onboarding report. Resolve errors, if any, to successfully onboard the servers.
113+
- You can select **Start Onboarding** to rerun the Azure Arc onboarding process. The onboarding will be attempted for any newly discovered servers and servers that could not be onboarded successfully in the previous run.
114+
115+
## Troubleshooting Azure Arc onboarding errors
116+
117+
If you receive an error when onboarding to Azure Arc using the Azure Migrate appliance, the following section can help identify the probable cause and suggested steps to resolve your problem.
118+
119+
If you don't see the error code listed below or if the error code starts with **_AZCM_**, refer to [this guide for troubleshooting Azure Arc ](https://docs.microsoft.com/azure/azure-arc/servers/troubleshoot-agent-onboard)
120+
121+
### Error 60001 - UnableToConnectToPhysicalServer
122+
123+
**Possible causes**
124+
Either the [prerequisites](https://go.microsoft.com/fwlink/?linkid=2134728) to connect to the server have not been met or there are network issues in connecting to the server, for instance some proxy settings.
125+
126+
**Recommended actions**
127+
- Ensure that the server meets the prerequisites for discovery and assessment as documented [here](https://go.microsoft.com/fwlink/?linkid=2134728).
128+
- Ensure that you have chosen the correct authentication method on the appliance to connect to the server. (Note: Azure Migrate supports both password-based and SSH key based authentication for Linux servers).
129+
- If the issue persists, submit a Microsoft support case, providing the appliance machine ID (available in the footer of the appliance configuration manager).
130+
131+
### Error 60002 - InvalidServerCredentials
132+
133+
**Possible causes**
134+
Unable to connect to server. Either you have provided incorrect credentials on the appliance or the credentials previously provided have expired.
135+
136+
**Recommended actions**
137+
- Ensure that you have provided the correct credentials for the server on the appliance. You can check that by trying to connect to the server using those credentials.
138+
- If the credentials added are incorrect or have expired, edit the credentials on the appliance and revalidate the added servers. If the validation succeeds, the issue is resolved.
139+
- If the issue persists, submit a Microsoft support case, providing the appliance machine ID (available in the footer of the appliance configuration manager).
140+
141+
### Error 60005 - SSHOperationTimeout
142+
143+
**Possible causes**
144+
- The operation took longer than expected either due to network latency issues or due to the lack of latest updates on the server.
145+
146+
**Recommended actions**
147+
- Ensure that the impacted server has the latest kernel and OS updates installed.
148+
- Ensure that there is no network latency between the appliance and the server. It is recommended to have the appliance and source server on the same domain to avoid latency issues.
149+
- Connect to the impacted server from the appliance and run the commands [documented here](https://go.microsoft.com/fwlink/?linkid=2152600) to check if they return null or empty data.
150+
- If the issue persists, submit a Microsoft support case providing the appliance machine ID (available in the footer of the appliance configuration manager).
151+
152+
### Error 60108 - SoftwareInventoryCredentialNotAssociated
153+
154+
**Possible causes**
155+
- No credentials were found to be associated with the server.
156+
157+
**Recommended actions**
158+
- Software inventory must be complete to start onboarding discovered servers to Azure Arc. [Learn more](https://docs.microsoft.com/azure/migrate/how-to-discover-applications#add-credentials-and-initiate-discovery)
159+
- Ensure that the credentials provided on the appliance configuration manager are valid and the server is accessible using the credentials.
160+
- Go back to the appliance configuration manager to either provide another set of credentials or edit an existing one.
161+
162+
### Error 60109 - ArcOsNotSupported
163+
164+
**Possible causes**
165+
- The server hosts an unsupported operating system for Azure Arc onboarding.
166+
167+
**Recommended actions**
168+
- [Review the supported operating systems](https://docs.microsoft.com/azure/azure-arc/servers/agent-overview#supported-operating-systems) for Azure Arc.
169+
170+
### Error 10002 - ScriptExecutionTimedOutOnVm
171+
172+
**Possible causes**
173+
- The onboarding task did not complete in time. Then execution took longer than expected.
174+
175+
**Recommended actions**
176+
- The issue should automatically resolve in some time. If the issue persists, contact Microsoft Support.
177+
178+
### Error 50000 - AccessDenied
179+
180+
**Possible causes**
181+
- The operation could not be completed due to forbidden access on the server. The user account provided on the appliance to access the server does not have the required permissions or the credentials are incorrect. WinRM error code: 0x80070005
182+
183+
**Recommended actions**
184+
- Validate the possible causes and retry the operation. If the issue persists, contact support.
185+
186+
### Error 960/951/60009/60078 - NullResult/UnhandledException/ServerUnknownError/UnhandledError
187+
188+
**Possible causes**
189+
- The operation failed due to an internal error.
190+
191+
**Recommended actions**
192+
- Retry the operation after some time. If the issue persists, contact support and provide the appliance machine ID (available in the **footer** of the appliance configuration manager).
193+

‎articles/migrate/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,8 @@
216216
href: how-to-delete-project.md
217217
- name: Work with previous version of Azure Migrate
218218
href: migrate-v1.md
219+
- name: Onboard on-premises servers in VMware virtual environment to Azure Arc
220+
href: onboard-to-azure-arc-with-azure-migrate.md
219221
- name: Manage migration projects with Azure Lighthouse
220222
href: ../lighthouse/how-to/migration-at-scale.md?toc=/azure/migrate/toc.json&bc=/azure/migrate/breadcrumb/toc.json
221223
- name: Troubleshoot

0 commit comments

Comments
 (0)
Please sign in to comment.