SunVTS 2.1.3 Test Reference Manual
검색에만이 책은
PDF로 이 문서 다운로드
CHAPTER 31

Sun Enterprise Cluster 2.0 Network Hardware Test (scitest)


scitest verifies the functionality of the Sun Enterprise Cluster 2.0 by checking the networking hardware. For this test to be meaningful, the cluster must already be configured before the testis run. For details on how to configure the cluster, refer to Sun Enterprise Cluster 2.0 Hardware Site Preparation, Planning, and Installation Guide.
scitest reads the /etc/sma.ip file to determine the target nodes in the cluster. scitest mainly uses the Internet Control Message Protocol (ICMP) to test the connections between cluster nodes.
After finding the cluster nodes (targets), scitest performs the following tests:
  • Random test sends out 256 packets with random data length and random data.
  • Incremental test sends out packets with length from minimum to maximum packet size using incremental data.
  • Pattern test sends 256 packets of maximum length, where each packet contains one test pattern and all byte patterns (0 to 0xFF) are used.

Note - scitest is a scalable test. The maximum number of instances is two per SCI card.


scitest Options

그래픽

FIGURE 31-1 scitest

TABLE 31-1 scitest
scitest OptionsDescription
Target HostNot used.
Receive Timeout fieldSpecify a number between 0-600 seconds. The default is 120 seconds.
Number of Retries fieldThe number of retries before an error is flagged. Specify a number between 0-128.
Print WarningDisabled by default. Choose Enable to see warning errors, such as retry on timeout errors.

scitest Test Modes

Connection, Functional and Online modes are supported by scitest. Different test schemes are performed on the network device based on the mode selected.
TABLE 31-2 scitest
Test ModeDescription
Connection Testscitest checks if the device is connected. It searches through all the network interfaces for the specified device name. scitest finds the device not connected the test fails, otherwise, it returns device is connected.
Functional Testscitest performs all three tests (Random test, Incremental test, and Pattern test) sequentially. It allows you to specify an option in such a way that scitest performs a very stressful test.
Online ModeRunning scitest through SyMON. In Online mode, the following Functional Test description applies: scitest is aware that the user's application may be running, it tries to minimize the influence on the application while it is testing by only running the random test. Since the network device is shared and system resources are available, applications will not be heavily impacted.

scitest Command Line Syntax

/opt/SUNWvts/bin/scitest standard_arguments -o
dev=interface,test=type,packets=n,pattern=hex,delay=seconds,
timeout=seconds,retry=n,warn

TABLE 31-3 scitest
ArgumentExplanation
dev=interfaceNetwork interface name. The default value is le0 for Ethernet
networks.
test=typeThe test type. Specify random, increment, or pattern. The default value is random+increment+pattern to run.
packets=nNumber of random/pattern packets. The default is 256.
TABLE 31-3 scitest
ArgumentExplanation (Continued)
pattern=hexSpecifies a data pattern in hexadecimal form. The default is all patterns from 0 to 0xff.
delay=secondsIndicates the time between subtests in seconds. The default is 30 seconds.
timeout=secondsIndicates the number of seconds to wait before a timeout. The default is 20 seconds.
retry=nIndicates the number of test timeout retries. The default is three retries.
warnWhen enabled, prints warning messages.

scitest Error Messages

TABLE 31-4 scitest

Error MessageProbable Cause(s)Recommended Action
4001Unable to communicate from stringSCI adapter failure or no cable connected.Check cable connections. Replace the SCI adaptor.
4002Can not access /etc/ sma.ip file. "I WILL STOP TESTING SCI INTERFACES"/etc/sma.ip is missing, or the cluster is not configured, or this is an old cluster version.Use sm_config to configure the cluster. Restore the files from a backup tape. Specify the cluster machines in the target host of test options before running the test.
6000RPC broadcast failure error_message

6001Unable to resolve host_name ethernet address

6002No ICMP echo reply from stringSCI adaptor failure or no cable connected.Check cable connections. Replace the SCI adaptor.
6003ICMP echo reply incorrect length from host_name, exp data obs data

6004ICMP echo reply length number from host_name, data mismatch at byte number, exp value obs value

TABLE 31-4 scitest(Continued)

Error MessageProbable Cause(s)Recommended Action
6005Unable to find any test target

8000Unable to open device_name error_message

8001Bad ioctl name error_message

8002Unable to allocate number bytes of memory error_message

8003System call name returned value error_message

8004Unable to map network entry for host_name

8006Failed to allocate number bytes of swap space for configuration

8007dl_primitive response = value

8008dl_ok_ack: short response

8009dl_phys_addr_ack: short response

8010Invalid Argument string

8011Interface device_name not configured in system

8012SCITEST can not open/read /etc/sma.ip