I'm planning to use
pcs to provide HA in a active-passive cluster for our two front end servers serving a perl application. I have configured resources for the service IP, Apache the application daemon and what I still need to do - configure replication. That means, I need to configure replication that depending which node is the active one it will sync the whole /opt/application directory to the passive node. How to achieve this is the bast way? Both frontends are ESX VM's.