DevTech101

DevTech101

solaris11.1

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 informix::::auths=solaris.smf.manage.informix Or just run usermod -A solaris.smf.manage.informix informix Add to /etc/security/auth_attr.d/local-entries solaris.smf.manage.informix:::enable, disable and refresh iwatch:: Create the service iWatch managed service Import the new service and enable svcadm import iwatch svcadm enable iwatch

Modifying Solaris SMF DNS Options

Enabling / Configuring a DNS Client in Solaris 11+ svccfg -s network/dns/client setprop config/search = astring:domain.com svccfg -s network/dns/client setprop config/nameserver = net_address: “(8.8.8.8 4.4.4.4)” svccfg -s name-service/switch ‘setprop config/host=”files dns”‘ svccfg -s network/dns/client setprop config/search=domain.com svccfg -s dns/client ‘setprop config/options = “timeout:1 attempts:1″‘ svcadm refresh network/dns/client name-service/switch svcadm restart network/dns/client name-service/switch You might also …

Modifying Solaris SMF DNS Options Read More »

Running FileZilla on Solaris

Getting FileZilla to work on Solaris 11 Download the latest available binary for solaris from FileZilla-3.2.4-x86 Extract the source on tar zxf FileZilla-3.2.4-x86-OpenSolaris_2008-11.tar.bz2 Note: On newer versions of Solairs 11(or 12), you might need to add/link some old library’s to the path, or even getting form an older release, and added to the LD_LIBRARY_PATH Something …

Running FileZilla on Solaris Read More »

Solaris 11 Metaset – Allow Remote Rpcbind

Solaris 11 metaset – allow remote rpcbind By default remote rpc bind is disabled in Solaris 11 (secure by default). Note: The remote workaround can be used with older versions of Metaset to form a cluster like working, or if you use Sun Cluster but its not working properly. To modify the remote rpc propriety. …

Solaris 11 Metaset – Allow Remote Rpcbind Read More »

EM12c agent high CPU spikes on Solaris SPARC.

12c EM Agent CPU spiking and High Usage on Solaris with many Database and Listener Targets (Doc ID 1536871.1) File to modify the properties /u01/app/oracle/agent12c-u4/agent_inst/sysman/config/emd.properties Agent logs /u01/app/oracle/agent12c-u4/agent_inst/sysman/log Check agent status  /u01/app/oracle/agent12c-u4/core/12.1.0.4.0/bin/emctl status agent Check OMS status emctl status oms -details

Dtrace timing on vnic/pvi

dtrace -n 'i_dls_link_rx:entry{self->d=1;} xsvnic_rx_recv:entry{self->t=timestamp;} xsvnic_rx_recv:return/self->t && self->d/{@x[“time”] = quantize(timestamp-self->t);self->t=0; self->d = 0;} tick-10s{exit(0);}' dtrace: description 'i_dls_link_rx:entry' matched 4 probes  CPU     ID                    FUNCTION:NAME   78   9033                        :tick-10s   time            value  ————- Distribution ————- count            16384 |                                         0            32768 |@@@@@@@@@@@@@@@@@@@@@@@@@                1223            65536 |@@@@@@@@@@@@@@@                          720           131072 |                                         8           262144 |                                         0 select …

Dtrace timing on vnic/pvi Read More »

IB cheat sheet

Enable switch port enableswitchport 10A Disable switch port disableswitchport 10A Disable ports if to many errors Remove ports (port 17b) from autodisable list autodisable del 17B L autodisable del 17B H display autodisable list autodisable list Note: if a port gets disabled because of errors run this enableswitchport –automatic 17B To get a list of …

IB cheat sheet Read More »

Recommended Network Tuning For Oracle Database and Weblogic On Solaris

Recommended performance tuning in Solaris 11 for Oracle DB and Weblogic Recommended Oracle Database Tuning. ipadm set-prop -p max_buf=16777216 tcp ipadm set-prop -p send_buf=2097152 tcp ipadm set-prop -p recv_buf=2097152 tcp ipadm set-prop -p _cwnd_max=2097152 tcp ipadm set-prop -p _conn_req_max_q=40000 tcp ipadm set-prop -p _conn_req_max_q0=40000 tcp #ipadm set-prop -p smallest_anon_port=10000 tcp #ipadm set-prop -p _time_wait_interval=10000 tcp …

Recommended Network Tuning For Oracle Database and Weblogic On Solaris Read More »

Best Practices – Top Ten Tuning Tips Updated for LDOMs

Best Practices – Top Ten Tuning Tips Updated By jsavit on Mar 28, 2014 This post is one of a series of "best practices" notes for Oracle VM Server for SPARC (formerly called Logical Domains). This is an update to a previous entry on the same topic. Top Ten Tuning Tips – Updated Oracle VM …

Best Practices – Top Ten Tuning Tips Updated for LDOMs Read More »