$ ps -ef|grep SCAN

oraoem    2452 29821  0 11:18 pts/1    00:00:00 grep SCAN

oracle   21115     1  0 Mar07 ?        00:04:42 /oracle/GRID/11203/bin/tnslsnr LISTENER_SCAN2 -inherit

oracle   21117     1  0 Mar07 ?        00:04:43 /oracle/GRID/11203/bin/tnslsnr LISTENER_SCAN3 -inherit

$ grep SCAN $AGENT_HOME/sysman/emd/targets.xml

In fact, Grid has got all three SCAN listeners in the wrong place.

 

To fix, run the following emcli commands on the Grid OMS server (as oraoem):

$ id

uid=60003(oraoem) gid=602(oinstall) groups=600(dba),601(oper),602(oinstall),603(asmadmin),604(asmoper),605(asmdba)

$ which emcli

/oracle/product/middleware/oms11g/bin/emcli

$ emcli login -username=sysman

Enter password

Login successful

$ emcli relocate_targets -src_agent=NODE2:3872 -dest_agent=NODE1:3872 -target_name=LISTENER_SCAN1_scanname -target_type=oracle_listener -copy_from_src -force=yes

Moved all targets from NODE2:3872 to NODE1:3872

$ emcli relocate_targets -src_agent=NODE1:3872 -dest_agent=NODE2:3872 -target_name=LISTENER_SCAN2_scanname -target_type=oracle_listener -copy_from_src -force=yes

Moved all targets from NODE1:3872 to NODE2:3872

$ emcli relocate_targets -src_agent=NODE1:3872 -dest_agent=NODE2:3872 -target_name=LISTENER_SCAN3_scanname -target_type=oracle_listener -copy_from_src -force=yes

Moved all targets from NODE1:3872 to NODE2:3872

$ emcli logout

Logout successful