Skip to content

Commit b275fa0

Browse files
updating info on installing appliance
1 parent 3e04d59 commit b275fa0

File tree

3 files changed

+151
-59
lines changed

3 files changed

+151
-59
lines changed

articles/migrate/deploy-appliance-script.md

Lines changed: 105 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
title: Set up an Azure Migrate appliance with a script
33
description: Learn how to set up an Azure Migrate appliance with a script
44
ms.topic: article
5-
ms.date: 03/23/2020
5+
ms.date: 04/16/2020
66
---
77

88

99
# Set up an appliance with a script
1010

11-
This article describes how to set up the [Azure Migrate appliance](deploy-appliance.md) using a PowerShell installer script.
11+
This article describes how to set up the [Azure Migrate appliance](deploy-appliance.md) using a PowerShell installer script, for VMware VMs, and Hyper-V VMs. If you want to set up the appliance for physical servers, [review this article](how-to-set-up-appliance-physical.md).
1212

1313

1414
You can deploy the appliance using a couple of methods:
@@ -33,32 +33,109 @@ The script sets up the Azure Migrate appliance on an existing physical machine o
3333
- Before you deploy the appliance, review detailed appliance requirements for [VMware VMs](migrate-appliance.md#appliance---vmware), [Hyper-V VMs](migrate-appliance.md#appliance---hyper-v), and [physical servers](migrate-appliance.md#appliance---physical).
3434
- Don't run the script on an existing Azure Migrate appliance.
3535

36+
## Set up the appliance for VMware
3637

37-
## Download the script
38+
To set up the appliance for VMware you download a zipped file from the Azure portal, and extract the contents. You run the PowerShell script to launch the appliance web app. You set up the appliance and configure it for the first time. Then, you register the appliance with the Azure Migrate project.
3839

39-
1. Locate the machine/VM that will act as the Azure Migrate appliance.
40-
2. On the machine, do the following:
40+
### Download the script
4141

42-
- To use the appliance with VMware VMs or Hyper-V VMs, [download](https://go.microsoft.com/fwlink/?linkid=2105112) the zipped folder containing the installer script and the MSIs.
43-
- To use the appliance with physical servers, download the script from the Azure Migrate portal, as described in this [tutorial](tutorial-assess-physical.md#set-up-the-appliance).
42+
1. In **Migration Goals** > **Servers** > **Azure Migrate: Server Assessment**, click **Discover**.
43+
2. In **Discover machines** > **Are your machines virtualized?**, select **Yes, with VMWare vSphere hypervisor**.
44+
3. Click **Download**, to download the zipped file.
4445

45-
## Verify file security
46+
47+
### Verify file security
48+
49+
Check that the zipped file is secure, before you deploy it.
50+
51+
1. On the machine to which you downloaded the file, open an administrator command window.
52+
2. Run the following command to generate the hash for the zipped file
53+
- ```C:\>CertUtil -HashFile <file_location> [Hashing Algorithm]```
54+
- Example usage for public cloud: ```C:\>CertUtil -HashFile C:\Users\administrator\Desktop\AzureMigrateInstaller.zip SHA256```
55+
- Example usage for government cloud: ```C:\>CertUtil -HashFile C:\Users\administrator\Desktop\AzureMigrateInstaller-VMWare-USGov.zip```
56+
57+
3. Verify the generated hash values:
58+
59+
- For the public cloud (for the latest appliance version):
60+
61+
**Algorithm** | **Hash value**
62+
--- | ---
63+
MD5 | 1e92ede3e87c03bd148e56a708cdd33f
64+
SHA256 | a3fa78edc8ff8aff9ab5ae66be1b64e66de7b9f475b6542beef114b20bfdac3c
65+
66+
- For Azure government (for the latest appliance version):
67+
68+
**Algorithm** | **Hash value**
69+
--- | ---
70+
MD5 | 6316bcc8bc932204295bfe33f4be3949
71+
72+
73+
### Run the script
74+
75+
Here's what the script does:
76+
77+
- Installs agents and a web application.
78+
- Installs Windows roles, including Windows Activation Service, IIS, and PowerShell ISE.
79+
- Downloads and installs an IIS rewritable module. [Learn more](https://www.microsoft.com/download/details.aspx?id=7435).
80+
- Updates a registry key (HKLM), with persistent settings for Azure Migrate.
81+
- Creates log and configuration files as follows:
82+
- **Config Files**: %ProgramData%\Microsoft Azure\Config
83+
- **Log Files**: %ProgramData%\Microsoft Azure\Logs
84+
85+
To run the script:
86+
87+
1. Extract the zipped file to a folder on the machine that will host the appliance. Make sure you don't run the script on a machine on an existing Azure Migrate appliance.
88+
2. Launch PowerShell on the machine, with administrator (elevated) privileges.
89+
3. Change the PowerShell directory to the folder containing the contents extracted from the downloaded zipped file.
90+
4. Run the script **AzureMigrateInstaller.ps1**, as follows:
91+
- For the public cloud: ``` PS C:\Users\administrator\Desktop\AzureMigrateInstaller> AzureMigrateInstaller.ps1 -scenario VMware ```
92+
- For Azure Government: ``` PS C:\Users\Administrators\Desktop\AzureMigrateInstaller-VMWare-USGov>AzureMigrateInstaller.ps1 ```
93+
94+
5. After the script runs successfully, it launches the appliance web application so that you can set up the appliance. If you encounter any issues, review the script logs at C:\ProgramData\Microsoft Azure\Logs\AzureMigrateScenarioInstaller_<em>Timestamp</em>.log.
95+
96+
### Verify access
97+
98+
Make sure that the appliance can connect to Azure URLs for [public](migrate-appliance.md#public-cloud-urls) and [government clouds](migrate-appliance.md#government-cloud-urls.
99+
100+
101+
## Set up the appliance for Hyper-V
102+
103+
To set up the appliance for Hyper-V you download a zipped file from the Azure portal, and extract the contents. You run the PowerShell script to launch the appliance web app. You set up the appliance and configure it for the first time. Then, you register the appliance with the Azure Migrate project.
104+
105+
### Download the script
106+
107+
1. In **Migration Goals** > **Servers** > **Azure Migrate: Server Assessment**, click **Discover**.
108+
2. In **Discover machines** > **Are your machines virtualized?**, select **Yes, with Hyper-V**.
109+
3. Click **Download**, to download the zipped file.
110+
111+
112+
### Verify file security
46113

47114
Check that the zipped file is secure, before you deploy it.
48115

49116
1. On the machine to which you downloaded the file, open an administrator command window.
50117
2. Run the following command to generate the hash for the zipped file
51118
- ```C:\>CertUtil -HashFile <file_location> [Hashing Algorithm]```
52-
- Example usage: ```C:\>CertUtil -HashFile C:\Users\administrator\Desktop\AzureMigrateInstaller.zip SHA256```
119+
- Example usage for public cloud: ```C:\>CertUtil -HashFile C:\Users\administrator\Desktop\AzureMigrateInstaller.zip SHA256```
120+
- Example usage for government cloud: ```C:\>CertUtil -HashFile C:\Users\administrator\Desktop\AzureMigrateInstaller-HyperV-USGov.zip MD5```
121+
122+
3. Verify the generated hash values:
123+
124+
- For the public cloud (for the latest appliance version):
53125

54-
3. Verify that the generated hash values match these settings (for the latest appliance version):
126+
**Algorithm** | **Hash value**
127+
--- | ---
128+
MD5 | 1e92ede3e87c03bd148e56a708cdd33f
129+
SHA256 | a3fa78edc8ff8aff9ab5ae66be1b64e66de7b9f475b6542beef114b20bfdac3c
55130

56-
**Algorithm** | **Hash value**
57-
--- | ---
58-
MD5 | 1e92ede3e87c03bd148e56a708cdd33f
59-
SHA256 | a3fa78edc8ff8aff9ab5ae66be1b64e66de7b9f475b6542beef114b20bfdac3c
131+
- For Azure government (for the latest appliance version):
60132

61-
## Run the script
133+
**Algorithm** | **Hash value**
134+
--- | ---
135+
MD5 | 717f8b9185f565006b5aff0215ecadac
136+
137+
138+
### Run the script
62139

63140
Here's what the script does:
64141

@@ -72,28 +149,24 @@ Here's what the script does:
72149

73150
To run the script:
74151

75-
1. Extract the zipped file to a folder on the machine that will host the appliance.
152+
1. Extract the zipped file to a folder on the machine that will host the appliance. Make sure you don't run the script on a machine on an existing Azure Migrate appliance.
76153
2. Launch PowerShell on the machine, with administrator (elevated) privileges.
77154
3. Change the PowerShell directory to the folder containing the contents extracted from the downloaded zipped file.
78-
4. Run the script **AzureMigrateInstaller.ps1** as follows:
79-
80-
- For VMware:
81-
```
82-
PS C:\Users\administrator\Desktop\AzureMigrateInstaller> AzureMigrateInstaller.ps1 -scenario VMware
83-
```
84-
- For Hyper-V:
85-
```
86-
PS C:\Users\administrator\Desktop\AzureMigrateInstaller> AzureMigrateInstaller.ps1 -scenario Hyperv
87-
```
88-
- For physical servers:
89-
```
90-
PS C:\Users\administrator\Desktop\AzureMigrateInstaller> AzureMigrateInstaller.ps1
91-
```
92-
5. After the script runs successfully, it launches the appliance web application so that you can set up the appliance. If you encounter any issues, you can view the script logs at C:\ProgramData\Microsoft Azure\Logs\AzureMigrateScenarioInstaller_<em>Timestamp</em>.log.
155+
4. Run the script **AzureMigrateInstaller.ps1**, as follows:
156+
- For the public cloud: ``` PS C:\Users\administrator\Desktop\AzureMigrateInstaller> AzureMigrateInstaller.ps1 -scenario Hyperv ```
157+
- For Azure Government: ``` PS C:\Users\Administrators\Desktop\AzureMigrateInstaller-HyperV-USGov>AzureMigrateInstaller.ps1 ```
158+
159+
5. After the script runs successfully, it launches the appliance web application so that you can set up the appliance. If you encounter any issues, review the script logs at C:\ProgramData\Microsoft Azure\Logs\AzureMigrateScenarioInstaller_<em>Timestamp</em>.log.
160+
161+
### Verify access
162+
163+
Make sure that the appliance can connect to Azure URLs for [public](migrate-appliance.md#public-cloud-urls) and [government clouds](migrate-appliance.md#government-cloud-urls.
164+
165+
93166

94167
## Next steps
95168

96-
After you've set up the appliance using the script, follow these instructions:
169+
To learn more about setting up the appliance with a template, or for physical servers, review these articles:
97170

98171
- Set up the appliance for [VMware](how-to-set-up-appliance-vmware.md#configure-the-appliance).
99172
- Set up the appliance for [Hyper-V](how-to-set-up-appliance-hyper-v.md#configure-the-appliance).

articles/migrate/how-to-set-up-appliance-physical.md

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,24 @@ Download the zipped file for the appliance.
4343
Check that the zipped file is secure, before you deploy it.
4444

4545
1. On the machine to which you downloaded the file, open an administrator command window.
46-
2. Run the following command to generate the hash for the VHD
46+
2. Run the following command to generate the hash for the zipped file:
4747
- ```C:\>CertUtil -HashFile <file_location> [Hashing Algorithm]```
48-
- Example usage: ```C:\>CertUtil -HashFile C:\AzureMigrate\AzureMigrate.ova SHA256```
49-
3. For the latest appliance version, the generated hash should match these [settings](https://docs.microsoft.com/azure/migrate/tutorial-assess-physical#verify-security).
48+
- Example usage for public cloud: ```C:\>CertUtil -HashFile C:\Users\administrator\Desktop\AzureMigrateInstaller.zip SHA256 ```
49+
- Example usage for government cloud: ``` C:\>CertUtil -HashFile C:\Users\administrator\Desktop\AzureMigrateInstaller-Server-USGov.zip MD5 ```
50+
3. Verify hash values:
51+
52+
- For the public cloud (for the latest appliance version):
5053

54+
**Algorithm** | **Hash value**
55+
--- | ---
56+
MD5 | 1e92ede3e87c03bd148e56a708cdd33f
57+
SHA256 | a3fa78edc8ff8aff9ab5ae66be1b64e66de7b9f475b6542beef114b20bfdac3c
58+
59+
- For Azure government (for the latest appliance version):
60+
61+
**Algorithm** | **Hash value**
62+
--- | ---
63+
MD5 | f81c155fc4a1409901caea948713913f
5164

5265

5366
## Run the Azure Migrate installer script
@@ -63,19 +76,19 @@ The installer script does the following:
6376

6477
Run the script as follows:
6578

66-
1. Extract the zipped file to a folder on the server that will host the appliance.
79+
1. Extract the zipped file to a folder on the server that will host the appliance. Make sure you don't run the script on a machine on an existing Azure Migrate appliance.
6780
2. Launch PowerShell on the above server with administrative (elevated) privilege.
6881
3. Change the PowerShell directory to the folder where the contents have been extracted from the downloaded zipped file.
6982
4. Run the script named **AzureMigrateInstaller.ps1** by running the following command:
70-
```
71-
PS C:\Users\administrator\Desktop\AzureMigrateInstaller> AzureMigrateInstaller.ps1
72-
```
73-
The script will launch the appliance web application when it finishes successfully.
83+
84+
- For the public cloud: ``` PS C:\Users\administrator\Desktop\AzureMigrateInstaller> AzureMigrateInstaller.ps1 ```
85+
- For Azure Government: ``` PS C:\Users\Administrators\Desktop\AzureMigrateInstaller-Server-USGov>AzureMigrateInstaller.ps1 ```
86+
87+
The script will launch the appliance web application when it finishes successfully.
7488

7589
If you come across any issues, you can access the script logs at C:\ProgramData\Microsoft Azure\Logs\AzureMigrateScenarioInstaller_<em>Timestamp</em>.log for troubleshooting.
7690

77-
> [!NOTE]
78-
> Please do not execute the Azure Migrate installer script on an existing Azure Migrate appliance.
91+
7992

8093
### Verify appliance access to Azure
8194

articles/migrate/tutorial-assess-physical.md

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -93,16 +93,24 @@ Download the zipped file for the appliance.
9393
Check that the zipped file is secure, before you deploy it.
9494

9595
1. On the machine to which you downloaded the file, open an administrator command window.
96-
2. Run the following command to generate the hash for the zipped file
96+
2. Run the following command to generate the hash for the zipped file:
9797
- ```C:\>CertUtil -HashFile <file_location> [Hashing Algorithm]```
98-
- Example usage: ```C:\>CertUtil -HashFile C:\Users\administrator\Desktop\AzureMigrateInstaller.zip SHA256```
98+
- Example usage for public cloud: ```C:\>CertUtil -HashFile C:\Users\administrator\Desktop\AzureMigrateInstaller.zip SHA256 ```
99+
- Example usage for government cloud: ``` C:\>CertUtil -HashFile C:\Users\administrator\Desktop\AzureMigrateInstaller-Server-USGov.zip MD5 ```
100+
3. Verify hash values:
101+
102+
- For the public cloud (for the latest appliance version):
99103

100-
3. For the latest appliance version, the generated hash should match these settings.
104+
**Algorithm** | **Hash value**
105+
--- | ---
106+
MD5 | 1e92ede3e87c03bd148e56a708cdd33f
107+
SHA256 | a3fa78edc8ff8aff9ab5ae66be1b64e66de7b9f475b6542beef114b20bfdac3c
101108

102-
**Algorithm** | **Hash value**
103-
--- | ---
104-
MD5 | 1e92ede3e87c03bd148e56a708cdd33f
105-
SHA256 | a3fa78edc8ff8aff9ab5ae66be1b64e66de7b9f475b6542beef114b20bfdac3c
109+
- For Azure government (for the latest appliance version):
110+
111+
**Algorithm** | **Hash value**
112+
--- | ---
113+
MD5 | f81c155fc4a1409901caea948713913f
106114

107115
### Run the Azure Migrate installer script
108116

@@ -113,24 +121,22 @@ The installer script does the following:
113121
- Download and installs an IIS rewritable module. [Learn more](https://www.microsoft.com/download/details.aspx?id=7435).
114122
- Updates a registry key (HKLM) with persistent setting details for Azure Migrate.
115123
- Creates the following files under the path:
116-
- **Config Files**: %ProgramData%\Microsoft Azure\Config
117-
- **Log Files**: %ProgramData%\Microsoft Azure\Logs
124+
- **Config Files**: %Programdata%\Microsoft Azure\Config
125+
- **Log Files**: %Programdata%\Microsoft Azure\Logs
118126

119127
Run the script as follows:
120128

121-
1. Extract the zipped file to a folder on the server that will host the appliance.
129+
1. Extract the zipped file to a folder on the server that will host the appliance. Make sure you don't run the script on a machine on an existing Azure Migrate appliance.
122130
2. Launch PowerShell on the above server with administrative (elevated) privilege.
123131
3. Change the PowerShell directory to the folder where the contents have been extracted from the downloaded zipped file.
124132
4. Run the script named **AzureMigrateInstaller.ps1** by running the following command:
125-
```
126-
PS C:\Users\administrator\Desktop\AzureMigrateInstaller> AzureMigrateInstaller.ps1
127-
```
128-
The script will launch the appliance web application when it finishes successfully.
129133

130-
If you find any issues, you can access the script logs at C:\ProgramData\Microsoft Azure\Logs\AzureMigrateScenarioInstaller_<em>Timestamp</em>.log for troubleshooting.
134+
- For the public cloud: ``` PS C:\Users\administrator\Desktop\AzureMigrateInstaller> AzureMigrateInstaller.ps1 ```
135+
- For Azure Government: ``` PS C:\Users\Administrators\Desktop\AzureMigrateInstaller-Server-USGov>AzureMigrateInstaller.ps1 ```
131136

132-
> [!NOTE]
133-
> Please do not execute the Azure Migrate installer script on an existing Azure Migrate appliance.
137+
The script will launch the appliance web application when it finishes successfully.
138+
139+
If you come across any issues, you can access the script logs at C:\ProgramData\Microsoft Azure\Logs\AzureMigrateScenarioInstaller_<em>Timestamp</em>.log for troubleshooting.
134140

135141
### Verify appliance access to Azure
136142

0 commit comments

Comments
 (0)