差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
ja:documentation:pandorafms:command_center:04_command [2024/06/11 07:38] – [マージツールを通してすでに一元化された環境] junichi | ja:documentation:pandorafms:command_center:04_command [2024/11/16 08:08] (現在) – [コマンドセンター] junichi | ||
---|---|---|---|
行 8: | 行 8: | ||
===== コマンドセンター ===== | ===== コマンドセンター ===== | ||
- | From Pandora FMS version 756, the synchronization system for environments with centralized mode has been redesigned from scratch, making it faster and more efficient, since the changes will be replicated to the nodes automatically without the need for manual synchronization, as it was the case up to now. | + | From Pandora FMS version 756, the synchronization system for environments with centralized mode was redesigned from scratch, making it faster and more efficient, |
- | Pandora FMS バージョン 756 から、中央管理モードの環境における同期システムを一から再設計し、これまでの手動同期を必要とせずに変更がノードに自動的に複製されるようになったため、より高速で効率的になりました。 | + | Pandora FMS バージョン 756 から、中央管理モードの環境における同期システムを一から再設計し、<wrap hi>これまでの手動同期を必要とせずに変更がノードに自動的に複製されるようになったため、より高速で効率的になりました。</ |
- | This change | + | This change |
この変更により、以前のシステムは古いシステムと見なされるため、それが有効だった環境では、新しい中央管理システムを利用しかつ **データの整合性を保証できるように** するために、以前のシステムを自動マージするシステムを利用する必要があります。 | この変更により、以前のシステムは古いシステムと見なされるため、それが有効だった環境では、新しい中央管理システムを利用しかつ **データの整合性を保証できるように** するために、以前のシステムを自動マージするシステムを利用する必要があります。 | ||
- | When updating, all already centralized Command Center environments will be forced to go through the new **Merging tool** section located in **Centralised management** to be able to be centralized again correctly. | + | When upgrading, all already centralized Command Center environments will be forced to go through the new <wrap :en>**Merging tool**</ |
更新時に、すでに中央管理化されているすべてのコマンドセンター環境は、再び正しく中央管理できるように、**中央管理(Centralised management)** の新たな **マージツール(Merging tool)** を通るように強制されます。 | 更新時に、すでに中央管理化されているすべてのコマンドセンター環境は、再び正しく中央管理できるように、**中央管理(Centralised management)** の新たな **マージツール(Merging tool)** を通るように強制されます。 | ||
- | {{ : | + | <WRAP center round important 90%> |
- | {{ : | + | Only nodes configured in the Command Center that **are not** disabled are taken into account for the merging process. |
- | {{ : | + | </ |
- | The **Merging tool** will merge the different elements of the node and Command Center databases (of those that must be managed from Command Center) in the following way. An order of priority will be established between the Command Center nodes and the Command Center itself, placing the elements with the highest priority at the top of the list and at the bottom those with lower priority. | + | <WRAP center round important 90%> |
- | **マージツール(Merging tool)** は、ノードデータベースとコマンドセンターデータベース(コマンドセンターから管理する必要があるデータベース)のさまざまな要素を次のようにマージします。優先順位は、コマンドセンターのノードとコマンドセンター自体の間で確立され、優先度が最も高い要素がリストの一番上に配置され、優先度が低い要素が一番下に配置されます。 | + | マージ処理では、コマンドセンターで構成済みの、**無効になっていない** ノードのみが考慮されます。 |
+ | |||
+ | </ | ||
+ | |||
+ | The Merging tool will merge the different elements of the node databases and the Command Center (of those to be managed from the Command Center) as follows: | ||
+ | |||
+ | マージツールは、ノードデータベースとコマンドセンター (コマンドセンターから管理されるもの) のさまざまな要素を次のようにマージします。**コマンドセンターに登録されているノード間で優先順位が確立され、最も優先度の高い項目がリストの先頭に、最も優先度の低い項目が末尾に配置されます**。 | ||
For example: | For example: | ||
行 36: | 行 42: | ||
{{ : | {{ : | ||
- | <WRAP center round important 60%>\\ | + | This priority list is for cases where the **same item** exists |
- | Only the nodes configured | + | |
- | </ | + | |
- | <WRAP center round important 60%>\\ | + | この優先順位リストは、**同じ要素**が異なるノードに存在するが、**設定が異なる**場合に使用されます。 |
- | コマンドセンターで設定された無効化されていないノードのみがマージ処理で考慮されます。 | + | |
- | </ | + | |
- | This priority list is used for cases where the **same element** exists in the different nodes but has **different configurations**. For example, for 2 nodes and the Command Center to have the group " | + | <WRAP center round important 90%> |
- | この優先順位リストは、同じ要素が異なるノードに存在するが、設定が異なる場合に使用されます。 たとえば、2つのノードとコマンドセンターにグループ " | + | In the case of monitoring policies, the modules, alerts and other elements of the policy are considered separate and independent elements of the policy and will therefore be merged as well. |
- | In another case, if for example only nodes 1 and 2 had a policy called " | + | </ |
- | 別のケースでは、たとえばノード 1 と 2 のみに " | + | <WRAP center round important 90%> |
- | <WRAP center round important 60%>\\ | + | 監視ポリシーの場合、ポリシーのモジュール、アラート、その他の要素は、ポリシーの個別の独立した要素と見なされますが、同様にマージされます。 |
- | Only for the policy' | + | |
- | </ | + | |
- | <WRAP center round important 60%>\\ | ||
- | ポリシー自体の設定(グループ、説明など)の場合のみ、モジュール、アラート、およびその他のポリシー要素は、ポリシーとは独立した別個の要素と見なされるため、同様にマージされます。\\ | ||
</ | </ | ||
- | The case of policies would be the most particular one out of all the synchronized elements due to how they are configured, since every module, alert, plugin… is dealt with as an independent element and seeing it only with modules, if you have: | + | Example **only with modules**: |
- | + | ||
- | ポリシーの場合は、そのの設定方法により、同期されるすべての要素の中で最も特殊なものになります。なぜなら、すべてのモジュール、アラート、プラグイン… が独立した要素として扱われ、次の場合はモジュールでのみ表示されるためです。 | + | |
- | + | ||
- | \\ | + | |
- | {{ : | + | |
- | + | ||
- | The result of the Command Center would be: | + | |
- | + | ||
- | マージツールの結果は次のようになります。 | + | |
- | {{ | + | **モジュールのみの場合**の例: |
- | This allows the result to have as many different configurations as possible so that you can now manage them from the Command Center. | + | {{ : |
- | これにより、結果として可能な限り多くの異なる構成を設定できるため、コマンドセンターからそれらを管理できるようになります。 | + | <wrap #ks1_1 /> |
==== マージツールによって一元化される要素 ==== | ==== マージツールによって一元化される要素 ==== | ||
行 83: | 行 72: | ||
次の要素は、新しいマージツールから一元化される要素です。 | 次の要素は、新しいマージツールから一元化される要素です。 | ||
- | * **Users**: It is only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same ID** will be considered the **same user** | + | * **Users**: It is only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same ID** will be considered the **same user** (following the priority rules described previously). |
- | * **User profiles**: They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same name** | + | * **User profiles**: They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same name** will be considered as the **same user ** (following the priority rules described previously). |
* **Agent groups**: They are only managed from the Command Center. Node management is disabled. | * **Agent groups**: They are only managed from the Command Center. Node management is disabled. | ||
- | * By unifying from the Merging tool those with the **same name** | + | * By unifying from the Merging tool those with the **same name** |
+ | * **File collections**: | ||
+ | * **Alert template**: They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same name** will be considered as the **same template ** (following the priority rules described previously). | ||
+ | * **Alert commands**: They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same name** will be considered as the **same command ** (following the priority rules described previously). | ||
+ | * **Alert actions**: They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same name** will be considered as the **same action ** (following the priority rules described previously). | ||
+ | * **//Server plugins//** : They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same name and execution** will be considered as the **same plugin ** (following the priority rules described previously). | ||
+ | * **OS**: They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same name **will be considered as the **same OS ** (following the priority rules described previously). | ||
+ | * **Module tags**: They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same name** will be considered as the **same tag ** (following the priority rules described previously). | ||
+ | * **Module categories**: | ||
+ | * **Module groups**: They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same name** will be considered as the **same group ** (following the priority rules described previously). | ||
+ | * **Component group**: They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same name** will be considered as the **same group ** (following the priority rules described previously). | ||
+ | * **Network components**: | ||
+ | * **Local components**: | ||
+ | * **Component Template**: They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same name** will be considered as the **same template ** (following the priority rules described previously). | ||
+ | * **Inventory module**: They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same name and OS** will be considered as the **same module ** (following the priority rules described previously). | ||
+ | * **Monitoring policies**: They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same name** will be considered as the **same policy ** (following the priority rules described previously). | ||
+ | * **Policy modules**: They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same name within a policy with the same name** will be considered as the **same module ** (following the priority rules described previously). | ||
+ | * **Policy inventory modules**: They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same name and OS within a policy with the same name** will be considered as the **same module ** (following the priority rules described previously). | ||
+ | * **//Policy plugins//** : They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same execution within a policy with the same name** will be considered as the **same plugin ** (following the priority rules described previously). | ||
+ | * **Policy collections**: | ||
+ | * **Alerts and policy external alerts**: They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same template on the same module name within a policy with the same name** will be considered as the **same alert ** (following the priority rules described previously). | ||
+ | * **Actions on alerts and policy external alerts**: They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same name on the same template on the same module name within a policy with the same name** will be considered as the **same action ** (following the priority rules described previously). | ||
+ | * **Agents within policies**: They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those within policies with the same name will be considered as the **agents within the same policy**. Agent logs within Command Center policies will be discarded and noly node logs will be taken into account (which is where application becomes effective). | ||
+ | * **Agents**: Agent management in node is allowed, except for their deletion which should be done from the Command Center. | ||
* **ユーザ**: | * **ユーザ**: | ||
行 92: | 行 104: | ||
* **エージェントグループ**: | * **エージェントグループ**: | ||
* マージツールから統合することにより、**同じ名前**を持つものは**同じグループ**からのものと見なされます(前述の優先ルールに従います)。 | * マージツールから統合することにより、**同じ名前**を持つものは**同じグループ**からのものと見なされます(前述の優先ルールに従います)。 | ||
- | |||
- | <WRAP center round info 60%>Make sure you adjust the parameter '' | ||
- | |||
- | </ | ||
- | |||
- | <WRAP center round info 60%> | ||
- | マージツールから統合した後、サーバ設定ファイル '' | ||
- | </ | ||
- | |||
- | * **File collections**: | ||
- | * **Alert template**: They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same name** | ||
- | * **Alert commands**: They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same name** | ||
- | * **Alert actions**: They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same name** | ||
- | * **//Server plugins// | ||
- | * **OS**: They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same name **will be considered as the **same OS ** (following the priority rules described previously). | ||
- | * **Module tags**: They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same name** | ||
- | * **Module categories**: | ||
- | * **Module groups**: They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same name** | ||
- | * **Component group**: They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same name** | ||
- | * **Network components**: | ||
- | * **Local components**: | ||
- | * **Component Template**: They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same name** | ||
- | * **Inventory module**: They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same name and OS** will be considered as the **same module ** (following the priority rules described previously). | ||
- | * **Monitoring policies**: They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same name** | ||
- | * **Policy modules**: They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same name within a policy with the same name** | ||
- | * **Policy inventory modules**: They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same name and OS within a policy with the same name** | ||
- | * **//Policy plugins// | ||
- | * **Policy collections**: | ||
- | * **Alerts and policy external alerts**: They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same template on the same module name within a policy with the same name** | ||
- | * **Actions on alerts and policy external alerts**: They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those with the **same name on the same template on the same module name within a policy with the same name** | ||
- | * **Agents within policies**: They are only managed from the Command Center. Node management is disabled. By unifying from the Merging tool those within policies with the same name will be considered as the **agents within the same policy**. Agent logs within Command Center policies will be discarded and noly node logs will be taken into account (which is where application becomes effective). | ||
- | * **Agents**: Agent management in node is allowed, except for their deletion which should be done from the Command Center. | ||
- | The sections where those elements are centrally managed can only be managed from the Command Center. In case of accessing those elements from the nodes, you may only list them, and the editing and creating options will disappear. Also a warning that will indicate that the environment is in centralized mode, with a link that will lead to the administrator to the corresponding Command Center section for element configuration. | ||
- | |||
* **ファイルコレクション**: | * **ファイルコレクション**: | ||
* **アラートテンプレート**: | * **アラートテンプレート**: | ||
行 149: | 行 127: | ||
* **ポリシー内エージェント**: | * **ポリシー内エージェント**: | ||
* **エージェント**: | * **エージェント**: | ||
+ | |||
+ | <WRAP center round info 90%> | ||
+ | |||
+ | Make sure you adjust the parameter '' | ||
+ | |||
+ | </ | ||
+ | |||
+ | <WRAP center round info 90%> | ||
+ | |||
+ | マージツールから統合した後、サーバ設定ファイル '' | ||
+ | |||
+ | </ | ||
+ | |||
+ | **//Summary of all the above://** | ||
+ | |||
+ | **// | ||
+ | |||
+ | The following elements are centralized in Command Center, following the [[# | ||
+ | |||
+ | 以下の要素は、上記の [[# | ||
+ | |||
+ | | **Element** | ||
+ | | Users | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | | ||
+ | | User profiles | ||
+ | | Agent groups | ||
+ | | File collections | ||
+ | | Alert templates | ||
+ | | Alert commands | ||
+ | | Warning actions | ||
+ | | Server plugins | ||
+ | | OS | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | | ||
+ | | Module labels | ||
+ | | Module categories | ||
+ | | Module groups | ||
+ | | Component groups | ||
+ | | Network components | ||
+ | | Local components | ||
+ | | Component templates | ||
+ | | Inventory modules | ||
+ | | Monitoring policies | ||
+ | | Policy modules | ||
+ | | Inventory modules \\ policies | ||
+ | | Policy plugins | ||
+ | | Policy collections | ||
+ | | Alerts and external \\ policy alerts | ||
+ | | **Actions** on alerts \\ and external alerts| | ||
+ | | Agents within \\ the policies | ||
+ | | Agents ((<wrap hi>Node management</ | ||
+ | |||
+ | | **要素** | ||
+ | | ユーザ | ||
+ | | ユーザプロファイル | ||
+ | | エージェントグループ | ||
+ | | ファイルコレクション | ||
+ | | アラートテンプレート | ||
+ | | アラートコマンド | ||
+ | | 警告アクション | ||
+ | | サーバプラグイン | ||
+ | | OS | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | | ||
+ | | モジュールラベル | ||
+ | | モジュールカテゴリ | ||
+ | | モジュールグループ | ||
+ | | コンポーネントグループ | ||
+ | | ネットワークコンポーネント | ||
+ | | ローカルコンポーネント | ||
+ | | コンポーネントテンプレート | ||
+ | | インベントリモジュール | ||
+ | | 監視ポリシー | ||
+ | | ポリシーモジュール | ||
+ | | インベントリモジュール \\ ポリシー | ||
+ | | ポリシープラグイン | ||
+ | | ポリシーコレクション | ||
+ | | アラートと外部アラート \\ ポリシーアラート | ||
+ | | アラートの**アクション** \\ および外部アラート| | ||
+ | | ポリシー内の \\ エージェント | ||
+ | | エージェント ((<wrap hi> | ||
+ | |||
+ | The sections where these elements are centrally managed can only be managed from the Command Center. In case of accessing these elements from the nodes, they can only be listed, **editing and creation options disappear**. A warning will also be displayed indicating that the environment is in centralized mode, with a link that will take the administrator to the corresponding Command Center section for the configuration of these elements. | ||
+ | |||
+ | これらの要素が中央管理されているセクションは、コマンドセンターからのみ管理できます。ノードからこれらの要素にアクセスする場合、リスト表示のみが可能で、**編集および作成オプションは表示されません**。環境が中央管理モードであることを示す警告も表示され、管理者がこれらの要素を設定するための対応するコマンドセンターセクションへのリンクがあります。 | ||
{{ : | {{ : | ||
+ | |||
+ | <wrap #ks1_1_1 /> | ||
+ | |||
=== マージツールで使われているデータベーステーブル === | === マージツールで使われているデータベーステーブル === | ||
- | The following | + | The following [[: |
- | 次のテーブルは、マージツールにおいてコマンドセンターとノード間で同期されます。(" | + | 次の[[: |
<WRAP group>\\ | <WRAP group>\\ | ||
行 203: | 行 264: | ||
* The **Command Center** | * The **Command Center** | ||
+ | * **Node consoles** | ||
+ | * Make sure that the <wrap : | ||
* **コマンドセンター**は、すべての**データベース**とすべてのノード API に**接続**できる必要があります。" | * **コマンドセンター**は、すべての**データベース**とすべてのノード API に**接続**できる必要があります。" | ||
- | + | | |
- | {{ : | + | * ノード上で **管理(Management) → セットアップ(Setup)** |
- | + | ||
- | | + | |
- | + | ||
- | | + | |
{{ : | {{ : | ||
行 220: | 行 279: | ||
{{ : | {{ : | ||
- | * Node **servers** | + | * Node **servers** |
* ノード**サーバ**は、" | * ノード**サーバ**は、" | ||
行 229: | 行 288: | ||
</ | </ | ||
- | |||
- | {{ : | ||
* Each **node **must be able to **connect **to its own **history database.** | * Each **node **must be able to **connect **to its own **history database.** | ||
- | |||
- | * それぞれの**ノード**は、それ自身の**ヒストリデータベース**への**接続**ができる必要があります。 | ||
- | |||
- | {{ : | ||
- | |||
* All **nodes and the Command Center **must be from the **same version**. | * All **nodes and the Command Center **must be from the **same version**. | ||
* All **nodes and the Command Center **must be in the **same MR**. | * All **nodes and the Command Center **must be in the **same MR**. | ||
- | + | | |
- | * すべての**ノードとコマンドセンター**は同じバージョンである必要があります。 | + | |
- | * すべての**ノードとコマンドセンター**は同じ**MR**である必要があります。 | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | | + | |
- | + | ||
- | * すべての**ノードとコマンドセンター**には、セットアップにて同じ最大コレクションサイズを設定する必要があります。 | + | |
- | + | ||
- | {{ : | + | |
* To avoid errors, the **Command Center and the nodes** | * To avoid errors, the **Command Center and the nodes** | ||
* All **nodes** | * All **nodes** | ||
* All **nodes** | * All **nodes** | ||
* All **nodes and Command Center** | * All **nodes and Command Center** | ||
+ | * All **nodes and Command Center **must have the computer' | ||
+ | * それぞれの**ノード**は、それ自身の**ヒストリデータベース**への**接続**ができる必要があります。 | ||
+ | * すべての**ノードとコマンドセンター**は同じバージョンである必要があります。 | ||
+ | * すべての**ノードとコマンドセンター**は同じ**MR**である必要があります。 | ||
+ | * すべての**ノードとコマンドセンター**には、セットアップにて同じ最大コレクションサイズを設定する必要があります。 | ||
* エラーを回避するには、**コマンドセンターおよびノード**の設定ファイル '' | * エラーを回避するには、**コマンドセンターおよびノード**の設定ファイル '' | ||
* すべての**ノード**では、'' | * すべての**ノード**では、'' | ||
行 262: | 行 308: | ||
* すべての**ノード**では、'' | * すべての**ノード**では、'' | ||
* すべての**ノードとコマンドセンター**は、**データベースとコレクション**のバックアップを実行できるように、**" | * すべての**ノードとコマンドセンター**は、**データベースとコレクション**のバックアップを実行できるように、**" | ||
+ | * すべての**ノードとコマンドセンター**では、コンピューターの**日付と時刻**が正しく設定されている必要があります(NTPサーバの使用をお勧めします)。 | ||
- | {{ : | + | <WRAP center round info 90%> |
- | * All **nodes and Command Center **must have the computer' | + | If all those requirements are not met, nodes will not be merged |
- | * すべての**ノードとコマンドセンター**では、コンピューターの**日付と時刻**が正しく設定されている必要があります(NTPサーバの使用をお勧めします)。 | + | </ |
- | <WRAP center round info 60%> \\ If all those requirements are not met, nodes will not be mixed and it will return an error. If you check the errors of the result, it will return a message with the requirements still pending. \\ </WRAP> | + | <WRAP center round info 90%> |
- | <WRAP center round info 60%> \\ これらの要件がすべて満たされていない場合、ノードはマージされず、エラーが返されます。 エラー結果を確認すると、満たされていない条件に関するメッセージを確認できます。 | + | これらの要件がすべて満たされていない場合、ノードはマージされず、エラーが返されます。 エラー結果を確認すると、満たされていない条件に関するメッセージを確認できます。 |
- | <WRAP center round important 60%>It is important, once the database unification is done, to set again the corresponding value of '' | + | </ |
- | <WRAP center round important | + | <WRAP center round important |
+ | |||
+ | It is important, once the database merging is done, to set again the corresponding value of '' | ||
+ | |||
+ | </ | ||
+ | |||
+ | <WRAP center round important 90%> | ||
+ | |||
+ | データベースのマージが完了したら、設定ファイル '' | ||
+ | |||
+ | </WRAP> | ||
+ | |||
+ | <wrap #ks1_3 /> | ||
==== マージツールを起動する前の推奨事項 ==== | ==== マージツールを起動する前の推奨事項 ==== | ||
- | Although they are notrequisites | + | Although they are not requisites |
データベース統合プロセスの必須条件ではありませんが、次の処理も実行することをお勧めします。 | データベース統合プロセスの必須条件ではありませんが、次の処理も実行することをお勧めします。 | ||
- | * **Stop the**** pandora_server ****of all nodes and the Command Center for the whole process**. As key elements such as groups are going to be changed, their IDs can be modified, and it is not recommended to have the server process include new references to the environment while it lasts. However, the running server shouldn' | + | * **Stop the servers |
- | * **Stop the**** cron **'' | + | * **Stop the** '' |
* 処理全体を通してで、すべてのノードの **pandora_server** とコマンドセンターを停止します。グループなどの重要な要素が変更されるため、それらの ID が変更されることがありあす。また、処理中は、環境にアクセスするような処理を動かすことはお勧めしません。 ただし、ほとんどの場合、実行中のサーバは問題にはなりません。 | * 処理全体を通してで、すべてのノードの **pandora_server** とコマンドセンターを停止します。グループなどの重要な要素が変更されるため、それらの ID が変更されることがありあす。また、処理中は、環境にアクセスするような処理を動かすことはお勧めしません。 ただし、ほとんどの場合、実行中のサーバは問題にはなりません。 | ||
- | * サーバと同じ理由で、処理中は、**cron | + | * サーバと同じ理由で、処理中は、'' |
- | <WRAP center round important | + | <WRAP center round important |
- | <WRAP center round important 60%> \\ マージ処理が開始されると、ノードとコマンドセンターの両方がメンテナンスモードになります。 これの目的は、サーバーと ** pandora_db** を停止して、ユーザが処理中に要素を変更してエラーや不整合を引き起こすことを防ぐためです。 \\ </ | + | When the merging process starts, both the nodes and the Command Center go into maintenance mode (not for admins). The purpose of this is the same as the recommendation to stop the servers and '' |
- | {{ : | + | </ |
+ | |||
+ | |||
+ | <WRAP center round important 90%> | ||
+ | |||
+ | マージ処理が開始されると、ノードとコマンドセンターの両方がメンテナンスモードになります。 これの目的は、サーバと '' | ||
+ | |||
+ | </ | ||
+ | |||
+ | <wrap #ks1_4 /> | ||
==== マージ処理の実行 ==== | ==== マージ処理の実行 ==== | ||
行 300: | 行 368: | ||
マージ処理には** 2つの段階があり、**コマンドセンターから管理できるさまざまな要素を**同期する**最初の段階と、**イベント内の情報を一元化された要素内で更新する** 2番目の段階があります。 この処理は、コンソールができるだけ早く再びアクセスできるようにするためのものです。イベントの更新は、通常、より多くの情報を扱うため、最も時間がかかる可能性がある処理であるためです。 両方のステージは、2つの進捗バーで区別され、さらに 2つのサブステージに分割されます。 | マージ処理には** 2つの段階があり、**コマンドセンターから管理できるさまざまな要素を**同期する**最初の段階と、**イベント内の情報を一元化された要素内で更新する** 2番目の段階があります。 この処理は、コンソールができるだけ早く再びアクセスできるようにするためのものです。イベントの更新は、通常、より多くの情報を扱うため、最も時間がかかる可能性がある処理であるためです。 両方のステージは、2つの進捗バーで区別され、さらに 2つのサブステージに分割されます。 | ||
+ | |||
+ | <wrap #ks1_4_1 /> | ||
=== ステージ 1 要素 === | === ステージ 1 要素 === | ||
行 319: | 行 389: | ||
この処理中にエラーが発生した場合(たとえば、データベースとの接続が失われた場合)、プロセス自体が生成されたバックアップの復元を試みます(復元の進行状況を示す 3番目の赤い進行状況バーが表示されます)。 失敗の理由によりバックアップのリカバリができない場合は、手動でリカバリを実行する必要があります。 | この処理中にエラーが発生した場合(たとえば、データベースとの接続が失われた場合)、プロセス自体が生成されたバックアップの復元を試みます(復元の進行状況を示す 3番目の赤い進行状況バーが表示されます)。 失敗の理由によりバックアップのリカバリができない場合は、手動でリカバリを実行する必要があります。 | ||
- | <WRAP center round important | + | <WRAP center round important |
- | <WRAP center round important | + | If the source of the failure prevents the backups from being recovered, the recovering shall be performed manually. |
+ | |||
+ | </ | ||
+ | |||
+ | <WRAP center round important | ||
+ | |||
+ | 障害の原因によってバックアップのリカバリが妨げられている場合、リカバリは手動で実行する必要があります。 | ||
+ | |||
+ | </ | ||
{{ : | {{ : | ||
行 331: | 行 409: | ||
{{ : | {{ : | ||
- | <WRAP center round important | + | <WRAP center round important |
+ | |||
+ | Sometimes there might be unexpected failures, for example connection lost for a while between the Command Center and a node's database or the impossibility of creating a backup due to not having | ||
+ | |||
+ | </ | ||
+ | |||
+ | <WRAP center round important 90%> | ||
+ | |||
+ | コマンドセンターとノードのデータベース間の接続がしばらく失われたり、十分なディスク容量がないためにバックアップを作成できなかったりするなど、予期しない障害が発生する場合があります。そのため、表示されるエラーメッセージは一般的なものになる可能性があります。その場合にサポートが必要であれば、Pandora FMS サポートチームに連絡して支援を受けてください。 | ||
+ | |||
+ | </ | ||
- | <WRAP center round important 60%> \\ コマンドセンターとノードのデータベース間の接続がしばらく失われたり、十分なディスク容量がないためにバックアップを作成できなかったりするなど、予期しない障害が発生する場合があります。そのため、表示されるエラーメッセージは一般的なものになる可能性があります。その場合にサポートが必要であれば、Pandora FMS サポートチームに連絡して支援を受けてください。\\ </WRAP> | + | <wrap # |
=== ステージ 2: イベント更新 === | === ステージ 2: イベント更新 === | ||
行 341: | 行 429: | ||
このステージでは、**イベント内のさまざまな同期要素への参照情報が更新されます**(たとえばグループごとに)。 ステージは、メインデータベースのイベントの更新とヒストリデータベースのイベントの更新に細分され、マージ処理を開始する前に存在していたイベントにのみ影響します。環境を一元化した後に新しく生成されたイベントには、すべての正しい参照情報が含まれているため、更新する必要はありません。 | このステージでは、**イベント内のさまざまな同期要素への参照情報が更新されます**(たとえばグループごとに)。 ステージは、メインデータベースのイベントの更新とヒストリデータベースのイベントの更新に細分され、マージ処理を開始する前に存在していたイベントにのみ影響します。環境を一元化した後に新しく生成されたイベントには、すべての正しい参照情報が含まれているため、更新する必要はありません。 | ||
- | * **Main database:** As events are a large volume of information that is also affected, this update process takes place in parallel with the normal operation of the already merged environment. At this point, the server and '' | + | |
* **History database**: It would be the continuation of the previous point, updating the events in the historical database under the same characteristics already indicated. | * **History database**: It would be the continuation of the previous point, updating the events in the historical database under the same characteristics already indicated. | ||
- | * **メインデータベース: | + | * **メインデータベース: |
* **ヒストリデータベース: | * **ヒストリデータベース: | ||
{{ : | {{ : | ||
+ | |||
+ | <wrap #ks1_5 /> | ||
==== マージツールを通してすでに一元化された環境 ==== | ==== マージツールを通してすでに一元化された環境 ==== | ||
行 363: | 行 453: | ||
この保留中のクエリのリストは、コマンドセンターの**コンソールセットアップ**から確認できます。 何らかの理由でクエリが失敗した場合、ノードは残りのクエリを続行せず、**コンソールセットアップ**にエラーが表示され、管理者が手動で処理する必要があります。ほとんどの場合、マージツールでマージ処理を再度起動することで修正できるはずです。 | この保留中のクエリのリストは、コマンドセンターの**コンソールセットアップ**から確認できます。 何らかの理由でクエリが失敗した場合、ノードは残りのクエリを続行せず、**コンソールセットアップ**にエラーが表示され、管理者が手動で処理する必要があります。ほとんどの場合、マージツールでマージ処理を再度起動することで修正できるはずです。 | ||
- | {{ : | + | <wrap #ks1_5_1 /> |
- | + | ||
- | {{ : | + | |
=== 新たなノードを含める === | === 新たなノードを含める === | ||
- | If in an already centralized environment you **add** | + | To add a new node to a centralized environment, go to **Setup → Metasetup → Consoles setup** in the Command Center and click on the **New node** button. All the fields must be filled in to achieve the connection and at the moment of saving, it will depend on whether it is a completely new node, without any data, it will be added with the **Register empty node** button, otherwise the **Register node with data to merge** button must be used. |
- | すでに一元化されている環境で、新しいノードを追加したり、編集したり、マージから除外された既存のノードを再度有効にしたりする場合は、**マージツール** を再度実行する必要があります。 | + | 集中管理環境に新しいノードを追加するには、コマンドセンターで **セットアップ(Setup) → メタセットアップ(Metasetup) → コンソールセットアップ(Consoles setup)** に移動し、**新しいノード(New node)** ボタンをクリックします。接続を確立し保存するにはすべてのフィールドに入力する必要があります。データがない完全に新しいノードの場合は |
- | A message will be displayed warning the administrator to do this task. While it is not performed, the node will remain **locked and inaccessible**, | + | {{ :wiki:pfms-command_center-new_node.png }} |
- | 管理者にこのタスクを実行するよう警告するメッセージが表示されます。 未実行の間は、ノードは// | + | |
- | {{ : | + | * **空のノードを登録(Register empty node)** ボタンを使用すると、ノード内のデータが削除されることを示す警告ウィンドウが表示されます。 |
- | <WRAP center round tip 60%>\\ | + | {{ : |
- | If you need to make a change in the console to fix a bug in the merging process (such as applying an OUM), you may delete the item from the node list to temporarily unlock it.\\ | + | |
- | </ | + | |
- | <WRAP center round tip 60%> \\ | + | Click **OK** |
- | マージ処理のバグを修正するためにコンソールで変更を加える必要がある場合(OUM の適用など)は、ノード一覧からアイテムを削除して、一時的にロックを解除できます。 | + | |
- | </ | + | 確認し **OK** をクリックすると、新しいノードが集中管理化されます。 |
+ | |||
+ | * When using the **Register node with data to merge** | ||
+ | |||
+ | * **マージするデータを含むノードを登録(Register node with data to merge)** ボタンを使用すると、既存のノードのデータが一元化されることを示す確認ウィンドウが表示されます。 | ||
+ | |||
+ | {{ : | ||
[[: | [[: | ||