0 Replies Latest reply: Jun 4, 2010 7:25 AM by 807567 RSS

    How to install recommended patch cluster 2010may31?

    807567
      Hello,

      I can't install the patch cluster to a live upgrade environment.

      $ uname -a
      SunOS exa 5.10 Generic_141444-09 sun4u sparc SUNW,Sun-Fire-V250

      $ cat /etc/release
      Solaris 10 10/09 s10s_u8wos_08a SPARC
      Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
      Use is subject to license terms.
      Assembled 16 September 2009

      $ zoneadm list -cvi
      ID NAME STATUS PATH BRAND IP
      0 global running / native shared
      11 dhcp running /rpool/machines/zones/dhcp native excl
      12 dochazka running /rpool/machines/zones/dochazka native shared
      13 tgm running /rpool/machines/zones/tgm solaris9 shared
      14 mercurial running /rpool/machines/zones/mercurial native shared
      15 dns running /rpool/machines/zones/dns native excl
      -bash-3.00$

      I applied patch 121430-47 first:

      -bash-3.00$ pwd
      /export/home/jh231629/patch_exa/121430-47
      -bash-3.00$ cd ..
      -bash-3.00$ pfexec patchadd 121430-47
      Validating patches...
      Loading patches installed on the system...
      Done!
      Loading patches requested to install.
      Done!
      Checking patches that you specified for installation.
      Done!
      Approved patches will be installed in this order:
      121430-47
      Preparing checklist for non-global zone check...
      Checking non-global zones...
      This patch passes the non-global zone check.
      121430-47
      Summary for zones:
      Zone dns
      Rejected patches:
      None.
      Patches that passed the dependency check:
      121430-47
      Zone dhcp
      Rejected patches:
      None.
      Patches that passed the dependency check:
      121430-47
      Zone mercurial
      Rejected patches:
      None.
      Patches that passed the dependency check:
      121430-47
      Zone dochazka
      Rejected patches:
      None.
      Patches that passed the dependency check:
      121430-47
      Patching global zone
      Adding patches...
      Checking installed patches...
      Executing prepatch script...
      Installing patch packages...
      Patch 121430-47 has been successfully installed.
      See /var/sadm/patch/121430-47/log for details
      Executing postpatch script...
      Patch packages installed:
      SUNWlucfg
      SUNWlur
      SUNWluu
      Done!
      Patching non-global zones...
      Patching zone dns
      Adding patches...
      Checking installed patches...
      Executing prepatch script...
      Installing patch packages...
      Patch 121430-47 has been successfully installed.
      See /var/sadm/patch/121430-47/log for details
      Executing postpatch script...
      Patch packages installed:
      SUNWlucfg
      SUNWlur
      SUNWluu
      Done!
      Patching zone dhcp
      Adding patches...
      Checking installed patches...
      Executing prepatch script...
      Installing patch packages...
      Patch 121430-47 has been successfully installed.
      See /var/sadm/patch/121430-47/log for details
      Executing postpatch script...
      Patch packages installed:
      SUNWlucfg
      SUNWlur
      SUNWluu
      Done!
      Patching zone mercurial
      Adding patches...
      Checking installed patches...
      Executing prepatch script...
      Installing patch packages...
      Patch 121430-47 has been successfully installed.
      See /var/sadm/patch/121430-47/log for details
      Executing postpatch script...
      Patch packages installed:
      SUNWlucfg
      SUNWlur
      SUNWluu
      Done!
      -bash-3.00$

      bash-3.00# lucreate -c s10s_u8wos_08a -n s10s_u8wos_08a-patch_2010may31
      Analyzing system configuration.
      Comparing source boot environment <s10s_u8wos_08a> file systems with the
      file system(s) you specified for the new boot environment. Determining
      which file systems should be in the new boot environment.
      Updating boot environment description database on all BEs.
      Updating system configuration files.
      Creating configuration for boot environment <s10s_u8wos_08a-patch_2010may31>.
      Source boot environment is <s10s_u8wos_08a>.
      Creating boot environment <s10s_u8wos_08a-patch_2010may31>.
      Cloning file systems from boot environment <s10s_u8wos_08a> to create boot environment <s10s_u8wos_08a-patch_2010may31>.
      Creating snapshot for <rpool/ROOT/s10s_u8wos_08a> on <rpool/ROOT/s10s_u8wos_08a@s10s_u8wos_08a-patch_2010may31>.
      Creating clone for <rpool/ROOT/s10s_u8wos_08a@s10s_u8wos_08a-patch_2010may31> on <rpool/ROOT/s10s_u8wos_08a-patch_2010may31>.
      Setting canmount=noauto for </> in zone <global> on <rpool/ROOT/s10s_u8wos_08a-patch_2010may31>.
      Creating snapshot for <rpool/ROOT/s10s_u8wos_08a/var> on <rpool/ROOT/s10s_u8wos_08a/var@s10s_u8wos_08a-patch_2010may31>.
      Creating clone for <rpool/ROOT/s10s_u8wos_08a/var@s10s_u8wos_08a-patch_2010may31> on <rpool/ROOT/s10s_u8wos_08a-patch_2010may31/var>.
      Setting canmount=noauto for </var> in zone <global> on <rpool/ROOT/s10s_u8wos_08a-patch_2010may31/var>.
      Creating snapshot for <rpool/machines/zones/dhcp> on <rpool/machines/zones/dhcp@s10s_u8wos_08a-patch_2010may31>.
      Creating clone for <rpool/machines/zones/dhcp@s10s_u8wos_08a-patch_2010may31> on <rpool/machines/zones/dhcp-s10s_u8wos_08a-patch_2010may31>.
      Creating snapshot for <rpool/machines/zones/dochazka> on <rpool/machines/zones/dochazka@s10s_u8wos_08a-patch_2010may31>.
      Creating clone for <rpool/machines/zones/dochazka@s10s_u8wos_08a-patch_2010may31> on <rpool/machines/zones/dochazka-s10s_u8wos_08a-patch_2010may31>.
      Creating snapshot for <rpool/machines/zones/mercurial> on <rpool/machines/zones/mercurial@s10s_u8wos_08a-patch_2010may31>.
      Creating clone for <rpool/machines/zones/mercurial@s10s_u8wos_08a-patch_2010may31> on <rpool/machines/zones/mercurial-s10s_u8wos_08a-patch_2010may31>.
      Creating snapshot for <rpool/machines/zones/dns> on <rpool/machines/zones/dns@s10s_u8wos_08a-patch_2010may31>.
      Creating clone for <rpool/machines/zones/dns@s10s_u8wos_08a-patch_2010may31> on <rpool/machines/zones/dns-s10s_u8wos_08a-patch_2010may31>.
      Population of boot environment <s10s_u8wos_08a-patch_2010may31> successful.
      Creation of boot environment <s10s_u8wos_08a-patch_2010may31> successful.
      bash-3.00#

      I downloaded recommended patch cluster from sunsolve, version 31/may/2010 for SPARC.


      bash-3.00# cd recommended_patch_cluster_s10_sparc-31May2010/10_Recommended
      bash-3.00# ls
      Copyright LEGAL_LICENSE.TXT patches README
      installcluster patchcluster.conf patch_order
      bash-3.00#

      bash-3.00# lustatus
      Boot Environment Is Active Active Can Copy
      Name Complete Now On Reboot Delete Status
      -------------------------- -------- ------ --------- ------ ----------
      s10s_u8wos_08a yes yes yes no -
      s10s_u8wos_08a-patch_2010may31 yes no no yes -
      bash-3.00#


      bash-3.00# ./installcluster -B s10s_u8wos_08a-patch_2010may31 --s10cluster
      ERROR: Failed to mount boot environment 's10s_u8wos_08a-patch_2010may31'.

      bash-3.00#


      bash-3.00# lumount s10s_u8wos_08a-patch_2010may31
      ERROR: mount point </.alt.s10s_u8wos_08a-patch_2010may31/rpool> is already in use, mounted on </rpool>
      ERROR: failed to create mount point </.alt.s10s_u8wos_08a-patch_2010may31/rpool> for file system </rpool>
      ERROR: unmounting partially mounted boot environment file systems
      ERROR: No such file or directory: error unmounting <rpool/ROOT/s10s_u8wos_08a-patch_2010may31>
      ERROR: cannot mount boot environment by name <s10s_u8wos_08a-patch_2010may31>
      bash-3.00#

      Any idea why patch 121430-47 didn't help?
      Is here any workaround?
      Thank you for help!
      Regards,

      Jan Hlodan