文書の表示以前のリビジョンバックリンク文書の先頭へ この文書は読取専用です。文書のソースを閲覧することは可能ですが、変更はできません。もし変更したい場合は管理者に連絡してください。 ====== サーバアーキテクチャ (バージョン 784) ====== {{indexmenu_n>50}} [[ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]] <wrap #ks1 /> ===== 概要 ===== In the latest change in [[:en:documentation:pandorafms:introduction:02_architecture|architecture]], which moved from threads to processes, it became clear that there was excessive consumption and complexity in optimizing the environment due to the existence of too many server subtypes. [[:ja:documentation:pandorafms:introduction:02_architecture|アーキテクチャ]] の最新の変更にて、スレッドからプロセスに移行しました。サーバのサブタイプの数が多すぎることにより環境の最適化に過剰な消費と複雑さが生じることが明らかになりました。 <WRAP center round box 90%> This topic discusses a model change that mskes use of the same basis, unifying fewer servers so that having more threads for multiple tasks will make better use of hardware and time resources. </WRAP> <WRAP center round box 90%> このトピックでは、同じ基盤の使用を減らし、サーバを統合して複数のタスクにスレッドを増やすことで、ハードウェアと時間のリソースをより有効に活用するモデル変更について説明します。 </WRAP> <wrap #ks2 /> ===== 新しいアーキテクチャと共通性 ===== <wrap #ks2_1 /> ==== Pandora FMS サーバ (バージョン 783) ==== Servers are integrated into a single application, called **Pandora Server** as an ensemble, which is a multithreaded application that runs different instances or specialized **Pandora FMS** servers at the same time. For version 783 and earlier, the following servers were available: サーバは、**Pandora Server** と呼ばれる単一のアプリケーションに統合され、一連のものとして機能します。これは、異なるインスタンスまたは専用の **Pandora FMS** サーバを同時に実行するマルチスレッドアプリケーションです。バージョン 783 以前では、以下のサーバーが利用可能でした。 * Data Server. * SNMP Console. * Syslog Server. * Export Server (rarely used). * Sync Server (few use). * Discovery Server. * //WEB Server//. * //Network Server//. * WMI Server. * Plugins Server. * Inventory Server. * ICMP Server. * SNMP Server (different from SNMP traps). * Event Server. * Log Server. * SIEM Server. * NetFlow Server (including sFlow). * NCM Server. * Policy Manager Server. * WUX Server. * MADE Server. * データサーバ * SNMP コンソール * Syslog サーバ * エクスポートサーバ (ほとんど使用されません) * 同期サーバ(使用は少ない) * 自動検出サーバ * //ウェブサーバ// * //ネットワークサーバ// * WMI サーバ * プラグインサーバ * インベントリサーバ * ICMP サーバ * SNMP サーバ (SNMP トラップは別) * イベントサーバ * ログサーバ * SIEM サーバ * NetFlow サーバ (sFlow を含む) * NCM サーバ * ポリシー管理サーバ * WUM サーバ * MADE サーバ Given this overview, and in an environment with half of the servers started, high memory usage was detected without having actually started working. この概要を踏まえ、サーバの半数が起動している環境では、実際に処理を行っていないにもかかわらず、高いメモリ使用量となっていました。 <wrap #ks2_2 /> ==== サーバプーリング ==== In version 784, the different servers have been //grouped// into a smaller group, which means that a producer may generate different types of tasks, e.g., a **ping** and a **WMI check**, which are now processed by the same user. This user will execute one task for WMI and another for PING, essentially doing the same thing as always. バージョン 784 では、異なるサーバが小さなグループにまとめられました。これにより、プロデューサーは異なる種類のタスク(例えば、**ping** と **WMIチェック**)を生成し、同じユーザによって処理されるようになりました。このユーザは、WMI 用に 1つのタスク、PING 用に 1つのタスクを実行しますが、基本的にはこれまでと同じ処理を行います。 <WRAP center round info 90%> Timeouts remain individual for each type of execution. </WRAP> <WRAP center round info 90%> タイムアウトは実行の種類ごとに個別に設定されます。 </WRAP> <wrap #ks2_2_1 /> === ネットワークサーバ === It takes on the tasks of the following servers: 次のサーバのタスクを引き受けます。 * //Network Server//. * WMI Server. * MADE Server. * //WEB Server//. * //ネットワークサーバ// * WMI サーバ * MADE サーバ * //ウェブサーバ// <wrap #ks2_2_2 /> === ヘビーサーバ === It handles the tasks of the following servers: 次のサーバのタスクを処理します。 * Plugin Server. * NCM Server * Export Server (disabled by default). * Inventory Server. * プラグインサーバ * NCM サーバ * エクスポートサーバ (デフォルトでは無効) * インベントリサーバ <wrap #ks2_2_3 /> === ネットワーク高性能サーバ === It manages the workloads of the ICMP Server and SNMP Server. ICMP サーバと SNMP サーバのワークロードを管理します。 <wrap #ks2_2_4 /> === メインサーバに依存するサーバ === * Policy Manager (it depends on the //Master server// of a node). * Migration server (it depends on the //Master server// of a **[[:en:documentation:pandorafms:command_center:02_architecture|Command Center]]** ). * Autoprovision server (it depends on the //Master server// of a **Command Center**). * Sync server (disabled by default). * ポリシーマネージャ(ノードの //マスターサーバ// に依存します)。 * マイグレーションサーバ(**[[:ja:documentation:pandorafms:command_center:02_architecture|コマンドセンター]]** の //マスターサーバ// に依存します)。 * 自動プロビジョニングサーバ(**コマンドセンター** の //マスターサーバ// に依存します)。 * 同期サーバ(デフォルトでは無効)。 <wrap #ks2_3 /> ==== デフォルトサーバ ==== Servers enabled by default: デフォルトで有効になっているサーバ: * Data Server. * Heavy Server. * //Network Server//. * Discovery Server. * Network High Performance Server. * データサーバ * ヘビーサーバ * //ネットワークサーバ// * 自動検出サーバ * ネットワーク高性能サーバ Servers disabled by default: デフォルトで無効化されているサーバ: * MADE Server. * SNMP Trap Server. * Mainframe Server. * NetFlow Server. * Syslog Server. * WUX Server. * SIEM Server. * SIEM Server. * Event Server. * Log Server. * Alert Server. * MADE サーバ * SNMP トラップサーバ * メインフレームサーバ * Netflow サーバ * Syslog サーバ * WUX サーバ * SIEM サーバ * イベントサーバ * ログサーバ * アラートサーバ <wrap #ks2_4 /> ==== pandora_server.conf 設定ファイル ==== The main configuration of **Pandora FMS Server** is located in file ''pandora_server.conf'', in the default path ''/etc/pandora''. **Pandora FMS サーバ** の主な設定は、デフォルトのパス ''/etc/pandora'' にあるファイル ''pandora_server.conf'' にあります。 Starting with version 784, two main new tokens (and their thread configurations) are added: バージョン 784 以降では、2 つの主要な新しいトークン (およびそのスレッド構成) が追加されました。 * ''[[:en:documentation:pandorafms:installation:04_configuration#heavyserver|heavyserver]]''. * ''[[:en:documentation:pandorafms:installation:04_configuration#networkhpserver|networkhpserver]]''. * ''[[:ja:documentation:pandorafms:installation:04_configuration#heavyserver|heavyserver]]'' * ''[[:ja:documentation:pandorafms:installation:04_configuration#networkhpserver|networkhpserver]]'' The following tokens were removed: 次のトークンは削除されました。 ^ Token ^ Replaced by | | ''exportserver'' | ''heavyserver'' | | ''export_threads'' | ''heavyserver_threads'' | | ''icmpserver'' | ''networkhpserver'' | | ''icmp_threads'' | ''networkhpserver_threads'' | | ''inventoryserver'' | ''heavyserver'' | | ''inventory_threads'' | ''heavyserver_threads'' | | ''ncmserver'' | ''heavyserver'' | | ''ncmserver_threads'' | ''heavyserver_threads'' | | ''pluginserver'' | ''heavyserver'' | | ''plugin_threads'' | ''heavyserver_threads'' | | ''predictionserver'' | ''networkserver'' | | ''prediction_threads'' | ''network_threads'' | | ''snmpserver'' | ''networkhpserver'' | | ''snmp_threads'' | ''networkhpserver_threads'' | | ''webserver'' | ''networkserver'' | | ''web_threads'' | ''network_threads'' | | ''wmiserver'' | ''networkserver'' | | ''wmi_threads'' | ''network_threads'' | ^ トークン ^ 置き換え後トークン | | ''exportserver'' | ''heavyserver'' | | ''export_threads'' | ''heavyserver_threads'' | | ''icmpserver'' | ''networkhpserver'' | | ''icmp_threads'' | ''networkhpserver_threads'' | | ''inventoryserver'' | ''heavyserver'' | | ''inventory_threads'' | ''heavyserver_threads'' | | ''ncmserver'' | ''heavyserver'' | | ''ncmserver_threads'' | ''heavyserver_threads'' | | ''pluginserver'' | ''heavyserver'' | | ''plugin_threads'' | ''heavyserver_threads'' | | ''predictionserver'' | ''networkserver'' | | ''prediction_threads'' | ''network_threads'' | | ''snmpserver'' | ''networkhpserver'' | | ''snmp_threads'' | ''networkhpserver_threads'' | | ''webserver'' | ''networkserver'' | | ''web_threads'' | ''network_threads'' | | ''wmiserver'' | ''networkserver'' | | ''wmi_threads'' | ''network_threads'' | <wrap #ks3 /> ===== 軽微な変更 ===== <wrap #ks3_1 /> ==== データ圧縮 ==== <wrap #ks3_2_1 /> === 短い間隔でのデータ個別削除 === In version 784 there is a new category in the deletion parameters that especially affects data with interval times lower than ''300'' seconds. By default, this type of data cannot be stored for more than a week, and is [[:en:documentation:pandorafms:management_and_operation:12_console_setup#ks1_4|moved to history from that point on]]. バージョン 784 では、削除パラメータに新しいカテゴリが追加されました。これは、特に ''300'' 秒未満の間隔で保存されたデータに影響します。デフォルトでは、このタイプのデータは 1週間以上保存できず、[[:ja:documentation:pandorafms:management_and_operation:12_console_setup#ks1_4|それ以降はヒストリデータベースに移動されます]]。 <wrap #ks3_2_2 /> === 新たなデータ圧縮 === This [[:en:documentation:pandorafms:complex_environments_and_optimization:09_pandorafms_engineering#ks1_4|new data compression]] is used when transferring data to the history database, so that regardless of the data, no more than X samples per hour are stored in the history database (e.g., from ''12'', which is normal, it can change to ''5'' by default). この [[:ja:documentation:pandorafms:complex_environments_and_optimization:09_pandorafms_engineering#ks1_4|新しいデータ圧縮]] は、データをヒストリデータベースに転送するときに使用され、データに関係なく、1 時間あたり X 個を超えるサンプルがヒストリデータベースに保存されることはありません (たとえば、通常は ''12'' ですが、デフォルトで ''5'' に変更できます)。 Default setting: **this type of compression is not used**. デフォルト設定: **このタイプの圧縮は使用されません**。 If used, the default value of 5 samples per hour will be used. The [[:en:documentation:pandorafms:management_and_operation:12_console_setup#ks1_7_2|general configuration]] control does not allow values lower than ''1'' or higher than ''12''. Compaction is not performed in cases where the number of samples is lower than the established value. 使用した場合、デフォルト値である 1時間あたり 5サンプルとなります。[[:ja:documentation:pandorafms:management_and_operation:12_console_setup#ks1_7_2|一般設定]]では ''1'' 未満または ''12'' を超える値は許可されません。サンプル数が設定値よりも少ない場合、圧縮は実行されません。 [[ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]] CKG Edit ja/documentation/pandorafms/technical_annexes/50_new_architecture_784.txt 最終更新: 2025/11/09 12:43by junichi