ja:documentation:pandorafms:installation:02_anexo_upgrade

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
ja:documentation:pandorafms:installation:02_anexo_upgrade [2025/08/02 22:53] – [ワープアップデート] junichija:documentation:pandorafms:installation:02_anexo_upgrade [2025/08/02 23:31] (現在) – [アップデートの確認] junichi
行 50: 行 50:
 ==== オンラインワープアップデート ==== ==== オンラインワープアップデート ====
  
-   To update by **Warp Update** online you must be registered with an e-mail address.+To use the **Warp Update Online,** access the <wrap :en>**Management → Warp Update → Update Online**</wrap> menu. For its operation, Pandora FMS Console must have access to the official Pandora FMS online repositories.
  
-   * オンラインの **ワープアップデート** アップデートするためにはールアドレの登録が必要す。+**オンラインワープアップデート** を使用するには、<wrap :ja>**管理 → ワープアップデート → オンラインアップデート**</wrap> メニューにアクセスします。この機能を使用するには、Pandora FMS コンソールが公式 Pandora FMS オンラインリポジトリにクセできる必要があります。
  
-{{  :wiki:pfms-warp_update_2-image_010.png  }}+To update through **Warp Update Online,**  sign up with an e-mail address.
  
-   * **Warp Update** will connect and analyze what updates are needed. +**オンラインワープアップデート** からアップデートするには、電子メールアドレスでサインアップしてください。
-   * If it is up to date, it will show the current active version, without the need to perform any other action.+
  
-   * **ワープアップデート**はサーバに接続し、必要な更新を分析します。 +{{  :wiki:pfms-update-image_010.png  }}
-   * すでに最新の場合は、他のアクションを実行することなく現在アクティブなバージョンが表示されます。+
  
-<wrap #ks1_2 />+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:
  
-==== オフラインアップト ====+これらの要件が満たされると、現在インストルされている Pandora FMS のバージョンと、アップグレド可能な新しいバージョンが表示されます。
  
-<WRAP center round important 90%>+{{  :wiki:pfms-update-image_020.png  }}
  
-Applying patches and/or updates offline may make your Web Console unusable, it is recommended to perform a [[:en:documentation:pandorafms:technical_annexes:07_backup_and_restore_procedures|full backup]] beforehand.+The release notes for each version available for upgrade will also be available through the <wrap :en>**Show details**</wrap>.
  
-</WRAP>+アップグレード可能な各バージョンのリリースノートも、<wrap :ja>**詳細表示(Show details)**</wrapから入手できます。
  
