共用方式為


SAS Controller Testing Prerequisites

This section describes the tasks that you must complete before you test an SAS controller by using the Windows Hardware Certification Kit (Windows HCK):

  • Review the hardware requirements.

  • Review the software requirements.

  • Configure the test computer.

Hardware Requirements

The following hardware is required for testing an SAS controller. You might need additional hardware if the test device offers other features. To determine whether additional hardware requirements apply, see the test description for each test displayed for the device in Windows HCK Studio.

Note  

With the exception of the test computer and test controller, all hardware that is involved in the test must already have a logo.

 

  • One test computer. The test computer must meet the Windows HCK requirements as described in Windows HCK Prerequisites. Additionally, the computer must meet the following operating system-specific requirements.

    • For testing on Windows 8, Windows 7, Windows Vista or Windows XP:

      • One dual-core or equivalent processor

      • 4 GB of memory

    • For testing on Windows Server® 2012, Windows Server 2008 R2, Windows Server 2008, or Windows Server 2003:

      • One quad-core or equivalent processor

      • 6 GB of memory

  • Two identical SAS controllers (the test devices), unless the test device is an integrated controller.

  • One PCI-to-PCI bridge adapter, unless any of the following conditions apply:

    • The RAID controllers cannot fit into PCI bridge adapters. This may occur if the controllers are integrated controllers or if the controllers can only fit into specially designed slots.

    • The RAID controller is designed and sold only for systems that cannot accept full height PCI-to-PCI bridge adapters, such as blade servers.

    • You can put one of the RAID controllers into a PCI bus slot that is already behind a PCI bridge.

  • If the test device is an add-in SAS RAID controller, one of the following items:

    • Two SAS JBODs. One JBOD must have at least three hard disk drives. The other JBOD must have six hard drives.

    • One SAS JBOD that includes at least six hard disk drives and three SAS hard disk drives.

    • One SAS JBOD that includes at least three hard disk drives and six SATA hard disk drives.

    • Three SAS hard disk drives and six SATA hard disk drives.

    • One SAS JBOD that has at least six hard disk drives

    • Six SAS hard disk drives

  • If the SCSI controller does not support RAID, all of the following items are required:

    • One SAS hard disk drive that is at least 40 GB

    • One SATA hard disk drive that is at least 40 GB

    • Two SAS edge expanders

    • One SAS fanout expander

  • One bootable controller and hard disk drive that has at least 36 GB if the test device does not support boot.

Note  

To certify your product for use on servers, the test computer must support four processors and a minimum of 1 GB of RAM. These system capabilities are required to test the Rebalance, D3 State, and Multiple Processor Group functionality of the device and driver. You do not need a computer that actually has more than 64 processors to test your device. Additionally, the server system(s) being used for device or driver testing must have Server Core installed prior to testing. For more information see Windows Server Installation Options.

If you use a pool of test computers to test devices, at least one computer in the pool must contain four processors and a minimum of 1 GB of RAM. Additionally, that computer must contain the device and the driver that you want to test. If the driver is the same on all the computers in the pool, the system creates a schedule to run against all test computers.

For tests that do not include a driver to test, such as hard disk drive tests, the Windows HCK scheduler constrains the tests that validate the device’s and driver’s rebalance, D3 state, and multiple processor groups functionality to run on the default test computer. You must manually configure this computer to have multiple processor groups. The default computer is the first test computer in the list. Test personnel must make sure that the first test computer in the list meets the minimum hardware requirements.

 

Note  

Except for para-virtualization drivers (as defined by Logo Program Requirement Policy-0020), you may not use any form of virtualization when you test physical devices and their associated drivers for server certification or signature. All virtualization products do not support the underlying functionality that is required to pass the tests that relate to multiple processor groups, device power management, device PCI functionality, and other tests.

 

Software Requirements

The following software is required for testing a SAS controller:

  • The drivers for the test device.

  • The latest Windows HCK filters or updates.

  • Windows symbol files. These are available from the Symbol Files website.

  • The current release of the Windows Driver Kit (WDK).

Test Computer Configuration

