ja:documentation:07_technical_annexes:10_share_var_spool_directory_between_several_pandora_servers

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
最新のリビジョン両方とも次のリビジョン
ja:documentation:07_technical_annexes:10_share_var_spool_directory_between_several_pandora_servers [2022/06/12 04:22] – [概要] junichija:documentation:07_technical_annexes:10_share_var_spool_directory_between_several_pandora_servers [2023/07/20 05:29] – [NFS サーバの設定] junichi
行 22: 行 22:
 </WRAP> </WRAP>
  
-==== どちらの手法が良いか? ==== +<WRAP center round tip 60%> 
-ファイルの共有には、NFS および GlusterFS の両方が利用できますが、環境によって最適な方法は異なります。 + 
-  //外部サーバ// にデータが保存されており、Pandora FMS はクライアントとして動作している場合は、//NFS// を利用します。 +It's mandatory to share data_in'//conf////md5////collections// and //netflow// folders for HA environments, and we recommend to share the //pandora_console/attachment// folder as well. The //data_in// folder itself **must not be shared**, unless [[:en:documentation:07_technical_annexes:10_share_var_spool_directory_between_several_pandora_servers#configuring_tentacle_server_for_nfs_concurrent_access|Tentacle server is configured for concurrent access]] to XML files. 
-  * //Pandora FMS サーバ// にデータが保存されていたり、(ソフトウエアレベルの)冗長化が求められる場合は、**GlusterFS** をお勧めします。+ 
 +</WRAP>
  
 <WRAP center round tip 60%> <WRAP center round tip 60%>
-HA 環境ではdata_in の中の //conf//, //md5//, //collections// および //netflow// フォルダを共有すること必須です。また、//pandora_console/attachment// フォルダも共有することをお勧めします。//data_in// フォルダ自は、[[:ja:documentation:07_technical_annexes:10_share_var_spool_directory_between_several_pandora_servers#Tentacle_.E3.82.B5.E3.83.BC.E3.83.90.E3.82.92_NFS_.E5.90.8C.E6.99.82.E3.82.A2.E3.82.AF.E3.82.BB.E3.82.B9.E7.94.A8.E3.81.AB.E8.A8.AD.E5.AE.9A.E3.81.99.E3.82.8B|Tentacle サーバを NFS 同時アクセス用に設定する]] を行っていなければ **共有しない** ことをお勧めします。+HA 環境では data_in の //conf//, //md5//, //collections////netflow// フォルダを共有する必要あり、//pandora_console/attachment// フォルダも共有することをお勧めします。 //data_in// フォルダ自**共有してはいけません**。ただしXML ファイルに対して[[:ja:documentation:07_technical_annexes:10_share_var_spool_directory_between_several_pandora_servers#tentacle_サーバを_nfs_同時アクセス用に設定する|Tentacle サーバが同時アクセスするように設定されている場合]]を除きます。
 </WRAP> </WRAP>
  
行 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>
 +
 <WRAP center round important 60%> <WRAP center round important 60%>
-NFS サーバは、Pandora FMS サーバとは **別サーバ** であることが重要です。Pandora FMS サーバの 1つが NFS サーバーとして設定されていて、クライアントが接続できない障害があった場合、共有ファイルはアクセスできなくなり、Pandora FMS における **エラーの原因** となります。 別のサーバを使用できない場合は、代わりに //GlusterFS// を使用してください+NFS サーバは、Pandora FMS サーバとは **別サーバ** であることが重要です。Pandora FMS サーバの 1つが NFS サーバーとして設定されていて、クライアントが接続できない障害があった場合、共有ファイルはアクセスできなくなり、Pandora FMS における **エラーの原因** となります。
 </WRAP> </WRAP>
  
-/etc/exportを編集し、次の行を加えます。+Edit the file ''/etc/exports'' adding the following: 
 + 
 +''/etc/export'' を編集し、次の行を加えます。
  
 <code> <code>
行 201: 行 207:
 すべての変更が完了したら、両方のサーバで pandora_server サービスと tentacle_serverd サービスの両方を再起動します。 すべての変更が完了したら、両方のサーバで pandora_server サービスと tentacle_serverd サービスの両方を再起動します。
  
 +[[ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]]
 ===== (OBSOLETE) GlusterFS 設定 ===== ===== (OBSOLETE) GlusterFS 設定 =====