diff --git a/gpdb-doc/dita/best_practices/sysconfig.xml b/gpdb-doc/dita/best_practices/sysconfig.xml
index f52a67daf8a66713c005ecd92e265e23e357091c..33a333e443aa806f776f2e4909c0c12a6a687734 100644
--- a/gpdb-doc/dita/best_practices/sysconfig.xml
+++ b/gpdb-doc/dita/best_practices/sysconfig.xml
@@ -47,9 +47,7 @@
net.ipv4.ip_local_port_range = 10000 65535
you could set the Greenplum Database base port numbers to these
values.PORT_BASE = 6000
-MIRROR_PORT_BASE = 7000
-REPLICATION_PORT_BASE = 8000
-MIRROR_REPLICATION_PORT_BASE = 9000
+MIRROR_PORT_BASE = 7000
I/O Configuration
diff --git a/gpdb-doc/dita/security-guide/topics/ports_and_protocols.xml b/gpdb-doc/dita/security-guide/topics/ports_and_protocols.xml
index 6f80e9302e9e090bad6b625d90374a5ec681b676..593ae780669216a007821e78676f4f20c8f1956c 100644
--- a/gpdb-doc/dita/security-guide/topics/ports_and_protocols.xml
+++ b/gpdb-doc/dita/security-guide/topics/ports_and_protocols.xml
@@ -14,23 +14,33 @@
to coordinate database operations with the segments. The gpstate -p command,
executed on the Greenplum master, lists the port assignments for the Greenplum master and the
primary segments and mirrors. For example:
- [gpadmin@mdw ~]$ gpstate -p
-20160126:15:40:22:028389 gpstate:mdw:gpadmin-[INFO]:-Starting gpstate with args: -p
-20160126:15:40:22:028389 gpstate:mdw:gpadmin-[INFO]:-local Greenplum Version: 'postgres (Greenplum Database) 4.3.6.0 build 62994'
-20160126:15:40:22:028389 gpstate:mdw:gpadmin-[INFO]:-master Greenplum Version: 'PostgreSQL 8.2.15 (Greenplum Database 4.3.6.0 build 62994) on x86_64-unknown-linux-gnu, compiled by GCC gcc (GCC) 4.4.2 compiled on Jul 24 2015 11:35:08'
-20160126:15:40:22:028389 gpstate:mdw:gpadmin-[INFO]:-Obtaining Segment details from master...
-20160126:15:40:22:028389 gpstate:mdw:gpadmin-[INFO]:--Master segment instance /data/master/gpseg-1 port = 5432
-20160126:15:40:22:028389 gpstate:mdw:gpadmin-[INFO]:--Segment instance port assignments
-20160126:15:40:22:028389 gpstate:mdw:gpadmin-[INFO]:-----------------------------------
-20160126:15:40:22:028389 gpstate:mdw:gpadmin-[INFO]:- Host Datadir Port
-20160126:15:40:22:028389 gpstate:mdw:gpadmin-[INFO]:- sdw1 /data/primary/gpseg0 40000
-20160126:15:40:22:028389 gpstate:mdw:gpadmin-[INFO]:- sdw2 /data/mirror/gpseg0 50000
-20160126:15:40:22:028389 gpstate:mdw:gpadmin-[INFO]:- sdw2 /data/primary/gpseg1 40000
-20160126:15:40:22:028389 gpstate:mdw:gpadmin-[INFO]:- sdw1 /data/mirror/gpseg1 50001
-20160126:15:40:22:028389 gpstate:mdw:gpadmin-[INFO]:- sdw3 /data/primary/gpseg2 40000
-20160126:15:40:22:028389 gpstate:mdw:gpadmin-[INFO]:- sdw4 /data/mirror/gpseg2 50000
-20160126:15:40:22:028389 gpstate:mdw:gpadmin-[INFO]:- sdw4 /data/primary/gpseg3 40000
-20160126:15:40:22:028389 gpstate:mdw:gpadmin-[INFO]:- sdw3 /data/mirror/gpseg3 50001
+ [gpadmin@mdw ~]$ gpstate -p
+20190403:02:57:04:011030 gpstate:mdw:gpadmin-[INFO]:-Starting gpstate with args: -p
+20190403:02:57:05:011030 gpstate:mdw:gpadmin-[INFO]:-local Greenplum Version: 'postgres (Greenplum Database) 5.17.0 build commit:fc9a9d4cad8dd4037b9bc07bf837c0b958726103'
+20190403:02:57:05:011030 gpstate:mdw:gpadmin-[INFO]:-master Greenplum Version: 'PostgreSQL 8.3.23 (Greenplum Database 5.17.0 build commit:fc9a9d4cad8dd4037b9bc07bf837c0b958726103) on x86_64-pc-linux-gnu, compiled by GCC gcc (GCC) 6.2.0, 64-bit compiled on Feb 13 2019 15:26:34'
+20190403:02:57:05:011030 gpstate:mdw:gpadmin-[INFO]:-Obtaining Segment details from master...
+20190403:02:57:05:011030 gpstate:mdw:gpadmin-[INFO]:--Master segment instance /data/master/gpseg-1 port = 5432
+20190403:02:57:05:011030 gpstate:mdw:gpadmin-[INFO]:--Segment instance port assignments
+20190403:02:57:05:011030 gpstate:mdw:gpadmin-[INFO]:-----------------------------------
+20190403:02:57:05:011030 gpstate:mdw:gpadmin-[INFO]:- Host Datadir Port
+20190403:02:57:05:011030 gpstate:mdw:gpadmin-[INFO]:- sdw1 /data/primary/gpseg0 20000
+20190403:02:57:05:011030 gpstate:mdw:gpadmin-[INFO]:- sdw2 /data/mirror/gpseg0 21000
+20190403:02:57:05:011030 gpstate:mdw:gpadmin-[INFO]:- sdw1 /data/primary/gpseg1 20001
+20190403:02:57:05:011030 gpstate:mdw:gpadmin-[INFO]:- sdw2 /data/mirror/gpseg1 21001
+20190403:02:57:05:011030 gpstate:mdw:gpadmin-[INFO]:- sdw1 /data/primary/gpseg2 20002
+20190403:02:57:05:011030 gpstate:mdw:gpadmin-[INFO]:- sdw2 /data/mirror/gpseg2 21002
+20190403:02:57:05:011030 gpstate:mdw:gpadmin-[INFO]:- sdw2 /data/primary/gpseg3 20000
+20190403:02:57:05:011030 gpstate:mdw:gpadmin-[INFO]:- sdw3 /data/mirror/gpseg3 21000
+20190403:02:57:05:011030 gpstate:mdw:gpadmin-[INFO]:- sdw2 /data/primary/gpseg4 20001
+20190403:02:57:05:011030 gpstate:mdw:gpadmin-[INFO]:- sdw3 /data/mirror/gpseg4 21001
+20190403:02:57:05:011030 gpstate:mdw:gpadmin-[INFO]:- sdw2 /data/primary/gpseg5 20002
+20190403:02:57:05:011030 gpstate:mdw:gpadmin-[INFO]:- sdw3 /data/mirror/gpseg5 21002
+20190403:02:57:05:011030 gpstate:mdw:gpadmin-[INFO]:- sdw3 /data/primary/gpseg6 20000
+20190403:02:57:05:011030 gpstate:mdw:gpadmin-[INFO]:- sdw1 /data/mirror/gpseg6 21000
+20190403:02:57:05:011030 gpstate:mdw:gpadmin-[INFO]:- sdw3 /data/primary/gpseg7 20001
+20190403:02:57:05:011030 gpstate:mdw:gpadmin-[INFO]:- sdw1 /data/mirror/gpseg7 21001
+20190403:02:57:05:011030 gpstate:mdw:gpadmin-[INFO]:- sdw3 /data/primary/gpseg8 20002
+20190403:02:57:05:011030 gpstate:mdw:gpadmin-[INFO]:- sdw1 /data/mirror/gpseg8 21002
Additional Greenplum Database network connections are created for features such as standby
replication, segment mirroring, statistics collection, and data exchange between segments.
diff --git a/gpdb-doc/dita/utility_guide/admin_utilities/gpinitsystem.xml b/gpdb-doc/dita/utility_guide/admin_utilities/gpinitsystem.xml
index f507ca634bdfb9455e1b57bd11eb490282373549..eb82e3bf8323c6392500a8dc4ac993ce343a16f3 100644
--- a/gpdb-doc/dita/utility_guide/admin_utilities/gpinitsystem.xml
+++ b/gpdb-doc/dita/utility_guide/admin_utilities/gpinitsystem.xml
@@ -299,9 +299,7 @@
set Greenplum Database base port numbers to these values.
PORT_BASE = 6000
-MIRROR_PORT_BASE = 7000
-REPLICATION_PORT_BASE = 8000
-MIRROR_REPLICATION_PORT_BASE = 9000
+MIRROR_PORT_BASE = 7000
@@ -417,27 +415,6 @@ MIRROR_REPLICATION_PORT_BASE = 9000
65535 and cannot conflict with the ports calculated by
PORT_BASE.
-
- REPLICATION_PORT_BASE
- Optional. This specifies the base number by which the port numbers
- for the primary file replication process are calculated. The first
- replication port on a host is set as REPLICATION_PORT_BASE,
- and then incremented by one for each additional primary segment on that
- host. Valid values range from 1 through 65535 and cannot conflict with the
- ports calculated by PORT_BASE or
- MIRROR_PORT_BASE.
-
-
- MIRROR_REPLICATION_PORT_BASE
- Optional. This specifies the base number by which the port numbers
- for the mirror file replication process are calculated. The first mirror
- replication port on a host is set as
- MIRROR_REPLICATION_PORT_BASE, and then incremented by
- one for each additional mirror segment on that host. Valid values range from
- 1 through 65535 and cannot conflict with the ports calculated by
- PORT_BASE, MIRROR_PORT_BASE, or
- REPLICATION_PORT_BASE.
-
MIRROR_DATA_DIRECTORY
Optional. This specifies the data storage location(s) where the
@@ -462,17 +439,17 @@ MIRROR_REPLICATION_PORT_BASE = 9000
MIRROR_ARRAY define the Greenplum Database master host
and the primary and mirror instances on the segment hosts, respectively,
using the format:
- host~port~data_directory/seg_prefix<segment_id>~dbid~content_id~replication_portThe
+ host~port~data_directory/seg_prefix<segment_id>~dbid~content_idThe
Greenplum Database master always uses the value -1 for the segment ID and
content ID. For
example:QD_PRIMARY_ARRAY=127.0.0.1~5432~/gpmaster/gpsne-1~1~-1~0
declare -a PRIMARY_ARRAY=(
-127.0.0.1~40000~/gpdata1/gpsne0~2~0~6000
-127.0.0.1~40001~/gpdata2/gpsne1~3~1~6001
+127.0.0.1~40000~/gpdata1/gpsne0~2~0
+127.0.0.1~40001~/gpdata2/gpsne1~3~1
)
declare -a MIRROR_ARRAY=(
-127.0.0.1~50000~/gpmirror1/gpsne0~4~0~51000
-127.0.0.1~50001~/gpmirror2/gpsne1~5~1~51001
+127.0.0.1~50000~/gpmirror1/gpsne0~4~0
+127.0.0.1~50001~/gpmirror2/gpsne1~5~1
)
You can use the gpinitsystem
-O output_configuration_file to populate