must be online
2. #svcs enable svc:/sysyem/pools:default
3. #pooladm ##to check pool
4. #pooladm -e ##to enable pool
5. #pooladm -s ##save pool config
6. creating a processor set (pset) qith min is 3 and max is 6
#poolcfg -c 'create pset zone_one_pset (uint pset.min=3; uint pset.max=6)'
7. creating a resource pool for the processor set
#poolcfg -c 'associate pool zone_one_pool (pset zone_one_pset)'
8. activate the pool config and check pool
#pooladm -c ; #pooladm
9. After creating processor set, then associate with pool set, then can create zone/container
#zonecfg -z zone_one_zone
zonecfg> create ####if zone not yet exist
10. Specify directory where zone file will be located
zonecfg> set zonepath=/export/home/zones/zone_one_home
11. Specify if zone is autoboot during reboot or not
zonecfg> set autoboot=true
12. Specify network config for the zone
zonecfg> add net
set address=
set physical=
end
13. Assign the zone to the pool
zonecfg> set pool=zone_one_pool
zonecfg> verify
zonecfg> commit
zonecfg> exit
13. Install your zone OS
#zoneadm -z zone_one_zone install
14. Once the installation finished, try boot the zone
#zoneadm -z zone_one_zone boot
15. Login into the zone and do the initial setup, just like any other new OS installed
#zlogin -C zone_one_zone
No comments:
Post a Comment