-<WRAP center round important 90%>+Only LTS versions and/or consecutive versions will be displayed depending on [[#ks2_4|Warp configuration]].
  
-オフラインでパッチやアップデートを適用すると、Web コンソールが使用できなくなる可能性があります。事前に [[:ja:documentation:pandorafms:technical_annexes:07_backup_and_restore_procedures|完全バックアップ]] を実行することをお勧めします。+[[#ks2_4|ワー設定]] に応じて、LTS バージョンまたは連続バージョンのみが表示されます。
  
-</WRAP>+Once the version to be upgraded is selected, the wizard will start downloading and [[#ks3_4|installing automatically]].
  
-<wrap :en>**Management → Warp Update → Update offline**</wrap> menu.+アップグレードするバージョンを選択すると、ウィザードがダウンロードを開始し、[[#ks3_4|自動的に]] インストールされます。
  
-<wrap :ja>**管理(Management) → ワープアップデート(Warp Update) → オフライン更新(Update offline)**</wrapメニュー。+<wrap #ks2_2 />
  
-The <wrap :en>**Warp Update Offline**</wrap> also helps to install different types of patches: console, server and manual combined patches.+==== オフラインワープアップデート ====
  
-<wrap :ja>**オフラインワープアップデート**</wrap> は、コンソール、サーバ、手動の組み合わせパッチなど、さまざまな種類のパッチをインストールするためにも使用されます。+To use **Warp Offline**, access the <wrap :en>**Management → Warp Update → Update Offline**</wrap> menu. The **Warp Offline**  does not require internet connection to perform updates. //The administrator must manually download the packages and upload them to the wizard to perform the update//.
  
-When accessing this section, a unique access code related to the applied license will be displayed and must be copied by clicking on the icon {{wiki:icon_copy.png?nolink&21x21}}, click on the indicated link to open in a new tab of the web browser, paste the code and log in and download the necessary files. +**オフラインワープアップデート** を使用するには、<wrap :ja>**管理 → ワープアップデート → オフラインアップデート**</wrap> メニューにアクセスしてください。**オフラインワープアップデート** では、アップデートを実行するためにインターネット接続は必要ありません。//管理者は手動でパッケージをダウンロードし、ウィザードにアップロードしてアップデートを実行する必要があります//
  
-このセクションにアクセスすると、適用されたライセンスに関連する一意のアクセス コードが表示されます。アイコン {{wiki:icon_copy.png?nolink&21x21}} をクリックしてこのコードをコピーし、示されたリンクをクリックして Web ブラウザーの新しいタブで開き、コードを貼り付けてログインし、必要なファイルをダウンロードする必要があります。+When accessing this section, you will be prompted to enter an e-mail address and a unique access code related to the applied license will be displayed. It must be copied by clicking on the {{:wiki:icon_copy.png?nolink&21x21}}icon. The indicated link is accessed to open in a new tab of the web browser and enter the repository, pasting the code will log in to download the necessary files.
  
-{{  :wiki:pfms-warp_update_2-image_020.png  }}+このセクションにアクセスすると、メールアドレスの入力を求められます。すると、適用されたライセンスに関連付けられた固有のアクセスコードが表示されます。このコードは{{:wiki:icon_copy.png?nolink&21x21}}アイコンをクリックしてコピーする必要があります。表示されたリンクにアクセスすると、Webブラウザの新しいタブが開き、リポジトリにアクセスできます。コードを貼り付けるとログインでき、必要なファイルをダウンロードできます。
  
-  * When you enter the download web page you will see the version installed according to the license and you will be able to search for updates by name and description:+{{  :wiki:pfms-update-image_030.png  }}
  
-  * ダウンロード Web ページにアクセスすると、ライセンスに従ってインストールされたバージョンが表示され、名前と説明で更新プログラムを検索できるようになります。+After logging in, it will indicate which Pandora FMS version is installed, which is the next available version and the last available version.
  
-{{  :wiki:pfms-warp_update_2-image_030.png  }}+ログイン後、インストールされている Pandora FMS のバージョン、次に利用可能なバージョン、利用可能な最新バージョンが表示されます。
  
-  * Once the search for the desired update is ready, click on <wrap :en>**View details**</wrap> to view its contents.+{{  :wiki:pfms-update-image_040.png  }}
  
-  * 目的のアップデートの検索が完了したら、<wrap :ja>**詳細表示(View details)**</wrap> をクリックしてその内容を表示します。+When you select the desired version, a dialog box will open to download the files needed to perform the upgrade.
  
-{{  :wiki:pfms-warp_update_2-image_040.png  }}+希望するバージョンを選択すると、アップグレードを実行するために必要なファイルをダウンロードするためのダイアログボックスが開きます。
  
-  * A dialog box will open with the different files **for downloading one at a time**.+  * **File**''package_XXX_XXX.fms'': It is responsible for updating the console and the database schema. 
 +  * **File**''pandorafms_server-XXXXX.tar.gz'': It is responsible for updating the server. 
 +  * **File**''.sig'': Signature of the above files used to corroborate that the package has not been modified.
  
-  * **一度に 1 つずつダウドするための** さまざまなファイルを含むダアログボクス開きます。+  * **ファイル**''package_XXX_XXX.fms'':ルとデータベーススキーマ更新を担当します。 
 +  * **ファイル**''pandorafms_server-XXXXX.tar.gz'': サーバの更新担当します。 
 +  * **ファル**''.sig'':ケージ変更されていないことを確認るために使用される上記ファイルの署名
  
-{{  :wiki:pfms-warp_update_2-image_050.png  }}+Once the files have been downloaded, access the **Warp Update Offline**  menu again and click <wrap :en>**Browse it**</wrap> to select file by file. Review the information displayed on the screen to see if it matches the updates and/or corrections. To process, click on the green icon in the lower right corner and wait for the Web Console to display the results of each process.
  
-  * Once the file(s) have been downloaded, access the <wrap :en>**Warp Update Offline**</wrap> menu again and click <wrap :en>**Browse it**</wrap> to select each file. +ファイルのダウンロードが完了したら、**オフラインワープアップデート** メニューに再度アクセスし、<wrap :ja>**参照(Browse it)**</wrap> をクリックしてファイルを 1つずつ選択します。画面に表示される情報を確認し、更新内容や修正内容と一致しているかどうかを確認ます。処理を実行するには、右下隅の緑色のアイコンをクリックし、Web コンソールに各処理の結果が表示されるまで待ちます。
-  * The information displayed on the screen should be checked to see whether it matches the updates and/or corrections. To process, click on the green icon in the lower right corner and wait for the Web Console to display the results of each process. +
- +
-  * ファイルのダウンロードが完了したら、<wrap :ja>**オフラインワープアップデート**</wrap> メニューに再度アクセスし、<wrap :ja>**参照(Browse it)**</wrap> ボタンをクリックしてファイルを 1 つずつ選択します。 +
-  * 画面に表示される情報更新内容や修正内容と一致しているかどうかを確認する必要があります。処理するには、右下隅の緑色のアイコンをクリックし、Web コンソールに各処理の結果が表示されるまで待ちます。+
  
 <WRAP center round important 90%> <WRAP center round important 90%>
  
-The size of each file must be smaller than specified in the ''post_max_size''  and ''upload_max_filesize''  tokens in the ''/etc/php.ini''  file.+The size of each file must be smaller than specified in the token ''post_max_size''  and ''upload_max_filesize''  in the ''/etc/php.ini''  file.
  
 </WRAP> </WRAP>
行 124: 行 122:
 <WRAP center round important 90%> <WRAP center round important 90%>
  
-各ファイルのサイズは、''/etc/php.ini'' ファイルの ''post_max_size'' および ''upload_max_filesize'' トークンで指定されたサイズよりも小さくする必要があります。+各ファイルのサイズは、''/etc/php.ini'' ファイルのトークン ''post_max_size'' および ''upload_max_filesize'' で指定されたサイズよりも小さくする必要があります。
  
 </WRAP> </WRAP>
  
-<wrap #ks1_3 />+It is recommended to update first the Console and Pandora FMS database schema and then the server. To finish off, [[#ks3_4|check the update]]. 
 + 
 +まずコンソールと Pandora FMS データベーススキーマを更新し、次にサーバを更新することをお勧めします。最後に[[#ks3_4|更新を確認]]します。 
 + 
 +<wrap #ks2_3 />
  
 ==== ワープアップデート履歴 ==== ==== ワープアップデート履歴 ====
  
-Go to **Warp Update** → **Warp Update Journal** menu to find out the updates made, version, date and time of application, user who requested and applied it, etc.+To access the **Warp Update Journal**, access the <wrap :en>**Management → Warp Update → Warp journal**</wrap> menu.
  
-行われた更新、バジョン、アプリケションの日時、それを要求して適用したユーザなどを確認するには、**ワープアップデート(Warp Update)** → **ワープアップデート履歴(Warp Update Journal)** メニューへ行きます。+**ワト履歴** にアクセスするには、<wrap :ja>**管理(Management) → ワープアップデート(Warp Update) → ワープ履歴(Warp journal)**</wrap> メニューにアクセスします。
  
-<wrap #ks1_4 />+It will display a log of updates performed by **Warp Update**  where it indicates:
  
-==== ワープアップデート設定 ====+**ワープアップデート** によって実行された更新のログが表示され、次の内容が示されます。
  
-<WRAP center round tip 90%>+  * The updated version. 
 +  * The type of update (server or Console). 
 +  * The source (online or offline). 
 +  * The user who carried out the update. 
 +  * The update timestamp.
  
-[[https://pandorafms.com/en/contact/|Please contact]] support before changing any of the following fields:+  * 更新バージョン 
 +  * 更新の種類(サーバーまたはコンソール) 
 +  * ソース(オンラインまたはオフライン) 
 +  * 更新を実行したユーザ 
 +  * 更新のタイムスタンプ
  
-   * **Warp Update URL**. +<wrap #ks2_4 />
-   * **Use secured Warp Update**. +
-   * **Proxy server**. +
-   * **Proxy port**. +
-   * **Proxy user**. +
-   * **Proxy password**. +
-</WRAP>+
  
-<WRAP center round tip 90%+==== ワープセットアップ (オプション) ==== 
-以下のフィールドを変更する[[https://pandorafms.com/ja/contact/|お問合せ]]ください。+ 
 +To access the **Warp Setup**, access the <wrap :en>**Management → Warp Update → Options**</wrap> menu. 
 + 
 +**ワープセットアップ(Warp Setup)** にアクセスするには、<wrap :ja>**管理(Management) → ワープアップデート(Warp Update) → オプション(Options)**</wrap> メニューにアクセスします。 
 + 
 +Different configurations are available for **Warp Update**: 
 + 
 +**ワープアップデート** にはさまざまな設定が用意されています。 
 + 
 +  * <wrap :en>**Allow no-consecutive patches**</wrap>: It allows installing non-consecutive version upgrades. It is disabled by default and it is the recommended option. 
 +  * <wrap :en>**Limit to LTS updates**</wrap>: It allows upgrading only to LTS (<wrap :en>**Long Term Support**</wrap>) versions, which are more reliable versions with extended support. 
 + 
 +  * <wrap :ja>**非連続パッチを許可(Allow no-consecutive patches)**</wrap>: 非連続バージョンアップグレードのインストールを許可します。デフォルトでは無効になっており、推奨オプションです。 
 +  * <wrap :ja>**LTSアップデートに限定(Limit to LTS updates)**</wrap>: より信頼性の高い、拡張サポート付きバージョンであるLTS (<wrap :ja>**長期サポート**</wrap>) バージョンへのアップグレードのみを許可します。 
 + 
 +It is recommended to contact the support department before changing any of the following fields: 
 + 
 +以下のフィールドを変更する場合は、サポート問い合わせることをお勧めします。 
 + 
 +  * <wrap :en>**Warp Update URL**</wrap>. 
 +  * <wrap :en>**Use secured Warp Update**</wrap>. 
 +  * <wrap :en>**Proxy server**</wrap>. 
 +  * <wrap :en>**Proxy port**</wrap>. 
 +  * <wrap :en>**Proxy user**</wrap>. 
 +  * <wrap :en>**Proxy password**</wrap>.
  
   * **ワープアップデート URL(Warp Update URL)**   * **ワープアップデート URL(Warp Update URL)**
行 161: 行 189:
   * **プロキシユーザ(Proxy user)**   * **プロキシユーザ(Proxy user)**
   * **プロキシパスワード(Proxy password)**   * **プロキシパスワード(Proxy password)**
 +
 +<wrap #ks3 />
 +
 +===== 手動アップデート =====
 +
 +If you choose to update Pandora FMS without **Warp Update**, you will have to perform a manual update for each system component. This approach allows to supervise each step of the process, executing the necessary steps individually. It is a process that requires full attention and control by the user.
 +
 +**ワープアップデート** を使用せずに Pandora FMS をアップデートする場合は、各システムコンポーネントを手動でアップデートする必要があります。この方法では、プロセスの必要な各ステップを確認し個別に実行できます。この処理にはユーザに十分な注意が要求されます。
 +
 +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>
  
-   * **Allow no-consecutive patches**: Allows non-consecutive updates to be installed. Off by default and is the recommended option. +<WRAP center round tip 90%>
-   * **Limit to LTS updates**: Allows you to update only long-term versions, active by default.+
  
-  * **連続しないパッチ許可する(Allow no-consecutive patches)**連続しな更新をイトールできようにします。 デフォルトは無効になっており無効推奨です。 +何らかの操作行う前に、Pandora FMS マシン全体のスナップショットまたは [[:ja:documentation:pandorafms:technical_annexes:07_backup_and_restore_procedures|バックアップ]]、あるはすべての PFMS コンポーネントのバックアップコピを作成すことを強くお勧めします。こうすることで、障害発生した場合にアプリケョンを簡単に復元できるようになります。
-  * **LTS トに制限(Limit to LTS updates)**: 長期サポートバージョンのみでの更新ができます。デフォルトで有効です。+
  
-<wrap #ks2 />+</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> 
 + 
 +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  }}
  
-  * Pandora FMS consists of: Server, Database and Console web. 
-  * 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つの要素分けことができます。 +[[:ja:documentation:start|Pandora FMS ドキュメト一覧る]]
-  * 更新には、**常に** コンソールの変更、**時々** サーバの変更、**まれに** データベースの変更(メジャーアップデート)を含みます。 +
-  * ファイルダウンロードのサポートは、[[https://pandorafms.com/ja/contact/|お問合せ]] ください。+
  
-<wrap #ks2_1 />+===== (OBSOLETE) =====
  
 ==== マイナーバージョンアップ ==== ==== マイナーバージョンアップ ====
  • ja/documentation/pandorafms/installation/02_anexo_upgrade.1754175221.txt.gz
  • 最終更新: 2025/08/02 22:53
  • by junichi