Contents 1 This document address how to disable nagios notification’s with Ops Center 1.1 Nagios notification overview 1.2 Nagios notifications 1.2.1 Methods to disable Nagios notifications remotely 1.2.2 Center and Nagios 1.2.2.1 Ops Center configuration 1.3 Scripts used to disable/enable Nagios 1.4 Example to enable/disable nagios with curl This document address how to disable nagios […]
Tag: Ops Center
Oracle Enterprise Manager, ASM Tips and Tricks
Contents 1 To set system password 2 EM Cloud control help 3 EM cloud control process order 4 How to deploy a plugin 5 References To set system password
1 |
ALTER USER system IDENTIFIED BY password; |
EM Cloud control help
1 2 3 4 5 6 7 8 |
#To stop Oracle Management Service GUI only emctl stop oms # To stop all services emctl stop oms -all # To stop the Database Control emctl stop dbconsole |
EM cloud control process order
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 |
Step 1: cd /u01/app/oracle/middleware/gc_inst/WebTierIH1/bin ./opmnctl status (check the status if it is alive then stop it) ./opmnctl stopall Step:2 go this directory /u01/app/oracle/middleware/gc_inst/WebTierIH1/config/OPMN/opmn/states create a backup folder move the file (starts with p...) move that file to backup folder now issue the command ./opmnctl startall Step:3 check for any emctl.log files and delete them (find / -name emctl.log -type f) Step:4 then stop OMS and agent /u01/app/oracle/Middleware/oms/bin/emctl stop oms -all /u01/app/oracle/Middleware/agent/core/12.1.0.1.0/bin/emctl stop agent then start OMS and agent /u01/app/oracle/Middleware/oms/bin/emctl start oms -all /u01/app/oracle/Middleware/agent/core/12.1.0.1.0/bin/emctl start agent Best regards, Karthik Reddivari |
In our environment
1 2 3 4 5 6 7 8 9 |
# Stop the agent /u01/app/oracle/middleware/oms/bin/emctl stop oms -all # Stop the agent /u01/app/oracle/agent12c/agent_inst/bin/emctl stop agent # Start OMS first /u01/app/oracle/middleware/oms/bin/emctl start oms # Start the agent /u01/app/oracle/agent12c/agent_inst/bin/emctl start agent |
How to deploy a plugin Example of F5 plugin
1 2 3 4 5 |
# First login with emcli /u01/app/oracle/middleware/oms/bin/emcli login -username=usera # unzip plugin, then point to *.opar file /u01/app/oracle/middleware/oms/bin/emcli import_update -file="/tmp/f5/12.1.0.1.1_F5.BIGIP.LTM_2000_0.opar" -omslocal |
[…]
Oracle Ops Center ZFS, Device fail-over Scripts
Contents 1 Ops Center scripts 1.1 Script to keep ZFS datatset while zone failover 1.1.1 Create the directory 1.1.2 Add the below script 1.2 Script to keep a device while zone failover 1.2.1 Create the directory Ops Center scripts Script to keep ZFS datatset while zone failover The below steps will keep a zone ZFS […]
Oracle Ops Center ASR Blacklist Bug Workaround
How to clear / blacklist an ASR entry in Ops Center Workaround for a bug if the serial number start with a “0”
1 2 3 4 5 6 7 8 9 |
SQL> DELETE FROM asr_activation WHERE serial_number = '0929FM104E'; SQL> INSERT INTO asr_activation (serial_number,request_status,asr_status_cached,create_dtt) VALUES ('0929FM104E','blacklisted','blacklisted',sysdate); SQL> SELECT * FROM asr_activation WHERE SERIAL_NUMBER LIKE '0929FM104E'; |
You might also like this. Oracle Ops Center ZFS, Device fail-over Scripts
How to delete the asset by using UUID
Below is available in 12.2 # cd /opt/SUNWoccli/bin # ./oc xvmSh > connect localhost > gear localhost/gear >delete -U <UUID> -f
Ops Cenetr OVM 12c agent install flags
./install -l -p [proxy ip]
Ops Cenetr 12c motoring threshold file location
/opt/sun/n1gc/lib/package.cache.xml
How to clear an Oracle Enterprise Manager Ops Center stuck job
Solution to clear an Oracle Enterprise Manager Ops Center stuck job Solution Notes The solution below should work with any stuck job not willing to disappear, i.e. if you try stopping the job from the UI or CLI and its not working. The issue and solution below are even for the latest Oracle Enterprise Manager […]
How to Rollback to The Original Ops Center Publishers
How to Rollback to The Original Ops Center Publishers
1 |
/var/opt/sun/xvm/utils/install_ips_ac.sh -P 127.0.0.1 |
Pre-Upgrade Checks Enterprise Manager Ops Center
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