You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -134,22 +136,20 @@ After completing discovery and initializing replication infrastructure, you can
134
136
135
137
You can specify the replication properties as follows.
136
138
137
-
-**Target subscription and resource group** - Specify the subscription and resource group that the VM should be migrated to by providing the resource group ID using the (`TargetResourceGroupId`) parameter.
138
-
-**Target virtual network and subnet** - Specify the ID of the Azure Virtual Network and the name of the subnet that the VM should be migrated to by using the (`TargetNetworkId`) and (`TargetSubnetName`) parameters respectively.
139
-
-**Target VM name** - Specify the name of the Azure VM to be created by using the (`TargetVMName`) parameter.
140
-
-**Target VM size** - Specify the Azure VM size to be used for the replicating VM by using (`TargetVMSize`) parameter. For instance, to migrate a VM to D2_v2 VM in Azure, specify the value for (`TargetVMSize`) as "Standard_D2_v2".
141
-
-**License** - To use Azure Hybrid Benefit for your Windows Server machines that are covered with active Software Assurance or Windows Server subscriptions, specify the value for (`LicenseType`) parameter as **WindowsServer**. Otherwise, specify the value for (`LicenseType`) parameter as "NoLicenseType".
142
-
-**OS Disk** - Specify the unique identifier of the disk that has the operating system bootloader and installer. The disk ID to be used is the unique identifier (UUID) property for the disk retrieved using the [Get-AzMigrateDiscoveredServer](/powershell/module/az.migrate/get-azmigratediscoveredserver) cmdlet.
143
-
-**Disk Type** - Specify the value for the (`DiskType`) parameter as follows.
144
-
- To use premium-managed disks, specify "Premium_LRS" as value for (`DiskType`) parameter.
145
-
- To use standard SSD disks, specify "StandardSSD_LRS" as value for (`DiskType`) parameter.
146
-
- To use standard HDD disks, specify "Standard_LRS" as value for (`DiskType`) parameter.
147
-
-**Infrastructure redundancy** - Specify infrastructure redundancy option as follows.
148
-
- Availability Zone to pin the migrated machine to a specific Availability Zone in the region. Use this option to distribute servers that form a multi-node application tier across Availability Zones. This option is only available if the target region selected for the migration supports Availability Zones. To use availability zones, specify the availability zone value for (`TargetAvailabilityZone`) parameter.
149
-
- Availability Set to place the migrated machine in an Availability Set. The target Resource Group that was selected must have one or more availability sets to use this option. To use availability set, specify the availability set ID for (`TargetAvailabilitySet`) parameter.
150
-
-**Boot Diagnostic Storage Account** - To use a boot diagnostic storage account, specify the ID for (`TargetBootDiagnosticStorageAccount`) parameter.
151
-
- The storage account used for boot diagnostics should be in the same subscription that you're migrating your VMs to.
152
-
- By default, no value is set for this parameter.
139
+
**Parameter** | **Type** | **Description**
140
+
--- | --- | ---
141
+
Target subscription and resource group | Mandatory | Specify the subscription and resource group that the VM should be migrated to by providing the resource group ID using the (`TargetResourceGroupId`) parameter.
142
+
Target virtual network and subnet | Mandatory | Specify the ID of the Azure Virtual Network and the name of the subnet that the VM should be migrated to by using the (`TargetNetworkId`) and (`TargetSubnetName`) parameters respectively.
143
+
Machine ID | Mandatory | Specify the ID of the discovered machine that needs to be replicated and migrated. Use (`InputObject`) to specify the discovered VM object for replication.
144
+
Target VM name | Mandatory | Specify the name of the Azure VM to be created by using the (`TargetVMName`) parameter.
145
+
Target VM size | Mandatory | Specify the Azure VM size to be used for the replicating VM by using (`TargetVMSize`) parameter. For instance, to migrate a VM to D2_v2 VM in Azure, specify the value for (`TargetVMSize`) as "Standard_D2_v2".
146
+
License | Mandatory | To use Azure Hybrid Benefit for your Windows Server machines that are covered with active Software Assurance or Windows Server subscriptions, specify the value for (`LicenseType`) parameter as **WindowsServer**. Otherwise, specify the value as **NoLicenseType**.
147
+
OS Disk | Mandatory | Specify the unique identifier of the disk that has the operating system bootloader and installer. The disk ID to be used is the unique identifier (UUID) property for the disk retrieved using the [Get-AzMigrateDiscoveredServer](/powershell/module/az.migrate/get-azmigratediscoveredserver) cmdlet.
148
+
Disk Type | Mandatory | Specify the name of the load balancer to be created.
149
+
Infrastructure redundancy | Optional | Specify infrastructure redundancy option as follows. <br/><br/> - **Availability Zone** to pin the migrated machine to a specific Availability Zone in the region. Use this option to distribute servers that form a multi-node application tier across Availability Zones. This option is only available if the target region selected for the migration supports Availability Zones. To use availability zones, specify the availability zone value for (`TargetAvailabilityZone`) parameter. <br/> - **Availability Set** to place the migrated machine in an Availability Set. The target Resource Group that was selected must have one or more availability sets to use this option. To use availability set, specify the availability set ID for (`TargetAvailabilitySet`) parameter.
150
+
Boot Diagnostic Storage Account | Optional | To use a boot diagnostic storage account, specify the ID for (`TargetBootDiagnosticStorageAccount`) parameter. <br/> - The storage account used for boot diagnostics should be in the same subscription that you're migrating your VMs to. <br/> - By default, no value is set for this parameter.
151
+
152
+
153
153
154
154
### Replicate VMs with all disks
155
155
@@ -158,13 +158,17 @@ In this tutorial, we'll replicate all the disks of the discovered VM and specify
158
158
```azurepowershell-interactive
159
159
# Retrieve the resource group that you want to migrate to
-**VM Name** - Specify the name of the Azure VM to be created by using the [`TargetVMName`] parameter.
319
-
-**VM size** - Specify the Azure VM size to be used for the replicating VM by using [`TargetVMSize`] parameter. For instance, to migrate a VM to D2_v2 VM in Azure, specify the value for [`TargetVMSize`] as `Standard_D2_v2`.
320
-
-**Virtual Network** - Specify the ID of the Azure Virtual Network that the VM should be migrated to by using the [`TargetNetworkId`] parameter.
321
-
-**Resource Group** - Specify the ID of the resource group that the VM should be migrated to by providing the resource group ID using the [`TargetResourceGroupId`] parameter.
322
-
-**Network Interface** - NIC configuration can be specified using the [New-AzMigrateNicMapping](/powershell/module/az.migrate/new-azmigratenicmapping) cmdlet. The object is then passed an input to the [`NicToUpdate`] parameter in the [Set-AzMigrateServerReplication](/powershell/module/az.migrate/set-azmigrateserverreplication) cmdlet.
323
333
324
-
-**Change IP allocation** -To specify a static IP for a NIC, provide the IPv4 address to be used as static IP for the VM using the [`TargetNicIP`] parameter. To dynamically assign an IP for a NIC, provide `auto` as the value for the **TargetNicIP** parameter.
325
-
- Use values `Primary`, `Secondary` or `DoNotCreate` for [`TargetNicSelectionType`] parameter to specify whether the NIC should be primary, secondary, or is not to be created on the migrated VM. Only one NIC can be specified as the primary NIC for the VM.
326
-
- To make a NIC primary, you'll also need to specify the other NICs that should be made secondary or are not to be created on the migrated VM.
327
-
- To change the subnet for the NIC, specify the name of the subnet by using the [`TargetNicSubnet`] parameter.
334
+
**Parameter** | **Type** | **Description**
335
+
--- | --- | ---
336
+
VM Name | Optional | Specify the name of the Azure VM to be created by using the [`TargetVMName`] parameter.
337
+
VM size | Optional | Specify the Azure VM size to be used for the replicating VM by using [`TargetVMSize`] parameter. For instance, to migrate a VM to D2_v2 VM in Azure, specify the value for [`TargetVMSize`] as `Standard_D2_v2`.
338
+
Virtual Network | Optional | Specify the ID of the Azure Virtual Network that the VM should be migrated to by using the [`TargetNetworkId`] parameter.
339
+
Resource Group | Optional | IC configuration can be specified using the [New-AzMigrateNicMapping](/powershell/module/az.migrate/new-azmigratenicmapping) cmdlet. The object is then passed an input to the [`NicToUpdate`] parameter in the [Set-AzMigrateServerReplication](/powershell/module/az.migrate/set-azmigrateserverreplication) cmdlet. <br/><br/> - **Change IP allocation** - To specify a static IP for a NIC, provide the IPv4 address to be used as static IP for the VM using the [`TargetNicIP`] parameter. To dynamically assign an IP for a NIC, provide `auto` as the value for the **TargetNicIP** parameter. <br/> - Use values `Primary`, `Secondary` or `DoNotCreate` for [`TargetNicSelectionType`] parameter to specify whether the NIC should be primary, secondary, or is not to be created on the migrated VM. Only one NIC can be specified as the primary NIC for the VM. <br/> - To make a NIC primary, you'll also need to specify the other NICs that should be made secondary or are not to be created on the migrated VM. <br/> - To change the subnet for the NIC, specify the name of the subnet by using the [`TargetNicSubnet`] parameter.
340
+
Network Interface | Optional | Specify the name of the Azure VM to be created by using the [`TargetVMName`] parameter.
341
+
Availability Zone | Optional | To use availability zones, specify the availability zone value for [`TargetAvailabilityZone`] parameter.
342
+
Availability Set | Optional | To use availability set, specify the availability set ID for [`TargetAvailabilitySet`] parameter.
328
343
329
-
-**Availability Zone** - To use availability zones, specify the availability zone value for [`TargetAvailabilityZone`] parameter.
330
-
-**Availability Set** - To use availability set, specify the availability set ID for [`TargetAvailabilitySet`] parameter.
331
344
332
345
The [Get-AzMigrateServerReplication](/powershell/module/az.migrate/get-azmigrateserverreplication) cmdlet returns a job which can be tracked for monitoring the status of the operation.
333
346
334
347
```azurepowershell-interactive
335
348
# List replicating VMs and filter the result for selecting a replicating VM. This cmdlet will not return all properties of the replicating VM.
0 commit comments