|
The SunVTS architecture is divided into three components: SunVTS kernel, user interfaces, and hardware tests. It can be best described by the
block diagram. An overview of each component follows.
SunVTS kernel
The main functions of the SunVTS kernel are:
- Probes and saves the test system's hardware configuration upon start-up
- Logs messages reported from tests
- Maintains the status of all running tests
- Monitors the status requests or control commands from a user interface or other applications
- Schedules the tests that are enabled by the user
- Runs as a background process(daemon)
User interface
A separate process from the SunVTS kernel. The SunVTS user interfaces communicate with the SunVTS kernel through an application
programming interface (API). The SunVTS API lets a user interface, send, and receive commands from the SunVTS kernel. Normally, the user
interface is running on a different machine than the one being tested.
Hardware tests
Each hardware device supported by Sun can be validated by a corresponding hardware test. Each test is a separate process from the SunVTS kernel
process. The hardware tests send the status and messages to the SunVTS kernel through interprocess communication (IPC) protocols. Tests are run
on the machine that has the SunVTS kernel.The SunVTS kernel automatically probes the system kernel for installed hardware devices. Those
devices are then displayed on the SunVTS control panel with the appropriate tests and test options. This provides a quick check of your hardware
setup.
SunVTS has a shared object library that contains test-specific probing routines. At runtime, the SunVTS kernel dynamically links in and calls these
probing routines to initialize its data structure with test-specific information. New tests can be added into the SunVTS environment without
re-compiling the SunVTS source code.
SunVTS Architecture Block Diagram
|