This article explains how to put the database in "maintenance mode". It can be required when there is a need to run gpcheckcat
By "maintenance mode" it means, editing "pg_hba.conf" to limit connections and using restricted mode at the same time.
# mv -i $MASTER_DATA_DIRECTORY/pg_hba.conf $MASTER_DATA_DIRECTORY/pg_hba.conf.$(date +%Y%m%d) # echo -e "local all gpadmin ident\nhost all gpadmin 127.0.0.1/28 trust\nhost all gpadmin 172.28.8.250/32 trust" > $MASTER_DATA_DIRECTORY/pg_hba.conf # gpstop -u
Check if the database is in restricted mode:
# pgrep -fl silent
# gpstop -M fast # gpstart -R
Pivotal Greenplum all versions