Skip to content

Commit 01f4768

Browse files
committed
Modify powershell commands into azcli
1 parent 8517eb9 commit 01f4768

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

articles/storage/container-storage/enable-multi-zone-redundancy.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ az provider register --namespace Microsoft.ElasticSan
2828
```
2929
- When ZRS is newly enabled in a region, you might need to register a subscription-level feature flag so Azure Container Storage can deploy SAN targets:
3030
```azurecli
31-
Register-AzProviderFeature -FeatureName EnableElasticSANTargetDeployment -ProviderNamespace Microsoft.ElasticSan
31+
az feature register \
32+
--namespace Microsoft.ElasticSan \
33+
--name EnableElasticSANTargetDeployment
3234
```
3335
- Verify that the region supports your chosen redundancy option. See the current [Elastic SAN region availability](../elastic-san/elastic-san-create.md#).
3436

articles/storage/container-storage/use-container-storage-with-elastic-san.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,16 @@ Azure Elastic SAN is a managed, shared block-storage service that provides a cen
2828
[!INCLUDE [container-storage-prerequisites](../../../includes/container-storage-prerequisites.md)]
2929
- [Review the installation instructions](install-container-storage-aks.md) and ensure Azure Container Storage is properly installed.
3030
- If you use Elastic SAN for the first time in the subscription, run this one-time registration command:
31-
3231
```azurecli-interactive
3332
az provider register --namespace Microsoft.ElasticSan
3433
```
3534
- Assign the **Azure Container Storage Operator** role to the `*-agentpool` managed identity in the AKS node resource group. In the Azure portal, open the node resource group (for example, *MC_myResourceGroup_myAKSCluster_eastus*), go to **Access Control (IAM) > Add > Add role assignment**, select **Azure Container Storage Operator**, and assign it to the managed identity created by the cluster (typically named *myAKSCluster-agentpool*).
35+
- When [ZRS is newly enabled](enable-multi-zone-redundancy.md) in a region, you might need to register a subscription-level feature flag so Azure Container Storage can deploy SAN targets:
36+
```azurecli
37+
az feature register \
38+
--namespace Microsoft.ElasticSan \
39+
--name EnableElasticSANTargetDeployment
40+
```
3641

3742
## Limitations
3843

0 commit comments

Comments
 (0)