C H A P T E R  1

SunVTS Overview

This chapter covers the following topics:



Note - For the latest version of this document (819-3333), go to: http://www.sun.com/documentation




1.1 What Is SunVTS?

SunVTS is a Validation Test Suite that provides a diagnostic tool designed to test Sun hardware. Its multiple diagnostic hardware tests verify the connectivity and functionality of most hardware controllers and devices for SPARC and x86 architectures. SunVTS also provides an infrastructure for programmers to develop their own tests and run them using the SunVTS interface.

SunVTS can be tailored to run on various types of machines ranging from desktops to servers with modifiable test instances and processor affinity features.

SunVTS supports testing in both 32-bit and 64-bit Solaris operating systems (OSs); automatically determines the operating environment (32-bit or 64-bit); and initiates the appropriate tests.

For a list of tests supported on x86 (and SPARC) platforms, see the SunVTS 6.1 Test Reference Manual for x86 Platforms.

Use SunVTS to validate a system during development, production, receiving inspection, troubleshooting, periodic maintenance, and system or subsystem stressing.

SunVTS has a sophisticated graphical user interface (GUI) that provides test configuration and status monitoring. The user interface can be run on one system to display the SunVTS testing of another system on the network. SunVTS also provides a TTY-mode interface for situations in which running a GUI is not possible.



Note - If you perform SunVTS on an unsupported platform, a warning message appears and SunVTS stops.




1.2 SunVTS Features

The following table provides an overview of the main features of the SunVTS software suite.


TABLE 1-1 SunVTS Diagnostic Tool Main Features

Variable

Description

SunVTS kernel (vtsk)

The kernel controls all aspects of the testing. It is a daemon designed to stay in the background, and to be used when needed. Upon starting, the SunVTS kernel probes the hardware configuration of the system under test and waits for instructions from a SunVTS user interface. During testing, the SunVTS kernel coordinates the running of individual tests, and manages all the messages (informational and error messages) sent by these tests.

SunVTS CDE or Gnome user interface (vtsui)

This interface runs on top of the Common Desktop Environment (CDE) or Gnome desktop environment. It provides the means to configure, run, and monitor test sessions for local and remote hosts.

SunVTS TTY user interface (vtstty)

Because not every system has a monitor, SunVTS has a TTY interface. This ASCII menu-based interface accepts various key sequences to control the test options and the test sessions. SunVTS can be used from a terminal, a shell tool, or a remote login session through a modem.

Running an individual test from the command line

Each hardware test can be run either from the SunVTS UI or from a UNIX® command line. Running a test alone can be helpful to validate only one piece of hardware.

Custom test support

A SunVTS user can run third-party executable test binaries under the SunVTS environment in the way that the test, rather than the SunVTS kernel, fully controls its input argument list and output log files. A user can simply modify the .customtest file provided by SunVTS to make it loosely coupled to the environment.


1.2.1 x86 and x64 Solaris Support

Starting with Solaris 10, the SunVTS infrastructure and core diagnostics are available for x86 Solaris platforms. Starting with Solaris 10 3/05, SunVTS x86 diagnostics are supported in the AMD 64-bit environment for the SunVTS kernel (vtsk). All x86 diagnostics except the System Test (systest) are ported to 64-bit.

SunVTS is supported and tested on the following Sun x86 platforms:



Note - Starting with 6.2 SunVTS runs on the supported x86 and x64 hardware only. If you perform SunVTS on an unsupported platform, a warning message appears and SunVTS stops.





Note - For the latest list of supported x86 platforms, see the latest version of this document (819-3333). Go to: http://www.sun.com/documentation



You must install the x86 version of the SunVTS packages to be able to perform SunVTS on x86 platforms. The software packages use the same names as in the SPARC environment. The SunVTS packages delivered separately for both x86 and SPARC Solaris platforms are as follows:

The SunVTS components available for x86 Solaris platforms are as follows.

Infrastructure:

SunVTS Tests:

1.2.2 Test Categories

SunVTS comprises many individual tests for testing a wide range of Sun products and peripherals.

Use SunVTS to test one device or multiple devices. Some of the test categories are:

You need to select the proper test modes and options to maximize the effectiveness of SunVTS. This book covers the overall test configuration modes and options of the application. For information regarding the configuration of individual tests, refer to the SunVTS Test Reference Manual.

1.2.3 SunVTS User Interfaces

You can run SunVTS from the following user interfaces:



Note - As of SunVTS 5.0, the SunVTS OPEN LOOK user interface is no longer supported.




FIGURE 1-1 SunVTS CDE Main Window

Screenshot of SunVTS CDE main window.


1.2.4 SunVTS Test Modes

Based on how you configure SunVTS, the test session runs in one of the following test modes:

1.2.5 Security

SunVTS has two security mechanisms that you choose to implement when you install SunVTS:

The SunVTS installation process prompts you to specify which security mechanism you want to use. You must use one or the other, and the SEAM security implementation is the default if you press the Return key through the installation questions.


1.3 Parallel Exclusive Mode

