Skip to content

Commit 5c6d22a

Browse files
authored
Merge pull request #104065 from mimckitt/patch-10
Update migration-classic-resource-manager-ps.md
2 parents 1e0fdc8 + 0b295ff commit 5c6d22a

File tree

2 files changed

+17
-21
lines changed

2 files changed

+17
-21
lines changed

articles/storsimple/storsimple-8000-migrate-classic-azure-portal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ You may need to move your StorSimple service to a new enrollment or to a new sub
3131
|Can I transfer ownership of an Azure subscription to another directory? | Yes | No | Associate an existing subscription to your Azure AD directory | Refer [To associate an existing subscription to your Azure AD directory](../active-directory/fundamentals/active-directory-how-subscriptions-associated-directory.md). It might take up to 10 minutes for everything to show up properly.|
3232
| StorSimple device from one StorSimple Device Manager service to another service in a different region? | No | Yes | None, manual process |Same as above.|
3333
| Storage account to a new subscription or resource group? | Yes | No |Move storage account to different subscription or resource group |After the move, if the storage account access keys are updated, the user will need to configure the access keys manually for the migrated storage account through the StorSimple Device Manager service.|
34-
| Classic storage account to an Azure Resource Manager storage account | Yes | No |Migrate from classic to Azure Resource Manager |<li>For detailed instructions on how to migrate a storage account from classic to Azure Resource Manager, go to [Migrate a classic storage account](../virtual-machines/windows/migration-classic-resource-manager-ps.md#step-62-migrate-a-storage-account).</li><li> If the storage account access keys are updated after migration, the user will need to synchronize the access keys for the migrated storage account through the StorSimple Device Manager service. This is to ensure the StorSimple devices continue to function normally and are able to tier primary/backup data to Azure. For detailed instructions on synchronizing access keys, go to [Rotation workflow](storsimple-8000-manage-storage-accounts.md#key-rotation-of-storage-accounts).</li><li> In the case of a StorSimple Cloud Appliance, if the classic storage account is migrated but the underlying virtual machine still stays in classic, the appliance should function properly. If the underlying virtual machine for the cloud appliance is migrated, then the deactivate and delete functionality will not work.</li><li> You must create a new StorSimple Cloud Appliances in the Azure portal and then fail over from the older cloud appliances. You cannot create a StorSimple Cloud Appliance in the new Azure portal using a classic storage account, they need to have an Azure Resource Manager storage account. For more information, go to [Deploy and manage a StorSimple Cloud Appliance](storsimple-8000-cloud-appliance-u2.md).</li>|
34+
| Classic storage account to an Azure Resource Manager storage account | Yes | No |Migrate from classic to Azure Resource Manager |<li>For detailed instructions on how to migrate a storage account from classic to Azure Resource Manager, go to [Migrate a classic storage account](../virtual-machines/windows/migration-classic-resource-manager-ps.md#step-52-migrate-a-storage-account).</li><li> If the storage account access keys are updated after migration, the user will need to synchronize the access keys for the migrated storage account through the StorSimple Device Manager service. This is to ensure the StorSimple devices continue to function normally and are able to tier primary/backup data to Azure. For detailed instructions on synchronizing access keys, go to [Rotation workflow](storsimple-8000-manage-storage-accounts.md#key-rotation-of-storage-accounts).</li><li> In the case of a StorSimple Cloud Appliance, if the classic storage account is migrated but the underlying virtual machine still stays in classic, the appliance should function properly. If the underlying virtual machine for the cloud appliance is migrated, then the deactivate and delete functionality will not work.</li><li> You must create a new StorSimple Cloud Appliances in the Azure portal and then fail over from the older cloud appliances. You cannot create a StorSimple Cloud Appliance in the new Azure portal using a classic storage account, they need to have an Azure Resource Manager storage account. For more information, go to [Deploy and manage a StorSimple Cloud Appliance](storsimple-8000-cloud-appliance-u2.md).</li>|
3535

3636
## Datacenter changes
3737

articles/virtual-machines/windows/migration-classic-resource-manager-ps.md

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
title: Migrate to Resource Manager with PowerShell
33
description: This article walks through the platform-supported migration of IaaS resources such as virtual machines (VMs), virtual networks, and storage accounts from classic to Azure Resource Manager by using Azure PowerShell commands
44
services: virtual-machines-windows
@@ -50,8 +50,6 @@ There are two main options to install Azure PowerShell: [PowerShell Gallery](htt
5050

5151
For installation instructions, see [How to install and configure Azure PowerShell](/powershell/azure/overview).
5252

53-
<br>
54-
5553
## Step 3: Ensure that you're an administrator for the subscription
5654
To perform this migration, you must be added as a coadministrator for the subscription in the [Azure portal](https://portal.azure.com).
5755

@@ -101,6 +99,14 @@ Wait five minutes for the registration to finish. Check the status of the approv
10199

102100
Make sure that RegistrationState is `Registered` before you proceed.
103101

102+
Before switching to the classic deployment model, make sure that you have enough Azure Resource Manager virtual machine vCPUs in the Azure region of your current deployment or virtual network. You can use the following PowerShell command to check the current number of vCPUs you have in Azure Resource Manager. To learn more about vCPU quotas, see [Limits and the Azure Resource Manager](../../azure-resource-manager/management/azure-subscription-service-limits.md#managing-limits).
103+
104+
This example checks the availability in the **West US** region. Replace the example region name with your own.
105+
106+
```powershell
107+
Get-AzVMUsage -Location "West US"
108+
```
109+
104110
Now, sign in to your account for the classic deployment model.
105111

106112
```powershell
@@ -119,27 +125,17 @@ Set your Azure subscription for the current session. This example sets the defau
119125
Select-AzureSubscription –SubscriptionName "My Azure Subscription"
120126
```
121127

122-
<br>
123-
124-
## Step 5: Have enough Resource Manager VM vCPUs
125-
Make sure that you have enough Azure Resource Manager virtual machine vCPUs in the Azure region of your current deployment or virtual network. You can use the following PowerShell command to check the current number of vCPUs you have in Azure Resource Manager. To learn more about vCPU quotas, see [Limits and the Azure Resource Manager](../../azure-resource-manager/management/azure-subscription-service-limits.md#managing-limits).
126-
127-
This example checks the availability in the **West US** region. Replace the example region name with your own.
128-
129-
```powershell
130-
Get-AzVMUsage -Location "West US"
131-
```
132128

133-
## Step 6: Run commands to migrate your IaaS resources
134-
* [Migrate VMs in a cloud service (not in a virtual network)](#step-61-option-1---migrate-virtual-machines-in-a-cloud-service-not-in-a-virtual-network)
135-
* [Migrate VMs in a virtual network](#step-61-option-2---migrate-virtual-machines-in-a-virtual-network)
136-
* [Migrate a storage account](#step-62-migrate-a-storage-account)
129+
## Step 5: Run commands to migrate your IaaS resources
130+
* [Migrate VMs in a cloud service (not in a virtual network)](#step-51-option-1---migrate-virtual-machines-in-a-cloud-service-not-in-a-virtual-network)
131+
* [Migrate VMs in a virtual network](#step-51-option-2---migrate-virtual-machines-in-a-virtual-network)
132+
* [Migrate a storage account](#step-52-migrate-a-storage-account)
137133

138134
> [!NOTE]
139135
> All the operations described here are idempotent. If you have a problem other than an unsupported feature or a configuration error, we recommend that you retry the prepare, abort, or commit operation. The platform then tries the action again.
140136
141137

142-
### Step 6.1: Option 1 - Migrate virtual machines in a cloud service (not in a virtual network)
138+
### Step 5.1: Option 1 - Migrate virtual machines in a cloud service (not in a virtual network)
143139
Get the list of cloud services by using the following command. Then pick the cloud service that you want to migrate. If the VMs in the cloud service are in a virtual network or if they have web or worker roles, the command returns an error message.
144140

145141
```powershell
@@ -220,7 +216,7 @@ If the prepared configuration looks good, you can move forward and commit the re
220216
Move-AzureService -Commit -ServiceName $serviceName -DeploymentName $deploymentName
221217
```
222218

223-
### Step 6.1: Option 2 - Migrate virtual machines in a virtual network
219+
### Step 5.1: Option 2 - Migrate virtual machines in a virtual network
224220

225221
To migrate virtual machines in a virtual network, you migrate the virtual network. The virtual machines automatically migrate with the virtual network. Pick the virtual network that you want to migrate.
226222
> [!NOTE]
@@ -263,7 +259,7 @@ If the prepared configuration looks good, you can move forward and commit the re
263259
Move-AzureVirtualNetwork -Commit -VirtualNetworkName $vnetName
264260
```
265261

266-
### Step 6.2: Migrate a storage account
262+
### Step 5.2: Migrate a storage account
267263
After you're done migrating the virtual machines, perform the following prerequisite checks before you migrate the storage accounts.
268264

269265
> [!NOTE]

0 commit comments

Comments
 (0)