mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
pg_upgrade docs: clarify rsync and move verification step
These are adjustments based on someone using the new standby upgrade steps. Report by Andy Colson Backpatch through 9.5
This commit is contained in:
parent
8a02b3d732
commit
46bd95e2a8
@ -310,8 +310,21 @@ NET STOP postgresql-9.0
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Streaming replication and log-shipping standby servers can remain running until
|
Streaming replication and log-shipping standby servers can
|
||||||
a later step.
|
remain running until a later step.
|
||||||
|
</para>
|
||||||
|
</step>
|
||||||
|
|
||||||
|
<step>
|
||||||
|
<title>Verify standby servers</title>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
If you are upgrading Streaming Replication and Log-Shipping standby
|
||||||
|
servers, verify that the old standby servers are caught up by running
|
||||||
|
<application>pg_controldata</> against the old primary and standby
|
||||||
|
clusters. Verify that the <quote>Latest checkpoint location</>
|
||||||
|
values match in all clusters. (There will be a mismatch if old
|
||||||
|
standby servers were shut down before the old primary.)
|
||||||
</para>
|
</para>
|
||||||
</step>
|
</step>
|
||||||
|
|
||||||
@ -404,7 +417,9 @@ pg_upgrade.exe
|
|||||||
If you have Streaming Replication (<xref
|
If you have Streaming Replication (<xref
|
||||||
linkend="streaming-replication">) or Log-Shipping (<xref
|
linkend="streaming-replication">) or Log-Shipping (<xref
|
||||||
linkend="warm-standby">) standby servers, follow these steps to
|
linkend="warm-standby">) standby servers, follow these steps to
|
||||||
upgrade them (before starting any servers):
|
upgrade them. You will not be running <application>pg_upgrade</>
|
||||||
|
on the standby servers, but rather <application>rsync</>. Do not
|
||||||
|
start any servers yet.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<substeps>
|
<substeps>
|
||||||
@ -447,18 +462,6 @@ pg_upgrade.exe
|
|||||||
</para>
|
</para>
|
||||||
</step>
|
</step>
|
||||||
|
|
||||||
<step>
|
|
||||||
<title>Verify standby servers</title>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
To prevent old standby servers from being modified, run
|
|
||||||
<application>pg_controldata</> against the primary and standby
|
|
||||||
clusters and verify that the <quote>Latest checkpoint location</>
|
|
||||||
values match in all clusters. (This requires the standbys to be
|
|
||||||
shut down after the primary.)
|
|
||||||
</para>
|
|
||||||
</step>
|
|
||||||
|
|
||||||
<step>
|
<step>
|
||||||
<title>Save configuration files</title>
|
<title>Save configuration files</title>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user