Forum Stats

  • 3,751,251 Users
  • 2,250,337 Discussions
  • 7,867,360 Comments

Discussions

emcli relocate-issue

DikkieDick
DikkieDick Member Posts: 14 Blue Ribbon
edited Jul 2, 2020 5:46AM in Enterprise Manager

When our Oracle failsafecluster fails over I have to do a relocate of the targets from one host to the other. This is usually working fine and the databases were relocated, but the listeners seems not be able to be found:

C:\WINDOWS\system32>emcli relocate_targets -src_agent=xxxx2280.zkh.umcg.intra:3873 -dest_agent=xxxx2279.zkh.umcg.intra:3873 -target_name=FSLxxxx2282.zkh.umcg.intra  -target_type=oracle_listener -copy_from_src -force=yes

Errors from relocating targets from xxxx2280.zkh.umcg.intra:3873 to xxxx2279.zkh.umcg.intra:3873

Error from target relocation while performing relocation from https://xxxx2280.zkh.umcg.intra:3873/emd/main/ to https://xxxx2279.zkh.umcg.intra:3873/emd/main/, ERROR Message: Not eligible to move FSLxxxx2282.zkh.umcg.intra:oracle_listener from https://xxxx2280.zkh.umcg.intra:3873/emd/main/ to https://xxxx2279.zkh.umcg.intra:3873/emd/main/ due to ORA-01403: Geen gegevens gevonden.

ORA-06512: in "SYSMAN.EM_TARGET_RELOCATE", regel 408

ORA-06512: in "SYSMAN.EM_TARGET_RELOCATE", regel 345

ORA-06512: in regel 1

, Check log files for details:c:\app\oracle\product\gc_inst\em\EMGC_OMS1\sysman\log\emoms.log,c:\app\oracle\product\gc_inst\em\EMGC_OMS1\sysman\log\emoms.trc,

when I look at this specific host it is shown:

Server xxxx2280

C:\WINDOWS\system32>emctl config agent listtargets

Oracle Enterprise Manager Cloud Control 13c Release 3

Copyright (c) 1996, 2018 Oracle Corporation.  All rights reserved.

[agent13c1_13_xxxx2280.zkh.umcg.intra_7433, oracle_home]

[Ofs42_home1_2_xxxx2280.zkh.umcg.intra_9409, oracle_home]

[OraDB12Home1_1_xxxx2280.zkh.umcg.intra_9610, oracle_home]

[OraDB12Home2_12_xxxx2280.zkh.umcg.intra_4441, oracle_home]

[xxxx2280.zkh.umcg.intra, host]

[xxxx2280.zkh.umcg.intra:3873, oracle_emd]

[FSLxxxx2282.zkh.umcg.intra, oracle_listener]

[FSLxxxx2441.zkh.umcg.intra, oracle_listener]

Server xxxx2279

C:\WINDOWS\system32>emctl config agent listtargets

Oracle Enterprise Manager Cloud Control 13c Release 3

Copyright (c) 1996, 2018 Oracle Corporation.  All rights reserved.

[agent13c1_13_xxxx2279.zkh.umcg.intra_7433, oracle_home]

[xxxx2279.zkh.umcg.intra, host]

[xxxx2279.zkh.umcg.intra:3873, oracle_emd]

[OraDB12Home1_1_xxxx2279.zkh.umcg.intra_9610, oracle_home]

[Ofs42_home1_2_xxxx2279.zkh.umcg.intra_9409, oracle_home]

[OraDB12Home2_12_xxxx2279.zkh.umcg.intra_4441, oracle_home]

[cyberp03, oracle_database]

[glimsp03, oracle_database]

For security-reasosn I replaced the original things with xxxx .

I know I can remove the listener-targets and let them rediscover but trying to figure out what is causing this.

Thanx in advance.