差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
ja:documentation:pandorafms:installation:02_anexo_upgrade [2025/08/02 23:12] – [ワープアップデート設定] junichija:documentation:pandorafms:installation:02_anexo_upgrade [2025/12/06 01:59] (現在) – [Tarball/ソースコードより] junichi
行 4: 行 4:
  
  
-[[:ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]]+[[:ja:documentation:pandorafms:start|Pandora FMS ドキュメント一覧に戻る]]
  
 <wrap #ks1 /> <wrap #ks1 />
行 14: 行 14:
 Pandora FMS 環境を更新するには、主に 2 つの方法があります。 Pandora FMS 環境を更新するには、主に 2 つの方法があります。
  
-  * **Through Warp Update**.+  * <wrap :en>**Warp Update**</wrap>.
   * Manually.   * Manually.
  
-  * **ワープアップデートを通して**+  * **ワープアップデート**
   * 手動   * 手動
  
行 58: 行 58:
 **オンラインワープアップデート** からアップデートするには、電子メールアドレスでサインアップしてください。 **オンラインワープアップデート** からアップデートするには、電子メールアドレスでサインアップしてください。
  
-{{  :wiki:pfms-update-image_010.png  }}+{{  :wiki:pfms-update-image_010_2.png  }}
  
 Once these previous requirements are met, it will show the current Pandora FMS version installed and the new versions to which it is possible to upgrade: Once these previous requirements are met, it will show the current Pandora FMS version installed and the new versions to which it is possible to upgrade:
行 64: 行 64:
 これらの要件が満たされると、現在インストールされている Pandora FMS のバージョンと、アップグレード可能な新しいバージョンが表示されます。 これらの要件が満たされると、現在インストールされている Pandora FMS のバージョンと、アップグレード可能な新しいバージョンが表示されます。
  
-{{  :wiki:pfms-update-image_020.png  }}+{{  :wiki:pfms-update-image_020_2.png  }}
  
 The release notes for each version available for upgrade will also be available through the <wrap :en>**Show details**</wrap>. The release notes for each version available for upgrade will also be available through the <wrap :en>**Show details**</wrap>.
行 90: 行 90:
 このセクションにアクセスすると、メールアドレスの入力を求められます。すると、適用されたライセンスに関連付けられた固有のアクセスコードが表示されます。このコードは{{:wiki:icon_copy.png?nolink&21x21}}アイコンをクリックしてコピーする必要があります。表示されたリンクにアクセスすると、Webブラウザの新しいタブが開き、リポジトリにアクセスできます。コードを貼り付けるとログインでき、必要なファイルをダウンロードできます。 このセクションにアクセスすると、メールアドレスの入力を求められます。すると、適用されたライセンスに関連付けられた固有のアクセスコードが表示されます。このコードは{{:wiki:icon_copy.png?nolink&21x21}}アイコンをクリックしてコピーする必要があります。表示されたリンクにアクセスすると、Webブラウザの新しいタブが開き、リポジトリにアクセスできます。コードを貼り付けるとログインでき、必要なファイルをダウンロードできます。
  
-{{  :wiki:pfms-update-image_030.png  }}+{{  :wiki:pfms-update-image_030_2.png  }}
  
 After logging in, it will indicate which Pandora FMS version is installed, which is the next available version and the last available version. After logging in, it will indicate which Pandora FMS version is installed, which is the next available version and the last available version.
行 96: 行 96:
 ログイン後、インストールされている Pandora FMS のバージョン、次に利用可能なバージョン、利用可能な最新バージョンが表示されます。 ログイン後、インストールされている Pandora FMS のバージョン、次に利用可能なバージョン、利用可能な最新バージョンが表示されます。
  
-{{  :wiki:pfms-update-image_040.png  }}+{{  :wiki:pfms-update-image_040_2.png  }}
  
 When you select the desired version, a dialog box will open to download the files needed to perform the upgrade. When you select the desired version, a dialog box will open to download the files needed to perform the upgrade.
行 194: 行 194:
 ===== 手動アップデート ===== ===== 手動アップデート =====
  
