Wednesday, May 4, 2011

Change a running zones pool binding


Change a running zones pool binding
1.     Enable resource pools on your system using either svcadm or pooladm -e.
2.     Use pooladm -s to create the pool configuration.
3.     Use pooladm -c to commit the configuration at /etc/pooladm.conf.
4.     Use poolcfg -c to modify the configuration.
poolcfg -c ’create pset pset_zone (uint pset.min = 3; uint pset.max = 3)’
 poolcfg -c ’create pool pool_zone (string pool.scheduler="FSS")’
 poolcfg -c ’associate pool pool_zone (pset pset_zone)’
5.     Use pooladm -c to commit the configuration at /etc/pooladm.conf.

  The command to perform the binding, from the global zone, would be:

zonecfg -z zone1 set pool=pool_zone
 If the zone was running, you must re-boot it for the binding to take effect, unless you  also dynamically assign the zone to the pool.

No comments:

Post a Comment