In my previous write up here, I wrote a brief description of the Sun VTS (Validation and Test Suite) which can help one to run tests on any Sun Supported hardware and hardware components and report the health status and identify faulty devices. Now, lets get installing and run Sun VTS in Solaris 10.
Download the most recent stable version of SUNWvts (SUNWvts6.4ps2 at the time of writing this article) for SPARC/x86 platforms from here
NOTE: Requires Sunsolve login to download.
Sun VTS requires the following packages installed to run properly.
Core SunVTS Framework
Sun VTS Tests
SunVTS Framework Configuration Files in Root partition (Optional/Recommended)
Sun VTS Man Pages (Optional)
Prior to installation, it is important that any previous version of the above mentioned Sun VTS packages are removed.
To check if previous versions are installed
solaris10# pkginfo -l | grep -i vts
If found uninstall them before proceeding with the procedure
solaris10# pkgrm SUNWvts SUNWvtsr SUNWvtsts SUNWvtsmn
Download and install the latest revision of Microtasking libraries (libmtsk) patch for Solaris 10 from the following Sun Solve website:
Solaris 10 SPARC – 120753 (120753-05)
Solaris 10 x86 – 120754 (120754-05)
Download unzip and install the patch:
solaris10# unzip 120753-05.zip
solaris10# patchadd 120753-05
solaris10# unzip 120754-05.zip
solaris10# patchadd 120754-05
Now, lets get installing the Sun VTS packages.
Install SunVTS Core Framework (SPARC & x86)
solaris10#pkgadd -d . SUNWvts
That installs the required Sun VTS Core Framework package.
Install the rest of the SunVTS packages
(SunVTS Tests,config files in root & Man pages)
solaris10# pkgadd -d . SUNWvtsts SUNWvtsr SUNWvtsmn
That completes the Sun VTS package installation.
Enable the rstatd daemon
rstatd daemon is disabled by default in Solaris 10.
solaris10# svcadm enable rstatd
Export Display to your PC (GUI only)
solaris10# export DISPLAY 192.168.0.2:0
Start Sun VTS
solaris10# /opt/SUNWvts/bin/sunvts &
This should start the Sun VTS software and export GUI to your PC (if display not exported then runs tty user interface on the terminal). Sun VTS will discover devices and list available tests for your server with dezcriptive information on the server.