gpinitsystem


[gpadmin@master1 ~]$ gpinitsystem -c /home/gpadmin/conf/gpinitsystem_config -h /home/gpadmin/conf/seg_hosts -s master2 -B 6
20200506:16:44:06:005974 gpinitsystem:master1:gpadmin-[INFO]:-Checking configuration parameters, please wait...
20200506:16:44:06:005974 gpinitsystem:master1:gpadmin-[INFO]:-Reading Greenplum configuration file /home/gpadmin/conf/gpinitsystem_config
20200506:16:44:06:005974 gpinitsystem:master1:gpadmin-[INFO]:-Locale has not been set in /home/gpadmin/conf/gpinitsystem_config, will set to default value
20200506:16:44:06:005974 gpinitsystem:master1:gpadmin-[INFO]:-Locale set to en_US.utf8
20200506:16:44:06:005974 gpinitsystem:master1:gpadmin-[INFO]:-No DATABASE_NAME set, will exit following template1 updates
20200506:16:44:06:005974 gpinitsystem:master1:gpadmin-[INFO]:-MASTER_MAX_CONNECT not set, will set to default value 250
20200506:16:44:06:005974 gpinitsystem:master1:gpadmin-[INFO]:-Standby IP address array = ::1
20200506:16:44:06:005974 gpinitsystem:master1:gpadmin-[INFO]:-Checking configuration parameters, Completed
20200506:16:44:06:005974 gpinitsystem:master1:gpadmin-[INFO]:-Commencing multi-home checks, please wait...
....
20200506:16:44:07:005974 gpinitsystem:master1:gpadmin-[INFO]:-Configuring build for standard array
20200506:16:44:07:005974 gpinitsystem:master1:gpadmin-[INFO]:-Commencing multi-home checks, Completed
20200506:16:44:07:005974 gpinitsystem:master1:gpadmin-[INFO]:-Building primary segment instance array, please wait...
........................
20200506:16:44:13:005974 gpinitsystem:master1:gpadmin-[INFO]:-Building group mirror array type , please wait...
........................
20200506:16:44:20:005974 gpinitsystem:master1:gpadmin-[INFO]:-Checking Master host
20200506:16:44:20:005974 gpinitsystem:master1:gpadmin-[INFO]:-Checking new segment hosts, please wait...
................................................
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Checking new segment hosts, Completed
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Greenplum Database Creation Parameters
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:---------------------------------------
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Master Configuration
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:---------------------------------------
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Master instance name       = Greenplum Data Platform
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Master hostname            = master1
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Master port                = 5432
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Master instance dir        = /data/master/gpseg-1
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Master LOCALE              = en_US.utf8
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Greenplum segment prefix   = gpseg
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Master Database            = 
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Master connections         = 250
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Master buffers             = 128000kB
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Segment connections        = 750
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Segment buffers            = 128000kB
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Checkpoint segments        = 8
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Encoding                   = UNICODE
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Postgres param file        = Off
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Initdb to be used          = /usr/local/greenplum-db/./bin/initdb
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-GP_LIBRARY_PATH is         = /usr/local/greenplum-db/./lib
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-HEAP_CHECKSUM is           = on
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-HBA_HOSTNAMES is           = 0
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Ulimit check               = Passed
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Array host connect type    = Single hostname per node
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Master IP address [1]      = 10.250.12.2
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Standby Master             = master2
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Number of primary segments = 6
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Standby IP address         = ::1
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Standby IP address         = 10.250.12.3
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Total Database segments    = 24
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Trusted shell              = ssh
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Number segment hosts       = 4
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Mirror port base           = 50000
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Number of mirror segments  = 6
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Mirroring config           = ON
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Mirroring type             = Group
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:----------------------------------------
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Greenplum Primary Segment Configuration
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:----------------------------------------
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg1      /data/primary/gpseg0    7000    2       0
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg1      /data/primary/gpseg1    7001    3       1
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg1      /data/primary/gpseg2    7002    4       2
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg1      /data/primary/gpseg3    7003    5       3
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg1      /data/primary/gpseg4    7004    6       4
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg1      /data/primary/gpseg5    7005    7       5
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg2      /data/primary/gpseg6    7000    8       6
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg2      /data/primary/gpseg7    7001    9       7
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg2      /data/primary/gpseg8    7002    10      8
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg2      /data/primary/gpseg9    7003    11      9
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg2      /data/primary/gpseg10   7004    12      10
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg2      /data/primary/gpseg11   7005    13      11
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg3      /data/primary/gpseg12   7000    14      12
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg3      /data/primary/gpseg13   7001    15      13
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg3      /data/primary/gpseg14   7002    16      14
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg3      /data/primary/gpseg15   7003    17      15
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg3      /data/primary/gpseg16   7004    18      16
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg3      /data/primary/gpseg17   7005    19      17
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg4      /data/primary/gpseg18   7000    20      18
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg4      /data/primary/gpseg19   7001    21      19
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg4      /data/primary/gpseg20   7002    22      20
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg4      /data/primary/gpseg21   7003    23      21
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg4      /data/primary/gpseg22   7004    24      22
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg4      /data/primary/gpseg23   7005    25      23
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:---------------------------------------
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-Greenplum Mirror Segment Configuration
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:---------------------------------------
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg2      /data/mirror/gpseg0     50000   26      0
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg2      /data/mirror/gpseg1     50001   27      1
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg2      /data/mirror/gpseg2     50002   28      2
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg2      /data/mirror/gpseg3     50003   29      3
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg2      /data/mirror/gpseg4     50004   30      4
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg2      /data/mirror/gpseg5     50005   31      5
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg3      /data/mirror/gpseg6     50000   32      6
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg3      /data/mirror/gpseg7     50001   33      7
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg3      /data/mirror/gpseg8     50002   34      8
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg3      /data/mirror/gpseg9     50003   35      9
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg3      /data/mirror/gpseg10    50004   36      10
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg3      /data/mirror/gpseg11    50005   37      11
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg4      /data/mirror/gpseg12    50000   38      12
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg4      /data/mirror/gpseg13    50001   39      13
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg4      /data/mirror/gpseg14    50002   40      14
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg4      /data/mirror/gpseg15    50003   41      15
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg4      /data/mirror/gpseg16    50004   42      16
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg4      /data/mirror/gpseg17    50005   43      17
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg1      /data/mirror/gpseg18    50000   44      18
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg1      /data/mirror/gpseg19    50001   45      19
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg1      /data/mirror/gpseg20    50002   46      20
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg1      /data/mirror/gpseg21    50003   47      21
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg1      /data/mirror/gpseg22    50004   48      22
20200506:16:44:43:005974 gpinitsystem:master1:gpadmin-[INFO]:-seg1      /data/mirror/gpseg23    50005   49      23

