両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン |
ja:documentation:pandorafms:complex_environments_and_optimization:06_ha [2025/04/06 13:06] – [マスターノード設定] junichi | ja:documentation:pandorafms:complex_environments_and_optimization:06_ha [2025/10/18 05:25] (現在) – [ネットワーク、WMI、プラグイン、ウェブ、予測サーバのバランシングと HA] junichi |
---|
<wrap #ks3 /> | <wrap #ks3 /> |
| |
===== ソフトウエアエージェントでのバランシング ===== | ===== エンドポイントでのバランシング ===== |
| |
From Software Agents, it is possible to perform data server balancing, since it is possible to configure a master (main) and a backup (operational backup) data server. In the Software Agent configuration file ''pandora_agent.conf'' [[:en:documentation:pandorafms:installation:05_configuration_agents#ks3|it should be configured and uncommented]] the following part of the agent configuration file: | From EndPoints, it is possible to perform data server balancing, since it is possible to configure a master (main) and a backup (operational backup) data server. In the EndPoint configuration file ''pandora_agent.conf'' [[:en:documentation:pandorafms:installation:05_configuration_agents#ks3|it should be configured and uncommented]] the following part of the agent configuration file: |
| |
ソフトウェアエージェントからは、マスター (メイン) およびバックアップ (運用バックアップ) データサーバを設定でき、データサーバのバランス調整を実行できます。ソフトウェアエージェント設定ファイル ''pandora_agent.conf'' で [[:ja:documentation:pandorafms:installation:05_configuration_agents#エージェントの一般的なパラメータ|次の部分を設定しコメントを外す必要があります]]。 | エンドポイントからは、マスター (メイン) およびバックアップ (運用バックアップ) データサーバを設定でき、データサーバのバランス調整を実行できます。エンドポイント設定ファイル ''pandora_agent.conf'' で [[:ja:documentation:pandorafms:installation:05_configuration_agents#ks3|次の部分を設定しコメントを外す必要があります]]。 |
| |
* <wrap :en>**secondary_server_ip**</wrap>: IP address of the secondary server. | * <wrap :en>**secondary_server_ip**</wrap>: IP address of the secondary server. |
<WRAP center round important 90%> | <WRAP center round important 90%> |
| |
Only the remote configuration of the Software Agent is operative, if enabled, on the main server. | Only the remote configuration of the EndPoint is operative, if enabled, on the main server. |
| |
</WRAP> | </WRAP> |
<WRAP center round important 90%> | <WRAP center round important 90%> |
| |
エージェントのリモート設定が有効になっている場合、メインサーバでのみ操作できます。 | エンドポイントのリモート設定が有効になっている場合、メインサーバでのみ操作できます。 |
| |
</WRAP> | </WRAP> |
===== ネットワーク、WMI、プラグイン、ウェブ、予測サーバのバランシングと HA ===== | ===== ネットワーク、WMI、プラグイン、ウェブ、予測サーバのバランシングと HA ===== |
| |
You need to install [[:en:documentation:pandorafms:introduction:02_architecture#ks1_1|multiple servers]]: network server, WMI server, Plugin server, Web server or prediction server, on several machines on the network (all with the same visibility to the systems you want to monitor) and all on the same segment (so that network latency data is consistent). | You need to install [[:en:documentation:pandorafms:introduction:02_architecture|multiple servers]]: network server, WMI server, Plugin server, Web server or prediction server, on several machines on the network (all with the same visibility to the systems you want to monitor) and all on the same segment (so that network latency data is consistent). |
| |
[[:ja:documentation:pandorafms:introduction:02_architecture#ks1_1|複数のサーバ]]に、ネットワーク、WMI、プラグイン、ウェブ、予測サーバを (モニタしたいシステムを見れるよう同じように) それぞれインストールします。複数のサーバは (ネットワーク遅延が同じになるように) 同一セグメントに置く必要があります。 | [[:ja:documentation:pandorafms:introduction:02_architecture|複数のサーバ]]に、ネットワーク、WMI、プラグイン、ウェブ、予測サーバを (モニタしたいシステムを見れるよう同じように) それぞれインストールします。複数のサーバは (ネットワーク遅延が同じになるように) 同一セグメントに置く必要があります。 |
| |
それぞれのサーバはプライマリとして選択できます。それぞれのサーバは、他方がダウンした場合、そのサーバに割り当てられていた全てのモジュールデータの収集を自動的に引き継ぎます。Pandora FMS サーバには、最終接続時間 (サーバの threshold x 2) を確認して、他のサーバがダウンしていることを検知する仕組が実装されています。Pandora FMS サーバが 1台でも稼働していれば、他のサーバのダウンを検出することができます。すべての Pandora FMS サーバがダウンした場合は、検出する手段はありません。 | それぞれのサーバはプライマリとして選択できます。それぞれのサーバは、他方がダウンした場合、そのサーバに割り当てられていた全てのモジュールデータの収集を自動的に引き継ぎます。Pandora FMS サーバには、最終接続時間 (サーバの threshold x 2) を確認して、他のサーバがダウンしていることを検知する仕組が実装されています。Pandora FMS サーバが 1台でも稼働していれば、他のサーバのダウンを検出することができます。すべての Pandora FMS サーバがダウンした場合は、検出する手段はありません。 |
他のサーバに[[[:ja:documentation:pandorafms:command_center:03_installation|コンソールをインストール]]するだけです。それらのいずれからも、異なるユーザによって異なる場所から同時に使用することができます。 コンソールの前段で[[https://pandorafms.com/guides/public/books/load-balancing-with-keepalived|ロードバランサ]]を使用すると、セッションシステムが「クッキー」によって管理され、これがブラウザーに保管されるため、どちらがアクセスされているかを実際に知らなくてもアクセスできます。 | 他のサーバに[[[:ja:documentation:pandorafms:command_center:03_installation|コンソールをインストール]]するだけです。それらのいずれからも、異なるユーザによって異なる場所から同時に使用することができます。 コンソールの前段で[[https://pandorafms.com/guides/public/books/load-balancing-with-keepalived|ロードバランサ]]を使用すると、セッションシステムが「クッキー」によって管理され、これがブラウザーに保管されるため、どちらがアクセスされているかを実際に知らなくてもアクセスできます。 |
| |
In the case of using remote configuration and to manage it from all consoles, both data servers and consoles must share the input data directory (default: ''/var/spool/pandora/data_in'') for remote configuration of agents, collections and other directories (see topic [[:en:documentation:pandorafms:technical_annexes:15_security_architecture#ks3_1_1|"Security architecture"]]). | In the case of using remote configuration and to manage it from all consoles, both data servers and consoles must share the input data directory (default: ''/var/spool/pandora/data_in'') for remote configuration of agents, collections and other directories (see topic [[:en:documentation:pandorafms:cybersecurity:15_security_architecture#ks3_1_1|"Security architecture"]]). |
| |
リモート設定を使用する場合、双方のデータサーバとコンソールは、データ入力ディレクトリ (デフォルト: ''/var/spool/pandora/data_in'') 配下の configuration、collections その他を共有する必要があります。([[:ja:documentation:pandorafms:technical_annexes:15_security_architecture#ks3_1_1|"セキュリティアーキテクチャ"]] も参照ください。) | リモート設定を使用する場合、双方のデータサーバとコンソールは、データ入力ディレクトリ (デフォルト: ''/var/spool/pandora/data_in'') 配下の configuration、collections その他を共有する必要があります。([[:ja:documentation:pandorafms:cybersecurity:15_security_architecture#ks3_1_1|"セキュリティアーキテクチャ"]] も参照ください。) |
| |
* ''/var/spool/pandora/data_in/conf'' | * ''/var/spool/pandora/data_in/conf'' |
| |
</code> | </code> |
| |
| * **ha_backup_source_dir**: |
| |
| Directory that will contain the HA backup data. Default value: ''/var/tmp''. |
| |
| HA バックアップデータを保存するディレクトリ。デフォルト値: ''/var/tmp'' |
| |
| * **ha_mysql_source_dir**: |
| |
| Directory that will contain the MySQL data. Default value: ''/var/lib''. |
| |
| MySQLデータを保存するディレクトリ。デフォルト値: ''/var/lib'' |
| |
| <wrap #ks6_3_1 /> |
| |
=== サーバ間の SSH 鍵共有 === | === サーバ間の SSH 鍵共有 === |
| |
**3.-** **MASTER** ノードで ''mysql_native_password'' トークンを指定しての全ユーザの再作成: | **3.-** **MASTER** ノードで ''mysql_native_password'' トークンを指定しての全ユーザの再作成: |
| |
| <WRAP center round info 90%> |
| |
| In the following instructions the authentication method ''mysql_native_password'' is used, to use ''caching_sha2_password'' please refer to the topic "[[:en:documentation:pandorafms:technical_annexes:46_mysql_sha|SHA authentication method configuration in MySQL]]". |
| |
| </WRAP> |
| |
| <WRAP center round info 90%> |
| |
| 以下の手順では、認証方法 ''mysql_native_password'' が使用されています。''caching_sha2_password'' を使用するには、トピック "[[:ja:documentation:pandorafms:technical_annexes:46_mysql_sha|MySQL での SHA 認証方法の設定]]" を参照してください。 |
| |
| </WRAP> |
| |
**mysql** > ''CREATE USER slaveuser@% IDENTIFIED WITH mysql_native_password BY 'pandora';'' | **mysql** > ''CREATE USER slaveuser@% IDENTIFIED WITH mysql_native_password BY 'pandora';'' |