Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

Previous Previous     Contents     Index     Next Next

ProcedureHow to Upgrade From PatchPro 2.1 to PatchPro 2.2 in Non-Interactive Mode

If you are already running PatchPro 2.1 on your system, you can upgrade your system to run PatchPro 2.2.

If you want to upgrade the patch management tool interactively, instead of in a hands-off manner, see How to Upgrade From PatchPro 2.1 to PatchPro 2.2 in Interactive Mode.

If your system is not already running PatchPro 2.1, just install PatchPro 2.2 by using one of the following procedures:

  1. Become superuser.

  2. Change to the directory in which you downloaded the PatchPro 2.2 tar file.

    # cd /export/download/patchpro

  3. Run the setup command to install and configure the tool.

    For example, upgrade the Solaris 7 x86 version of the patch management tool:

    # cd pproSunOSx865.7jre2.2
    # ./setup -f UPGRADE=true


Caution! Caution - After the patch management tool is upgraded, you must configure it by running the pprosetup command. See How to Set Up Your Patch Management Environment After a Non-Interactive Installation or Upgrade.

If not configured, the patch management tool will not be functional.


ProcedureHow to Set Up Your Patch Management Environment After a Non-Interactive Installation or Upgrade

  1. Become superuser.

  2. Add patch management tool directories to your path.

    • For Bourne shell or Korn shell:

      # PATH=/usr/sadm/bin:/opt/SUNWppro/bin:${PATH}
      # export PATH

    • For C shell:

      machine_name# setenv PATH /usr/sadm/bin:/opt/SUNWppro/bin:${PATH}

  3. Add the patch man page directory to your man page path.

    • For Bourne shell or Korn shell:

      # MANPATH=/opt/SUNWppro/man:${MANPATH}
      # export MANPATH

    • For C shell:

      machine_name# setenv MANPATH /opt/SUNWppro/man:${MANPATH}

  4. Specify whether an Internet connection must be established by a web proxy.

    • If you do not need to use a web proxy to establish an Internet connection, you have completed the web proxy configuration process.

    • If you must use a web proxy to establish an Internet connection, run the following command:

      # pprosetup -x proxy-server:proxy-port

      where proxy-server is the host name of the web proxy, and proxy-port is the port number of the web proxy, which is 8080 by default. Notice that these values must be separated by a colon (:).

      For example, if you select webaccess.corp.net.com as the proxy server, the pprosetup command would look like this:

      # pprosetup -x webaccess.corp.net.com:8080

      Obtain this information from your system administrator or from your network administrator.

  5. (Optional) Specify whether the web proxy requires authentication.

    • If the web proxy does not require authentication, you have completed the web proxy configuration process.

    • If the web proxy does require authentication, do the following:

    1. Specify the name for your web proxy.

      # pprosetup -U proxy-user-name

    2. Specify the user's password for your web proxy by adding the password to the /opt/SUNWppro/lib/.proxypw file.

      # echo proxy-user-passwd > /opt/SUNWppro/lib/.proxypw

      Keep the password safe by setting the owner, group, and permissions of this file to root, sys, and 0600, respectively.

  6. Solaris 9 only - Notify the Solaris Management Console server that the PatchPro packages are added to the system.

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

After you have completed all the signed patch preparation tasks, you can begin applying signed patches to your system by using your patch management tool.

You can use the pprosetup command to change the configuration of your patch management environment. See the pprosetup(1M) man page.


Note - Solaris 9 only - If you change your patch management environment by running pprosetup, you must restart the Solaris WBEM services before you use the smpatch command. Restarting these services causes the configuration changes take effect.


ProcedureHow to Identify the Hardware on Your System

You can use your patch management tool to apply firmware patches to Sun Network Storage hardware products that are attached to your system. The tool needs to know what hardware is attached to your system. Some of the hardware is automatically identified by software, but some needs to be identified manually by following this procedure.

When the hardware is identified, the smpatch analyze command can determine whether you need specific firmware patches based on your hardware configuration.

  1. Become superuser.

  2. Start up the dialog program to identify the hardware that exists on your system.

    # pprosetup -H
    
    Change Hardware Configuration.
    Analyzing this computer.
    ..............

  3. Select the numbers that are associated with the disk drives that are attached to your system.

    You must page through the entire list before you can make your selections. So, note the numbers that are associated with the disk drives that are attached to your system.

    Your selections are listed.

  4. Select the numbers that are associated with the storage servers and disk arrays that are attached to your system.

    You must page through the entire list before you can make your selections. So, note the numbers that are associated with the storage servers and disk arrays that are attached to your system.

    Your selections are listed.

  5. Select the numbers that are associated with the tape storage systems that are attached to your system.

    You must page through the entire list before you can make your selections. So, note the numbers that are associated with the tape storage systems that are attached to your system.

    Your selections are listed.

  6. Save your selections to a file.

    This file is also used by PatchPro Expert, which is available on the SunSolve Online site.

    • If you want to save your selections, type y.

    • If you do not want to save your selections, type n.

Previous Previous     Contents     Index     Next Next