This section describes how to install the TLP client software. The TLP client is intended for use with the TLP server.
This procedures assumes that the current working directory is the TLP client installation directory, /opt/SUNWtlpc.
Before you begin the installation, ensure that you have the following:
A sufficient amount of disk space.
To install the TLP client software, you need approximately 10 Mbytes of disk space.
Perl, version 5.005_03, or later installed on the system.
Perl, version 5.005_3 or later, is bundled with all Solaris OS versions, beginning with the Solaris 7 OS.
The latest TLP client software, which has been downloaded from the TLP server.
The TLP server software installed and running.
PatchPro, version 2.2 installed.
The TLP client has been tested with this version of PatchPro. This version of PatchPro is bundled with the Solaris 10 OS. To install PatchPro 2.2, use the SUNWppro package.
Log in as superuser to the system where you will install the TLP client software.
Extract the archive, SUNWtlpc-1.0.tar.gz, to the /tmp directory.
# gzcat SUNWtlpc-1.0.tar.gz | tar xvf - |
Check the README file that is included for the latest updates.
Install the TLP client software package.
# pkgadd -a tlp.policy -d SUNWtlpc-1.0 |
By default, the TLP client software is installed in the /opt/SUNWtlpc directory. For information about modifying the installation directory, see How to Add Software Packages (pkgadd) in System Administration Guide: Basic Administration.
Using a text editor, modify the TLP client conf/tlpc.cfg configuration file. Set the TlpServerUrl value to the TLP server CGI script URL.
After you complete the TLP client software installation, you are ready to run the TLP client. See The TLP Client Run Process for more information.
The TLP client is used in conjunction with the TLP server. The TLP client can run without any user interaction, after you have properly configured it. When you run the tlpc main command, the TLP client performs the following tasks:
Gathers system information
Optionally runs an analyzer on the client
Stores system information and the output of the system analysis engine
Transfers data to the TLP server to enable patch set creation for each client system
You can manually run the TLP client. Or, if you choose to, you can set up a cron job to run the TLP client at regularly scheduled intervals. For more information about setting up cron jobs, see Chapter 15, Scheduling System Tasks (Tasks), in System Administration Guide: Advanced Administration. Example 2–4 shows a typical TLP client run.
This example shows a typical TLP client run. Note that to run PatchPro, you must be superuser or assume an equivalent role.
# ./tlpc main TLP - Client ------------ * Tlp::Collector::TlpExplorer * Tlp::Analyzer::PatchPro + Starting PatchPro + Parsing PatchPro Output * Tlp::Transfer::HTTP + Connecting to http://your-tlp-server/tlp-cgi/tlp_server.pl + Uploading data 100% [===========================================] |