Need assistance in changing CAPC web host port
search cancel

Need assistance in changing CAPC web host port

book

Article ID: 199276

calendar_today

Updated On:

Products

CA Infrastructure Management CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

I want to change the CAPC web host port from 8182 to 80.

We do not want the end users to have to type :8182 after the CAPC url.

Environment

Release : 3.7

Component : CA Performance Center

Cause

In this case the customer is using https:

https://PC:8182

The default port for http is 80.

The default port for https is 443.

Resolution

In order the not have to type a port, you need to use 80 for http and 443 for https.
In this example we will use 443


1. Copy and edit this file:
/opt/CA/PerformanceCenter/PC/start.d/SSL.ini (your path may vary)
By running these commands:
   cd /opt/CA/PerformanceCenter/PC/start.d
   cp SSL.ini SSL.ini.original
   sed -i 's/8182/443/g' SSL.ini
This sed command will replace 8182 with 443 globally in the file.

2. Copy and edit this file:
/opt/CA/PerformanceCenter/sso/webapps/sso/configuration/CADataAggregator.xml
By running these commands:
   cd /opt/CA/PerformanceCenter/sso/webapps/sso/configuration
   cp CADataAggregator.xml CADataAggregator.xml.original
   sed -i 's/8182/443/g' CADataAggregator.xml

3. Copy and edit this file:
/opt/CA/PerformanceCenter/sso/webapps/sso/configuration/CAPerformanceCenter.xml
By running these commands:
   cd /opt/CA/PerformanceCenter/sso/webapps/sso/configuration
   cp CAPerformanceCenter.xml CAPerformanceCenter.xml.original
   sed -i 's/8182/443/g' CAPerformanceCenter.xml

4. Login to mysql and set this value:
mysql em -unetqos -pnetqos (your password will vary)
update em.data_sources set LastEvent=0 where sourceid=0;
exit;
That will cause PC to be reregistered as EM DS

5. Launch SsoConfig and change ONLY Web Site Port.
cd /opt/CA/PerformanceCenter
./SsoConfig
Choose 1 for performance center.
Choose 3 for performance center.
Follow the onscreen directions, using u for update, edit the ‘Web Site Port’
Do it twice, once for remote value, once for local override.

6. Restart all CAPC services

 

Additional Information

How to use SsoConfig

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/performance-management/3-7/administrating/single-sign-on/set-up-https/enable-performance-center-to-use-ssl-manually/configure-the-port-and-website-for-https.html

How to properly restart the CAPC environment

https://ca-broadcom.wolkenservicedesk.com/external/article?articleId=32043