What are files in $AGENT_HOME/sysman/emd/state/statemgmt/oracle_home
BillWMay 13 2013 — edited May 20 2013Greetings.
I have found my OEM 12c, 12.1.0.1 reporting on some targets which don't exist ad some which are reported incorrectly. Some poking around on a particular host for which this behavior is exhibited (this host is a member of a two node cluster) lead me to the directory $AGENT_HOME/sysman/emd/state/statemgmt/oracle_home on that host. In that directory I find the files -
agent12c1_8_hammer
cmdevel.ucdavis.edu_cmdevel1_oracle_database_home
cmupg.ucdavis.edu_cmupg1_oracle_database_home
hammersteele_cluster_home
LISTENER_SCAN10_hammersteele_oracle_listener_home
LISTENER_SCAN2_hammersteele_oracle_listener_home
cmupg is a database which does not exist, It may have existed at one point but if it did was removed some time ago.
LISTENER_SCAN10 is a non-existent scan listener.
./emctl config agent listtargets lists both of those tqargets -
mytest1:product/agent12g/agent_inst/bin->./emctl config agent listtargets
Oracle Enterprise Manager 12c Cloud Control 12.1.0.1.0
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
[hammer.ucdavis.edu, host]
[hammer.ucdavis.edu:3872, oracle_emd]
[LISTENER_SCAN10_hammersteele_oracle_listener_home, oracle_home]
[LISTENER_SCAN2_hammersteele_oracle_listener_home, oracle_home]
[cmdevel.ucdavis.edu_cmdevel1_oracle_database_home, oracle_home]
[cmupg.ucdavis.edu_cmupg1_oracle_database_home, oracle_home]
[LISTENER_SCAN3_hammersteele, oracle_listener]
[LISTENER_hammer.ucdavis.edu, oracle_listener]
[+ASM1_hammer.ucdavis.edu, osm_instance]
[agent12c1_8_hammer, oracle_home]
[LISTENER_SCAN2_hammersteele, oracle_listener]
[has_hammer.ucdavis.edu, has]
(some data deleted by me)
My question is, can anyone explain to me where those files come from, how the OEM uses them and should I clean that up? I did see SCAN_LISTENER10 reported by the console but I manually deleted it form the console.
Another interesting observation is that there are three SCAN_LISTENERS on this cluster, 1, 2 & 3. The console reports only LISTENER_SCAN2 as being up, the others are reported as being down. COuld this have some bearing on it. SCAN_LISTENER1 is running on the other node and the file LISTENER_SCAN1_hammersteele_oracle_listener_home exists in the analocous directory on the other cluster.
I'm puzzled. If anyone can help me out I would be most appreciative.
Thank you.
Bill Wagman