Sun is in the process of EOL’ing Solaris 8. They no longer sell media kits and none of their new hardware platforms are capable of running this legacy version of the OS. So, what do you do if you have proprietary applications that only run on Solaris 8.
The answer is to run Solaris 8 as a zone on Solaris 10. The following is a quick how-to on the procedures to virtualize a Solaris 8 host as a zone running on a Solaris 10 system.

1) Create a Flash Archive or the Solaris 8 Host

# flarcreate -n Solaris8 /export/flash_archives/solaris8.flar

This is best done with the system at single user mode.
Copy the resulting file to your Solaris 10 host.

2) Install Solaris 8 Container Packages on Solaris 10 Host
The packages are available at http://www.sun.com/download/index.jsp?tab=2
Search for the link “Solaris 8 Containers 1.0.1”

The download file is s8containers-bundle-solaris10-sparc.tar.gz


# gzcat s8containers-bundle-solaris10-sparc.tar.gz | tar xf -
# cd s8containers-bundle/1.0/Product
# pkgadd -d .

** If using Solaris 10 10/08 you will also need install the SUNWs8brandk from the s8containers-bundle/1.0.01/Product directory as well.

3) Create Zone Configuration

# mkdir /export/zones
# zonecfg -z zone8
zone8: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:zone8> create -t SUNWsolaris8
zonecfg:zone8> set autoboot=true
zonecfg:zone8> set zonepath=/export/zones/zone8
zonecfg:zone8> add net
zonecfg:zone8:net> set address=192.168.1.235
zonecfg:zone8:net> set physical=nxge2
zonecfg:zone8:net> end
zonecfg:zone8> add dedicated-cpu
zonecfg:zone8:dedicated-cpu> set ncpus=1-3
zonecfg:zone8:dedicated-cpu> end
zonecfg:zone8> verify
zonecfg:zone8> commit
zonecfg:zone8> exit


# zonecfg -z zone8 info
zonename: zone8
zonepath: /export/zones/zone8
brand: solaris8
autoboot: true
bootargs:
pool:
limitpriv:
scheduling-class:
ip-type: shared
net:
address: 192.168.1.235
physical: nxge2
dedicated-cpu:
ncpus: 1-3

3) Install Zone with Solaris 8 Flash Archive

# zoneadm -z zone8 install -a ~bisbell/Solaris_8.flar -u
Log File: /var/tmp/zone8.install.14011.log
Source: /export/home/bisbell/Solaris_8.flar
Installing: This may take several minutes...
Postprocessing: This may take several minutes...


Result: Installation completed successfully.
Log File: /export/zones/zone8/root/var/log/zone8.install.14011.log

4) Boot and Login to Zone’s Console

# zoneadm -z zone8 boot
# zlogin -C boot

Related Articles:


ABOUT US
Seeds of Genius, Inc. offers a full range of IT solutions including hardware and software products in addition to consulting, installation and support services. For more information, please visit our main web site at http://www.seedsofgenius.com or contact our Technical Sales department at (410) 312-9806.