In SunVTS 5.1 Patch Set 3 and later releases, a certain number of instances of fputest may run in Exclusive mode in parallel. Note that no two disparate tests may run in Exclusive mode at the same time. However, the same test can run in parallel on different devices in Exclusive mode. This test based parallelism is currently available for only the fputest. The concurrency of fputest in Exclusive mode is dynamically set with the optimal value based on system resources and is not user configurable. For all other tests, it is not executed in parallel even if the device has multiple instances; instead, they are executed in sequence.


1.4 Schedule Manager

This section describes how to use the Schedule Manager, which is a feature introduced in SunVTS 5.1 Patch Set 2 (PS2). The Schedule Manager is designed to be used with the SunVTS GUI from the Common Desktop Environment (CDE) or Gnome. For details on how to start the SunVTS graphical interface, refer to
Chapter 3.

The Schedule Manager allows you to create schedules to perform tests at a specific time, periodically, at intervals, or on kernel idle. You can configure schedules to perform tests with standard options or an option file. If errors occur when running a schedule, the Schedule Manager indicates the cause.

The Schedule Manager allows you to configure a schedule to switch from one test mode to another at a specific time. Additionally, you can specify the duration to run the schedule or specify unlimited; the default is one hour. The schedule will run until all tests are run according to configuration or the specified time, whichever is less.

Schedules can be performed in the standard SunVTS kernel state. If the SunVTS kernel is not running, the Schedule Manager can invoke a SunVTS kernel session at a scheduled time. With the Schedule Manager you can also force a start of a schedule, and stop the currently running schedule at a specified time.

1.4.1 Configuring Schedules

The Schedule Manager allows you to create, edit, and delete schedules. Creating a new schedule requires selecting standard options or an option file. You must save schedules with a unique name. None and Untitled cannot be used as schedule names. If you try to save a new schedule or modify an existing one with a name already in use, the Schedule Manager will prompt you before overwriting. You can also view the details of all of the schedules in the SunVTS graphical interface.

1.4.1.1 Configuring Schedules With the SunVTS CDE User Interface

From the main SunVTS Diagnostic window, select Schedulerright arrowSchedule Managerright arrowCreate Schedule to invoke the Schedule Manager dialog box for creating, editing, or deleting schedules. Only one schedule can be run at a time. You can remove the currently running schedule and all schedules in the scheduler queue by selecting Schedulerright arrowSchedule Managerright arrowClean All from the main window. The main SunVTS Diagnostic window indicates the currently running schedule.

To reach the Schedule Manager dialog box below, select Schedulerright arrowSchedule Managerright arrowCreate Schedule from the main SunVTS Diagnostic window. A list of the existing schedules and the standard options are displayed.


FIGURE 1-2 Schedule Manager Dialog Box

Screenshot of the Schedule Manager dialog box.


The following table describes the options listed in the Schedule Manager dialog box:


TABLE 1-2 Schedule Manager Options

CDE Inerface Options

Description

Schedule Name

Allows you to enter the name for which the current schedule will be saved. Also allows you to select and bring up existing schedules for editing from the drop-down menu.

New

Creates a new schedule with the default options.

Delete

Deletes the selected schedule that is registered with the kernel.

Start Time

Allows you to specify the time for a schedule to start.

Duration

Allows you to specify the duration to run the schedule. The default is one hour.

Periodic

Allows you to run the schedule periodically and select what days of the week you want to run the schedule. You can also select All Days.

Date

Allows you to specify a date that you want the schedule to start.

Test Mode or Option File

Selecting Test Mode allows you to specify which SunVTS test mode you want to use in the drop-down menu. Selecting Option File allows you to select an option file from the drop-down menu.

Save

Saves and registers the schedule to the kernel and crontab.

Clean All

Removes the currently running schedule and all schedules in the scheduler queue. This option can be selected from the main SunVTS Diagnostic window.


To invoke an existing schedule for viewing or editing, select a schedule in the Schedule Name drop-down menu, or enter the name of a schedule in the field.


1.5 SunVTS Architecture

The SunVTS architecture is divided into three components: the SunVTS kernel, the user interface, and the collection of hardware tests. FIGURE 1-3 is a block diagram representing the SunVTS architecture.


FIGURE 1-3 SunVTS Architecture

Block diagram of the SunVTS architecture.


1.5.1 SunVTS Kernel

The following activities are scheduled and monitored by the kernel:

32- and 64-bit versions of the SunVTS kernel are available for x86 platforms. SPARC platforms support 64-bit only:

1.5.2 SunVTS User Interface

The SunVTS user interface is separate from the SunVTS kernel. The user interface communicates with the SunVTS kernel through an application programming interface (API). This gives SunVTS the ability to run the appropriate interface (CDE, or TTY) based on the environment of the system. It also allows the user interface to run on a system other than the system under test.

1.5.3 SunVTS Hardware Tests

Many separate tests make up the collection of tests in the SunVTS application. Each test is a separate process from the SunVTS kernel.

When SunVTS is started, the SunVTS kernel automatically probes the system kernel to determine the installed hardware devices and displays the testable devices in the SunVTS UI. This provides a quick check of your hardware configuration, and only those tests applicable to your system are displayed.

During testing, the hardware tests send the test status and messages to the SunVTS kernel through interprocess communication (IPC) protocols. The kernel passes the status to the user interface and logs the messages.

The SunVTS kernel and most tests support 32-bit and 64-bit Solaris Operating Systems.