table of contents
PCP_PROMOTE_NODE(1) | pgpool-II 4.1.4 Documentation | PCP_PROMOTE_NODE(1) |
NAME¶
pcp_promote_node - promotes the given node as new master to Pgpool-II
SYNOPSIS¶
pcp_promote_node [options...] [node_id] [gracefully]
DESCRIPTION¶
pcp_promote_node promotes the given node as new master to Pgpool-II. In master/slave streaming replication only. Please note that this command does not actually promote standby PostgreSQL backend: it just changes the internal status of Pgpool-II and trigger failover and users have to promote standby PostgreSQL outside Pgpool-II.
pcp_promote_node executes followings. Please be warned that if follow_master_command is set, the command will be executed. It is a standard advice that you disable follow_master_command before executing this command.
OPTIONS¶
-n node_id
--node-id=node_id
-g
--gracefully
Other options
2020 | pgpool-II 4.1.4 |