| 1 |
|
INTRODUCTION |
3 |
| |
1.1 |
General |
3 |
| |
1.2
|
Useful Internet Links |
3 |
| 2 |
|
REQUIREMENTS |
4 |
| 3 |
|
OVERVIEW |
5 |
| 4 |
|
INSTALL THE ERSERVER SOFTWARE |
6 |
| |
4.1 |
Create a unix account for eRServer |
6 |
| |
4.2 |
Compile and install eRServer |
7 |
| |
4.3
|
Add eRServer commands to your PATH environment variable |
7 |
| 5 |
|
INSTALLATION OF ERSERVER |
8 |
| |
5.1 |
Add the PL/pgSQL language to your master database |
8 |
| |
5.2
|
Initial creation of the Replication information tables in the master and slave databases |
8 |
| 6 |
|
INSTALLATION OF ERSERVER ON ADDITIONAL SLAVE DATABASES |
9 |
| |
6.1
|
Creation of the Replication information tables in the slave database(s) |
9 |
| 7 |
|
ADDING TABLES TO THE REPLICATION LIST |
10 |
| |
7.1 |
Adding tables |
10 |
| |
7.2
|
Things to remember |
10 |
| 8 |
|
SECURING THE ERSERVER INSTALLATION |
11 |
| |
8.1 |
Ensure the replication.cfg file is only readable by the erserver user |
11 |
| |
8.2
|
Ensure the log files are only readable by the erserver user |
11 |
| 9 |
|
STARTING AND STOPPING ERSERVER |
12 |
| |
9.1 |
Starting eRServer |
12 |
| |
9.2
|
Stopping eRServer |
12 |
| 10 |
|
Monitoring eRServer |
13 |
| |
10.1
|
The log files |
13 |
| 11 |
|
TUNING ERSERVER INSTALLATIONS |
14 |
| |
11.1 |
Tuning PostgreSQL |
14 |
| |
11.2 |
Sizing the Java Virtual Machine |
14 |
| |
11.3
|
Data integrity across server crashes on slave databases |
14 |
| 12 |
|
FINAL CHECKLIST |
15 |
| |
12.1 |
Ensure debug and verbose mode are turned off in the replication.cfg file |
15 |
| Parameter |
Description |
| --masterserver |
The name of the server that the master database is on. |
| --masterport |
The TCP port number that the master database is on. The default is 5432. |
| --masterdb |
The name of the master database. |
| --masteruser |
The PostgreSQL username to connect to the master database with. |
| --masterpass |
The password for the master database user. |
| --slaveserver |
The name of the server that the first slave database is on. |
| --slaveport |
The TCP port number that the first slave database is on. The default is 5432. |
| --slavedb |
The name of the first slave database. |
| --slaveuser |
The PostgreSQL username to connect to the first slave database with. |
| --slavepass |
The password for the first slave database user. |