Installing SafeQ with database and data warehouse on separate servers
This page contains a description of the settings needed for running the main database and the data warehouse on separate servers.
PGSQL settings
SQ Database
Perform the following change in postgresql.conf:
listen_addresses = '*'
In the file pg_hba.conf, add a row as such:
host all all %SQ_IP%/32 md5
where %SQ_IP% = ip address of SQ database server
SQ DW Database
Perform the following change in postgresql.conf:
listen_addresses = '*'
In the file pg_hba.conf, add a row as such:
host all all %SQ_DW_IP%/32 md5
where %SQ_DW_IP% = ip address of SQ DW database server
MSSQL settings
SQ Database server and SQ DW Database server must be linked as servers via MSSQL server (Management Studio -> Database Engine -> Server Objects -> Linked Servers).
After administrator of MSSQL servers links the servers you must properly specify values in SafeQ config files (srvnames must be same as in Linked Servers part):
sqdb-srvname
sqdb-dwsrvname
Server must be linked from both sides, SQ DW Database to SQ Database and SQ Database to SQ DW Database.