You are on page 1of 4

global# pooladm -e

global# pooladm -s

See if any pools already exist on the system

global# pooladm

system default
string system.comment
int system.version 1
boolean system.bind-default true
string system.poold.objectives wt-load

pool pool_default
int pool.sys_id 0
boolean pool.active true
boolean pool.default true
int pool.importance 1
string pool.comment
pset pset_default

pset pset_default
int pset.sys_id -1
boolean pset.default true
uint pset.min 1
uint pset.max 65536
string pset.units population
uint pset.load 16
uint pset.size 8
string pset.comment

cpu
int cpu.sys_id 17
string cpu.comment
string cpu.status on-line

cpu
int cpu.sys_id 16
string cpu.comment
string cpu.status on-line

cpu
int cpu.sys_id 19
string cpu.comment
string cpu.status on-line

cpu
int cpu.sys_id 18
string cpu.comment
string cpu.status on-line

cpu
int cpu.sys_id 1
string cpu.comment
string cpu.status on-line

cpu
int cpu.sys_id 0
string cpu.comment
string cpu.status on-line

cpu
int cpu.sys_id 3
string cpu.comment
string cpu.status on-line

cpu
int cpu.sys_id 2
string cpu.comment
string cpu.status on-line

You are starting on a system on which no pools were


configured, you should only see one pool entry, "pool
pool_default"

global# poolcfg -c 'modify pool pool_default (string


pool.scheduler="FSS")'

global# pooladm –c

global# priocntl -s -c FSS -i class TS

global# mkdir /home_local/virtual1

global# chown root:root /home_local

global# chmod 700 /home_local/virtual1

global# zonecfg -z virtual1

virtual1: No such zone configured

Use 'create' to begin configuring a new zone.

zonecfg:virtual1> create

zonecfg:virtual1> set zonepath=/home_local/virtual1

zonecfg:virtual1> set autoboot=true

zonecfg:virtual1> add net

zonecfg:virtual1:net> set address=10.10.10.10

zonecfg:virtual1:net> set physical=bge0

zonecfg:virtual1:net> end
zonecfg:virtual1> set pool=pool_default

zonecfg:virtual1> add rctl

zonecfg:virtual1:rctl> set name=zone.cpu-shares

zonecfg:virtual1:rctl> add value


(priv=privileged,limit=11,action=none)

zonecfg:virtual1:rctl> end

zonecfg:virtual1> add attr

zonecfg:virtual1:attr> set name=virtual1

zonecfg:virtual1:attr> set type=string

zonecfg:virtual1:attr> set value="virtual1"

zonecfg:virtual1:attr> end

zonecfg:virtual1> verify

zonecfg:virtual1> commit

zonecfg:virtual1> exit

global# zoneadm -z virtual1 install

Preparing to install zone <virtual1>.

Creating list of files to copy from the global zone.

Copying <2561> files to the zone.

Initializing zone product registry.

Determining zone package initialization order.

Preparing to initialize <1043> packages on the zone.

Initialized <1043> packages on zone.

Zone <virtual1> is initialized.

The file
</home_local/virtual1/root/var/sadm/system/logs/install_log>
contains a log of the zone installation.

global# zoneadm list -iv

ID NAME STATUS PATH BRAND


IP
0 global running / native
shared

- virtual1 installed /home_local/virtual1 native


shared

global# zoneadm -z virtual1 boot

global# zlogin -C virtual1


[