Professional Documents
Culture Documents
ELO11 Brochure
ELO11 Brochure
DOCUMENTATION
THE SETUP, SERVICE, AND FUNCTIONS
OF YSOFT SAFEQ 6
1 Prerequisites 3
2 PostgreSQL 4
2.1 Installation 4
2.2 Move PostgreSQL from already installed SafeQ 6 instance 5
3 Configure High Availability for PostgreSQL 7
4 SafeQ 6 configuration 12
5 Test 13
1 PREREQUISITES
Windows Server 2012 R2 Failover cluster with at least 2 nodes is installed and configured
The clustered disk must have the same disk name on both nodes
2.1 INSTALLATION
Install the supported version of PostgreSQL (9.4 for SafeQ6) from install kit on each node to C:
drive
Copy the folder with data (by default C:\Program Files\PostgreSQL\9.4\data) to a folder on the
clustered disk (i.e. D:\data)
The data folder will be moved only from one node (the second data folder will be removed)
Open regedit.exe
Navigate to HKLM\SYSTEM\CurrentControlSet\Services\potgresql-x64-9.4
Configure
Access rights for group, user, IP address - D:\data\pg_hba.conf (host all all 127.0.0.1/32
md5)
Install Visual C++ redistributable for Visual Studio 13 on each cluster node
Stop YSoft service (at least the YSoftPGSQL service) on the server where YSoft SafeQ
Management Service server is installed
Move folder %SAFEQ_HOME%\PGSQL from SafeQ server to C drive of each cluster node (i.e C:
\PGSQL)
Move folder %SAFEQ_HOME%\PGSQL-data from SafeQ server to D drive (clustered disk) of the
cluster (i.e. D:\PGSQL-data)
Navigate to HKLM\SYSTEM\CurrentControlSet\Services\YSoftPGSQL
Right click
Select export
Save the export to a file and copy the file to C drive of each node
Open regedit.exe
HKLM\SYSTEM\CurrentControlSet\Services\YSoftPGSQL
Access rights for group, user, IP address - D:\PGSQL-data\pg_hba.conf (host all all 0.0.0.0/0
md5)
Navigate to Roles
Click Next
Click Next
Select the clustered disk which will be dedicated for the data of PostgreSQL
Click Next
The configuration of already installed SafeQ 6 instance must be re-configured to get the
connection on newly created HA PostgreSQL.
Open %SAFEQ_HOME%\conf\safeq.conf
The service YSoftPGSQL can be removed by sc.exe delete YSoftPGSQL from the SafeQ server