-  * Pandora FMS consists of: Server, Database and Console web. +If you choose to update Pandora FMS without **Warp Update**, you will have to perform a manual update for each system componentThis approach allows to supervise each step of the process, executing the necessary steps individuallyIt is a process that requires full attention and control by the user.
-  Updates will **always** include console changes**occasionally** server changes (minor updates) and **rare** database changes (major updates). +
-  * [[https://pandorafms.com/en/contact/|Contact]] support for download files.+
  
-  * Pandora FMS は、コンル、サーバ、データベースの 3つの素に分けることできます。 +**ワープアップデート** を使用せずに Pandora FMS をアップデートする場合は、各システムコンネントを手動でアップデートする必要があります。この方法では、プロセス必要な各ップを確認し個別に実行できます。処理にユーザに十分な注意が要求れます
-  * 更新には、**常に** コンソール変更、**時々** サーバの変更、**まれに** データベーの変更(メジャーアップデート)含みます。 +
-  * ファイルダウンロードサポート、[[https://pandorafms.com/ja/contact/|お問合せ]] くだ+
  
-<wrap #ks2_1 />+When updating Pandora FMS manually, it is important to take into account the correct order to update Pandora FMS: 
 + 
 +Pandora FMS を手動でアップデートする場合は、Pandora FMS をアップデートする正しい順序を考慮することが重要です。 
 + 
 +  * Web console. 
 +  * Database schema. 
 +  * Server. 
 + 
 +  * Web コンソール 
 +  * データベーススキーマ 
 +  * サーバ 
 + 
 +To carry out the update of these components, you must have the ''.tar.gz''  package from the server and ''.fms''  from the Console, of the desired Pandora FMS version to update to. 
 + 
 +これらのコンポーネントの更新を実行するには、更新する Pandora FMS バージョンの ''.tar.gz'' パッケージをサーバから、また ''.fms'' をコンソールから取得する必要があります。 
 + 
 +To download these packages, see [[#ks2_2|Warp Update Offline]], where it is explained how to download them. 
 + 
 +これらのパッケージをダウンロードするには、[[#ks2_2|オフラインワープアップデート]] を参照してください。ダウンロード方法が説明されています。 
 + 
 +<WRAP center round tip 90%> 
 + 
 +It is strongly recommended to take a snapshot or [[:en:documentation:pandorafms:technical_annexes:07_backup_and_restore_procedures|backup]] of the whole Pandora FMS machine, or otherwise a backup copy of all PFMS components before carrying out any intervention, so that in case of failure, the application may be restored in a simple way. 
 + 
 +</WRAP> 
 + 
 +<WRAP center round tip 90%> 
 + 
 +何らかの操作を行う前に、Pandora FMS マシン全体のスナップショットまたは [[:ja:documentation:pandorafms:technical_annexes:07_backup_and_restore_procedures|バックアップ]]、あるいはすべての PFMS コンポーネントのバックアップコピーを作成することを強くお勧めします。こうすることで、障害が発生した場合にアプリケーションを簡単に復元できるようになります。 
 + 
 +</WRAP> 
 + 
 +To perform the full Pandora FMS update, you need to connect to Pandora FMS server terminal by means of the **root**  user. This procedure is supported by EL 7, EL 8, EL 9 and Ubuntu 22.04 LTS systems. 
 + 
 +Pandora FMS の完全アップデートを実行するには、**root** ユーザで Pandora FMS サーバターミナルに接続する必要があります。この手順は、EL 7、EL 8、EL 9、および Ubuntu 22.04 LTS システムでサポートされています。 
 + 
 +<wrap #ks3_1 /> 
 + 
 +==== コンソールアップデート ==== 
 + 
 +Move file ''package_XXX.XXX.XXX.fms'' to the Console path: 
 + 
 +ファイル ''package_XXX.XXX.XXX.fms'' をコンソールパスに移動します。 
 + 
 +<code bash> 
 +mv package_XXX.XXX.fms /var/www/html/pandora_console/ 
 + 
 +</code> 
 + 
 +Change to working directory: 
 + 
 +作業ディレクトリに移動します。 
 + 
 +<code bash> 
 +cd /var/www/html/pandora_console/ 
 +</code> 
 + 
 +Unzip file ''package_XXX.XXX.fms'': 
 + 
 +''package_XXX.XXX.fms'' を展開します: 
 + 
 +<code bash> 
 +unzip package_XXX.XXX.fms 
 + 
 +</code> 
 + 
 +When running it, you will be asked which action to perform for the files to be replaced. In this case, select ''A'': 
 + 
 +実行すると、置換するファイルに対して実行するアクションを選択するよう求められます。この場合は ''A'' を選択してください。 
 + 
 +<code> 
 + 
 +replace .gitignore? [y]es, [n]o, [A]ll, [N]one, [r]ename: A 
 + 
 +</code> 
 + 
 +Update the Console version in the database, replacing ''XXX''  by the Pandora FMS version to which it has been updated: 
 + 
 +データベース内のコンソールのバージョンを更新し、''XXX'' を更新後の Pandora FMS バージョンに置き換えます。 
 + 
 +<code bash> 
 +mysql -u root -p -D pandora -e "UPDATE tconfig SET value=XXX WHERE token='current_package'" 
 + 
 +</code> 
 + 
 +<wrap #ks3_2 /> 
 + 
 +==== データベーススキーマアップデート ==== 
 + 
 +To update Pandora FMS database schema, the script to update the MR must be manually executed: 
 + 
 +Pandora FMS データベーススキーマを更新するには、MR を更新するスクリプトを手動で実行する必要があります。 
 + 
 +<file> 
 +/usr/bin/php /var/www/html/pandora_console/godmode/um_client/updateMR.php 
 + 
 +</file> 
 + 
 +<wrap #ks3_3 /> 
 + 
 +==== サーバアップデート ==== 
 + 
 +Decompress the ''tar.gz''  of Pandora FMS server ''pandorafms_server-XXXXX.tar.gz'': 
 + 
 +Pandora FMS サーバ ''pandorafms_server-XXXXX.tar.gz'' の ''tar.gz'' を展開します。 
 + 
 +<code bash> 
 +tar -xzvf pandorafms_server-XXXXX.tar.gz 
 + 
 +</code> 
 + 
 +Access the unzipped folder: 
 + 
 +展開したフォルダにアクセスします。 
 + 
 +<code bash> 
 +cd pandora_server/ 
 + 
 +</code> 
 + 
 +Execute the installer: 
 + 
 +インストーラを実行します。 
 + 
 +<code bash> 
 +./pandora_server_installer --install 
 + 
 +</code> 
 + 
 +Restart Pandora FMS server: 
 + 
 +Pandora FMS サーバを再起動します。 
 + 
 +<code bash> 
 +systemctl restart pandora_server 
 + 
 +</code> 
 + 
 +<wrap #ks3_4 /> 
 + 
 +==== アップデートの確認 ==== 
 + 
 +Access the <wrap :en>**Management → About**</wrap> section from Pandora FMS console. There you will be able to correctly see the console version in <wrap :en>**Information → Current Package**</wrap> and that of the database schema in MR: 
 + 
 +Pandora FMS コンソールから <wrap :ja>**管理(Management) → 情報(About)**</wrap> セクションにアクセスします。<wrap :ja>**情報(Information) → 現在のパッケージ(Current Package)**</wrap> でコンソールのバージョンが正しく表示され、MR ではデータベーススキーマのバージョンが正しく表示されます。 
 + 
 +{{  :wiki:pfms-update-784-image_050_2.png  }} 
 + 
 +Access the <wrap :en>**Management → Servers → Manage Server**</wrap> section from Pandora FMS console. See the correct server version in the **Version**  column of all servers. 
 + 
 +Pandora FMS コンソールから <wrap :ja>**管理(Management) → サーバ(Servers) → サーバ管理(Manage Server)**</wrap> セクションにアクセスします。すべてのサーバの **バージョン(Version)** 列で正しいサーババージョンを確認します。 
 + 
 +{{  :wiki:pfms-update-784-image_060_2.png  }} 
 + 
 + 
 +[[:ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]] 
 + 
 +===== (OBSOLETE) =====
  
 ==== マイナーバージョンアップ ==== ==== マイナーバージョンアップ ====
行 405: 行 558:
 </code> </code>
  
-[[:ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]]+[[:ja:documentation:pandorafms:start|Pandora FMS ドキュメント一覧に戻る]]
  
 ===== OBSOLETE ===== ===== OBSOLETE =====
  • ja/documentation/pandorafms/installation/02_anexo_upgrade.1754176360.txt.gz
  • 最終更新: 2025/08/02 23:12
  • by junichi