Skip to content

Commit e1e67c4

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/azure-docs-pr into fixName
2 parents 3ff420c + df0b6f8 commit e1e67c4

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

articles/storage/elastic-san/elastic-san-connect-linux.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,28 @@ You can verify the number of sessions using `sudo multipath -ll`
8585
#### Number of sessions
8686
You need to use 32 sessions to each target volume to achieve its maximum IOPS and/or throughput limits.
8787

88+
You can customize the session count by following the instructions below:
89+
90+
The script accepts the `--num-of-sessions` argument, allowing you to define the number of sessions per volume.
91+
92+
```bash
93+
python3 connect_for_documentation.py \
94+
95+
--subscription <your-subscription-id>\
96+
97+
-g <resource-group>\
98+
99+
-e <elastic-san-name>\
100+
101+
-v <volume-group-name>\
102+
103+
-n volume1 volume2 \
104+
105+
-s <value>
106+
```
107+
108+
**Note!** Valid values for `-n` range from 1 to 32. If not specified, the default of 32 sessions is used.
109+
88110
## Next steps
89111

90112
[Configure Elastic SAN networking](elastic-san-networking.md)

articles/storage/elastic-san/elastic-san-connect-windows.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,24 @@ Verify the number of sessions your volume has with either `iscsicli SessionList`
8484
#### Number of sessions
8585
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.
8686

87+
You can customize the number of sessions by using the optional `-NumSession parameter` when running the `connect.ps1` script.
88+
89+
```bash
90+
.\connect.ps1 `
91+
92+
-ResourceGroupName "<resource-group>" `
93+
94+
-ElasticSanName "<esan-name>" `
95+
96+
-VolumeGroupName "<volume-group>" `
97+
98+
-VolumeName "<volume1>", "<volume2>" `
99+
100+
-NumSession “<value>
101+
```
102+
103+
**Note!** The `-NumSession` parameter accepts values from 1 to 32. If the parameter isn't specified, the default of 32 is used.
104+
87105
## Next steps
88106
89107
[Configure Elastic SAN networking](elastic-san-networking.md)

0 commit comments

Comments
 (0)