Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Administration: Basic Administration Oracle Solaris 10 1/13 Information Library |
1. Oracle Solaris Management Tools (Road Map)
2. Working With the Solaris Management Console (Tasks)
3. Working With the Oracle Java Web Console (Tasks)
4. Managing User Accounts and Groups (Overview)
5. Managing User Accounts and Groups (Tasks)
6. Managing Client-Server Support (Overview)
7. Managing Diskless Clients (Tasks)
Managing Diskless Clients (Task Map)
Preparing for Managing Diskless Clients
x86: How to Prepare for Adding Diskless Clients in a GRUB Based Boot Environment
How to Prepare for Adding Diskless Clients in Oracle Solaris 10
How to Add OS Services for Diskless Client Support
x86: How to Add a Diskless Client in the GRUB Based Boot Environment
How to Add a Diskless Client in Oracle Solaris 10
x86: How to Boot a Diskless Client With GRUB
SPARC: How to Boot a Diskless Client in Oracle Solaris 10
How to Remove Diskless Client Support
How to Remove OS Services for Diskless Clients
Troubleshooting Diskless Client Problems
Troubleshooting Diskless Client Installation Problems
How to Locate and Install Missing ARCH=all Packages
Troubleshooting General Diskless Client Problems
8. Introduction to Shutting Down and Booting a System
9. Shutting Down and Booting a System (Overview)
10. Shutting Down a System (Tasks)
11. Modifying Oracle Solaris Boot Behavior (Tasks)
12. Booting an Oracle Solaris System (Tasks)
13. Managing the Oracle Solaris Boot Archives (Tasks)
14. Troubleshooting Booting an Oracle Solaris System (Tasks)
15. x86: GRUB Based Booting (Reference)
16. x86: Booting a System That Does Not Implement GRUB (Tasks)
17. Working With Oracle Configuration Manager
18. Managing Services (Overview)
20. Managing Software (Overview)
21. Managing Software With Oracle Solaris System Administration Tools (Tasks)
22. Managing Software by Using Oracle Solaris Package Commands (Tasks)
Use the smosservice patch command to do the following:
Establish the /export/diskless/Patches patch spool directory on an OS server.
Add patches to the patch spool directory. If the patch you are adding obsoletes an existing patch in the spool, the obsolete patch is moved to /export/diskless/Patches/Archive.
Delete patches from the patch spool directory.
List the patches in the patch spool directory.
Synchronize spooled patches out to clients. Note that you must reboot each synchronized client for the client to recognize the patch update.
Note - Keep your OS servers up to date by installing recommended OS patches on a timely basis.
For information on downloading patches, see Downloading a Patch.
Diskless client patches are logged in different directories, depending on the type of patch:
Kernel patches are logged in the diskless client's /var/sadm/patch directory. To display kernel patches, type the following command on the diskless client:
% patchadd –p
Note - You must be logged in to the diskless client when you run this command. Running the patchadd -p command on the OS server displays kernel patches for the OS server only.
/usr patches are logged in the OS server's /export/Solaris_version/var/patch directory. A directory is created for each patch ID. To display /usr patches, type the following command on the OS server:
% patchadd -S Solaris_version -p Patch: 111879-01 Obsoletes: Requires: Incompatibles: Packages: SUNWwsr
To list all spooled patches by OS and architecture, use the smosservice command with the -P option.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
# init 0
# /usr/sadm/bin/smosservice patch -- -a /var/patches/ patch-ID-revision
If the patch to add depends on another patch, adding the patch fails with the following message:
The patch patch-ID-revision could not be added because it is dependent on other patches which have not yet been spooled. You must add all required patches to the spool first.
# /usr/sadm/bin/smosservice patch -- -P
# /usr/sadm/bin/smosservice patch -- -m -U
Note - Pushing and synchronizing the patch to the diskless client can take up to 90 minutes per patch.
# /usr/sadm/bin/smosservice patch -- -P
Example 7-9 Adding an OS Patch for a Diskless Client
This example shows how to add a Solaris 8 patch (111879-01) to the diskless client's OS services on the server.
# /usr/sadm/bin/smosservice patch -- -a /var/patches/111879-01 Authenticating as user: root Type /? for help, pressing <enter> accepts the default denoted by [ ] Please enter a string value for: password :: Loading Tool: com.sun.admin.osservermgr.cli.OsServerMgrCli from starlite Login to starlite as user root was successful. Download of com.sun.admin.osservermgr.cli.OsServerMgrCli from starlite was successful.. . # /usr/sadm/bin/smosservice patch -- -P Patches In Spool Area Os Rel Arch Patch Id Synopsis ------------------------------------------------------------------------- 8 sparc 111879-01 SunOS 5.8: Solaris Product Registry patch SUNWwsr Patches Applied To OS Services Os Service Patch ------------------------------------------------------------------------- Solaris_8 Patches Applied To Clone Areas Clone Area Patch ------------------------------------------------------------------------- Solaris_8/sun4u Patches In Spool Area Os Rel Arch Patch Id Synopsis ---------------------------------------------------------------------------- 8 sparc 111879-01 SunOS 5.8: Solaris Product Registry patch SUNWwsr . . . # /usr/sadm/bin/smosservice patch -- -m -U Authenticating as user: root Type /? for help, pressing <enter> accepts the default denoted by [ ] Please enter a string value for: password :: Loading Tool: com.sun.admin.osservermgr.cli.OsServerMgrCli from starlite Login to starlite as user root was successful. Download of com.sun.admin.osservermgr.cli.OsServerMgrCli from starlite was successful. # /usr/sadm/bin/smosservice patch -- -P Authenticating as user: root . . . Patches In Spool Area Os Rel Arch Patch Id Synopsis ---------------------------------------------------------------------------- 8 sparc 111879-01 SunOS 5.8: Solaris Product Registry patch SUNWwsr Patches Applied To OS Services Os Service Patch ---------------------------------------------------------------------------- Solaris_8 Patches Applied To Clone Areas Clone Area Patch ---------------------------------------------------------------------------- Solaris_8/sun4u