Skip to content

Commit a8bc379

Browse files
adarshv98roygara
andauthored
Apply suggestions from code review
Co-authored-by: rogara <[email protected]>
1 parent bf6e9d1 commit a8bc379

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

articles/storage/elastic-san/elastic-san-create.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ This article explains how to deploy and configure an elastic storage area networ
4343

4444
# [PowerShell](#tab/azure-powershell)
4545

46-
Use one of these sets of sample code to create an Elastic SAN that uses locally redundant storage or zone-redundant storage. There is also a sample that you can use to create an Elastic SAN that has autoscaling enabled. Replace all placeholder text with your own values and use the same variables in all of the examples in this article:
46+
Use one of these sets of sample code to create an Elastic SAN that uses locally redundant storage or zone-redundant storage. One set creates an elastic SAN with [autoscaling](elastic-san-planning.md#autoscaling-preview) (preview) enabled, and the other creates an elastic SAN with [autoscaling](elastic-san-planning.md#autoscaling-preview) disabled. Replace all placeholder text with your own values and use the same variables in all of the examples in this article:
4747

4848
| Placeholder | Description |
4949
|----------------------------------|-------------|
@@ -54,9 +54,9 @@ Use one of these sets of sample code to create an Elastic SAN that uses locally
5454
| `<Location>` | The region where the new resources will be created. |
5555
| `<Zone>` | The availability zone where the Elastic SAN will be created.<br> *Specify the same availability zone as the zone that will host your workload.*<br>*Use only if the Elastic SAN will use locally redundant storage.*<br> *Must be a zone supported in the target location such as `1`, `2`, or `3`.* |
5656
| `<AutoScalePolicyEnforcement>` | The setting that determines whether or not autoscaling is enabled for the Elastic SAN. <br>*This value is optional but if passed in, must be 'Enabled' or 'Disabled'* |
57-
| `<UnusedSizeTiB>` | The unused size that you want to have on your Elastic SAN. If you use more space than this amount, the scale-up operation gets triggered. This is a required to set up autoscaling. |
58-
|`<IncreaseCapacityUnitByTiB>` | The number of capacity-only units you want to scale up by when autoscale gets triggered. |
59-
|`<CapacityUnitScaleUpLimit>` | The maximum size you want autoscaling to grow your SAN to. |
57+
| `<UnusedSizeTiB>` | The capacity (in TiB) on your Elastic SAN that you want to keep free and unused. If you use more space than this amount, the scale-up operation is automatically triggered, increasing the size of your SAN. This parameter is optional, but it is required to enable autoscaling. |
58+
|`<IncreaseCapacityUnitByTiB>` | This parameter sets the TiB of additional capacity units that your SAN scales up by when autoscale gets triggered. This parameter is optional but required to enable autoscaling. |
59+
|`<CapacityUnitScaleUpLimit>` | This parameter sets the maximum capacity (size) that your SAN can grow to using autoscaling. Your SAN won't automatically scale past this size. |
6060

6161
The following command creates an Elastic SAN that uses locally redundant storage without autoscaling enabled.
6262

@@ -86,7 +86,7 @@ $EsanVgName = "<ElasticSanVolumeGroupName>"
8686
$VolumeName = "<VolumeName>"
8787
$Location = "<Location>"
8888
$Zone = <Zone>
89-
$AutoScalePolicyEnforcement = "<AutoScalePolicyEnforcement>"
89+
$AutoScalePolicyEnforcement = "Enabled"
9090
$UnusedSizeTiB = <UnusedSizeTiB>
9191
$IncreaseCapacityUnitByTiB = <IncreaseCapacityUnitByTiB>
9292
$CapacityUnitScaleUpLimit = <CapacityUnitScaleUpLimit>
@@ -98,7 +98,7 @@ Connect-AzAccount
9898
New-AzElasticSAN -ResourceGroupName $RgName -Name $EsanName -AvailabilityZone $Zone -Location $Location -BaseSizeTib 100 -ExtendedCapacitySizeTiB 20 -SkuName Premium_LRS -AutoScalePolicyEnforcement $AutoScalePolicyEnforcement -UnusedSizeTiB $UnusedSizeTiB -IncreaseCapacityUnitByTiB $IncreaseCapacityUnitByTiB -CapacityUnitScaleUpLimit $CapacityUnitScaleUpLimit
9999
```
100100

101-
The following command creates an Elastic SAN that uses **zone-redundant** storage.
101+
The following command creates an Elastic SAN that uses zone-redundant storage, without enabling autoscale.
102102

103103
```azurepowershell
104104
# Define some variables.
@@ -114,7 +114,7 @@ New-AzElasticSAN -ResourceGroupName $RgName -Name $EsanName -Location $Location
114114

115115
# [Azure CLI](#tab/azure-cli)
116116

117-
Use one of these sets of sample code to create an Elastic SAN that uses locally redundant storage or zone-redundant storage. There is also a sample that you can use to create an Elastic SAN that has autoscaling enabled. Replace all placeholder text with your own values and use the same variables in all of the examples in this article:
117+
Use one of these sets of sample code to create an Elastic SAN that uses locally redundant storage or zone-redundant storage. One set creates an elastic SAN with [autoscaling](elastic-san-planning.md#autoscaling-preview) (preview) enabled, and the other creates an elastic SAN with [autoscaling](elastic-san-planning.md#autoscaling-preview) disabled. Replace all placeholder text with your own values and use the same variables in all of the examples in this article:
118118

119119
| Placeholder | Description |
120120
|----------------------------------|-------------|
@@ -125,12 +125,12 @@ Use one of these sets of sample code to create an Elastic SAN that uses locally
125125
| `<Location>` | The region where the new resources will be created. |
126126
| `<Zone>` | The availability zone where the Elastic SAN will be created.<br> *Specify the same availability zone as the zone that will host your workload.*<br>*Use only if the Elastic SAN uses locally redundant storage.*<br> *Must be a zone supported in the target location such as `1`, `2`, or `3`.* |
127127
| `<AutoScalePolicyEnforcement>` | The setting that determines whether or not autoscaling is enabled for the Elastic SAN. <br>*This value is optional but if passed in, must be 'Enabled' or 'Disabled'* |
128-
| `<UnusedSizeTiB>` | The unused size that you want to have on your Elastic SAN. If you use more space than this amount, the scale-up operation gets triggered. This is a required to set up autoscaling. |
129-
|`<IncreaseCapacityUnitByTiB>` | The number of capacity-only units you want to scale up by when autoscale gets triggered. |
130-
|`<CapacityUnitScaleUpLimit>` | The maximum size you want autoscaling to grow your SAN to. |
128+
| `<UnusedSizeTiB>` | The capacity (in TiB) on your Elastic SAN that you want to keep free and unused. If you use more space than this amount, the scale-up operation is automatically triggered, increasing the size of your SAN. This parameter is optional, but it is required to enable autoscaling. |
129+
|`<IncreaseCapacityUnitByTiB>` | This parameter sets the TiB of additional capacity units that your SAN scales up by when autoscale gets triggered. This parameter is optional but required to enable autoscaling. |
130+
|`<CapacityUnitScaleUpLimit>` | This parameter sets the maximum capacity (size) that your SAN can grow to using autoscaling. Your SAN won't automatically scale past this size. |
131131

132132

133-
The following command creates an Elastic SAN that uses **locally redundant** storage without autoscaling enabled.
133+
The following command creates an Elastic SAN that uses locally redundant storage without autoscaling enabled.
134134

135135
```azurecli
136136
# Define some variables.
@@ -148,7 +148,7 @@ az login
148148
az elastic-san create -n $EsanName -g $RgName -l $Location --base-size-tib 100 --extended-capacity-size-tib 20 --sku "{name:Premium_LRS,tier:Premium}" --availability-zones $Zone
149149
```
150150

151-
The following command creates an Elastic SAN that uses **locally redundant** storage **with** autoscaling enabled.
151+
The following command creates an Elastic SAN that uses locally redundant storage with autoscaling enabled.
152152

153153
```azurecli
154154
# Define some variables.
@@ -158,7 +158,7 @@ EsanVgName="<ElasticSanVolumeGroupName>"
158158
VolumeName="<VolumeName>"
159159
Location="<Location>"
160160
Zone=<Zone>
161-
AutoScalePolicyEnforcement="<AutoScalePolicyEnforcement>"
161+
AutoScalePolicyEnforcement="Enabled"
162162
UnusedSizeTiB="<UnusedSizeTiB>"
163163
IncreaseCapacityUnitByTiB="<IncreaseCapacityUnitByTiB>"
164164
CapacityUnitScaleUpLimit="<CapacityUnitScaleUpLimit>"
@@ -170,7 +170,7 @@ az login
170170
az elastic-san create -n $EsanName -g $RgName -l $Location --base-size-tib 100 --extended-capacity-size-tib 20 --sku "{name:Premium_LRS,tier:Premium}" --availability-zones $Zone --auto-scale-policy-enforcement $AutoScalePolicyEnforcement --unused-size-tib $UnusedSizeTiB --increase-capacity-unit-by-tib $IncreaseCapacityUnitByTiB --capacity-unit-scale-up-limit $CapacityUnitScaleUpLimitTiB
171171
```
172172

173-
The following command creates an Elastic SAN that uses **zone-redundant** storage.
173+
The following command creates an Elastic SAN that uses zone-redundant storage, with autoscaling disabled.
174174

175175
```azurecli
176176
# Define some variables.

articles/storage/elastic-san/elastic-san-expand.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ az elastic-san update -e $sanName -g $resourceGroupName --base-size-tib $newBase
4040

4141
## Autoscale (preview)
4242

43-
You can set up a policy to automatically scale up your SAN by specific increments until a specified maximum size. The capacity increments have a minimum of 1 TiB, and you can only set up an autoscale policy for capacity-only units. This means that your performance won't scale up with your storage. A sample autoscale policy would look like this:
43+
As a preview feature, you can choose to automatically scale up your SAN by specific increments until a specified maximum size. The capacity increments have a minimum of 1 TiB, and you can only set up an autoscale policy for additional capacity units. So when autoscaling, your performance won't automatically scale up as your storage does. A sample autoscale policy would look like this:
4444

4545
If spare capacity (unused capacity) is less than X TiB of space, increase capacity by Y TiB, up to a maximum of Z TiB.
4646

4747
Here, X is the amount of storage capacity you require to be unused. Y is the increment by which you're increasing the capacity of the SAN, with a minimum increment requirement of 1 TiB. Z is the maximum capacity up to which you want the SAN to scale up via autoscale. For example, if you have a SAN of 100 TiB and you want to scale up your storage in 5 TiB increments, you can set up a policy that says whenever the unused capacity is less than or equal to 20 TiB of space, increase capacity by 5 TiB up to a maximum of 150 TiB. The policy triggers when you have less than X TiB of unused space on your SAN. Space is consumed at the SAN level via provisioning volumes and taking snapshots. Therefore, if your usage exceeds the required value of unused space at the SAN level, the policy triggers and the SAN size increases by Y TiB.
4848

49-
If you want to scale down your SAN, you need to do it manually by following the process outlined earlier. If you have configured an autoscaling policy and the amount in TiB by which you are scaling down the SAN is greater than the value of the unused capacity field set in the policy, the request fails and you'll have to edit or disable your policy to complete this action. For example, if you have a SAN of size 6 TiB and a policy that states that the unused capacity should be 2 TiB, you can't reduce the total size of the SAN by 4 TiB because it would leave less than 2 TiB of unused capacity.
49+
A SAN can't automatically scale down. To reduce the size of your SAN, follow the manual process in the previous section. If you have configured an autoscaling policy and the amount in TiB by which you are scaling down the SAN is greater than the value of the unused capacity field set in the policy, the request fails and you'll have to edit or disable your policy to complete this action. For example, if you have a SAN of size 6 TiB and a policy that states that the unused capacity should be 2 TiB, you can't reduce the total size of the SAN by 4 TiB because it would leave less than 2 TiB of unused capacity.
5050

5151

5252

0 commit comments

Comments
 (0)