差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン最新のリビジョン両方とも次のリビジョン | ||
ja:documentation:07_technical_annexes:10_share_var_spool_directory_between_several_pandora_servers [2022/06/12 04:21] – [NFS クライアントの設定] junichi | ja:documentation:07_technical_annexes:10_share_var_spool_directory_between_several_pandora_servers [2023/07/20 05:29] – [NFS サーバの設定] junichi | ||
---|---|---|---|
行 14: | 行 14: | ||
ここで、複数の Pandora サーバが共通の環境で動作している場合を想定します。 | ここで、複数の Pandora サーバが共通の環境で動作している場合を想定します。 | ||
- | {{ wiki:Nfs_schema.png }} | + | {{ :wiki:nfs_schema.png }} |
それぞれのサーバのエージェントは、< | それぞれのサーバのエージェントは、< | ||
行 22: | 行 22: | ||
</ | </ | ||
- | ==== どちらの手法が良いか? | + | <WRAP center round tip 60%> |
- | ファイルの共有には、NFS および GlusterFS の両方が利用できますが、環境によって最適な方法は異なります。 | + | |
- | | + | It's mandatory to share data_in' |
- | * //Pandora FMS サーバ// にデータが保存されていたり、(ソフトウエアレベルの)冗長化が求められる場合は、**GlusterFS** をお勧めします。 | + | |
+ | </ | ||
<WRAP center round tip 60%> | <WRAP center round tip 60%> | ||
- | HA 環境では、data_in | + | HA 環境では data_in の //conf//, //md5//, // |
</ | </ | ||
行 39: | 行 40: | ||
==== NFS サーバの設定 ==== | ==== NFS サーバの設定 ==== | ||
+ | |||
+ | <WRAP center round important 60%> It's very important for the NFS server to be a **separate server** from those of Pandora FMS. If one of them were configured as NFS server and there were any errors prevented the client from connecting, the shared files would not be accesible, **causing errors** in Pandora FMS. </ | ||
+ | |||
<WRAP center round important 60%> | <WRAP center round important 60%> | ||
- | NFS サーバは、Pandora FMS サーバとは **別サーバ** であることが重要です。Pandora FMS サーバの 1つが NFS サーバーとして設定されていて、クライアントが接続できない障害があった場合、共有ファイルはアクセスできなくなり、Pandora FMS における **エラーの原因** となります。 別のサーバを使用できない場合は、代わりに // | + | NFS サーバは、Pandora FMS サーバとは **別サーバ** であることが重要です。Pandora FMS サーバの 1つが NFS サーバーとして設定されていて、クライアントが接続できない障害があった場合、共有ファイルはアクセスできなくなり、Pandora FMS における **エラーの原因** となります。 |
</ | </ | ||
- | / | + | Edit the file ''/ |
+ | |||
+ | '' | ||
< | < | ||
行 201: | 行 207: | ||
すべての変更が完了したら、両方のサーバで pandora_server サービスと tentacle_serverd サービスの両方を再起動します。 | すべての変更が完了したら、両方のサーバで pandora_server サービスと tentacle_serverd サービスの両方を再起動します。 | ||
- | ===== GlusterFS 設定 ===== | + | [[ja: |
+ | ===== (OBSOLETE) | ||
GlusterFS を使用すると、サーバ間で Pandora FMS のキーディレクトリを共有できるため、いずれかのサーバがアクセスできない場合でもデータを利用できます。 | GlusterFS を使用すると、サーバ間で Pandora FMS のキーディレクトリを共有できるため、いずれかのサーバがアクセスできない場合でもデータを利用できます。 |