There are three possible configurations for testing SAS controllers:

  • If the test device is an add-in controller that supports RAID, use the Add-in RAID Controller Configuration procedure.

  • If the test device is an integrated controller that supports RAID, use the Integrated RAID Controller Configuration procedure.

  • If the test device does not support RAID, use the Non-RAID Controller Configuration procedure.

Before you test an SAS controller in any of the three usage scenarios, make sure that the test computer is in the ready state. If a test requires parameters to be set before the test is run, a dialog box appears for that test. Review the specific test topic for more information.

Some Windows HCK tests require user intervention. When you run tests for a submission, it is a best practice to run the automated tests in a block separately from manual tests. This prevents a manual test from interrupting completion of an automated test.

Additionally, the automated Disk Verification test is a 72-hour test. We recommend that you run this test last or over the weekend, so that you can collect and analyze the results from other tests without waiting for this test to finish.

Warning  

When testing storage devices, we strongly recommend that you complete all Device Fundamentals tests before starting storage tests. Storage tests will reconfigure your test device, leaving the device in a state unsuitable to support Device Fundamentals tests. The following configurations provide steps to create volume on the storage test device. This is important to complete the Device Fundamental part of testing (DevFund).

 

Add-in RAID controller test configuration

To configure the test computer to test an SAS controller in an add-in RAID configuration, follow these steps:

  1. When the test computer is turned off, complete the following assembly steps:

    1. Install a boot-capable controller (not the test device) and hard disk drive, if the test devices do not support boot.

    2. Install one test controller (Controller 1).

    3. Install a PCI-to-PCI bridge, unless one of the following items is true:

      • The RAID controllers cannot fit into PCI bridge adapters. This may occur if the controllers are integrated controllers or if the controllers can only fit into specially designed slots.

      • The RAID controller is designed and sold only for systems that cannot accept full height PCI-to-PCI bridge adapters, such as blade servers.

      • You can put one of the RAID controllers into a PCI bus slot that is already behind a PCI bridge.

    4. Install a second, duplicate test controller (Controller 2) in the PCI-to-PCI bridge card (or in the PCI bridge if the bridge card is not required).

    5. Attach the disks to the test devices according to the following table:

      Controller type Controller 1 Controller 2

      SAS RAID

      One SAS JBOD or three SAS hard disk drives

      One SAS JBOD or six SATA hard disk drives that are connected by a fanout expander in between two edge expanders

       

    6. Attach an optical drive to the system, if one is not already attached.

  2. Turn on the test system.

  3. Set the system BIOS to support the S3 state.

  4. Create one 60-GB RAID array on Controller 1 and two 60-GB RAID arrays on Controller 2.

  5. Configure the RAID arrays according to the following table:

    RAID levels that the test device supports RAID level for RAID Array 1 RAID level for RAID Array 2 RAID level for RAID Array 3

    0 only

    0

    0

    0

    1 only

    1

    1

    1

    5 only

    5

    5

    5

    0 and 1 only

    1

    9

    0

    0 and 5 only

    5

    9

    0

    1 and 5 only

    5

    1

    1

    0, 1, and 10

    10

    1

    0

    0, 1, and 5

    5

    1

    0

    0, 1, 10, and 5

    5

    10

    0

     

  6. Install the appropriate Windows operating system on disk 1 (using a newly created NTFS partition that has at least 36 GB of disk space), and then configure the computer for your test network. The test network is the network that contains the Windows HCK Studio and Windows HCK Controller. If the test controller is not bootable, install a separate hard disk drive on a bootable controller.

  7. If you have to install the manufacturer-supplied device driver on the test computer, do this now.

  8. Start the test computer in the Windows operating system, and then use Disk Manager to create three 4-GB partitions on RAID Array 2.

  9. If you are testing by using a client operating system, create a 4-GB NTFS spanned volume that uses unallocated space on RAID Array 1, RAID Array 2, and RAID Array 3, as the following diagram shows.

    If you are testing by using a server operating system, do the following:

    1. Create a software RAID 1 mirror from one of the NTFS partitions on RAID Array 2 to the unallocated space on RAID Array 1

    2. Create a 4-GB NTFS software RAID 5 array that uses unallocated space on RAID Array 1, RAID Array 2, and RAID Array 3, as the following diagram shows.

  10. To set the system page file and enable crashdump, do the following:

    1. Click the Start button, right-click My Computer, and then click Properties.

    2. Click the General tab, and then note the amount of RAM that the computer contains.

    3. Click the Advanced tab (or click Advanced system settings in the left pane for Windows Vista, Windows 7, Windows 8, Windows Server 2008, Windows Server 2008 R2 or Windows Server® 2012), and then, in the Performance area, click Settings.

      Note  

      If you are prompted to enter administrative credentials or allow the action, enter the credentials or allow the action.

       

    4. Click the Advanced tab, and then, in the Virtual Memory area, click Change.

    5. Select Custom Size, and then enter a number in the Initial size (MB) box that is larger than the size of RAM that you noted in step b.

    6. In the Maximum size (MB) text box, enter a maximum size value that is larger than the initial size that you entered in the Initial size (MB) box. (The maximum size is typically 1.5 to 2 times the initial size.)

    7. Click Set, and then click OK two times.

    8. Click OK, and then restart the computer to update the page file size.

  11. Verify that the storage array is accessible from the test computer.

  12. Copy the Windows symbol files to %SystemDrive%\Symbols.

  13. Install the Windows HCK client application on the test computer.

  14. Use Windows HCK Studio to create a computer pool, and then move the test computer to that pool.

