This discussion is archived
3 Replies Latest reply: Dec 5, 2013 1:38 PM by BillW RSS

Agent reports SCAN listeners incorrectly

BillW Newbie
Currently Being Moderated
I an running Enterprise Manager 12.1.0.3 and the agents in question have been upgraded to 12.1.0.3 agents.
On a two node cluster, node names are Aporia & Lepisma the OEM console is not reporting the scan listeners correctly. There are three scan listeners -

SCAN VIP scan1 is enabled
SCAN VIP scan1 is running on node lepisma
SCAN VIP scan2 is enabled
SCAN VIP scan2 is running on node aporia
SCAN VIP scan3 is enabled
SCAN VIP scan3 is running on node aporia

however emctl config agent listtargets on host Aporia shows all three scan listeners whereas on Lepisma only scan1 is reported currently. Relocating the listeners using the srvctl command will cause a listener to run on the other node but the agent does not see the change, listtargets still reports them the same way (I hope I am explaining this clearly).

On node Aporia I ran the command -
emctl control agent runCollection agent12c2_5_aporia:oracle_home oracle_home_config
hoping that would cause the agent to report correctly but to no avail. I may not be using the correct syntax for the runCollection command.

As a result when looking at the scan listeners in the OEM console all three are reported on Aporia with scan2 always reported as down and Lepisma only reports scan1, regardless of where it is running. For some reason the agent is not reporting the status of the listeners correctly and I need help resolving that problem. The results of the srvctl and emctl config agent on each node show the following -

Information from Aporia -

maxprod:product/agent12g->srvctl status scan
SCAN VIP scan1 is enabled
SCAN VIP scan1 is running on node lepisma
SCAN VIP scan2 is enabled
SCAN VIP scan2 is running on node aporia
SCAN VIP scan3 is enabled
SCAN VIP scan3 is running on node aporia
maxprod:product/agent12g->./agent_inst/bin/emctl config agent listtargets
Oracle Enterprise Manager Cloud Control 12c Release 3
Copyright (c) 1996, 2013 Oracle Corporation.  All rights reserved.
[aporia.ucdavis.edu, host]
[aporia.ucdavis.edu:3872, oracle_emd]
[Ora11g_gridinfrahome1_1_aporia, oracle_home]
[OraDb11g_home4_2_aporia, oracle_home]
[sbin12c1_6_aporia, oracle_home]
[+ASM_PPSSCAN, osm_cluster]
[OraDB11g_Gateway_Home_11203_4_aporia, oracle_home]
[LISTENER_SCAN2_PPSSCAN, oracle_listener]
[LISTENER_SCAN3_PPSSCAN, oracle_listener]
[has_aporia.ucdavis.edu, has]
[maxdss.ucdavis.edu, oracle_database]
[maxprod.ucdavis.edu, oracle_database]
[fleetpro.ucdavis.edu, oracle_database]
[gsprod.ucdavis.edu, oracle_database]
[pbop.ucdavis.edu, oracle_database]
[maxarch.ucdavis.edu, oracle_database]
[olap.ucdavis.edu, oracle_database]
[ppsprod.ucdavis.edu, oracle_database]
[isodprod.ucdavis.edu, oracle_database]
[LISTENER_aporia.ucdavis.edu, oracle_listener]
[+ASM1_aporia.ucdavis.edu, osm_instance]
[agent12c2_5_aporia, oracle_home]
[ucopp_aporia.ucdavis.edu, oracle_database]
[LISTENER_SCAN1_PPSSCAN, oracle_listener]


Information from Lepisma -

isoddev:product/agent12g->srvctl status scan
SCAN VIP scan1 is enabled
SCAN VIP scan1 is running on node lepisma
SCAN VIP scan2 is enabled
SCAN VIP scan2 is running on node aporia
SCAN VIP scan3 is enabled
SCAN VIP scan3 is running on node aporia
isoddev:product/agent12g->./agent_inst/bin/emctl config agent listtargets
Oracle Enterprise Manager Cloud Control 12c Release 3
Copyright (c) 1996, 2013 Oracle Corporation.  All rights reserved.
[lepisma.ucdavis.edu, host]
[lepisma.ucdavis.edu:3872, oracle_emd]
[Ora11g_gridinfrahome1_8_lepisma, oracle_home]
[OraDb11g_home4_10_lepisma, oracle_home]
[sbin12c1_12_lepisma, oracle_home]
[has_lepisma.ucdavis.edu, has]
[LISTENER_SCAN1_PPSSCAN_1, oracle_listener]
[+ASM_PPSSCAN, osm_cluster]
[FLEETDEV.ucdavis.edu, oracle_database]
[ppsdev.ucdavis.edu, oracle_database]
[isoddev.ucdavis.edu, oracle_database]
[gsdev8.ucdavis.edu, oracle_database]
[isodtest.ucdavis.edu, oracle_database]
[gstest.ucdavis.edu, oracle_database]
[maxdev.ucdavis.edu, oracle_database]
[pbod.ucdavis.edu, oracle_database]
[olad.ucdavis.edu, oracle_database]
[ppstest.ucdavis.edu, oracle_database]
[MAXTEST.ucdavis.edu, oracle_database]
[stemdev.ucdavis.edu, oracle_database]
[stemtest.ucdavis.edu, oracle_database]
[LISTENER_lepisma.ucdavis.edu, oracle_listener]
[+ASM2_lepisma.ucdavis.edu, osm_instance]
[agent12c2_11_lepisma, oracle_home]

 

Any suggestions are appreciated. Thank you.

Bill Wagman

  • 1. Re: Agent reports SCAN listeners incorrectly
    Rahul-EM Journeyer
    Currently Being Moderated

    Hi Bill,

     

    1. Go to Targets > All Targets > Cluster > select the cluster name, then select Target setup from the cluster menu > Monitoring Configuration.

    2. Fill in all the properties (for instance, the SCAN Name, SCAN Port, etc.) and select Update to save the configuration.

    3. Go back to the cluster target home page, select View All Properties, verify that the SCAN name, SCAN port are shown.

    4. Execute the command:   emctl control agent runCollection <cluster target name>:cluster crs_event

    For example: emctl control agent runCollection dreamq1-cluster:cluster crs_event12g

    5. Give the process a little time for the data to be uploaded to the repository before checking the status of the listeners.

     

    Regards,

    Rahul

  • 2. Re: Agent reports SCAN listeners incorrectly
    Daryl E. Explorer
    Currently Being Moderated

    I thought I read this on MOS as being a feature :-) You have to put the agent/host in blackout for a couple minutes then when it comes out of blackout it will re-asses and move things accordingly.

    (Likely what Rahul is saying but having OEM do it for you)

     

    This was only "fixed" in the latest patch bundle of 12c grid.

  • 3. Re: Agent reports SCAN listeners incorrectly
    BillW Newbie
    Currently Being Moderated

    I have tried those steps to no avail. I finally gave up and opened an SR with Oracle. I suspect something about the listeners is configured incorrectly.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points