差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
ja:documentation:pandorafms:installation:02_anexo_upgrade [2025/02/20 03:01] – [オフラインワープアップデート] junichi | ja:documentation:pandorafms:installation:02_anexo_upgrade [2025/08/02 23:31] (現在) – [アップデートの確認] junichi | ||
---|---|---|---|
行 1: | 行 1: | ||
- | ====== アップグレード ====== | + | ====== アップデート ====== |
{{indexmenu_n> | {{indexmenu_n> | ||
行 7: | 行 7: | ||
<wrap #ks1 /> | <wrap #ks1 /> | ||
+ | |||
+ | ===== 概要 ===== | ||
+ | |||
+ | There are two main ways to update Pandora FMS environment: | ||
+ | |||
+ | Pandora FMS 環境を更新するには、主に 2 つの方法があります。 | ||
+ | |||
+ | * **Through Warp Update**. | ||
+ | * Manually. | ||
+ | |||
+ | * **ワープアップデートを通して** | ||
+ | * 手動 | ||
+ | |||
+ | **Warp Update** | ||
+ | |||
+ | **ワープアップデート** は、ウィザードを使用して Pandora FMS コンソール、サーバ、データベースを自動更新します。Pandora FMS のアップデートには、ワープアップデートの使用をお勧めします。 | ||
+ | |||
+ | In case you need to update Pandora FMS manually, you may apply the updates manually, just by following a more detailed and demanding but equally valid procedure. | ||
+ | |||
+ | Pandora FMS を手動で更新する必要がある場合は、詳細な手順に従ってアップデートを手動で適用できます。 | ||
+ | |||
+ | <wrap #ks2 /> | ||
===== ワープアップデート ===== | ===== ワープアップデート ===== | ||
- | | + | Updates through |
- | * You must have [[: | + | |
- | * **Warp Update** will contact you to find the latest version available. | + | |
- | * Updates are automatic and in 99% of cases it works successfully if the environment is correctly configured. | + | |
- | * You can also [[# | + | |
- | * これは、[[: | + | **ワープアップデート** による更新は、次の 2 つの異なるウィザードを使用して適用できます。 |
- | * Pandora FMS コンソールおよびサーバから、[[: | + | |
- | * **ワープアップデート(Warp Update)** は、利用可能な最新バージョンを見つけるためにサーバに接続します。 | + | |
- | * 更新は自動的に行われ、99% 正常に機能するはずですが、必ず機能することを保証するわけではありません。 | + | |
- | * 更新する Pandora FMS サーバがインターネット接続を制限された環境にある場合は、[[# | + | |
- | <wrap #ks1_1 /> | + | * <wrap : |
+ | * <wrap : | ||
+ | |||
+ | * <wrap : | ||
+ | * <wrap : | ||
+ | |||
+ | This section will only be visible if <wrap : | ||
+ | |||
+ | このセクションは、メニュー <wrap : | ||
+ | |||
+ | <wrap #ks2_1 /> | ||
==== オンラインワープアップデート ==== | ==== オンラインワープアップデート ==== | ||
- | | + | To use the **Warp Update |
- | * オンラインの **ワープアップデート** | + | **オンラインワープアップデート** |
- | {{ :wiki:pfms-warp_update_2-image_010.png }} | + | To update through **Warp Update Online, |
- | * **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. | + | |
- | * **ワープアップデート**はサーバに接続し、必要な更新を分析します。 | + | {{ : |
- | * すでに最新の場合は、他のアクションを実行することなく現在アクティブなバージョンが表示されます。 | + | |
- | <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 のバージョンと、アップグレード可能な新しいバージョンが表示されます。 | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | The release notes for each version available for upgrade will also be available through the <wrap : | ||
+ | |||
+ | アップグレード可能な各バージョンのリリースノートも、< | ||
+ | |||
+ | Only LTS versions and/or consecutive versions will be displayed depending on [[# | ||
+ | |||
+ | [[# | ||
+ | |||
+ | Once the version to be upgraded is selected, the wizard will start downloading and [[# | ||
+ | |||
+ | アップグレードするバージョンを選択すると、ウィザードがダウンロードを開始し、[[# | ||
+ | |||
+ | <wrap #ks2_2 /> | ||
==== オフラインワープアップデート ==== | ==== オフラインワープアップデート ==== | ||
+ | |||
+ | To use **Warp Offline**, access the <wrap : | ||
+ | |||
+ | **オフラインワープアップデート** を使用するには、< | ||
+ | |||
+ | 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 {{: | ||
+ | |||
+ | このセクションにアクセスすると、メールアドレスの入力を求められます。すると、適用されたライセンスに関連付けられた固有のアクセスコードが表示されます。このコードは{{: | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | After logging in, it will indicate which Pandora FMS version is installed, which is the next available version and the last available version. | ||
+ | |||
+ | ログイン後、インストールされている Pandora FMS のバージョン、次に利用可能なバージョン、利用可能な最新バージョンが表示されます。 | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | When you select the desired version, a dialog box will open to download the files needed to perform the upgrade. | ||
+ | |||
+ | 希望するバージョンを選択すると、アップグレードを実行するために必要なファイルをダウンロードするためのダイアログボックスが開きます。 | ||
+ | |||
+ | * **File**'' | ||
+ | * **File**'' | ||
+ | * **File**'' | ||
+ | |||
+ | * **ファイル**'' | ||
+ | * **ファイル**'' | ||
+ | * **ファイル**'' | ||
+ | |||
+ | Once the files have been downloaded, access the **Warp Update Offline** | ||
+ | |||
+ | ファイルのダウンロードが完了したら、**オフラインワープアップデート** メニューに再度アクセスし、< | ||
<WRAP center round important 90%> | <WRAP center round important 90%> | ||
- | Applying patches | + | The size of each file must be smaller than specified in the token '' |
</ | </ | ||
行 50: | 行 122: | ||
<WRAP center round important 90%> | <WRAP center round important 90%> | ||
- | オフラインでパッチやアップデートを適用すると、Web コンソールが使用できなくなる可能性があります。事前に [[: | + | 各ファイルのサイズは、''/ |
</ | </ | ||
- | <wrap : | + | It is recommended to update first the Console and Pandora FMS database schema and then the server. To finish off, [[# |
- | <wrap : | + | まずコンソールと Pandora FMS データベーススキーマを更新し、次にサーバを更新することをお勧めします。最後に[[# |
- | The < | + | < |
- | <wrap : | + | ==== ワープアップデート履歴 ==== |
- | When accessing this section, a unique | + | To access the **Warp Update Journal**, access the < |
- | このセクションにアクセスすると、適用されたライセンスに関連する一意のアクセス コードが表示されます。アイコン {{wiki: | + | **ワープアップデート履歴** |
- | {{ :wiki: | + | It will display a log of updates performed by **Warp Update** |
- | | + | **ワープアップデート** によって実行された更新のログが表示され、次の内容が示されます。 |
- | * ダウンロード Web ページにアクセスすると、ライセンスに従ってインストールされたバージョンが表示され、名前と説明で更新プログラムを検索できるようになります。 | + | * 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. | ||
- | {{ : | + | * 更新バージョン |
+ | * 更新の種類(サーバーまたはコンソール) | ||
+ | * ソース(オンラインまたはオフライン) | ||
+ | * 更新を実行したユーザ | ||
+ | * 更新のタイムスタンプ | ||
- | * Once the search for the desired update is ready, click on < | + | < |
- | * 目的のアップデートの検索が完了したら、< | + | ==== ワープセットアップ (オプション) ==== |
- | {{ | + | To access the **Warp Setup**, access the < |
- | | + | **ワープセットアップ(Warp Setup)** にアクセスするには、< |
- | | + | Different configurations are available for **Warp Update**: |
- | {{ : | + | **ワープアップデート** にはさまざまな設定が用意されています。 |
- | * Once the file(s) have been downloaded, access the <wrap :en>**Warp Update Offline**</ | + | * <wrap :en>**Allow no-consecutive patches**</ |
- | | + | * <wrap :en>**Limit to LTS updates**</ |
- | | + | |
- | * ファイルのダウンロードが完了したら、<wrap :ja>**オフラインワープアップデート**</ | + | * <wrap :ja>**非連続パッチを許可(Allow no-consecutive patches)**</ |
- | * 各ファイルのサイズは、''/ | + | * <wrap :ja>**LTSアップデートに限定(Limit to LTS updates)**</ |
- | | + | |
- | <wrap #ks1_3 /> | + | It is recommended to contact the support department before changing any of the following fields: |
- | ==== ワープアップデート履歴 ==== | + | 以下のフィールドを変更する場合は、サポートに問い合わせることをお勧めします。 |
- | Go to **Warp Update** | + | * <wrap :en>**Warp Update |
+ | | ||
+ | * <wrap : | ||
+ | * <wrap : | ||
+ | * <wrap : | ||
+ | * <wrap : | ||
- | 行われた更新、バージョン、アプリケーションの日時、それを要求して適用したユーザなどを確認するには、**ワープアップデート(Warp Update)** → **ワープアップデート履歴(Warp Update Journal)** メニューへ行きます。 | + | * **ワープアップデート URL(Warp Update URL)** |
+ | * **セキュアなワープアップデートの利用(Use secured Warp Update)** | ||
+ | * **プロキシサーバ(Proxy server)** | ||
+ | * **プロキシポート(Proxy port)** | ||
+ | * **プロキシユーザ(Proxy user)** | ||
+ | * **プロキシパスワード(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. | ||
+ | |||
+ | **ワープアップデート** | ||
+ | |||
+ | 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 '' | ||
+ | |||
+ | これらのコンポーネントの更新を実行するには、更新する Pandora FMS バージョンの '' | ||
- | < | + | To download these packages, see [[#ks2_2|Warp Update Offline]], where it is explained how to download them. |
- | ==== ワープアップデート設定 ==== | + | これらのパッケージをダウンロードするには、[[# |
<WRAP center round tip 90%> | <WRAP center round tip 90%> | ||
- | [[https:// | + | It is strongly recommended to take a snapshot or [[:en: |
- | * **Warp Update URL**. | ||
- | * **Use secured Warp Update**. | ||
- | * **Proxy server**. | ||
- | * **Proxy port**. | ||
- | * **Proxy user**. | ||
- | * **Proxy password**. | ||
</ | </ | ||
<WRAP center round tip 90%> | <WRAP center round tip 90%> | ||
- | 以下のフィールドを変更する前に[[https:// | ||
- | * **ワープアップデート URL(Warp Update URL)** | + | 何らかの操作を行う前に、Pandora FMS マシン全体のスナップショットまたは [[: |
- | * **セキュアなワープアップデートの利用(Use secured Warp Update)** | + | |
- | * **プロキシサーバ(Proxy server)** | + | |
- | * **プロキシポート(Proxy port)** | + | |
- | * **プロキシユーザ(Proxy user)** | + | |
- | * **プロキシパスワード(Proxy password)** | + | |
</ | </ | ||
- | * **Allow no-consecutive patches**: Allows non-consecutive updates to be installed. Off by default | + | 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 |
- | * **Limit to LTS updates**: Allows you to update only long-term versions, active by default. | + | |
- | * **連続しないパッチを許可する(Allow no-consecutive patches)**: 連続しない更新をインストールできるようにします。 | + | Pandora FMS の完全アップデートを実行するには、**root** ユーザで Pandora FMS サーバターミナルに接続する必要があります。この手順は、EL 7、EL 8、EL 9、および Ubuntu 22.04 LTS システムでサポートされています。 |
- | * **LTS アップデートに制限(Limit to LTS updates)**: 長期サポートバージョンのみでの更新ができます。デフォルトで有効です。 | + | |
- | <wrap #ks2 /> | + | <wrap #ks3_1 /> |
- | ===== 手動アップデート | + | ==== コンソールアップデート ==== |
- | * Pandora FMS consists of: Server, Database and Console web. | + | Move file '' |
- | * Updates will **always** include console changes, **occasionally** server changes (minor updates) and **rare** database changes (major updates). | + | |
- | * [[https:// | + | |
- | * Pandora FMS は、コンソール、サーバ、データベースの 3つの要素に分けることができます。 | + | ファイル '' |
- | * 更新には、**常に** コンソールの変更、**時々** サーバの変更、**まれに** データベースの変更(メジャーアップデート)を含みます。 | + | |
- | * ファイルダウンロードのサポートは、[[https:// | + | |
- | <wrap #ks2_1 /> | + | <code bash> |
+ | mv package_XXX.XXX.fms / | ||
+ | |||
+ | </ | ||
+ | |||
+ | Unzip file '' | ||
+ | |||
+ | '' | ||
+ | |||
+ | <code bash> | ||
+ | unzip package_XXX.XXX.fms | ||
+ | |||
+ | </ | ||
+ | |||
+ | When running it, you will be asked which action to perform for the files to be replaced. In this case, select '' | ||
+ | |||
+ | 実行すると、置換するファイルに対して実行するアクションを選択するよう求められます。この場合は '' | ||
+ | |||
+ | < | ||
+ | |||
+ | replace .gitignore? [y]es, [n]o, [A]ll, [N]one, [r]ename: A | ||
+ | |||
+ | </ | ||
+ | |||
+ | Update the Console version in the database, replacing '' | ||
+ | |||
+ | データベース内のコンソールのバージョンを更新し、'' | ||
+ | |||
+ | <code bash> | ||
+ | mysql -u root -p -D pandora -e " | ||
+ | |||
+ | </ | ||
+ | |||
+ | <wrap #ks3_2 /> | ||
+ | |||
+ | ==== データベーススキーマアップデート ==== | ||
+ | |||
+ | To update Pandora FMS database schema, the script to update the MR must be manually executed: | ||
+ | |||
+ | Pandora FMS データベーススキーマを更新するには、MR を更新するスクリプトを手動で実行する必要があります。 | ||
+ | |||
+ | < | ||
+ | / | ||
+ | |||
+ | </ | ||
+ | |||
+ | <wrap #ks3_3 /> | ||
+ | |||
+ | ==== サーバアップデート ==== | ||
+ | |||
+ | Decompress the '' | ||
+ | |||
+ | Pandora FMS サーバ '' | ||
+ | |||
+ | <code bash> | ||
+ | tar -xzvf pandorafms_server-XXXXX.tar.gz | ||
+ | |||
+ | </ | ||
+ | |||
+ | Access the unzipped folder: | ||
+ | |||
+ | 展開したフォルダにアクセスします。 | ||
+ | |||
+ | <code bash> | ||
+ | cd pandora_server/ | ||
+ | |||
+ | </ | ||
+ | |||
+ | Execute the installer: | ||
+ | |||
+ | インストーラを実行します。 | ||
+ | |||
+ | <code bash> | ||
+ | ./ | ||
+ | |||
+ | </ | ||
+ | |||
+ | Restart Pandora FMS server: | ||
+ | |||
+ | Pandora FMS サーバを再起動します。 | ||
+ | |||
+ | <code bash> | ||
+ | systemctl restart pandora_server | ||
+ | |||
+ | </ | ||
+ | |||
+ | <wrap #ks3_4 /> | ||
+ | |||
+ | ==== アップデートの確認 ==== | ||
+ | |||
+ | Access the <wrap : | ||
+ | |||
+ | Pandora FMS コンソールから <wrap : | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Access the <wrap : | ||
+ | |||
+ | Pandora FMS コンソールから <wrap : | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | |||
+ | [[: | ||
+ | |||
+ | ===== (OBSOLETE) ===== | ||
==== マイナーバージョンアップ ==== | ==== マイナーバージョンアップ ==== |