Now (Solaris 10 up through 11/06) you can configure the Resource Capping Daemon (rcapd) in the zone. See page 19 of my Containers Architecture BluePrint: http://www.sun.com/blueprints/0506/819-6186.pdf for a complete explanation.

In the current build of OpenSolaris, and the next release of Solaris 10 (the one with the Duckhorn enhancements) it is much easier, and the zone cannot change its own cap. For an existing zone, the zonecfg(1M) syntax looks like this:

global# zonecfg -z myzone
add capped-memory
  set physical=4g
end
exit

You can also modify the cap while the zone is running, with rcapadm:

global# rcapadm -z myzone -m 5g


DJR wrote:
thank you for all the good information,

I appreciate it, I now have just do it since I now have the knowledge given by 
y'all


one last thing.

assigning phyiscal memory, we have 16gb of memory on our server, I want to 
assign 4gb to our zone and leave 12gb for the global zone.

--
--------------------------------------------------------------------------
Jeff VICTOR              Sun Microsystems            jeff.victor @ sun.com
OS Ambassador            Sr. Technical Specialist
Solaris 10 Zones FAQ:    http://www.opensolaris.org/os/community/zones/faq
--------------------------------------------------------------------------
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to