Skip to main content

Posts

Showing posts with the label Pools Zones

HOW TO ENABLE ORACLE SOLARIS CONTAINERS RESOURCE MANAGEMENT AND CONFIGURATE SOLARIS 11 ZONES

How to enable Oracle Solaris containers resources Management and configurate Oracle Solaris 11 Zones 1.-Validate the state of the SMF Services disabled       12:02:37 svc:/system/pools/dynamic:default disabled          8:41:26 svc:/system/pools:default 2.-Enable the /system/poools:default ~# svcadm enable /system/pools ~# svcs -a | grep pool disabled       12:02:37 svc:/system/pools/dynamic:default online          8:41:26 svc:/system/pools:default 3.-Validate that are the resources are available to the pool ~# poolstat                               pset  id pool                 size used load   0 pool_default           32 0.00 0.01 ~# 4.-Enable your pools in your system for dinamic configuration ~# pooladm -s 5.-View the contents configuration file /etc/pooladm.conf ~#poolcfg -c info system default         string  system.comment         int     system.version 1         boolean system.bind-default true         string  system.poold.objectives wt-load  

How to configure a Pool/Pset and Assign to the Solaris Zone

How to configure a Pool/Pset and Assing it to the Solaris Zone Generate a file with the information below #vi poolnew create pset backup-pset (uint pset.min = 4; uint pset.max = 6 ) create pool pool_backup associate pool pool_backup (pset backup-pset) Now we have a minimun pset set in 4 and maximum set in 6 for a pool named backup in order to create our new pool_backup In the poolnew we have the configuration file in order to create the pool (line 2) and pset with min and max values, finally the association the all the information to the pool # cat poolnew create pset backup-pset (uint pset.min = 4; uint pset.max = 6) create pool pool_backup associate pool pool_backup (pset backup-pset) In the poolnew, now we have the configuration file in order to create the pool (line 2) and pset with min and max values, finally the association the all the information to the pool Apply the configuration with pooladm command # pooladm -c After applying the configuration you can ch