|
|
YOUR FEEDBACK
Did you read today's front page stories & breaking news?
SYS-CON.TV |
TOP THREE LINKS YOU MUST CLICK ON Virtualization
Deploying GlassFish v2 Virtualization in the Solaris Container
OS virtualization is done by enabling multiple isolated and secured systems in one physical server
By: Sonny Hastomo
Jan. 24, 2008 03:30 PM
Digg This!
Page 2 of 3
« previous page
next page »
Solaris Container = Zone + Resource Management The Solaris Resource Management and Zones are the basic functions that form the Solaris Container. Zones provide isolation that is scalable, flexible, and lightweight for the Solaris O/S services. Zones are like having another Solaris instance inside the Solaris O/S. Zone can be categorized into two types: non-global zone and global zone (see Figure 1). Resource Management is a policy that enables the Solaris O/S to manage and compute resources including partitioning, utilization allocation, and resource allocation on the fly through the administrative function / command.
Prerequisite
1. Partitioning the CPU Resource svcadm enable svc:/system/pools:default After you run that command, check the service status using the svcs command. We will start by looking at the current configuration of the pool. This information can be displayed using the pooladm command. Here is an example of the current resource pool.
system default The default pool for the global zone named pool_default is holding the CPU set named pset_default. Currently the CPU set of pset_default is allocated with two CPUs (cpu.sys_id=0, and cpu.sys_id=1). In this example we will be partitioning the CPU with one CPU to allocate the pool_glassfish and the other still in the pool_default. Follow the steps below to create the pool_glassfish a. Generate /etc/pooladm.conf pooladm -s b. Create a CPU set as pset_glassfish and assign cpu.sys_id=0 to pset_glassfish
poolcfg -c 'create pset pset_glassfish (uint pset.min=1; uint pset.max=1)' c. Create a pool with pool_glassfish as the label
poolcfg -c 'create pool pool_glassfish' d. Associate the CPU set (pset_glassfish) to the pool (pool_glassfish)
poolcfg -c 'associate pool pool_glassfish (pset pset_glassfish)' In order to verify the configuration modification we can use the pooladm command. The amazing part about this configuration process is that the modification can be done online without rebooting the operating system. The example below is the result of the changes we have done:
system default Page 2 of 3 « previous page next page »
LATEST JAVA STORIES & POSTS
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
|
SYS-CON FEATURED WHITEPAPERS MOST READ THIS WEEK SPONSORED BY INFRAGISTICS
BREAKING JAVA NEWS
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||