V Switch With Ms SQL App 007 02
V Switch With Ms SQL App 007 02
Important Notice
The configurations described or tested in this application note are not the only available solution. The
application note is not intended nor may it be construed as an endorsement of any product(s) tested.
This application note provides not warranty of any kind. SANRAD limited warranties for SANRAD
products are stated in separate documentation accompanying each product. No damages or remedy
of any kind shall be recoverable by any party for any claim or loss in any way arising or alleged to
arise from or as a result of this application note, whether considered alone or in addition to any other
claim.
General Recommendations:
In an iSCSI environment each component can contribute to improved capacity,
availability and performance.
T H E S T O R A G E S I D E (D I S K A R R A Y ):
The user needs to decide between an iSCSI Microsoft software initiator and iSCSI
HBA hardware. The advantage of the iSCSI HBA is the TCP/IP offload engine within
the HBA for TCP checksum calculations takes the load off the server CPU. If CPU
utilization is above 40% without the use of iSCSI, it is recommended to use an HBA
to avoid server CPU saturation when iSCSI is used. However, the Microsoft initiator
is a free download whereas an iSCSI HBA is hardware that must be purchased.
It is highly recommended to configure one volume for the database file and a
separate volume for the transaction log. In some cases it is also recommended to put
the tempdb on its own volume. For more details please consult the MS SQL
administration guide available online.
Note: While the IO subsystems will impact the MS SQL performance it is equally
important to emphasize the important of an efficient and well design database which
can improve MS SQL performance dramatically.
T H E V-S W I T C H S I D E :
For better performance it is recommended to dedicate port ETH2 or ETH3 (V-Switch
3000 only) on the V-Switch for the database and transaction log volumes. Refer to
the V-Switch User Manual for more details.
Design Options
SANRAD MS SQL solution allows for flexibility with the MS SQL system design. The
designs depend on many factors but the most influential are capacity, availability,
RAID performance and cost. This paper focuses on four design options:
• Design 1 – Better RAID performance, medium availability, less capacity
and low to medium costs
• Design 2 – Medium RAID performance, medium availability, more
capacity and low costs
• Design 3 – Better RAID performance, high availability, more capacity
and medium costs
• Design 4 – medium RAID performance, very high availability, a less
capacity and medium to high costs
MS SQL Server
RAID 0+1
3U
MS SQL Server
RAID 5
3U
MS SQL Server
2 Mirrored volumes:
1 for database & V-Switch 3000
1 for log
RAID 0
3U
MS SQL Server
2 Mirrored volumes:
1 for database &
V-Switch 3000
1 for log
RAID 5
3U
Table 2:
Model IBM eServer X225
Processor 2 X 2.8 GHz Intel Pentium 4
Memory 2.5 GB
Network Card Broadcom NetXtreme Gigabit Ethernet
FC HBA Qlogic 2200
Internal SCSI Controller LSI Logic Ultra 320
Operation System Windows 2003 Enterprise + hotfixes (up to 1/10/04)
Microsoft Initiator V1.06
iSCSI Initiator
Application Microsoft SQL 2000 with SP 3a
V-Switch Setup –
Table 3:
Model V-Switch 3000
Firmware Version 2.2.7
StoragePro Version 2.2.7
Storage Connection Type Fiber Channel (FC)
Table 4:
Make RaidSys (Infotrend)
Model 9300 A16F (FC)
Controller Cache Memory 1 GB
Disks 250 GB SATA
Raid Capability 0, 0+1, 1, 5, 50, JBOD
Firmware 3.41B.02
2400
1600
IO Per Sec
IOPs FC-SAN
IOPs Sanrad V-
800 Switch
0
100 200 300 400 500
Number of connections
0
100 200 300 400 500
Number of connections
120
SQL Server Avg Latch (ms)
100
SQL Server Avg Latch
80 in ms FC-SAN
60
SQL Server Avg Latch
40 in ms Sanrad V-
Switch
20
0
100 200 300 400 500
Number of connections