Continue with Greenplum creation Yy|Nn (default=N):
> y
20200506:16:45:09:005974 gpinitsystem:master1:gpadmin-[INFO]:-Building the Master instance database, please wait...
20200506:16:45:14:005974 gpinitsystem:master1:gpadmin-[INFO]:-Starting the Master in admin mode
20200506:16:45:17:005974 gpinitsystem:master1:gpadmin-[INFO]:-Commencing parallel build of primary segment instances
20200506:16:45:17:005974 gpinitsystem:master1:gpadmin-[INFO]:-Spawning parallel processes    batch [1], please wait...
......
20200506:16:45:17:005974 gpinitsystem:master1:gpadmin-[INFO]:-Waiting for parallel processes batch [1], please wait...
............
20200506:16:45:29:005974 gpinitsystem:master1:gpadmin-[INFO]:-Spawning parallel processes    batch [2], please wait...
......
20200506:16:45:29:005974 gpinitsystem:master1:gpadmin-[INFO]:-Waiting for parallel processes batch [2], please wait...
...........
20200506:16:45:40:005974 gpinitsystem:master1:gpadmin-[INFO]:-Spawning parallel processes    batch [3], please wait...
......
20200506:16:45:40:005974 gpinitsystem:master1:gpadmin-[INFO]:-Waiting for parallel processes batch [3], please wait...
............
20200506:16:45:52:005974 gpinitsystem:master1:gpadmin-[INFO]:-Spawning parallel processes    batch [4], please wait...
......
20200506:16:45:52:005974 gpinitsystem:master1:gpadmin-[INFO]:-Waiting for parallel processes batch [4], please wait...
............
20200506:16:46:04:005974 gpinitsystem:master1:gpadmin-[INFO]:------------------------------------------------
20200506:16:46:04:005974 gpinitsystem:master1:gpadmin-[INFO]:-Parallel process exit status
20200506:16:46:04:005974 gpinitsystem:master1:gpadmin-[INFO]:------------------------------------------------
20200506:16:46:04:005974 gpinitsystem:master1:gpadmin-[INFO]:-Total processes marked as completed           = 24
20200506:16:46:04:005974 gpinitsystem:master1:gpadmin-[INFO]:-Total processes marked as killed              = 0
20200506:16:46:04:005974 gpinitsystem:master1:gpadmin-[INFO]:-Total processes marked as failed              = 0
20200506:16:46:04:005974 gpinitsystem:master1:gpadmin-[INFO]:------------------------------------------------
20200506:16:46:04:005974 gpinitsystem:master1:gpadmin-[INFO]:-Deleting distributed backout files
20200506:16:46:04:005974 gpinitsystem:master1:gpadmin-[INFO]:-Removing back out file
20200506:16:46:04:005974 gpinitsystem:master1:gpadmin-[INFO]:-No errors generated from parallel processes
20200506:16:46:04:005974 gpinitsystem:master1:gpadmin-[INFO]:-Restarting the Greenplum instance in production mode
20200506:16:46:04:020208 gpstop:master1:gpadmin-[INFO]:-Starting gpstop with args: -a -l /home/gpadmin/gpAdminLogs -m -d /data/master/gpseg-1
20200506:16:46:04:020208 gpstop:master1:gpadmin-[INFO]:-Gathering information and validating the environment...
20200506:16:46:04:020208 gpstop:master1:gpadmin-[INFO]:-Obtaining Greenplum Master catalog information
20200506:16:46:04:020208 gpstop:master1:gpadmin-[INFO]:-Obtaining Segment details from master...
20200506:16:46:04:020208 gpstop:master1:gpadmin-[INFO]:-Greenplum Version: 'postgres (Greenplum Database) 6.7.0 build commit:2fbc274bc15a19b5de3c6e44ad5073464cd4f47b'
20200506:16:46:04:020208 gpstop:master1:gpadmin-[INFO]:-Commencing Master instance shutdown with mode='smart'
20200506:16:46:04:020208 gpstop:master1:gpadmin-[INFO]:-Master segment instance directory=/data/master/gpseg-1
20200506:16:46:04:020208 gpstop:master1:gpadmin-[INFO]:-Stopping master segment and waiting for user connections to finish ...
server shutting down
20200506:16:46:05:020208 gpstop:master1:gpadmin-[INFO]:-Attempting forceful termination of any leftover master process
20200506:16:46:05:020208 gpstop:master1:gpadmin-[INFO]:-Terminating processes for segment /data/master/gpseg-1
20200506:16:46:05:020231 gpstart:master1:gpadmin-[INFO]:-Starting gpstart with args: -a -l /home/gpadmin/gpAdminLogs -d /data/master/gpseg-1
20200506:16:46:05:020231 gpstart:master1:gpadmin-[INFO]:-Gathering information and validating the environment...
20200506:16:46:05:020231 gpstart:master1:gpadmin-[INFO]:-Greenplum Binary Version: 'postgres (Greenplum Database) 6.7.0 build commit:2fbc274bc15a19b5de3c6e44ad5073464cd4f47b'
20200506:16:46:05:020231 gpstart:master1:gpadmin-[INFO]:-Greenplum Catalog Version: '301908232'
20200506:16:46:05:020231 gpstart:master1:gpadmin-[INFO]:-Starting Master instance in admin mode
20200506:16:46:06:020231 gpstart:master1:gpadmin-[INFO]:-Obtaining Greenplum Master catalog information
20200506:16:46:06:020231 gpstart:master1:gpadmin-[INFO]:-Obtaining Segment details from master...
20200506:16:46:06:020231 gpstart:master1:gpadmin-[INFO]:-Setting new master era
20200506:16:46:06:020231 gpstart:master1:gpadmin-[INFO]:-Master Started...
20200506:16:46:06:020231 gpstart:master1:gpadmin-[INFO]:-Shutting down master
20200506:16:46:06:020231 gpstart:master1:gpadmin-[INFO]:-Commencing parallel segment instance startup, please wait...
20200506:16:46:07:020231 gpstart:master1:gpadmin-[INFO]:-Process results...
20200506:16:46:07:020231 gpstart:master1:gpadmin-[INFO]:-----------------------------------------------------
20200506:16:46:07:020231 gpstart:master1:gpadmin-[INFO]:-   Successful segment starts                                            = 24
20200506:16:46:07:020231 gpstart:master1:gpadmin-[INFO]:-   Failed segment starts                                                = 0
20200506:16:46:07:020231 gpstart:master1:gpadmin-[INFO]:-   Skipped segment starts (segments are marked down in configuration)   = 0
20200506:16:46:07:020231 gpstart:master1:gpadmin-[INFO]:-----------------------------------------------------
20200506:16:46:07:020231 gpstart:master1:gpadmin-[INFO]:-Successfully started 24 of 24 segment instances 
20200506:16:46:07:020231 gpstart:master1:gpadmin-[INFO]:-----------------------------------------------------
20200506:16:46:07:020231 gpstart:master1:gpadmin-[INFO]:-Starting Master instance master1 directory /data/master/gpseg-1 
20200506:16:46:07:020231 gpstart:master1:gpadmin-[INFO]:-Command pg_ctl reports Master master1 instance active
20200506:16:46:07:020231 gpstart:master1:gpadmin-[INFO]:-Connecting to dbname='template1' connect_timeout=15
20200506:16:46:07:020231 gpstart:master1:gpadmin-[INFO]:-No standby master configured.  skipping...
20200506:16:46:07:020231 gpstart:master1:gpadmin-[INFO]:-Database successfully started
20200506:16:46:07:005974 gpinitsystem:master1:gpadmin-[INFO]:-Completed restart of Greenplum instance in production mode
20200506:16:46:07:005974 gpinitsystem:master1:gpadmin-[INFO]:-Commencing parallel build of mirror segment instances
20200506:16:46:07:005974 gpinitsystem:master1:gpadmin-[INFO]:-Spawning parallel processes    batch [1], please wait...
......
20200506:16:46:07:005974 gpinitsystem:master1:gpadmin-[INFO]:-Waiting for parallel processes batch [1], please wait...
........
20200506:16:46:15:005974 gpinitsystem:master1:gpadmin-[INFO]:-Spawning parallel processes    batch [2], please wait...
......
20200506:16:46:16:005974 gpinitsystem:master1:gpadmin-[INFO]:-Waiting for parallel processes batch [2], please wait...
........
20200506:16:46:24:005974 gpinitsystem:master1:gpadmin-[INFO]:-Spawning parallel processes    batch [3], please wait...
......
20200506:16:46:24:005974 gpinitsystem:master1:gpadmin-[INFO]:-Waiting for parallel processes batch [3], please wait...
........
20200506:16:46:32:005974 gpinitsystem:master1:gpadmin-[INFO]:-Spawning parallel processes    batch [4], please wait...
......
20200506:16:46:32:005974 gpinitsystem:master1:gpadmin-[INFO]:-Waiting for parallel processes batch [4], please wait...
........
20200506:16:46:40:005974 gpinitsystem:master1:gpadmin-[INFO]:------------------------------------------------
20200506:16:46:40:005974 gpinitsystem:master1:gpadmin-[INFO]:-Parallel process exit status
20200506:16:46:40:005974 gpinitsystem:master1:gpadmin-[INFO]:------------------------------------------------
20200506:16:46:40:005974 gpinitsystem:master1:gpadmin-[INFO]:-Total processes marked as completed           = 24
20200506:16:46:40:005974 gpinitsystem:master1:gpadmin-[INFO]:-Total processes marked as killed              = 0
20200506:16:46:40:005974 gpinitsystem:master1:gpadmin-[INFO]:-Total processes marked as failed              = 0
20200506:16:46:40:005974 gpinitsystem:master1:gpadmin-[INFO]:------------------------------------------------
20200506:16:46:40:005974 gpinitsystem:master1:gpadmin-[INFO]:-Starting initialization of standby master master2
20200506:16:46:40:025902 gpinitstandby:master1:gpadmin-[INFO]:-Validating environment and parameters for standby initialization...
20200506:16:46:40:025902 gpinitstandby:master1:gpadmin-[INFO]:-Checking for data directory /data/master/gpseg-1 on master2
20200506:16:46:40:025902 gpinitstandby:master1:gpadmin-[INFO]:------------------------------------------------------
20200506:16:46:40:025902 gpinitstandby:master1:gpadmin-[INFO]:-Greenplum standby master initialization parameters
20200506:16:46:40:025902 gpinitstandby:master1:gpadmin-[INFO]:------------------------------------------------------
20200506:16:46:40:025902 gpinitstandby:master1:gpadmin-[INFO]:-Greenplum master hostname               = master1
20200506:16:46:40:025902 gpinitstandby:master1:gpadmin-[INFO]:-Greenplum master data directory         = /data/master/gpseg-1
20200506:16:46:40:025902 gpinitstandby:master1:gpadmin-[INFO]:-Greenplum master port                   = 5432
20200506:16:46:40:025902 gpinitstandby:master1:gpadmin-[INFO]:-Greenplum standby master hostname       = master2
20200506:16:46:40:025902 gpinitstandby:master1:gpadmin-[INFO]:-Greenplum standby master port           = 5432
20200506:16:46:40:025902 gpinitstandby:master1:gpadmin-[INFO]:-Greenplum standby master data directory = /data/master/gpseg-1
20200506:16:46:40:025902 gpinitstandby:master1:gpadmin-[INFO]:-Greenplum update system catalog         = On
20200506:16:46:40:025902 gpinitstandby:master1:gpadmin-[INFO]:-Syncing Greenplum Database extensions to standby
20200506:16:46:40:025902 gpinitstandby:master1:gpadmin-[INFO]:-The packages on master2 are consistent.
20200506:16:46:40:025902 gpinitstandby:master1:gpadmin-[INFO]:-Adding standby master to catalog...
20200506:16:46:40:025902 gpinitstandby:master1:gpadmin-[INFO]:-Database catalog updated successfully.
20200506:16:46:40:025902 gpinitstandby:master1:gpadmin-[INFO]:-Updating pg_hba.conf file...
20200506:16:46:41:025902 gpinitstandby:master1:gpadmin-[INFO]:-pg_hba.conf files updated successfully.
20200506:16:46:42:025902 gpinitstandby:master1:gpadmin-[INFO]:-Starting standby master
20200506:16:46:42:025902 gpinitstandby:master1:gpadmin-[INFO]:-Checking if standby master is running on host: master2  in directory: /data/master/gpseg-1
20200506:16:46:44:025902 gpinitstandby:master1:gpadmin-[INFO]:-Cleaning up pg_hba.conf backup files...
20200506:16:46:45:025902 gpinitstandby:master1:gpadmin-[INFO]:-Backup files of pg_hba.conf cleaned up successfully.
20200506:16:46:45:025902 gpinitstandby:master1:gpadmin-[INFO]:-Successfully created standby master on master2
20200506:16:46:45:005974 gpinitsystem:master1:gpadmin-[INFO]:-Successfully completed standby master initialization
20200506:16:46:45:005974 gpinitsystem:master1:gpadmin-[INFO]:-Scanning utility log file for any warning messages
20200506:16:46:45:005974 gpinitsystem:master1:gpadmin-[WARN]:-*******************************************************
20200506:16:46:45:005974 gpinitsystem:master1:gpadmin-[WARN]:-Scan of log file indicates that some warnings or errors
20200506:16:46:45:005974 gpinitsystem:master1:gpadmin-[WARN]:-were generated during the array creation
20200506:16:46:45:005974 gpinitsystem:master1:gpadmin-[INFO]:-Please review contents of log file
20200506:16:46:45:005974 gpinitsystem:master1:gpadmin-[INFO]:-/home/gpadmin/gpAdminLogs/gpinitsystem_20200506.log
20200506:16:46:45:005974 gpinitsystem:master1:gpadmin-[INFO]:-To determine level of criticality
20200506:16:46:45:005974 gpinitsystem:master1:gpadmin-[INFO]:-These messages could be from a previous run of the utility
20200506:16:46:45:005974 gpinitsystem:master1:gpadmin-[INFO]:-that was called today!
20200506:16:46:45:005974 gpinitsystem:master1:gpadmin-[WARN]:-*******************************************************
20200506:16:46:45:005974 gpinitsystem:master1:gpadmin-[INFO]:-Greenplum Database instance successfully created
20200506:16:46:45:005974 gpinitsystem:master1:gpadmin-[INFO]:-------------------------------------------------------
20200506:16:46:45:005974 gpinitsystem:master1:gpadmin-[INFO]:-To complete the environment configuration, please 
20200506:16:46:45:005974 gpinitsystem:master1:gpadmin-[INFO]:-update gpadmin .bashrc file with the following
20200506:16:46:45:005974 gpinitsystem:master1:gpadmin-[INFO]:-1. Ensure that the greenplum_path.sh file is sourced
20200506:16:46:45:005974 gpinitsystem:master1:gpadmin-[INFO]:-2. Add "export MASTER_DATA_DIRECTORY=/data/master/gpseg-1"
20200506:16:46:45:005974 gpinitsystem:master1:gpadmin-[INFO]:-   to access the Greenplum scripts for this instance:
20200506:16:46:45:005974 gpinitsystem:master1:gpadmin-[INFO]:-   or, use -d /data/master/gpseg-1 option for the Greenplum scripts
20200506:16:46:45:005974 gpinitsystem:master1:gpadmin-[INFO]:-   Example gpstate -d /data/master/gpseg-1
20200506:16:46:45:005974 gpinitsystem:master1:gpadmin-[INFO]:-Script log file = /home/gpadmin/gpAdminLogs/gpinitsystem_20200506.log
20200506:16:46:45:005974 gpinitsystem:master1:gpadmin-[INFO]:-To remove instance, run gpdeletesystem utility
20200506:16:46:45:005974 gpinitsystem:master1:gpadmin-[INFO]:-Standby Master master2 has been configured
20200506:16:46:45:005974 gpinitsystem:master1:gpadmin-[INFO]:-To activate the Standby Master Segment in the event of Master
20200506:16:46:45:005974 gpinitsystem:master1:gpadmin-[INFO]:-failure review options for gpactivatestandby
20200506:16:46:45:005974 gpinitsystem:master1:gpadmin-[INFO]:-------------------------------------------------------
20200506:16:46:45:005974 gpinitsystem:master1:gpadmin-[INFO]:-The Master /data/master/gpseg-1/pg_hba.conf post gpinitsystem
20200506:16:46:45:005974 gpinitsystem:master1:gpadmin-[INFO]:-has been configured to allow all hosts within this new
20200506:16:46:45:005974 gpinitsystem:master1:gpadmin-[INFO]:-array to intercommunicate. Any hosts external to this
20200506:16:46:45:005974 gpinitsystem:master1:gpadmin-[INFO]:-new array must be explicitly added to this file
20200506:16:46:45:005974 gpinitsystem:master1:gpadmin-[INFO]:-Refer to the Greenplum Admin support guide which is
20200506:16:46:45:005974 gpinitsystem:master1:gpadmin-[INFO]:-located in the /usr/local/greenplum-db/./docs directory
20200506:16:46:45:005974 gpinitsystem:master1:gpadmin-[INFO]:-------------------------------------------------------
[gpadmin@master1 ~]$ 
[gpadmin@master1 ~]$ 
[gpadmin@master1 ~]$ 
[gpadmin@master1 ~]$ gpstate -e
20200506:16:46:52:026149 gpstate:master1:gpadmin-[INFO]:-Starting gpstate with args: -e
20200506:16:46:52:026149 gpstate:master1:gpadmin-[INFO]:-local Greenplum Version: 'postgres (Greenplum Database) 6.7.0 build commit:2fbc274bc15a19b5de3c6e44ad5073464cd4f47b'
20200506:16:46:52:026149 gpstate:master1:gpadmin-[INFO]:-master Greenplum Version: 'PostgreSQL 9.4.24 (Greenplum Database 6.7.0 build commit:2fbc274bc15a19b5de3c6e44ad5073464cd4f47b) on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 6.4.0, 64-bit compiled on Apr 16 2020 02:24:06'
20200506:16:46:52:026149 gpstate:master1:gpadmin-[INFO]:-Obtaining Segment details from master...
20200506:16:46:52:026149 gpstate:master1:gpadmin-[INFO]:-Gathering data from segments...
20200506:16:46:52:026149 gpstate:master1:gpadmin-[INFO]:-----------------------------------------------------
20200506:16:46:52:026149 gpstate:master1:gpadmin-[INFO]:-Segment Mirroring Status Report
20200506:16:46:52:026149 gpstate:master1:gpadmin-[INFO]:-----------------------------------------------------
20200506:16:46:52:026149 gpstate:master1:gpadmin-[INFO]:-All segments are running normally
[gpadmin@master1 ~]$ gpstate -f
20200506:16:46:55:026222 gpstate:master1:gpadmin-[INFO]:-Starting gpstate with args: -f
20200506:16:46:55:026222 gpstate:master1:gpadmin-[INFO]:-local Greenplum Version: 'postgres (Greenplum Database) 6.7.0 build commit:2fbc274bc15a19b5de3c6e44ad5073464cd4f47b'
20200506:16:46:55:026222 gpstate:master1:gpadmin-[INFO]:-master Greenplum Version: 'PostgreSQL 9.4.24 (Greenplum Database 6.7.0 build commit:2fbc274bc15a19b5de3c6e44ad5073464cd4f47b) on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 6.4.0, 64-bit compiled on Apr 16 2020 02:24:06'
20200506:16:46:55:026222 gpstate:master1:gpadmin-[INFO]:-Obtaining Segment details from master...
20200506:16:46:55:026222 gpstate:master1:gpadmin-[INFO]:-Standby master details
20200506:16:46:55:026222 gpstate:master1:gpadmin-[INFO]:-----------------------
20200506:16:46:55:026222 gpstate:master1:gpadmin-[INFO]:-   Standby address          = master2
20200506:16:46:55:026222 gpstate:master1:gpadmin-[INFO]:-   Standby data directory   = /data/master/gpseg-1
20200506:16:46:55:026222 gpstate:master1:gpadmin-[INFO]:-   Standby port             = 5432
20200506:16:46:55:026222 gpstate:master1:gpadmin-[INFO]:-   Standby PID              = 16991
20200506:16:46:55:026222 gpstate:master1:gpadmin-[INFO]:-   Standby status           = Standby host passive
20200506:16:46:55:026222 gpstate:master1:gpadmin-[INFO]:--------------------------------------------------------------
20200506:16:46:55:026222 gpstate:master1:gpadmin-[INFO]:--pg_stat_replication
20200506:16:46:55:026222 gpstate:master1:gpadmin-[INFO]:--------------------------------------------------------------
20200506:16:46:55:026222 gpstate:master1:gpadmin-[INFO]:--WAL Sender State: streaming
20200506:16:46:55:026222 gpstate:master1:gpadmin-[INFO]:--Sync state: sync
20200506:16:46:55:026222 gpstate:master1:gpadmin-[INFO]:--Sent Location: 0/C000000
20200506:16:46:55:026222 gpstate:master1:gpadmin-[INFO]:--Flush Location: 0/C000000
20200506:16:46:55:026222 gpstate:master1:gpadmin-[INFO]:--Replay Location: 0/C000000
20200506:16:46:55:026222 gpstate:master1:gpadmin-[INFO]:--------------------------------------------------------------
[gpadmin@master1 ~]$ 

你可能感兴趣的:(greenplum)