Skip to content

Commit 12b7d64

Browse files
authored
Azure CLI example after service level change (PM: Tim D) -
External PR Tim submitted: #106210.
1 parent 458f9ed commit 12b7d64

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

articles/azure-vmware/attach-azure-netapp-files-to-azure-vmware-solution-hosts.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -166,16 +166,18 @@ To attach an Azure NetApp Files volume to your private cloud using Azure CLI, fo
166166

167167
## Service level change for Azure NetApp Files datastore
168168

169-
Based on the performance requirements of the datastore, you can change the service level of the Azure NetApp Files volume used for the datastore by following the instructions to [dynamically change the service level of a volume for Azure NetApp Files](../azure-netapp-files/dynamic-change-volume-service-level.md)
170-
This has no impact to the Datastore or private cloud as there is no downtime involved and the IP address/mount path remain unchanged. However, the volume Resource ID will be changed due to the capacity pool change. Therefore to avoid any metadata mismatch re-issue the datastore create command via Azure CLI as follows: `az vmware datastore netapp-volume create`.
169+
Based on the performance requirements of the datastore, you can change the service level of the Azure NetApp Files volume used for the datastore by following the instructions to [dynamically change the service level of a volume for Azure NetApp Files](../azure-netapp-files/dynamic-change-volume-service-level.md).
170+
Changing the service level has no impact on the datastore or private cloud. There is no downtime and the volume's IP address/mount path remain unchanged. However, the volume's resource ID will change as a result of the capacity pool change. To correct any metadata mismatch, re-run the datastore creation in Azure CLI for the existing datastore with the new Resource ID for the Azure NetApp Files volume:
171+
```azurecli
172+
az vmware datastore netapp-volume create \
173+
--name <name of existing datastore> \
174+
--resource-group <resource group containing AVS private cloud> \
175+
--cluster <cluster name in AVS private cloud> \
176+
--private-cloud <name of AVS private cloud> \
177+
--volume-id /subscriptions/<subscription ID>/resourceGroups/<resource group>/providers/Microsoft.NetApp/netAppAccounts/<NetApp account>/capacityPools/<changed capacity pool>/volumes/<volume name>
178+
```
171179
>[!IMPORTANT]
172-
> The input values for **cluster** name, datastore **name**, **private-cloud** (SDDC) name, and **resource-group** must be **exactly the same as the current one**, and the **volume-id** is the new Resource ID of the volume.
173-
174-
-**cluster**
175-
-**name**
176-
-**private-cloud**
177-
-**resource-group**
178-
-**volume-id**
180+
> The parameters for datastore **name**, **resource-group**, **cluster**, and **private-cloud** (SDDC) must be **exactly the same as those on the existing datastore in the private cloud**. The **volume-id** is the updated Resource ID of the Azure NetApp Files volume after the service level change.
179181
180182
## Disconnect an Azure NetApp Files-based datastore from your private cloud
181183

0 commit comments

Comments
 (0)