Solaris 8 Installation Supplement

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