INTRODUCTION:
HP has
developed scripts to assess the readiness of Linux©, HP-UX
and HP Tru64 (v5.0 or later) systems for U.S. 2007 Daylight Saving Time
(DST) changes, including changes adapted by Canada. The
unsupported scripts evaluate different aspects of a system
HP has found to be areas that may require changes. The
scripts report if a DST ready patch has been installed for
the OS, Java© and HP-UX aC++.
The
unsupported scripts perform a simple system assessment; They
do
not ready a system for the U.S. 2007 Daylight Saving Time
changes.
WHAT IT DOES:
The Script,
dstivp.sh . searches the file system from root (except NFS mounted
directory) for the following:
- Linux, HP-UX and HP Tru64 OS readiness (via a small
C application -
compile/run
- HP-UX aC++ image inventory
- Java inventory
- Test all Java versions and give recommendations
- Summary report
JAVA DETAILS:
This script uses the following rules to test any Java
version to confirm this is a valid Java directory:
- <jre tree>/bin/java
- <jre tree>/lib (Must be a directory)
- <jre tree)/lib/rtjar.jar
- <jre tree>/bin/java -version (must return a valid
version )
Note: Any Java not found with this directory tree
structure will not be tested (or reported). For example GCJ -
GNU Compiler for the Java will not be tested
HP-UX aC++ DETAILS:
For systems running HP-UX, the script reports a list of applications that
may have aC++ issues along with a list of stripped binaries. This list is
generated from directories except NFS and HP-UX supplied such as /usr/lib etc. Also included is a
script to generate a similar aC++ and stripped binary list from a list of up
to five directories. (See
http://www.hp.com/go/c++ for my information as to why this list
maybe important)
Make a temporary directory
# mkdir /tmp/dst
Download the dstivp*.tar.gz into /tmp/dst
and restore the files
# gzip -d dstivp*.tar.gz
# tar -xvf dstivp*.tar.gz
Execute the script
# ./dstivp.sh >
report_dst_output.txt
Sample output