ja:documentation:pandorafms:installation:02_anexo_upgrade

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
ja:documentation:pandorafms:installation:02_anexo_upgrade [2025/08/02 23:20] – [手動アップデート] junichija:documentation:pandorafms:installation:02_anexo_upgrade [2025/08/02 23:31] (現在) – [アップデートの確認] junichi
行 235: 行 235:
  
 <wrap #ks3_1 /> <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>
 +
 +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-image_050.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-image_060.png  }}
 +
 +
 +[[:ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]]
 +
 +===== (OBSOLETE) =====
  
 ==== マイナーバージョンアップ ==== ==== マイナーバージョンアップ ====
  • ja/documentation/pandorafms/installation/02_anexo_upgrade.1754176801.txt.gz
  • 最終更新: 2025/08/02 23:20
  • by junichi