Hallo gan, berikut step by step install zone di solaris 10, Oh iya zone itu apa ya?
Zone di solaris 10 itu sama kaya virtual yang memanfaatkan resource hardware dengan sifat yang sama seperti virtual lainnya (encapsulation) terpisah dengan resource host (global zone).
Berikut detail stepnya;
1. Extrac file V24150-01.zip (unzip)
root@nsx01 # cd solarislegacycontainers/
root@nsx01 # ls
1.0 1.0.1 README
2. Add Package di versi 1.0.1
pkgadd -d . SUNWs8brandk # (.) install dari directory itu sendiri
Processing package instance <SUNWs8brandk> from </source/solarislegacycontainers/1.0.1/Product>
Solaris 8 Containers: solaris8 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.
The following files are already installed on the system and are being
used by another package:
/usr/share/man/man5/solaris8.5
Do you want to install these conflicting files [y,n,?,q] y
## Checking for setuid/setgid programs.
Installing Solaris 8 Containers: solaris8 brand support RTU as <SUNWs8brandk>
## Installing part 1 of 1.
/usr/lib/brand/solaris8/files/patches/109147-44.zip
/usr/lib/brand/solaris8/files/patches/109221-01.zip
/usr/lib/brand/solaris8/files/patches/111023-03.zip
/usr/lib/brand/solaris8/files/patches/111431-01.zip
/usr/lib/brand/solaris8/files/patches/112050-04.zip
/usr/lib/brand/solaris8/files/patches/112605-04.zip
/usr/lib/brand/solaris8/files/patches/order
/usr/share/man/man5/solaris8.5
[ verifying class <none> ]
Installation of <SUNWs8brandk> was successful.
3. Cek status pake yang telah di install
root@nsx01 # pkginfo | grep “Solaris 8”
system FJSVs8brandr FUJITSU Solaris 8 Containers: solaris8 brand support (Root)
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)
4. Upload file container di zones, kemudian di extract
gzcat pegasus-appsvr.tar.gz | tar -xf –
5. cara create zones
zonecfg -z nama_zones
nama zone : pegasus-appsvr
6. configure zone
– create -t SUNWsolaris8
– set zonepath = /zones/pegasus-appsvr
– set ip-type = exclusive
– set autoboot = false
– info
– commit
– exit
7. check zones
– zoneadm list -vc
8. Attach Zoning yang sudah ada
zoneadm -z namazone attach -u
9.Boot Zone
zoneadm -z namazone boot
10. Matiin Zone
zoneadm -z namazone halt
11. Login ke zone
zlogin -C namazone
12. Uninstall Zone
zoneadm -z namazone uninstall
13. Delete config Zone
zonecfg -z namazone delete
###### Tambahan #######
– Attach Zone yang baru di unzip
zoneadm -z namazone attach -u
########################################
Create Big Zone
# zonecfg -z big-zone
big-zone: No such zone configured
Use ‘create’ to begin configuring a new zone.
zonecfg:big-zone> create -b
zonecfg:big-zone> set autoboot=true
zonecfg:big-zone> set zonepath=/export/big-zone
zonecfg:big-zone> add net
zonecfg:big-zone:net> set address=192.168.2.201
zonecfg:big-zone:net> set physical=hme0
zonecfg:big-zone:net> end
zonecfg:big-zone> info
zonepath: /export/big-zone
autoboot: true
pool:
net:
address: 192.168.2.201
physical: hme0
zonecfg:big-zone> verify
zonecfg:big-zone> commit
zonecfg:big-zone> exit
#########################################
1 Comment
Kristian Dyanto · 05/01/2015 at 17:26
Manstab gan :D,
Thanks inponya…