![]()
|
SysAdmin Topics
|
Installing Solaris 8 and Solaris 9 ContainersIntroductionPurposeDescribe how to install & set-up Solaris 8 & Solaris 9 Containers on Solaris 10 Host System ScopeThis topic simply describes how to set-up Solaris containers, it does not discuss zones concepts etc. ReferencesSee also:
Preparation
Installation The following procedure is for Solaris 8 containers only. Follow the same steps to install Solaris 9 Step 1
Step 2
In this example zone name is "zone-s8" and "130.15.241.89" is used # mkdir /export/home/zone-s8
# chmod go-rx /export/home/zone-s8
# zonecfg -z s8-zone
s8-zone: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:s8-zone> create -t SUNWsolaris8
zonecfg:s8-zone> set zonepath=/export/home/zone-s8
zonecfg:s8-zone> set autoboot=true
zonecfg:s8-zone> add net
zonecfg:s8-zone:net> set address=130.15.241.89
zonecfg:s8-zone:net> set physical=ipge0
zonecfg:s8-zone:net> end
zonecfg:s8-zone> verify
zonecfg:s8-zone> commit
zonecfg:s8-zone> exit
NOTE: This step uses the sample Solaris 8 image(solaris8-image.flar) which is included in # zoneadm -z zone-s8 install -u -a solaris8-image.flar
Log File: /var/tmp/zone-s8.install.1888.log
Source: /workspace/vs145730/etude/s8containers_pkg/solaris8-image.flar
Installing: This may take several minutes...
Postprocessing: This may take several minutes...
Log File: /export/home/zone-s8/root/var/log/zone-s8.install.1888.log
#
In another window; login to the console for initial zone configuration # zlogin -C zone-s8 Follow interactive menu for zone configuration. After configuration is complete, the zone will
|
Comments (2)
Jul 23, 2008
davecb says:
I found I needed pkgadd -d . SUNWs8brandr on 5.11 snv_7, but then I got an "unkn...I found I needed pkgadd -d . SUNWs8brandr
)
on 5.11 snv_7, but then I got an "unknown
brand" anyway (
Aug 30, 2008
webservice says:
Thanks for the tutorial as davecb stated: After download do a gunzip < s8c...Thanks for the tutorial
as davecb stated:
After download do a
gunzip < s8containers-1_0-07-solaris10-sparc.tar.gz | tar xvf -
Then one must change into the directory
cd s8containers-1_0-07/Product
and do a
pkgadd -d `pwd` SUNWs8brandr
pkgadd -d `pwd` SUNWs8brandu
pkgadd -d `pwd` SUNWs8p2v
There is a typo in the example above
"s8-zone" should be changed to "zone-s8" to have same name of zone around.
Another one:
zoneadm -z zone-s8 install -u -a solaris8-image.flar
should be changed to
zoneadm -z zone-s8 install -u -a `pwd`/solaris8-image.flar
as it requires an absolute path for the "flar" file.
I am not sure on the meaning of the network interface above, probably it is /and must match/ the name of your physical network interface of the global zone.