My Oracle Support Banner

EM 13.5C: Cisco Switch Access Point Discovery Fail With Error " java.io.IOException: Reached maximum retries trying to create session in cache" (Doc ID 3000629.1)

Last updated on JANUARY 31, 2024

Applies to:

Enterprise Manager for Exadata - Version 13.5.0.0.0 and later
Information in this document applies to any platform.

Symptoms

Discover cisco switch access point using below command gives following error:

<OMS_HOE>/bin/emcli add_target -name="<CISCO SWITCH TARGET NAME>" -type=oracle_si_netswitch -host="<HOSTNAME>" -access_point_name="<acces point>/ios-ssh" -access_point_type="oracle_si_switch_cisco_ios" -properties='dispatch.url=ios-ssh://<SWITCH HOST>' -subseparator=properties='=' -monitoring_cred='cisco_creds_set;oracle_si_switch_cisco_ios;cisco_creds;username:admin;userpass:<PWD>;privpass:<PRIVPWD>' -monitoring_cred='snmp_v1v2_v3;oracle_si_switch_cisco_ios;SNMPV1Creds;COMMUNITY:public'


Error: Cannot save the target to the agent
Error computing correlation ids: Failed to generate the correlation identifier: oracle.sysman.emSDK.agent.fetchlet.exception.FetchletException: Error: A communication error occurred executing command on target. Target: "ios-ssh://<SWITCH HOST>" Metric Collection: "Real-Time Metric Request" Command: [show version] Timeout: 120 seconds.: java.io.IOException: Reached maximum retries trying to create session in cache: SessionIdentifier{uri=ios-ssh://<SWITCH HOST>}

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.