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
Copy file name to clipboardExpand all lines: articles/storage/elastic-san/elastic-san-configure-service-endpoints.md
+19-42Lines changed: 19 additions & 42 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -139,29 +139,23 @@ You can manage virtual network rules for volume groups through the Azure portal,
139
139
### [PowerShell](#tab/azure-powershell)
140
140
141
141
- List virtual network rules.
142
+
- Enable service endpoint for Azure Storage on an existing virtual network and subnet.
143
+
- Add a network rule for a virtual network and subnet.
144
+
145
+
> [!TIP]
146
+
> To add a network rule for a subnet in a virtual network belonging to another Microsoft Entra tenant, use a fully qualified **VirtualNetworkResourceId** parameter in the form "/subscriptions/subscription-ID/resourceGroups/resourceGroup-Name/providers/Microsoft.Network/virtualNetworks/vNet-name/subnets/subnet-name".
> To add a network rule for a subnet in a virtual network belonging to another Microsoft Entra tenant, use a fully qualified **VirtualNetworkResourceId** parameter in the form "/subscriptions/subscription-ID/resourceGroups/resourceGroup-Name/providers/Microsoft.Network/virtualNetworks/vNet-name/subnets/subnet-name".
164
-
165
159
- Remove a virtual network rule.
166
160
167
161
```azurepowershell
@@ -177,17 +171,7 @@ You can manage virtual network rules for volume groups through the Azure portal,
177
171
### [Azure CLI](#tab/azure-cli)
178
172
179
173
- List information from a particular volume group, including their virtual network rules.
180
-
181
-
```azurecli
182
-
az elastic-san volume-group show -e $sanName -g $RgName -n $volumeGroupName
183
-
```
184
-
185
174
- Enable service endpoint for Azure Storage on an existing virtual network and subnet.
- Remove a network rule. The following command removes the first network rule, modify it to remove the network rule you'd like.
193
+
194
+
If you need to, you can remove network rules. As an example, the following command removes the first network rule, modify it to remove the network rule you'd like.
# First, get the current length of the list of virtual networks. This is needed to ensure you append a new network instead of replacing existing ones.
292
269
virtualNetworkListLength = az elastic-san volume-group show -e $sanName -n $volumeGroupName -g $RgName --query 'length(networkAcls.virtualNetworkRules)'
293
270
@@ -308,7 +285,7 @@ You can manage virtual network rules for volume groups through the Azure portal,
308
285
After you have enabled the desired endpoints and granted access in your network rules, you're ready to configure your clients to connect to the appropriate Elastic SAN volumes.
309
286
310
287
> [!NOTE]
311
-
> If a connection between a virtual machine (VM) and an Elastic SAN volume is lost, the connection will retry for 90 seconds until terminating. Losing a connection to an Elastic SAN volume won't cause the VM to restart.
288
+
> If a connection between a virtual machine (VM) and an Elastic SAN volume is lost, the connection retries for 90 seconds until terminating. Losing a connection to an Elastic SAN volume won't cause the VM to restart.
Copy file name to clipboardExpand all lines: articles/storage/elastic-san/elastic-san-connect-windows.md
+4-7Lines changed: 4 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,17 +70,12 @@ Use the following script to create your connections. To execute it, collect or d
70
70
and other volume names that you might require
71
71
- 32: Number of sessions to each volume
72
72
73
-
Copy the script from [here](https://github.com/Azure-Samples/azure-elastic-san/blob/main/PSH%20(Windows)%20Multi-Session%20Connect%20Scripts/ElasticSanDocScripts0523/connect.ps1) and save it as a .ps1 file, for example, connect.ps1. Then execute it with the required parameters. The following is an example of how to run the script:
73
+
Copy the script from [here](https://github.com/Azure-Samples/azure-elastic-san/blob/main/PSH%20(Windows)%20Multi-Session%20Connect%20Scripts/ElasticSanDocScripts0523/connect.ps1) and save it as a .ps1 file, for example, connect.ps1.
Verify the number of sessions your volume has with either `iscsicli SessionList` or `mpclaim -s -d`
80
75
81
76
### Set session number
82
77
83
-
You need to use 32 sessions to each target volume to achieve its maximum IOPS and/or throughput limits. Windows iSCSI initiator has a limit of maximum 256 sessions. If you need to connect more than 8 volumes to a Windows client, reduce the number of sessions to each volume.
78
+
Before you run the script, determine how many sessions your volume needs. To be able to reach a volume's highest IOPS and throughput capacities, you'll need 32 sessions. But, because Windows iSCSI initatior has a maximum of 256 sessions, you may need to use less than 32 sessions if you're connecting more than eight volumes to a Windows client.
84
79
85
80
> [!NOTE]
86
81
> Use the `-NumSession` parameter to set the number of sessions. The parameter accepts values from 1 to 32, and has a default value of 32.
@@ -100,6 +95,8 @@ You need to use 32 sessions to each target volume to achieve its maximum IOPS an
100
95
-NumSession “<value>”
101
96
```
102
97
98
+
Verify the number of sessions your volume has with either `iscsicli SessionList` or `mpclaim -s -d`
99
+
103
100
## Next steps
104
101
105
102
[Configure Elastic SAN networking](elastic-san-networking.md)
0 commit comments