![]() |
![]() |
| ||||||||||||||||||||||||||||||||||||||
|
# pprosetup -i standard:singleuser:rebootafter:reconfigafter |
In this example command line, the default patch policy applies the following types of patches to your system:
Standard patches
Patches that must be applied in single-user mode
Patches that must have the system undergo a reboot after they have been applied
Patches that must have the system undergo a reconfiguration reboot after they have been applied
How to Configure Your System to Access Contract PatchesIf you are a customer with a Sun service contract, additional patches are available to you. To access these patches, you must specify your SunSolve user name and password.
Specify your SunSolve user name.
# pprosetup -u sunsolve-user-name |
Specify your SunSolve password by adding the password to the /opt/SUNWppro/lib/.sunsolvepw file.
# echo sunsolve-user-passwd > /opt/SUNWppro/lib/.sunsolvepw |
Keep the password safe by setting the owner, group, and permissions of this file to root, sys, and 0600, respectively.
How to Uninstall the Patch Management ToolWhen you uninstall the patch management tool, the tool is completely removed from your system.
Become superuser.
Uninstall the PatchPro software.
# /opt/SUNWppro/bin/uninstallpatchpro |
Solaris 2.6, Solaris 7, and Solaris 8 only - Determine whether you want the Java 2 software removed.
Java 2 is installed with the patch management tool.
If you want to remove the Java 2 software, type y.
If you do not want to remove the Java 2 software, type n.
After you have installed or upgraded your patch management tool and completed the preparatory tasks (see Downloading and Installing the Patch Management Tools (Task Map)), use this table to determine which method is best for downloading and applying signed patches to your system.
Command or Tool | Description | For More Information |
|---|---|---|
smpatch update | For Solaris 2.6, Solaris 7, Solaris 8, and at least Solaris 9 4/03 - Use this command to identify the recommended patches and automatically download and apply the patches to your system. Notice that this command will not apply a patch that has the interactive property set. | See the smpatch(1M) man page. |
smpatch analyze | Use this command to identify the recommended patches and display a list of recommended patch IDs for your system. Then, use the smpatch download and smpatch add commands to download and apply the patches to your system. | See the smpatch(1M) man page. |
smpatch download and smpatch add | Use these commands to download and apply one or more patches to your system. These commands also download and apply any prerequisite patches. | See Example--Downloading and Applying a Signed Patch That Has No Dependencies. See Example--Downloading and Applying a Signed Patch That Has Dependencies. See Example--Downloading and Applying a Signed Patch That Has No Dependencies to a Solaris 9 System. |
ftp and smpatch add | Use the ftp command to transfer one or more patches to your system. Then, use the smpatch add command to apply the patch or patches to your system. | See Example--Downloading and Applying a Signed Patch by Using ftp. |
For Solaris 9 only - Use this tool when you want the convenience of a GUI tool to manage signed patches. | See the smc(1M) and smcconf(1M) man pages. See the Solaris Management Console online help. |
Use this task map to identify the tasks that are used to manage signed patches. Perform the tasks in the order shown.
Task | Description | For Instructions |
|---|---|---|
1. Perform the signed patches preparation tasks. | Perform the required and optional signed patches preparation tasks:
| See Downloading and Installing the Patch Management Tools (Task Map). |
2. (Optional) Analyze the system to identify the recommended patches. | Analyze the system to identify recommended patches by using the smpatch analyze command. | See How to Analyze Your System to Identify the Recommended Patches. |
3. Download and apply a signed patch or patches. | Download and apply one or more signed patches by using the smpatch command. The download step also performs an analysis of the system. | See How to Download and Apply a Signed Patch to a Solaris System. |
4. (Optional) Remove a signed patch. | If necessary, remove a signed patch from your system. |
Note - Be aware of these disk space considerations when using the smpatch command to download and apply signed patches:
The default patch directory for signed patches is /var/sadm/spool.
To specify an alternate patch directory, use the -d option of the smpatch add, smpatch download, or smpatch update command.
The download process might use more disk space than anticipated because prerequisite patches might be required by and downloaded with the patch that you download.
To reclaim disk space in the patch directory, remove the signed patches from the /var/sadm/spool directory after they are successfully downloaded and applied to your system. Notice that the smpatch and pprosvc -i commands automatically remove the patch after it has been successfully applied.
How to Analyze Your System to Identify the Recommended PatchesEnsure that you have completed the preparation tasks before analyzing your system. For more information, see Downloading and Installing the Patch Management Tools (Task Map).
Become superuser.
Analyze the system.
# smpatch analyze Assessing required patches for machine "venus/172.20.27.26" . Please wait... 110453-04 SunOS 5.8: admintool Patch 109318-33 SunOS 5.8: suninstall Patch 112396-02 SunOS 5.8: /usr/bin/fgrep patch ... |
Now, you can download and apply these patches to your system. See How to Download and Apply a Signed Patch to a Solaris System. Notice that the smpatch download command also performs the analysis step before downloading the patches to your system.
Previous Contents Index Next ![]() |