4) Creating Solaris 9 Zone
For the Solaris 9 zone, we need to do the same
bash-3.2# pkgadd -d /opt/zone_patches/sol9/s9containers-bundle/1.0.1/Product SU
NWs9brandk
Processing package instance <SUNWs9brandk> from </opt/zone_patches/sol9/s9containers-bundle/1.0.1/Product>
Solaris 9 Containers: solaris9 brand support RTU(sparc) 11.10.0,REV=2008.09.20.18.50
Copyright 2008 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Using </> as the package base directory.
## Processing package information.
## Processing system information.
8 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
Installing Solaris 9 Containers: solaris9 brand support RTU as <SUNWs9brandk>
## Installing part 1 of 1.
/usr/lib/brand/solaris9/files/patches/112963-32.zip
/usr/lib/brand/solaris9/files/patches/115986-03.zip
/usr/lib/brand/solaris9/files/patches/order
/usr/share/man/man5/solaris9.5
[ verifying class <none> ]
Installation of <SUNWs9brandk> was successful.
bash-3.2# pkginfo | egrep brand
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 <----- Package Installed
system SUNWs9brandr Solaris 9 Containers: solaris9 brand support (Root)
system SUNWs9brandu Solaris 9 Containers: solaris9 brand support (Usr)
Creating directory for the zone
bash-3.2# cd /export/zones
bash-3.2# ls
sol8-zone
bash-3.2# mkdir sol9-zone
bash-3.2# chmod 700 sol9-zone/
bash-3.2#
bash-3.2# zonecfg -z s9-zone
s9-zone: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:s9-zone> create -t SUNWsolaris9
zonecfg:s9-zone> set zonepath=/export/zones/sol9-zone
zonecfg:s9-zone> set autoboot=true
zonecfg:s9-zone> add net
zonecfg:s9-zone:net> set address=10.163.X.X
zonecfg:s9-zone:net> set physical=vnet0
zonecfg:s9-zone:net> end
zonecfg:s9-zone> verify
zonecfg:s9-zone> commit
zonecfg:s9-zone> exit
bash-3.2#
bash-3.2#
bash-3.2#
bash-3.2# zoneadm -z s9-zone install -u -a /opt/zone_patches/sol9/s9-zone.flar
Log File: /var/tmp/s9-zone.install.23608.log
Source: /opt/zone_patches/sol9/s9-zone.flar
Installing: This may take several minutes...
Postprocessing: This may take several minutes...
Result: Installation completed successfully.
Log File: /export/zones/sol9-zone/root/var/log/s9-zone.install.23608.log
bash-3.2#
bash-3.2# /usr/lib/brand/solaris9/s9_p2v s9-zone
[Thu Aug 20 11:13:12 PDT 2015] S20_apply_patches: Unpacking patch: 115986-03
[Thu Aug 20 11:13:12 PDT 2015] S20_apply_patches: Installing patch: 115986-03
Checking installed patches...
Patch 115986-03 has already been applied.
See patchadd(1M) for instructions.
Patchadd is terminating.
[Thu Aug 20 11:13:13 PDT 2015] S20_apply_patches: Unpacking patch: 112963-32
[Thu Aug 20 11:13:13 PDT 2015] S20_apply_patches: Installing patch: 112963-32
Checking installed patches...
Patch 112963-32 has already been applied.
See patchadd(1M) for instructions.
Patchadd is terminating.
bash-3.2# zoneadm -z s9-zone boot
bash-3.2# zoneadm list
global
s8-zone
s9-zone
bash-3.2#
bash-3.2#
I booted the zone and i configured the initial setup
bash-3.2# zlogin -C s9-zone
[Connected to zone 's9-zone' console]
bash-2.05#
bash-2.05# more /etc/release
Solaris 9 4/04 s9s_u6wos_08a SPARC
Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 22 March 2004
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)
For the Solaris 9 zone, we need to do the same
NWs9brandk
Copyright 2008 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Using </> as the package base directory.
## Processing package information.
## Processing system information.
8 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
/usr/lib/brand/solaris9/files/patches/112963-32.zip
/usr/lib/brand/solaris9/files/patches/115986-03.zip
/usr/lib/brand/solaris9/files/patches/order
/usr/share/man/man5/solaris9.5
[ verifying class <none> ]
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 <----- Package Installed
system SUNWs9brandr Solaris 9 Containers: solaris9 brand support (Root)
system SUNWs9brandu Solaris 9 Containers: solaris9 brand support (Usr)
bash-3.2# ls
sol8-zone
bash-3.2# mkdir sol9-zone
bash-3.2# chmod 700 sol9-zone/
bash-3.2#
Use 'create' to begin configuring a new zone.
zonecfg:s9-zone> create -t SUNWsolaris9
zonecfg:s9-zone> set zonepath=/export/zones/sol9-zone
zonecfg:s9-zone> set autoboot=true
zonecfg:s9-zone> add net
zonecfg:s9-zone:net> set address=10.163.X.X
zonecfg:s9-zone:net> set physical=vnet0
zonecfg:s9-zone:net> end
zonecfg:s9-zone> verify
zonecfg:s9-zone> commit
zonecfg:s9-zone> exit
bash-3.2#
bash-3.2#
bash-3.2#
Log File: /var/tmp/s9-zone.install.23608.log
Source: /opt/zone_patches/sol9/s9-zone.flar
Installing: This may take several minutes...
Postprocessing: This may take several minutes...
Log File: /export/zones/sol9-zone/root/var/log/s9-zone.install.23608.log
bash-3.2#
[Thu Aug 20 11:13:12 PDT 2015] S20_apply_patches: Installing patch: 115986-03
Patch 115986-03 has already been applied.
See patchadd(1M) for instructions.
[Thu Aug 20 11:13:13 PDT 2015] S20_apply_patches: Unpacking patch: 112963-32
[Thu Aug 20 11:13:13 PDT 2015] S20_apply_patches: Installing patch: 112963-32
Patch 112963-32 has already been applied.
See patchadd(1M) for instructions.
global
s8-zone
s9-zone
bash-3.2#
bash-3.2#
[Connected to zone 's9-zone' console]
bash-2.05# more /etc/release
Solaris 9 4/04 s9s_u6wos_08a SPARC
Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 22 March 2004
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)
0 comentarios:
Post a Comment