DevTech101

DevTech101

zones

Solaris Dynamic Zone Resource Capping With Examples

Contents 1 To add/remove CPU on a ruining zone (dedicated-cpu) 1.1 First get the pset name 1.2 Before the change just 4 cpu are configured 1.3 To add/modify the numbers of CPU to 8 1.4 After the change 2 To add/modify CPU on a ruining zone (capped-cpu) 2.1 Before the change 2.2 To make the …

Solaris Dynamic Zone Resource Capping With Examples Read More »

Modifying Solaris Zone Properties With a Loop.

Modifying Solaris Zone Properties With a Loop. To modify many Solaris Zone Properties, you can run a loop something like the below. Example 1 for i in `zoneadm list -cv |grep wapp1|awk ‘{print $2}’`;do ipaddr=`zonecfg -z $i info anet |grep “allowed-address: 10″|awk ‘{print $2}’|sed ‘s,10.20.19,10.20.41,’`; zonecfg -z $i “add anet;set lower-link=webpriv0;set allowed-address=$ipaddr;end;commit” ;done Example 2 …

Modifying Solaris Zone Properties With a Loop. Read More »

Solaris Dynamic Pool Resource Capping With Examples

Contents 1 Resource Capping available now 1.1 CPU capping for zones 1.2 Memory capping for zones 1.3 Memory capping settings coming soon 1.4 Resource capping Helpful Tips Resource Capping available now Note: It is now much simpler to configure caps in the most recent Solaris versions click here for an example This document assumes your …

Solaris Dynamic Pool Resource Capping With Examples Read More »