Can I know when I configure Barman on the HA server, do I need to install a Postgres on barman server?
When I do barman check, my output is like this:
    PostgreSQL: OK
    is_superuser: OK
    PostgreSQL streaming: OK
    wal_level: OK
    replication slot: FAILED (slot 'barman' not initialised: is 'receive-wal' running?)
    directories: OK
    retention policy settings: OK
    backup maximum age: FAILED (interval provided: 1 day, latest backup age: No available backups)
    compression settings: OK
    failed backups: OK (there are 0 failed backups)
    minimum redundancy requirements: OK (have 0 backups, expected at least 0)
    pg_basebackup: OK
    pg_basebackup compatible: OK
    pg_basebackup supports tablespaces mapping: OK
    archive_mode: OK
    archive_command: OK
    continuous archiving: OK
    pg_receivexlog: FAILED
    pg_receivexlog compatible: FAILED (PostgreSQL version: 9.4.17, pg_receivexlog version: None)
    receive-wal running: FAILED (See the Barman log file for more details)
    archiver errors: OK
How can I install pg_receivexlog on barman server?
Thanks
Eva
                        
There are two possible issue could be happen
Different PostgreSQL version installed on same server example pg12 & pg13 and that is why its bin folder already available. In that need to uninstall which actually you don't need.
Another issue could be, you wrongly configured a parameter
path_prefixat your "pg" server/etc/barman.d/pg.conf.Version wise it should be different other wise you will see "
pg_receivexlog compatible" issue. example:I think in your case 2nd issue happened.