|C H A P T E R 10|
Testing System Boards
The CPU/Memory board and I/O assembly are the only boards with directed tests.
This chapter contains the following topics on testing:
Use the testboard system controller command to test the CPU/Memory board name you specify on the command line. This command is available in both the platform and domain shells.
Before you test a CPU/Memory board, note the following board requirements:
To test a CPU/Memory board from a domain A shell, type the testboard command:
where sbx is sb0 through sb5 (CPU/Memory boards).
For complete command syntax and examples, refer to the testboard command in the Sun Fire Midrange System Controller Command Reference Manual.
You cannot test an I/O assembly with the testboard command. Testing a board with testboard requires CPUs to test a board. No CPUs are present on an I/O assembly.
To test an I/O assembly with POST, you must construct a spare domain with the unit under test and a board with working CPUs. The spare domain must meet these requirements:
If your spare domain does not meet these requirements, the procedure, To Test an I/O Assembly, explains how to:
1. Verify that you have a spare domain. Type the showplatform command from the platform shell.
If you have a spare domain, go to Step 3. If you do not have a spare domain, continue with Step 2.
2. Complete these steps if you do not have a spare domain.
See Creating and Starting Domains. Go to Step 3.
a. Shut down all running domains in the chassis.
b. Change the partition mode to dual by running the setupplatform command.
See the setupplatform command in the Sun Fire Midrange System Controller Command Reference Manual.
c. Create a spare domain in the second partition.
See Creating and Starting Domains.
3. Enter the domain shell (a through d) of a spare domain.
See System Controller Navigation.
4. If the spare domain is running the Solaris operating environment (#, % prompts displayed), halt the Solaris operating environment in the domain.
5. Verify if the spare domain contains at least one CPU/Memory board by typing the showboards command.
If you need to add a CPU/Memory board to the spare domain, go to Step 6. Otherwise, go to Step 7.
6. Assign a CPU/Memory board with a minimum of one CPU to the spare domain by using the addboard command.
This example shows assigning a CPU/Memory board to domain B (in the domain B shell)
where sbx is sb0 through sb5.
7. Assign the I/O assembly you want to test on the spare domain by using the addboard command.
This example shows assigning an I/O assembly to domain B (in the domain B shell).
where x is 6, 7, 8, or 9.
8. Run the setupdomain command to configure parameter settings, such as
diag-level and verbosity-level.
This command is an interactive command. For command syntax and a code example, refer to the setupdomain command in the Sun Fire Midrange System Controller Command Reference Manual.
9. Verify that the date and time are set correctly by using the showdate command.
If the date and time are not set correctly, reset the date and time with setdate.
For complete setdate command syntax and examples, refer to the setdate command in the Sun Fire Midrange System Controller Command Reference Manual.
10. Turn the keyswitch on in the spare domain.
This action runs POST in the domain.
The I/O assembly is tested. However, the cards in the I/O assembly are not tested. To test the cards in the I/O assembly, you must boot the Solaris operating environment.
You will see the ok prompt, which means that it is likely that the I/O assembly is working. However, it is possible that some components have been disabled. You can also view the output of the showboards command to view the status of the boards after testing.
Error messages are displayed of the test that failed. Check the POST output for error messages. If the setkeyswitch operation fails, an error message is displayed telling you why the operation failed. You will obtain the domain shell.
11. Obtain the domain shell from the domain console.
See To Go From a Domain Console To a Domain Shell.
12. Turn the keyswitch to standby.
13. Delete the I/O assembly in the spare domain by using the deleteboard command:
where x is the board number you typed in Step 7.
14. Exit the spare domain shell and return to the domain you were in before entering the spare domain.
See System Controller Navigation.