mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 08:36:30 +00:00
autofailover_quick_setup.rst: 'Log in' -> 'Log in to'
For some discussion, see [1]. [1]: http://english.stackexchange.com/questions/5302/log-in-to-or-log-into-or-login-to
This commit is contained in:
@@ -65,7 +65,7 @@ Install repmgr following the steps in the README file.
|
|||||||
Configure PostreSQL
|
Configure PostreSQL
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
Log in node1.
|
Log in to node1.
|
||||||
|
|
||||||
Edit the file postgresql.conf and modify the parameters::
|
Edit the file postgresql.conf and modify the parameters::
|
||||||
|
|
||||||
@@ -116,7 +116,7 @@ Create the ssh-key for the postgres user and copy it to other servers::
|
|||||||
Clone Master
|
Clone Master
|
||||||
------------
|
------------
|
||||||
|
|
||||||
Log in node2.
|
Log in to node2.
|
||||||
|
|
||||||
Clone the node1 (the current Master)::
|
Clone the node1 (the current Master)::
|
||||||
|
|
||||||
@@ -132,7 +132,7 @@ And check everything is fine in the server log.
|
|||||||
Configure repmgr
|
Configure repmgr
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
Log in each server and configure repmgr by editing the file
|
Log in to each server and configure repmgr by editing the file
|
||||||
/etc/repmgr/repmgr.conf::
|
/etc/repmgr/repmgr.conf::
|
||||||
|
|
||||||
cluster=my_cluster
|
cluster=my_cluster
|
||||||
@@ -170,14 +170,14 @@ Log in each server and configure repmgr by editing the file
|
|||||||
Register Master and Standby
|
Register Master and Standby
|
||||||
---------------------------
|
---------------------------
|
||||||
|
|
||||||
Log in node1.
|
Log in to node1.
|
||||||
|
|
||||||
Register the node as Master::
|
Register the node as Master::
|
||||||
|
|
||||||
su - postgres
|
su - postgres
|
||||||
repmgr -f /etc/repmgr/repmgr.conf master register
|
repmgr -f /etc/repmgr/repmgr.conf master register
|
||||||
|
|
||||||
Log in node2. Register it as a standby::
|
Log in to node2. Register it as a standby::
|
||||||
|
|
||||||
su - postgres
|
su - postgres
|
||||||
repmgr -f /etc/repmgr/repmgr.conf standby register
|
repmgr -f /etc/repmgr/repmgr.conf standby register
|
||||||
@@ -185,7 +185,7 @@ Log in node2. Register it as a standby::
|
|||||||
Initialize witness server
|
Initialize witness server
|
||||||
-------------------------
|
-------------------------
|
||||||
|
|
||||||
Log in witness.
|
Log in to witness.
|
||||||
|
|
||||||
Initialize the witness server::
|
Initialize the witness server::
|
||||||
|
|
||||||
@@ -198,7 +198,7 @@ As part of the procees it also ask for the superuser password so it can connect
|
|||||||
Start the repmgrd daemons
|
Start the repmgrd daemons
|
||||||
-------------------------
|
-------------------------
|
||||||
|
|
||||||
Log in node2 and witness.
|
Log in to node2 and witness.
|
||||||
|
|
||||||
su - postgres
|
su - postgres
|
||||||
repmgrd -f /etc/repmgr/repmgr.conf --daemonize -> /var/log/postgresql/repmgr.log 2>&1
|
repmgrd -f /etc/repmgr/repmgr.conf --daemonize -> /var/log/postgresql/repmgr.log 2>&1
|
||||||
|
|||||||
Reference in New Issue
Block a user