|
||||||
|
q-Status Installation
|
||||||
# cd /var/apache/htdocs # /usr/bin/gzip -d q-Status3.12.tar.gz # tar xvf q-Status3.11.tar # mv q-Status3.11 q-Status |
Updating q-Status can easily accomplished by rename the old version to a saved name (e.g. q-Status.SAVE) and then installing the new q-Status version as discussed above.
After the new version is installed, remove the data/ and data_baseline/ demo directories from the new version. Copy the old data/ and data_baseline/ directories from the previous version to the new version of q-Status.
Note: Upgrading q-Status software by renaming directories will require re-shareing the NFS even though they are the same names. This is accomplished by stopping and starting NFS with:
/etc/init.d/nfs.server [stop/start]
The previous q-Status Custom directory is self contained and should work with no changes. But new version of q-Status may have library changes that need to be integrated into any custom module.
You will need to reconfigure the bin/CFGDIR file as discussed in the remaining sections. You will also need to update any FTP or SSH transfer method with the pkgadd module or the patchdiag.xref FTPobtainXREF scripts and FTP or SSH receive scripts. Check the replaced Goodies/ directory. Any custom developed q-Status function must then be moved from the old version to the new version in the Custom/ directory and upgraded if necessary.
q-Status Solaris is a new database structure and may require some conversion to use. This is particularly true in retained baseline data. q-Status Solaris is provide with a shell script for this conversion called create_rename_pkg-long_files.pl.q-Status Solaris no longer uses data files with suffix ".pkginfo-long". These have been replaced with suffix files of just ".pkginfo". The new suffix files are same data but with a renamed filename. The new q-Status Solaris program will not recognize a file with "pkginfo-long".
To fix the retained baseline data, use the create_rename_pkg-long_files.pl Perl script located in the q-Status/Goodies directory to create an execute file to rename the retained baseline files. To update the baseline entries follow these step:
- Place the create_rename_pkg-long_files.pl Perl script in the data_baseline directory.
- Execute the create_rename_pkg-long_files.pl Perl script. This will create a file called rename_pkg-long_files.sh. This is a shell script that will perform the renaming.
- Execute rename_pkg-long_files.sh shell script.
- Delete both the create_rename_pkg-long_files.pl Perl script and the rename_pkg-long_files.sh shell script from the data_baseline directory.
From time to time, q-Status patches are made available for a current revision (e.g., 2.0n). These patches are installed with a script file and perform simple replacement of components. These patches are available as part of q-Status maintenance.
q-Status comes with sample files and a predefined setup to execute after it is installed on a web server. You can run this sample by simply accessing any of the q-Status GUI through the web server (e.g. http://localhost/q-Status/index.html).
The cgi programs (located in the CGI/ directory of q-Status) will read and process the example data from the data/ directory of q-Status. Use this to validate that the Web portion of q-Status is working and for demonstration purposes.
|
|
Proceed to Configuring q-Status to Collect Client Data to continue with installation. |