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.
Release : 3.7
Component : CA Performance Center
In this case the customer is using https:
The default port for http is 80.
The default port for https is 443.
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
How to use SsoConfig
How to properly restart the CAPC environment
https://ca-broadcom.wolkenservicedesk.com/external/article?articleId=32043