Step 1: Update the wrapper.conf file
The wrapper.conf file is found in the directory:
$CAPC_HOME/CA/PerformanceCenter/PC/conf
The default path out of the box would be:
/opt/CA/PerformanceCenter/PC/conf
Find this section of the file:
#********************************************************************
# Wrapper Windows NT/2000/XP Service Properties
#********************************************************************
Find this entry in that section:
wrapper.java.additional.3=-Djetty.port=8181
And change its value to the new port to be used:
wrapper.java.additional.3=-Djetty.port=80
Step 2: Update CAPC using the SsoConfig tool
The tool is found in the directory:
$CAPC_HOME/CA/PerformanceCenter/sso/bin
The default path out of the box would be:
/opt/CA/PerformanceCenter/sso/bin
Run the following command to launch the tool:
./SsoConfig
In the first question select option 1:
SSO Configuration:
1. CA Performance Center
Choose an option > 1
In the next choice presented select option 3:
SSO Configuration/CA Performance Center:
1. LDAP Authentication
2. SAML2 Authentication
3. Performance Center
4. Single Sign-On
5. Test LDAP
6. Export SAML2 Service Provider Metadata
Choose an option > 3
That will present a list of the current settings in place. We need to change the "Web Site Port" value.
NOTE: Do not change the "Web Service Port" as that is used to communicate with integrated Data Sources, among other things.
Next choose to set the Local Override or Remote Value. The definitions for these choices are:
1. Remote Value: Refers to settings that only administrators can change. Such settings are propagated to all other CA products registered to this instance of CA Performance Center. Remote Value settings are only used if a corresponding Local Override value is not present.
2. Local Override: Refers to settings that can be changed for all products. If a Local Override value is present, it takes precedence over both the Remote Value and default settings.
Generally it is recommended to use option 2. Once the choice is selected edit the "Web Site Port" property value.
Enter "u" to update the value and change it, and when prompted enter the new port value.
Enter "\b" to go back and confirm the new value is set in the properties list displayed.
Once the change is confirmed, enter "\q" to quit.
Step 3: Update the CAPerformanceCenter.xml file
The file is found in the directory:
$CAPC_HOME/CA/PerformanceCenter/sso/webapps/sso/configuration
The default path out of the box would be:
/opt/CA/PerformanceCenter/sso/webapps/sso/configuration
Within the file we see two lines referencing the current port in use. They both appear in the same format as follows:
<Port>8181</Port>
Change both to be:
<Port>80</Port>
Step 4: Update the CADataAggregator.xml file
The file is found in the directory:
$CAPC_HOME/CA/PerformanceCenter/sso/webapps/sso/configuration
The default path out of the box would be:
/opt/CA/PerformanceCenter/sso/webapps/sso/configuration
<Port>8181</Port>
Change to be:
<Port>80</Port>
Step 5: Restart the CAPC services
Use these commands to:
Check service status: service <service_name> status
Start service: service <service_name> start
Stop service: service <service_name> stop
To restart them, run:
service <name> stop
service <name> start
Not required, but recommended that they be started in this order:
caperfcenter_sso
caperfcenter_devicemanager
caperfcenter_eventmanager
caperfcenter_console
And they should be stopped in this order:
caperfcenter_console
caperfcenter_eventmanager
caperfcenter_devicemanager
caperfcenter_sso
The individual stop commands for example would be:
service caperfcenter_sso stop
service caperfcenter_devicemanager stop
service caperfcenter_eventmanager stop
service caperfcenter_console stop
Once these steps are completed users should now be able to log in to CAPC using port 80 instead of port 8181.