| C H A P T E R 31 |
|
JNI 2GB FC HBA Test (jnifctest) |
The jnifctest tests the functionality of the JNI FC HBA (JNI Fiber Channel Host Bus Adapter). There are three tests: a self-test, an internal loopback test, and an external loopback test. The self-test tests the internal consistency of the board's internal computer. The loopback tests send out blocks of data to the HBA, receives blocks echoed back to the HBA, and compares the echoed packets to the original. If jnifctest detects problems in the self-test, problems sending or receiving the data, or any changes in the content of the data in the loopback tests, it sends out a descriptive error message to the SunVTS console and error log.
A small list of critical patterns is most likely to detect problems on a FC network. There is also a longer list of patterns and a means inputting your data pattern for testing.
Internal loopback tests require that a loopback plug or cable be connected to the port. External loopback tests can be run on a port connected to storage, to a switch, or with a loopback plug or cable. The simplest way to get the most test coverage is to connect all ports with a cable, and run both the self-test and the external loopback test. These two tests are enabled by default.
Any storage behind a particular port is inaccessible while the tests are running. Also, system console log messages reporting renegotiation of the link status might be generated for ports connected to a switch or storage when jnifctest is run.
|
Caution - This is an exclusive mode test. This test can not be run in parallel with any other tests or applications. |
jnifctest has three subtests described in TABLE 31-1.
To reach the following dialog box, right-click on the test name in the System Map and select Test Parameter Options. If you do not see this test in the System Map, you might need to expand the collapsed groups, or your system might not include the device appropriate to this test. Refer to the SunVTS User's Guide for more details.
FIGURE 31-1 jnifctestTest Parameter Options Dialog Box
The default values are for the Online Selftest and External Loopback test to be enabled. The Internal Loopback test is disabled. The Loopback Iteration count defaults to 10 iterations. The default Data Pattern Type is Critical and the default User Pattern is 0x7e7e7e7e.
/opt/SUNWvtshm/bin/jnifctest -vf -o dev=jfca0, selftest={enable| disable}, ilb={enable|disable}, elb={enable|disable}, iterations={1 - 1000000}, selectpattern={critical|all|user}, userpattern={hex-value}
Copyright © 2007, Sun Microsystems, Inc. All Rights Reserved.