Horje
instalar repmgr para ub Code Example
instalar repmgr para ub
-bash-4.2$ cat repmgr.conf

node_id=2

node_name=node2

conninfo='host=172.16.140.137 user=repmgr dbname=repmgr connect_timeout=2'

data_directory='/var/lib/pgsql/12/data'

failover=automatic

promote_command='/usr/pgsql-12/bin/repmgr standby promote -f /var/lib/pgsql/repmgr.conf --log-to-file'

follow_command='/usr/pgsql-12/bin/repmgr standby follow -f /var/lib/pgsql/repmgr.conf --log-to-file --upstream-node-id=%n'




Shell

Related
docfetcher ubuntu Code Example docfetcher ubuntu Code Example
makefile Code Example makefile Code Example
mocha watch mode Code Example mocha watch mode Code Example
how to download jira Code Example how to download jira Code Example
$(cat <<EOF  using heredoc assign command to a variable Code Example $(cat <<EOF using heredoc assign command to a variable Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
17