APS Booster was configured and all tasks were completed successfully.
UI hosts were connected to Database Replica Nodes be steps from Documentation
Following error appears in
/var/log/pa/pui/pui.logon UI hosts:
00:00:00.001 [EJB default - 7] DEBUG c.o.a.s.b.e.ReplicationAndBoosterStatusBean - replica status check 00:00:00.005 [EJB default - 7] DEBUG c.o.a.s.b.ejb.WebServerStatusChecker - replica status: replay delay = 168909 ms, WAL diff = 0 bytes 00:00:00.005 [EJB default - 7] DEBUG c.o.a.s.b.ejb.WebServerStatusChecker - replica is out of sync - 168909 ms since last WAL replay 00:00:00.005 [EJB default - 7] DEBUG c.o.a.s.b.ejb.WebServerStatusChecker - booster is inactive, replica is out of sync
Database replication does not work due difference in time between UI host and Database Replica node.
Make sure that apsbooster is enabled on the UI node:
# grep apsbooster /usr/local/pem/wildfly-10.1.0.Final/standalone/configuration/standalone_xml_history/standalone-full-ha.boot.xml <property name="com.parallels.pui.apsbooster.enabled" value="true"/>
Synchronize time between UI host and replication node. More then one minute time difference causes the issue:
maxReplayDelay = Duration.ofMinutes(1);
Make sure that
/etc/localtimefile is linked to proper timezone, if not, please correct this like in the example below:
localtime -> /usr/share/zoneinfo/Etc/GMT+8
As alternative, you can configure time synchronization services like
NTPDon affected hosts.