Solaris 8 Installation Supplement

Chapter 3 Upgrading to a Solaris 8 Update Release

This chapter provides additional information about upgrading to a Solaris 8 Update release. For complete upgrade instructions, refer to Solaris 8 (SPARC Platform Edition) Installation Guide, Solaris 8 (Intel Platform Edition) Installation Guide, or Solaris 8 Advanced Installation Guide.

Upgrading the WBEM Repository to Prevent WBEM Data Loss

You must update any proprietary custom Managed Object Format (MOF) data to the new Reliable Log repository format that is used with Solaris WBEM Services 2.4. Before you upgrade to the Solaris 8 4/01 operating environment, you might need to save the JavaSpacesTM software. After you upgrade, you must convert or merge data, depending on the operating environment that was running on your systems prior to the upgrade.

Failure to convert or merge the data results in data loss.

Use the following table to determine whether to save the JavaSpaces software before you upgrade and whether to convert or merge the WBEM data after you upgrade.

Table 3–1 Covert or Merge WBEM Data

Operating Environment Before Upgrading to Solaris 8 4/01 

Save JavaSpaces Software Before You Upgrade? 

Convert or Merge? 

Solaris 8 (Solaris WBEM Services 2.0)  

Solaris 8 6/00 (WBEM Services 2.1)  

Solaris 8 10/00 (WBEM Services 2.2)  

Yes. 

For detailed instructions on how to save the JavaSpaces software, see Solaris 8 4/01 Release Notes.

Convert 

For detailed instructions, see How to Convert WBEM Data.

Solaris 8 1/01 (WBEM Services 2.3) 

No. 

Merge 

For detailed instructions, see How to Merge WBEM Data.

How to Convert WBEM Data

After upgrading to the Solaris 8 4/01 operating environment, follow these steps to convert the WBEM data.

  1. Change to superuser and stop the Common Information Model (CIM) Object Manager.


    # /etc/init.d/init.wbem stop
    


    Caution – Caution –

    Failure to stop the CIM Object Manager before running the wbemconfig convert command might corrupt your data.


  2. Restore the JavaSpaces software that you saved before upgrading.


    # mv /usr/sadm/lib/wbem/outrigger.jar /usr/sadm/lib/wbem/outrigger.jar.2
    # mv /usr/sadm/lib/wbem/outrigger.jar.tmp /usr/sadm/lib/wbem/outrigger.jar
    

  3. In a separate location from the currently installed JDKTM software, install the JDK version that was installed on your machine before you install the Solaris 8 4/01 operating environment. You can download the JDK software from http://java.sun.com/products/.

  4. Change the symbolic link from /usr/java to the location of the JDK version that was installed on your machine before you install the Solaris 8 4/01 operating environment. For example, do the following if you installed Solaris_JDK_1.2.1_04c in /old_sdk:


    # rm /usr/java
    # ln -s /old_sdk/Solaris_JDK_1.2.1_04c /usr/java
    

  5. Convert the JavaSpaces data to Reliable Log format.


    # /usr/sadm/lib/wbem/wbemconfig convert
    

  6. Restore the outrigger.jar file included in the Solaris 8 4/01 installation.


    # mv /usr/sadm/lib/wbem/outrigger.jar.2 /usr/sadm/lib/wbem/outrigger.jar
    

  7. Change the symbolic link from /usr/java to the location of the JDK software that ships with the Solaris 8 4/01 operating environment. For example:


    # rm /usr/java
    # ln -s /usr/java1.2 /usr/java
    

  8. Stop the CIM Object Manager.


    # /etc/init.d/init.wbem stop
    
  9. Start the CIM Object Manager.


    # /etc/init.d/init.wbem start
    

How to Merge WBEM Data

After you upgrade to the Solaris 8 4/01 operating environment, follow these steps to merge the WBEM data.

  1. Change to superuser and stop the Common Information Model (CIM) Object Manager.


    # /etc/init.d/init.wbem stop
    


    Caution – Caution –

    Failure to stop the CIM Object Manager before you run the wbemconfig convert command might corrupt your data.


  2. Merge the Solaris 8 1/01 Reliable Log data into the Solaris 8 4/01 Reliable Log.


    # /usr/sadm/lib/wbem/wbemconfig convert
    

Upgrading From the Solaris 8 Operating Environment

If you are already running the Solaris 8 operating environment and have installed individual patches, upgrading to a Solaris 8 Update release causes the following:

To see a list of patches that are removed, use the Patch Analyzer as described in the following section.

Analyzing the Patches

The Patch Analyzer performs an analysis on your system to determine which (if any) patches will be removed by upgrading to the Solaris 8 Update release. The Patch Analyzer is available in the following formats.

Using the Patch Analyzer With a Solaris Web Start 3.0 Upgrade

This section supplements “Upgrading a System” in Solaris 8 (SPARC Platform Edition) Installation Guide and “Upgrading a System” in Solaris 8 (Intel Platform Edition) Installation Guide.

The Solaris Web Start 3.0 installation method gives you the option to use the Patch Analyzer to analyze the patches on your system. After you choose Upgrade, the Patch Analyzer dialog box appears.

  1. In the Patch Analyzer dialog box, choose Yes and click Next.

    The Patch Analyzer reviews the system patches.

    The Patch Analyzer Summary dialog box displays the total number of patches that will be removed, downgraded, accumulated, or made obsolete by other patches.

  2. To see the specific patches that might be removed, downgraded, accumulated, or obsoleted by other patches, click the Details button(s).

  3. Decide if the patch replacements and deletions are acceptable.

    • If the patch replacements and deletions by the Solaris 8 Update release are acceptable, click Next to complete the upgrade.

    • If the patch replacements and deletions by the Solaris 8 Update release are not acceptable, click Exit to terminate the upgrade. You can use the Solaris 8 Maintenance Update and the Solaris 8 Maintenance Update Installation Guide to install the patches on your Solaris 8 system.