OS Centos: 7.1-2 3.10.0-327.el7.x86_64
PostgreSQL: 9.6.1 and 9.6.2
Hacluster: PCS+Corosync+Pacemaker
Hello! My name is Anton
Found error in PostgreSQL 9.6.1 and 9.6.2
Use Hacluster newer versions of PostgreSQL does not work.
Because Hacluster PostgreSQL does not accept HOSTNAME with special characters "-"
The name of the PG-test-1 and PG-test-2 = master (primary) slave (asynchronous) for new versions
In older versions of under 9.6 = primary - synchronization
If you change hostname /etc/hosts on pgtest1 and pgtest2 in new PostgreSQL versions 9.6.1 and 9.6.2. And reconfigure resources Hacluster on new names. Then is working fine in master mode-Sync.
Please fix the use of special characters in domain names for Hacluster.
Thank you for your attention!