Sun Update Connection - Automated Baseline Management Service 1.0 User's Guide

ProcedureHow to Install TLP Baselines

This procedure describes how to install a TLP patch baseline on the server. This procedure assumes that the current working directory is the TLP installation directory, /opt/SUNWtlp.

Before You Begin

Before you begin the baseline installation, ensure that the following activities have taken place:

Steps
  1. To create a snapshot in the repository from an EIS-CD, log in to the system as the tlp-user.

  2. Copy the EIS-CD to the local repository.


    $ tlp snapshot load
    

    TLP uses the creation date of the EIS-CD as the creation date of the snapshot. If you do not have the EIS-CD in the /cdrom/cdrom0 location, you can provide another location by using the --source command-line option.


    $ tlp snapshot load --source=/mnt/cdrom0
    
  3. Repeat the previous step for each EIS-CD from the set of EIS-CDs.


    Note –

    An alternative to using the EIS-CD as a snapshot is to create a custom snapshot by using this method:


    $ tlp snapshot create --patch-list patch-list --date \
    YYYY-MM-DD [--name name] 
    

    Or, you can use the following method:


    $ tlp snapshot current
    

    This method always uses the most current patches from the SunSolve web site.


  4. Run the tlp repo command for the update phase.


    $ tlp repo [--date date] phase update
    
  5. Verify and list the available phases by typing:


    $ tlp repo list
    

    All of the installed snapshots and their associated names (phases) are listed.


Example 2–5 Installing the TLP Baselines

This example shows how to install a TLP baseline.


./tlp snapshot load

 Copying EIS-CD 1 from 2003-05-27
 --------------------------------

    + Should EIS-CD 1 be copied (yes/no) ? [yes] : yes
    + Copying patches /export/home/user1/eis1/ --> 
                   data/repository/2003-05-27/patch
 100% [===========================================]
    + Creating CONTENT
 100% [===========================================]
    + Installing tools
    + Copying patch information

 ./tlp repo phases update

 Updating phases
 ---------------

 Reference date: 2003-08-12
 Creating phase link GREEN --> 2003-05-27

./tlp repo list

 Repository Snapshots
 --------------------

 Phases                      Id             Nr. Patches
 =======================================================
 GREEN                       2003-05-27             817