Back to the main page
SunVTS
What
SunVTS is Sun Validation Test Suite.
Why I need it
SunVTS (version 7.0 when I write this) is a h/w validation test suite for Solaris OS.
It verifies funcionality of h/w and devices for Sparc and x86 architecture based systems.
It is very good diagnostics tool to determine h/w health.
You can test: CPU, RAM, Disk, Graphics, Media, IOports, Interconnects, NIC ... I guess even more.
Explain more about SunVTS
SunVTS consists of three layers: client, server and agent.
- Client layer is user's interface. There are 3 of them: Browser user Interface (BUI), Terminal User Interface (TTY) and Command Line Interface (CLI). I will be using CLI only.
- Server layer - Java based program only if you use BUI.
- Agent layer consists of all tests.
See the pic and you'll understand it better.
SunVTS can run in three different modes.
- Online Mode
-
Use this if you want to run other applications in addition to SunVTS simultaneously.
The goal is to validate hardware without having significant impact on the running of applications.
- System Exerciser
- This will test the system as a whole with all its components.
All tests would run in parallel.
No other application (other than SunVTS) should run on the system. I am using this one!
- Component Stress
-
This targets testing of system components and modules.
Test will put the maximum stress on the component / module.
The tests will run sequentially.
No other application (other than SunVTS) should run on the system.
Installing SunVTS
Download file, for example VTS7.0ps5_sparc_synglesystem.tar.Z and extract to get next dirs:
SUNWvts, SUNWvtsmn, SUNWvtsr, SUNWvtstk and SUNWvtsts.
Easily install them with pkgadd -d . SUNWvts SUNWvtsmn SUNWvtsr SUNWvtstk SUNWvtsts
Verify installation
pkginfo |grep vts
system SUNWvts SunVTS Framework
system SUNWvtsmn SunVTS Man Pages
system SUNWvtsr SunVTS Framework (Root)
system SUNWvtstk SunVTS Toolkit Package
system SUNWvtsts SunVTS Core Installation Tests
How to use SunVTS
- Fist start CLI - /usr/sunvts/bin/startsunvts
- You'll be asked to select UI, so I am using a) for CLI
- It should see the message: "Initiating Command Line UI...DONE"
Here are some examples, but check great Sun docs for more
- Display summary of agent - /usr/sunvts/bin/vts_cmd get_agent_summary
- Display configuration info of test machine - /usr/sunvts/bin/vts_cmd get_host_config
- Display testing status information of system - /usr/sunvts/bin/vts_cmd get_status
- Display all tests that have been probed by the system - /usr/sunvts/bin/vts_cmd list_tests
- Display current test mode - /usr/sunvts/bin/vts_cmd get_mode
- Display global options that apply for all tests - /usr/sunvts/bin/vts_cmd get_global_options
- Display list of sessions available for load - /usr/sunvts/bin/vts_cmd list_sessions
- Display currently loaded session name - /usr/sunvts/bin/vts_cmd get_session_name
- Start all enabled tests - /usr/sunvts/bin/vts_cmd start
- Stop all running tests - /usr/sunvts/bin/vts_cmd stop
- Reset all tests pass/error/time limit counts to zero (vtsk must be idle) - /usr/sunvts/bin/vts_cmd reset
- Reprobe all devices on machine and update SunVTS kernel device list - /usr/sunvts/bin/vts_cmd reprobe
- Terminates SunVTS kernel (vtsk) if vtsk system status is idle - /usr/sunvts/bin/vts_cmd quit
- etc
I use this script to run the test, please feel free to get and use it (and improve it also)
Thanks for great and amazing Sun documentation, sure I was using it for writing this info.
Back to the main page