Integrated RAID controller test configuration

To configure the test computer for testing of an SAS controller in an integrated RAID configuration, follow these steps:

  1. When the test computer is turned off, complete the following assembly steps:

    1. Install a boot-capable controller (not the test device) and hard disk drive, if the test devices do not support boot.

    2. Attach the disks to the integrated test controller (Controller 1) according to the following table:

      Controller type Controller 1

      SAS RAID

      One SAS JBOD or six SAS hard disk drives

       

    3. Attach an optical drive to the system, if one is not already attached.

  2. Turn on the test system.

  3. Set the system BIOS to support the S3 state.

  4. Create two 60-GB RAID arrays on Controller 1.

    If the controller does not support a configuration that includes two arrays, use a non-RAID disk instead of Array 2 for these procedures. For SCSI, create a third 60-GB RAID array (using any supported RAID level).

    The RAID arrays on Controller 1 are RAID Array 1 and RAID Array 2.

  5. Configure the RAID arrays according to the following table:

    RAID levels that the test device supports RAID level for RAID Array 1 RAID level for RAID Array 2

    0 only

    0

    0

    1 only

    1

    1

    5 only

    5

    5 or Non-RAID disk

    0 and 1 only

    1

    0

    0 and 5 only

    5

    0 or Non-RAID disk

    1 and 5 only

    5

    1or Non-RAID disk

    0, 1, and 10

    10

    1 or Non-RAID disk

    0, 1, and 5

    5

    0 or Non-RAID disk

    0, 1, 10, and 5

    5

    10 or Non-RAID disk

     

  6. Install the appropriate Microsoft Windows operating system to a 36-GB NTFS volume on RAID Array 1, and then configure the computer for your test network. The test network is the network that contains the Windows HCK Studio and Windows HCK Controller. If the test controller is not bootable, install a separate hard disk drive on a bootable controller.

  7. If it is necessary, install any drivers that a manufacturer supplies that the devices in the test system require.

  8. Start Windows on the test computer.

  9. To set the system page file and enable crashdump, do the following:

    1. Click the Start button, right-click My Computer, and then click Properties.

    2. Click the General tab, and then note the amount of RAM that the computer contains.

    3. Click the Advanced tab (or click Advanced system settings in the left pane for Windows Vista, Windows 7, Windows 8, Windows Server 2008, Windows Server 2008 R2 or Windows Server® 2012), and then, in the Performance area, click Settings.

      Note  

      If you are prompted to enter administrative credentials or allow the action, enter the credentials or allow the action.

       

    4. Click the Advanced tab, and then, in the Virtual Memory area, click Change.

    5. Select Custom Size, and then enter a number in the Initial size (MB) box that is larger than the size of RAM that you noted in step b.

    6. In the Maximum size (MB) text box, enter a maximum size value that is larger than the initial size that you entered in the Initial size (MB) box. (The maximum size is typically 1.5 to 2 times the initial size.)

    7. Click Set, and then click OK two times.

    8. Click OK, and then restart the computer to update the page file size.

  10. Verify that the storage array is accessible from the test computer.

  11. Copy the Windows symbol files to %SystemDrive%\Symbols.

  12. Install the Windows HCK client application on the test computer.

  13. Use Windows HCK Studio to create a computer pool, and then move the test computer to that pool.

