UC-1964: Restore not working in a HA setup

-fixed .yaml generation in HA env
-fixed sipx-archive script to run on centos
-fixed/improved test for HA config