rchisholm wrote: What are StarWind's recommended settings for the newest version of Xen? I know you have done recent research into it and would like to start my testing with the best known settings.
For 5.6 FP1
Goto StarWind installation folder, open
starwind.cfg file and uncomment string below:
Code: Select all
<!--<iScsiDiscoveryListInterfaces value="1"/>-->
Reboot will be required to changes applied
StarWind Servers Registry (
HKEY_LOCAL_MACHINE/System/ControlSet001/Control/Class/{4D36E97B-E325-11CE-BFC1-08002BE10318}/0000/Parameters):
MaxBurstLength - 0x00040000(262144)
MaxRecvDataSegmentLength 0x00040000(262144)
MaxTransferLength 0x0080000 (524288)
StarWind Management console:
Max Burst Length 262144
Max Receive Data Segment Length 1048576
->Restart
Xen servers which will be using HA:
put the server in maintenance mode and enable the Multipathing->Exit the maintenance mode
edit etc/iscsi/iscsid.conf ->
maxburstlength - 262144
maxreceivedatasegment - 131072
Added node.con[0].tcp.window_size = 262144
edit etc/multipath.conf - add these lines into the uncommented defaults section:
user_friendly_names no
polling_interval 10
path_grouping_policy group_by_prio
After the files have been edited-> service open-iscsi restart
In order to connect the targets:
1. iscsiadm -m discovery -t st -p
SAN1IP:3260
2. iscsiadm -m discovery -t st -p
SAN2IP:3260
3. iscsiadm -m node -T
SAN1 target IQN -p
SAN1IP:3260 -l
4. iscsiadm -m node -T
SAN2 target IQN -p
SAN2IP:3260 -l
after this go to the etc/iscsi/nodes/SAN#-IQN/SAN# IP/ -> in the default edit the login and startup sequences, lower the tcp.window.size to 262144 and save the changes (this must be performed for both targets logged on)
When done - service open-iscsi restart
Now add the SR using the GUI like a regular iSCSI SR (specify SAN# IP and the appropriate target)
The SR will be visible as multipathed.♠