Non-RAID controller test configuration

To configure the test computer to test an SAS controller in a non-RAID configuration, follow these steps:

  1. When the test computer is turned off, complete the following assembly steps:

    1. Install a boot-capable controller (not the test device) and hard disk drive if the test devices do not support boot.

    2. Install the test device (Controller 1).

    3. For add-in SAS controllers, install a PCI-to-PCI bridge, unless you meet the following requirements:

      • The controllers cannot fit into PCI bridge adapters. This may occur if the controllers are integrated controllers or if the controllers can only fit into specially designed slots.

      • The controller is designed and sold only for systems that cannot accept full height PCI-to-PCI bridge adapters, such as blade servers.

      • You can put one of the controllers into a PCI bus slot that is already behind a PCI bridge.

    4. For add-in SAS controllers, install a second, duplicate test controller (Controller 2) in the PCI-to-PCI bridge card (or in the PCI bridge if the bridge card is not required).

    5. Attach the disks to the test devices according to the following table:

      Controller type Controller 1 Controller 2

      SAS add-in controllers

      SAS HDD (Disk 1)

      Edge expander, then Fanout expander, then Edge expander, then SATA HDD

      (Disk 2)

      SAS integrated controllers

      SAS HDD (Disk 1), and Fanout expander, then Edge expander, then SATA HDD

      (Disk 2)

      N/A

       

      SAS add-in controllers configuration diagram

      SAS integrated controllers configuration diagram

    6. Attach an optical drive to the system, if one is not already attached.

  2. Turn on the test computer, install the appropriate Windows operating system on disk 1 (using a newly created NTFS partition that has at least 36 GB of disk space), and then configure the computer for your test network. The test network is the network that contains the Windows HCK Studio and Windows HCK Controller. If the test controller is not bootable, install a separate hard disk drive on a bootable controller.

  3. Set the system BIOS to support the S3 state.

  4. If you have to install the manufacturer-supplied device driver on the test computer, do this now.

  5. Create three 4-GB partitions on Disk 2.

  6. Use the following procedure to set the system page file and enable crashdump:

    1. Click the Start button, right-click My Computer, and then click Properties.

    2. Click the General tab, and then note the amount of RAM that the computer contains.

    3. Click the Advanced tab (or click Advanced system settings in the left pane for Windows Vista, Windows 7, Windows 8, Windows Server 2008, Windows Server 2008 R2 or Windows Server® 2012), and then, in the Performance area, click Settings.

      Note  

      If you are prompted to enter administrative credentials or allow the action, enter the credentials or allow the action.

       

    4. Click the Advanced tab, and then, in the Virtual Memory area, click Change.

    5. Select Custom Size, and then enter a number in the Initial size (MB) box that is larger than the size of RAM that you noted in step b.

    6. In the Maximum size (MB) text box, enter a maximum size value that is larger than the initial size that you entered in the Initial size (MB) box. (The maximum size is typically 1.5 to 2 times the initial size.)

    7. Click Set, and then click OK two times.

    8. Click OK, and then restart the computer to update the page file size.

  7. Copy the Windows symbol files to %SystemDrive%\Symbols.

  8. Install the Windows HCK client application on the test computer.

  9. Use Windows HCK Studio to create a computer pool, and then move the test computer to that pool.

 

 

Send comments about this topic to Microsoft