DevTech101

DevTech101

Month: June 2014

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 »

To enable Ops Cenetr domain model (debug)

http://emoc1.domain.com:8072/xvm/ cacaoadm set-param -i oem-ec java-flags="-d64 -Xms200M -Xmx8192M -server -XX:StringTableSize=27001 -XX:PermSize=128m -XX:MaxPermSize=384m -Xss256k -XX:+UseParallelOldGC -Dsun.security.pkcs11.enable-solaris=false -Djava.endorsed.dirs=/usr/lib/cacao/lib/endorsed -Dxvmserver=false" #cacaoadm get-param -i oem-ec java-flags java-flags=-d64 -Xms200M -Xmx8192M -server -XX:StringTableSize=27001 -XX:PermSize=128m -XX:MaxPermSize=384m -Xss256k -XX:+UseParallelOldGC -Dsun.security.pkcs11.enable-solaris=false -Djava.endorsed.dirs=/usr/lib/cacao/lib/endorsed -Dxvmserver=false -Dcom.sun.cacao.debug  

Ops Center tablespcae configuration

sqlplus / as sysdba @createOCSchema_remote.sql "SQLTrace: Entering createOCSchema_remote.sql" Enter username for Ops Center database login: opsmon Enter password for Ops Center database login: Enter username for read only Ops Center database login: opsmon_ro Enter password for read only Ops Center database login: Enter default tablespace for Ops Center user: OC_USERS Enter report tablespace for Ops …

Ops Center tablespcae configuration Read More »

Installation, Configuration Oracle Traffic Director (OTD)

Installation, Configuration Oracle Traffic Director (OTD) To install OTD in silent mode mkdir /var/opt/oracle echo “inventory_loc=/opt/otd/oraInventory” >>/var/opt/oracle/oraInst.loc echo “inst_group=otd” >>/var/opt/oracle/oraInst.loc mkdir /opt/otd; chown -R otd:otd /opt/otd As the otd user run. su – otd ./runInstaller -silent -waitforcompletion -invPtrLoc /var/opt/oracle/oraInst.loc ORACLE_HOME=/opt/otd/oracle/product/11.1.1.7.0/trafficdirector_Home_1 SKIP_SOFTWARE_UPDATES=true Create an OTD Admin node and make it listen on 8990 cd /opt/otd/oracle/product/11.1.1.7.0/trafficdirector_Home_1/bin ./tadm …

Installation, Configuration Oracle Traffic Director (OTD) 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

OMS DB drop

First stop all process (make sure with ps -ef, if not the drop will fail) Stop the agent and OMS /u01/app/oracle/agent12c-u4/core/12.1.0.4.0/bin/emctl stop agent /u01/app/oracle/middleware/oms/bin/emctl stop oms -all Then drop the DB cd /u01/app/oracle/middleware/oms/sysman/admin/emdrep/bin ./RepManager emdb1.domain.com 1521 OEM -action drop -dbUser sys -dbPassword password -dbRole sysdba -reposName SYSMAN -mwHome /u01/app/oracle/middleware/ -mwOraHome /u01/app/oracle/middleware/ -oracleHome /u01/app/oracle/middleware/oms/

Oracle Enterprise Manager Add BI publisher

As the oracle user backup the repo emctl exportconfig oms To install BI cd /oracle/middleware/oms/bin ./configureBIP Enter the password Example output Creating SYSMAN_BIPPLATFORM Schema in EM Repository Database Configuring BI Publisher in Oracle Home located in /oracle/middleware/Oracle_BI1 … Processing command line …. Repository Creation Utility – Checking Prerequisites Checking Global Prerequisites Repository Creation Utility – …

Oracle Enterprise Manager Add BI publisher Read More »