Configuring Connection Manager

Configuring Connection Manager#

接続マネージャーの構成#

Connection Managerは、ノードがメンバーであるグループのPGD Groupオプションから構成を取得します。

これらは、 bdr.alter_node_group_option コマンド、または pgd group set-option コマンドを使用して構成できます。

接続マネージャーの構成には、次のオプションが使用できます。

Option

Default

Description

listen_address

Postgres's listen address

クライアント接続をリッスンするローカルアドレス

read_write_port

Postgres's port + 1000 (usually 6432)

読み取り/書き込み接続をリッスンするポート

read_only_port

read_write_port + 1 (usually 6433)

読み取り専用接続をリッスンするポート

http_port

read_write_port + 2 (usually 6434)

REST API呼び出しをリッスンするhttpポート統合の目的

use_https

httpリスナーがHTTPSを使用するかどうか。有効になっている場合、サーバー証明書はTLSに使用されます

read_write_max_client_connections

max_connection

許可される最大読み取り/書き込みクライアント接続、デフォルトはmax_connections

read_write_max_server_connections

max_connections

サーバーに対して開かれる最大読み取り/書き込み接続

read_only_max_client_connections

max_connections

許可される最大読み取り専用クライアント接続

read_only_max_server_connections

max_connections

サーバーに対して開かれる読み取り専用接続の最大数

read_write_consensus_timeout

0 (immediate action)

読み取り/書き込み接続が受け入れられなくなるまでにコンセンサスが失われるまで待機する時間

read_only_consensus_timeout

0 (immediate action)

読み取り専用接続が受け入れられなくなるまでに、コンセンサス損失を待機する時間。