Monday May 14, 2007
Monday May 14, 2007
You can use zonecfg to dynamically create a pool for
your zone when it is running.
zonecfg:new-zone> add dedicated-cpu
zonecfg:new-zone:dedicated-cpu> set ncpus=1-3
zonecfg:new-zone:dedicated-cpu> set importance=2
zonecfg:new-zone:dedicated-cpu> end
The capped-memory resource sets limits for physical, swap, and locked memory.
zonecfg:new-zone> add capped-memory
zonecfg:new-zone:capped-memory> set physical=50m
zonecfg:new-zone:capped-memory> set swap=100m
zonecfg:new-zone:capped-memory> set locked=30m
zonecfg:new-zone:capped-memory> end
You can specify zone-wide resource controls as global property names:
zonecfg:new-zone> set cpu-shares=5
There are two new ways to set the scheduling class:
The other new features in Solaris 10 7/07 and Solaris Express Developer
Edition 5/07 include: Enhancements to rcapd and prstat
and the ability to use the zonecfg command to configure the resource management
settings for the global zone, and a new IP type in addition to shared-IP
for non-global zones, exclusive-IP
(dedicated network interface), specified in zonecfg:
zonecfg:new-zone> set ip-type=exclusive
zonecfg:new-zone> add net
zonecfg:new-zone:net> set physical=bge32001
zonecfg:new-zone> end
Some references for more information include: an advance copy of the System Administration Guide: Solaris Containers--Resource Management and Solaris Zones posted on the Zones community site, Jerry's blog on containers, and Donghai Han's Weblog on new IP functionality.
Posted by Jason on May 15, 2007 at 07:25 AM PDT #
Posted by Penny Cotten on May 22, 2007 at 03:34 PM PDT #
Posted by Penny Cotten on May 22, 2007 at 05:14 PM PDT #