Become superuser or assume an equivalent role on the server.
For more information, see How to Become Superuser (root) or Assume a Role.
Log in to the diskless client system and shut it down.
# init 0 |
Add the patch to a spool directory.
# /usr/sadm/bin/smosservice patch -- -a /var/patches/patch-ID-revision 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 starbug Login to starbug as user root was successful. Download of com.sun.admin.osservermgr.cli.OsServerMgrCli from starbug was successful. |
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. |
Verify the patch is spooled.
# /usr/sadm/bin/smosservice patch -- -P |
Push the spooled patch to the diskless client.
# /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 starbug Login to starbug as user root was successful. Download of com.sun.admin.osservermgr.cli.OsServerMgrCli from starbug was successful. |
Pushing and synchronizing the patch to the diskless client can take up to 90 minutes per patch.
Verify the patch is applied to the diskless client.
# /usr/sadm/bin/smosservice patch -- -P 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 starbug Login to starbug as user root was successful. Download of com.sun.admin.osservermgr.cli.OsServerMgrCli from starbug was successful. 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 |
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 . . . # /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 . . . # /usr/sadm/bin/smosservice patch -- -m -U Authenticating as user: root . . . # /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 |