Updating platform sun4v boot archive
25-Nov-2020 09:59
zoneadm: zone s8-zone failed to verify We are having a right issue over the zone directory bash-3.2# chmod 700 sol8-zone/ bash-3.2# zoneadm -z s8-zone install -u -a /opt/s8Log File: /var/tmp/s8-zone.install.9485Source: /opt/s8Installing: This may take several minutes... When a solaris8 branded zone is migrated to a new host, this process must be repeated to ensure that the zone is optimized to run on the new host. This patch is obsoleted by patch 108993-11 which has already been applied to this system. [Wed Aug 19 PDT 2015] S20_apply_patches: Unpacking patch: 112605-04 [Wed Aug 19 PDT 2015] S20_apply_patches: Installing patch: 112605-04 Checking installed patches...
The first time that the zone attempts to boot on the new host it will detect whether the s8_p2v conversion command has been run. [Wed Aug 19 PDT 2015] S20_apply_patches: Unpacking patch: 111023-03 [Wed Aug 19 PDT 2015] S20_apply_patches: Installing patch: 111023-03 Checking installed patches...
I did my research and i found a couple of good clients, that i will like to share with you Most of them are based on Putty and others don't :) Mremote NG [email protected]:~# more /etc/release Oracle Solaris 11.2 SPARC Copyright (c) 1983, 2014, Oracle and/or its affiliates. Assembled 23 June 2014 [email protected]:~# [email protected]:~# [email protected]:~# ldm list bash-2.05# more /etc/release Solaris 9 4/04 s9s_u6wos_08a SPARC Copyright 2004 Sun Microsystems, Inc. /export/zones/sol8-zone must not be group executable. /export/zones/sol8-zone must not be world readable. /export/zones/sol8-zone must not be world executable. could not verify zonepath /export/zones/sol8-zone because of the above errors. Log File: /export/zones/sol8-zone/root/var/log/s8-zone.install.9485bash-3.2# From doc id 1019682.1Zone Migration and Initial Boot (similar for Solaris 9 branded zones) During the process of installing the solaris8 branded zone, a physical-to-virtual conversion is automatically performed. [Wed Aug 19 PDT 2015] S20_apply_patches: Unpacking patch: 111431-01 [Wed Aug 19 PDT 2015] S20_apply_patches: Installing patch: 111431-01 Checking installed patches...
/usr/lib/brand/solaris9/files/patches/112963-32/usr/lib/brand/solaris9/files/patches/115986-03/usr/lib/brand/solaris9/files/patches/order /usr/share/man/man5/solaris9.5 [ verifying class system SUNWs8brandk Solaris 8 Containers: solaris8 brand support RTU system SUNWs8brandr Solaris 8 Containers: solaris8 brand support (Root) system SUNWs8brandu Solaris 8 Containers: solaris8 brand support (Usr) system SUNWs9brandk Solaris 9 Containers: solaris9 brand support RTU bash-3.2# zoneadm -z s9-zone install -u -a /opt/zone_patches/sol9/s9Log File: /var/tmp/s9-zone.install.23608Source: /opt/zone_patches/sol9/s9Installing: This may take several minutes... bash-2.05# https://community.oracle.com/docs/DOC-920418 CONTENT 1) Getting the flar files from the Physical Systems (Part 2) 2) Creating LDOM (Part 3) 3) Creating Solaris 8 zone (Part 4) 4) Creating Solaris 9 zone (Part 5) 5) Moving between Primary/Guest Domain and Zones (Part 6) 3) Creating Solaris 8 Zone Once we are logged in into our ldom, we need to configure our branded zones bash-3.2# zonecfg -z s8-zone s8-zone: No such zone configured Use 'create' to begin configuring a new zone.
To avoid the bug, use network installation and the following procedure to install Oracle Solaris 10 9/10 or Oracle Solaris 10 8/11.
BOOT - R' height='119px; ' id='Header1_headerimg' src=' Otrdd8/Vt Gt ECkch5I/AAAAAAAAFVY/1fj Hgm DYS_Y/s1600-r/logo3.png' style='display: block;padding-left:0px;padding-top:0px;' width='210px; '/ I know that many sysadmins prefer the unix console to connect to other hosts. ## Checking for conflicts with packages already installed. zonecfg:s8-zone From doc id 1019682.1How to Setup Solaris 8 and 9 Containers (Branded Zones) in Solaris 10 (Doc ID 1019682.1) Ensure the Solaris release on Global Zone is higher or equal to Solaris 10_U6, unless upgrade Solaris to a recent release bash-3.2# more /etc/release Oracle Solaris 10 8/11 s10s_u10wos_17b SPARC Copyright (c) 1983, 2011, Oracle and/or its affiliates. Assembled 23 August 2011 Starting from Solaris 10_U6, SUNWs[89]brand[ru] packages are delivered with the DVD/ISO For Solaris 10_U6 and higher, these packages must be used instead of the the packages included in downloaded or s8containers-bundle-solaris10gz or s9containers-bundle-solaris10- gz Package SUNWs[89]brand[ru] are part of subcluster SUNWCsolaris8 (SUNWCsolaris9) These packages are included in Meta Cluster : SUNWCXall or SUNWCall For other Meta Clusters, SUNWs[89]brand[ru] packages needs to be added to system Please ensure that the packages are installed from DVD/ISO of the very same Solaris release as shown in /etc/system Check existence of the SUNWs[89]brand[ru] packages bash-3.2# pkginfo | egrep brand system SUNWs8brandr Solaris 8 Containers: solaris8 brand support (Root) system SUNWs8brandu Solaris 8 Containers: solaris8 brand support (Usr) system SUNWs9brandr Solaris 9 Containers: solaris9 brand support (Root) system SUNWs9brandu Solaris 9 Containers: solaris9 brand support (Usr) For all Solaris releases, package SUNWs8brandk ( SUNWs9brandk) needs to be added Package SUNWs8brandk ( SUNWs9brandk) is part of downloaded s9containers-bundle-solaris10gz // older name-scheme for Solaris 9 bundle p11842137_900_SOLARIS64// new name-scheme for Solaris 9 bundle s8containers-bundle-solaris10gz // older name-scheme for Solaris 8 bundle p11702874_800_SOLARIS64// new name-scheme for Solaris 8 bundle i.e. ## Checking for conflicts with packages already installed. [Wed Aug 19 PDT 2015] S20_apply_patches: Unpacking patch: 109221-01 [Wed Aug 19 PDT 2015] S20_apply_patches: Installing patch: 109221-01 Checking installed patches... Using RPC Bootparams for network configuration information.
The wizard will continue to the next step unless you select "Pause". bash-3.2# more /etc/release Oracle Solaris 10 8/11 s10s_u10wos_17b SPARC Copyright (c) 1983, 2011, Oracle and/or its affiliates. Assembled 23 August 2011 bash-3.2# https://community.oracle.com/docs/DOC-920418 CONTENT 1) Getting the flar files from the Physical Systems (Part 2) 2) Creating LDOM (Part 3) 3) Creating Solaris 8 zone (Part 4) 4) Creating Solaris 9 zone (Part 5) 5) Moving between Primary/Guest Domain and Zones (Part 6) 1) Getting the flar files from the Physical Systems We have 2 servers v210 and v240, from where we got the flar files for our branded zones We have a v240, running Solaris 9 bash-2.05# prtdiag -v System Configuration: Sun Microsystems sun4u Sun Fire V240 System clock frequency: 167 MHZ Memory size: 8GB System PROM revisions: ---------------------- OBP 4.30.4.a 2010/01/06 Sun Fire V210/V240, Netra 210/240 OBDIAG 4.30.4 2010/01/06 bash-2.05# more /etc/release Solaris 9 4/04 s9s_u6wos_08a SPARC Copyright 2004 Sun Microsystems, Inc. Assembled 22 March 2004 We have a V210 server, running Solaris 8 bash-2.03# more /etc/release Solaris 8 HW 12/02 s28s_hw1wos_06a SPARC Copyright 2002 Sun Microsystems, Inc. Assembled 12 December 2002 bash-2.03# uname -a Sun OS v210 5.8 Generic_108528-18 sun4u sparc SUNW, Sun-Fire-V210 bash-2.03# ###### Flar File from the V210 Server (Solaris 8) ###### # flarcreate -S -n s8-zone /opt/sol8_zone/s8Determining which filesystems will be included in the archive... Reading this blog may confuse you or may increase understanding of UNIX/Linux operating system and its component. -Kamal ~~~~~ [[email protected]]# lustatus Boot Environment Is Active Active Can Copy Name Complete Now On Reboot Delete Status-------------------------- -------- ------ --------- ------ ----------a BE_10202017 yes no no yes -p BE_01222018 yes yes yes no -[[email protected]]# uname -a Sun OS mm-erp-v24 5.10 Generic_150400-59 sun4v sparc sun4v[[email protected]]# ludelete a BE_10202017WARNING: Deleting ZFS dataset . Updating boot environment description database on all BEs.
It might help you to land on Real job or may fire your from the Real job. Updating all boot environment configuration databases.[[email protected]]# lustatus Boot Environment Is Active Active Can Copy Name Complete Now On Reboot Delete Status-------------------------- -------- ------ --------- ------ ----------p BE_01222018 yes yes yes no -[[email protected]]# cp -p /etc/hosts /etc/hosts.`date ' BK_%m-%d-%Y'`[[email protected]]# cp -p /etc//etc/`date ' BK_%m-%d-%Y'`[[email protected]]# cp /etc/mail//etc/mail/`date ' BK_%m-%d-%Y'`[[email protected]]# cp /etc/mail//etc/mail/`date ' BK_%m-%d-%Y'`[[email protected]]# df -h /var/tmp/ICF2`date ' BK_%m-%d-%Y'`cat: cannot open /etc/lu/ICF.2[[email protected]mm-erp-v24]# cd /var/adm; rm pacct.* auditlog.0 auditlog.1auditlog.0: No such file or directoryauditlog.1: No such file or directory[[email protected]]# cd /var/tmp; rm -fr DCE* SPX* TCP* US* RAW* NMP* net* ISPX* VI* BEQ* DEC* ITCP*[[email protected]]# cd /var/audit; /usr/local/bin/purge_audit.sh; cd /var/tmpfind: stat() error /var/audit/20180209014602.not_terminated.mm-erp-v24: No such file or directory[[email protected]]# lustatus Boot Environment Is Active Active Can Copy Name Complete Now On Reboot Delete Status-------------------------- -------- ------ --------- ------ ----------p BE_01222018 yes yes yes no -[[email protected]]# lucreate -n a BE_04202018Analyzing system configuration. This post shows how to boot from an alternate device or media to update or fix a Solaris 11 instance.