verify-cluster#

クラスターがAlwaysOnアーキテクチャごとのルールに従っているかどうかを確認します。

概要#

クラスターがAlwaysOnアーキテクチャごとのルールに従っているかどうかを確認します。

pgd verify-cluster [flags]

オプション#

特定のコマンドオプションはありません。グローバルオプションについては、 グローバルオプション を参照してください。

例#

推奨されないアーキテクチャを使用したクラスターの検証#

この例では、推奨されないアーキテクチャでクラスターを検証します。

$ pgd verify-cluster
__OUTPUT__
Check                                                                               Status   Groups
- ----                                                                               ------   ------
There is always at least 1 Global Group and 1 Data Group                            Ok
There are at least 2 data nodes in a Data Group (except for the witness-only group) Critical group_b
There is at most 1 witness node in a Data Group                                     Warning  group_a
Witness-only group does not have any child groups                                   Ok
There is at max 1 witness-only group iff there is even number of local Data Groups  Warning  bdrgroup
There are at least 2 proxies configured per Data Group if routing is enabled        Warning  group_a, group_b

推奨されるアーキテクチャでのクラスターの検証#

この例では、推奨されるアーキテクチャでクラスターを検証します。

$ pgd verify-cluster
__OUTPUT__
Check                                                                               Status Groups
- ----                                                                               ------ ------
There is always at least 1 Global Group and 1 Data Group                            Ok
There are at least 2 data nodes in a Data Group (except for the witness-only group) Ok
There is at most 1 witness node in a Data Group                                     Ok
Witness-only group does not have any child groups                                   Ok
There is at max 1 witness-only group iff there is even number of local Data Groups  Ok
There are at least 2 proxies configured per Data Group if routing is enabled        Ok