When installing a secondary node for a domain cluster the PAM Domain Node installer (not Third Party Installer) fails.
The primary server is configured with secure comms, with an Nginx load balancer pointing to the primary node.
The secondary node installation is run by logging into the primary server and running the install from the installation page in the UI.
The installation.jnlp file appears to be configured incorrectly, notably the following section:
<application-desc main-class="class.optunity.c2o.util.LaunchInstaller">
<argument>https://<Load Balancer FQDN>:null or wrong port number/</argument> (<=== should have port 443 here)
<argument>Add New Node</argument>
<argument><Load Balancer FQDN></argument>
<argument>80</argument>
<argument>http://<Load Balancer FQDN>:80/</argument>
<argument>true</argument>
<argument>443</argument>
<argument>false</argument>
<argument>null</argument>
<argument>null</argument>
<argument>null</argument>
<argument>null</argument>
<argument>false</argument>
</application-desc>
This causes the installation to not even launch. Changing the https://<Load Balancer FQDN>:null/ value to https://<Load Balancer FQDN>:443/ enables the install to run, but it will encounter an error such as "connection refused" in the <PAM installation folder>\wildfly\standalone\installation.log file later, due to the null or incorrect port value.
IT Process Automation v4.x
Some port numbers in the ITPAM installation are corrupted or were not entered correctly. These can be manually changed in the configuration files, but these configuration settings are also in the database. During installation, the corrupted settings in the database overwrite the changes made to the configuration files, causing those changes to be ineffectual.
The solution is to reinstall ITPAM on the primary domain orchestrator. Please follows the below steps so that PAM will create the correct default configuration.
select * into BackupAgent from Agent
select * into BackupConfigObject from ConfigObject
select * into BackupConfigObjectMetaData from ConfigObjectMetaData
select * into BackupConfigObjectProps from ConfigObjectProps
select * into BackupDomain from Domain
select * into BackupEnvironment from Environment
select * into BackupGroupProperties from GroupProperties
select * into BackupOrchestrator from Orchestrator
select * into BackupOrchestratorTP from OrchestratorTP
select * into BackupPropertiesXML from PropertiesXML
select * into BackupTPGroup from TPGroup
create table BackupAgent as select * from Agent;
create table BackupConfigObject as select * from ConfigObject;
create table BackupConfigObjectMetaData as select * from ConfigObjectMetaData;
create table BackupConfigObjectProps as select * from ConfigObjectProps;
create table BackupDomain as select * from Domain;
create table BackupEnvironment as select * from Environment;
create table BackupGroupProperties as select * from GroupProperties;
create table BackupOrchestrator as select * from Orchestrator;
create table BackupOrchestratorTP as select * from OrchestratorTP;
create table BackupPropertiesXML as select * from PropertiesXML;
create table BackupTPGroup as select * from TPGroup;;-
commit;
delete from Agent
delete from ConfigObject
delete from ConfigObjectMetaData
delete from ConfigObjectProps
delete from Domain
delete from Environment
delete from GroupProperties
delete from Orchestrator
delete from OrchestratorTP
delete from PropertiesXML
delete from TPGroup
Information on the correct port numbers to enter for ITPAM can be found here: Ports Used by CA Process Automation
In particular, ensure the correct settings for these screens in the installation wizard: