pginfo & pgstat https://blogs.oracle.com/d/entry/pginfo_pgstat
Tag: solaris11.2
CPU statistics by core
CPU statistics by core, sort by col idl, arithmetic numbering mpstat -A core -k idl -m 2 CPU statistics divided in 8, sort by col idl, total numbers mpstat -A 8 -k idl 2
How to stress / CPUhog on a system
http://people.seas.harvard.edu/~apw/stress/
Solaris 11 feture list
2) QOS or IO throttle on a per ZFS dataset, would be very helpful in a virtual environment with many zones sharing the same pool 5) Zone live Migration support Network features 1) iLB (Load Balancer) GUI (probably add to OEM cloud control or Ops Center) 2) iLB share stat between LB servers, This should […]
Rollback ZFS volume exported over iSCSI
While playing with Kernel Zones on Solaris 11.2 I noticed that once a ZFS volume is shared over iSCSI, while I can create a snapshot of it, I can’t roll it back – I get “volume is busy” error message. I found a way to do it:
1 2 3 4 5 |
# stmfadm delete-lu 600144F0A613C900000054521D550001 # zfs rollback pool/idisk0@snap1 # stmfadm import-lu /dev/zvol/rdsk/pool/idisk0 Logical unit imported: 600144F0A613C900000054521D550001 # stmfadm add-view 600144F0A613C900000054521D550001 |
Although this should be easier… The […]
How to assign / allow users to start SMF service in Solaris
How to assign / allow users to start SMF service in Solaris Add to /etc/user_attr
1 |
informix::::auths=solaris.smf.manage.informix |
Or just run
1 |
usermod -A solaris.smf.manage.informix informix |
Add to /etc/security/auth_attr.d/local-entries
1 |
solaris.smf.manage.informix:::enable, disable and refresh iwatch:: |
Create the service
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
<?xml version='1.0'?> <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'> <service_bundle type='manifest' name='export'> <service name='application/management/iwatch' type='service' version='0'> <create_default_instance enabled='false'/> <single_instance/> <dependency name='multi-user-server' grouping='require_any' restart_on='error' type='service'> <service_fmri value='svc:/milestone/multi-user-server:default'/> </dependency> <exec_method name='start' type='method' exec='/usr/local/iwatch/iwatch start -i /dev/net/net0' timeout_seconds='45'> <method_context> <method_credential user='root' group='other'/> </method_context> <propval name='action_authorization' type='astring' value='solaris.smf.manage.informix'/> <propval name='modify_authorization' type='astring' value='solaris.smf.manage.informix'/> <propval name='value_authorization' type='astring' value='solaris.smf.manage.informix'/> </exec_method> <exec_method name='stop' type='method' exec=':kill' timeout_seconds='10'> <method_context> <method_credential user='root' group='other'/> </method_context> <propval name='action_authorization' type='astring' value='solaris.smf.manage.informix'/> <propval name='modify_authorization' type='astring' value='solaris.smf.manage.informix'/> <propval name='value_authorization' type='astring' value='solaris.smf.manage.informix'/> </exec_method> <property_group name='general' type='framework'> <propval name='action_authorization' type='astring' value='solaris.smf.manage.informix'/> <propval name='modify_authorization' type='astring' value='solaris.smf.manage.informix'/> <propval name='value_authorization' type='astring' value='solaris.smf.manage.informix'/> </property_group> <stability value='Stable'/> <template> <common_name> <loctext xml:lang='C'>iWatch managed service</loctext> </common_name> </template> </service> </service_bundle> |
Import the new service and enable
1 2 |
svcadm import iwatch svcadm enable iwatch |
Performance Tuning For Solaris Zones
Contents 1 Solaris global and non zones performance tuning 1.1 Configuring the global zone to use FSS 1.1.1 First enable & set FSS in the global zone 1.1.2 Next configure a global zone CPU/Memory Cap 1.1.2.1 Example after the configuration change 1.2 Configure /tmp(tmpfs) system cap 1.3 reboot the system for changes to take effect […]