When starting up TSPS 220.127.116.11 secondary node by running "tssh server start" command, the start up fails with the below error:
Remote HA node tsps1.bmc.com is up and running. Starting the copysnapshot command from tsps1.bmc.com to tsps2.bmc.com...
Copysnapshot command failed, shutting down the server.
The issue occurred after upgrading from TSPS 18.104.22.168 to 22.214.171.124. Primary server is starting up without issue.
In the db-remote-copy.log, you will see the following error:
pg_basebackup: could not connect to server: FATAL: no pg_hba.conf entry for replication connection from host "xx.xx.xxx.xx", user "dbuser", SSL off
where xx.xx.xxx.xx is the secondary node IP Address
Ensure that the Primary ph_hba.conf must match the first entry in DNS for the IP Address used to connect from secondary or from the local hosts file.
126.96.36.199 tsps1.bmc.com tsps1.adprod.bmc.com tsps1
188.8.131.52 tsps2.bmc.com tsps2.adprod.bmc.com tsps2
hostnossl replication dbadmin tsps1.bmc.com trust
hostnossl replication dbadmin tsps2.bmc.com trust