How can I change the port used by event manager
search cancel

How can I change the port used by event manager

book

Article ID: 280361

calendar_today

Updated On:

Products

Network Observability CA Performance Management

Issue/Introduction

After upgrading to 23.3 I am not seeing events.  The documentation states the port is now 8282.  That is blocked in my environment and I am seeing the following messages in my DA karaf.log

 

ERROR | EventPush        | 2024-03-04T12:08:49,375 | EventProducerWS | or.eventproducer.EventProducerWS 1001 | a.im.NPCConnector.bundle |       | Failed to push 1200 events: Marshalling Error: connect timed out

INFO  | EventPush        | 2024-03-04T12:08:49,384 | ReflectionServiceFactoryBean | ory.ReflectionServiceFactoryBean  436 | g.apache.cxf.cxf-rt-wsdl |       | Creating Service {http://xxx.xxx/nqevents/EventManager}IEventManagerWSService from class com.ca.im.portal.api.datasources.interfaces.nqevents.eventmanagerws.IEventManagerWS

WARN  | EventPush        | 2024-03-04T12:09:19,400 | PhaseInterceptorChain | ache.cxf.common.logging.LogUtils  465 | org.apache.cxf.cxf-core |       | Interceptor for {http://xxx.xxx/nqevents/EventManager}IEventManagerWSService#{http://xxx.xxx/nqevents/EventManager}Push has thrown exception, unwinding now

        at com.ca.im.connector.eventproducer.EventProducerWS.pushEvents(EventProducerWS.java:989) ~[bundleFile:?]

        at com.ca.im.connector.eventproducer.EventProducerWS$1.run(EventProducerWS.java:429) ~[bundleFile:?]

Environment

DX NetOps Performance Management 23.3 configured for https

Resolution

Here are the steps to change the https event manager port from 8282 back to 8281

  1. Edit and change the port entries in /opt/CA/PerformanceCenter/EM/start.d/ssl.ini from 8282 to 8281
  2. Edit the following settings in /opt/CA/PerformanceCenter/EM/webapps/EventManager/WEB-INF/em.properties and change the 8282 port reference to 8281
    • em.url=
    • em.web.port=
  3. Edit the following setting in /opt/CA/PerformanceCenter/PC/webapps/pc/WEB-INF/cfg/portal.console.properties and change the 8282 port reference to 8281
    • em.url=
  4. Then run this (from mysql) to cause Event Manager to re-register with data sources
    • update em.data_sources set LastEvent=0, ConsumerID=0;
  5. Restart all portal services.  See: https://knowledge.broadcom.com/external/article?articleNumber=32043
  6. Edit the event manager data source and point to https/8281.