777 LTS から 800 へのアップグレード
概要
In this topic, the different upgrade methods and paths available to update our Pandora FMS environment from the current LTS 777.x version to the new version 800 are described.
このトピックでは、Pandora FMS 環境を現在の LTS バージョン 777.x から新しいバージョン 800 にアップデートするために利用できるさまざまなアップグレード方法とパスについて説明します。
最低要件
To enjoy Pandora FMS 800 LTS, you must meet the following minimum requirements.
Pandora FMS 800 LTS を利用するには、以下の最低要件を満たす必要があります。
| Component | Values |
|---|---|
| Operating system | Rocky Linux 9.x RHEL 9.x Ubuntu 22.04 |
| Database | Percona Server 8.0+ |
| PHP | 8.3 |
| Disk space | At least 15 GB of free disk space for the upgrade process. |
| Pandora FMS console access as administrator. | |
| SSH access (or terminal) to the Pandora FMS server. | |
| Have a computer with internet access to download the packages. | |
| コンポーネント | 内容 |
|---|---|
| オペレーティングシステム | Rocky Linux 9.x RHEL 9.x Ubuntu 22.04 |
| データベース | Percona Server 8.0+ |
| PHP | 8.3 |
| ディスク容量 | アップグレード処理には、少なくとも 15GB の空きディスク容量が必要です。 |
| Pandora FMS コンソールへの管理者権限でのアクセス。 | |
| Pandora FMS サーバへの SSH アクセス(またはターミナル)。 | |
| パッケージをダウンロードするためのインターネット接続可能なコンピュータが必要です。 | |
Additionally, it is recommended for any upgrade process to perform a full system backup.
さらに、アップグレードプロセスでは、フルシステムバックアップを実行することをお勧めします。
アップグレード方法
To upgrade our Pandora FMS, we can use different methods:
Pandora FMS をアップグレードするには、以下のさまざまな方法があります。
- Warp Update Offline (Recommended).
- オフラインワープアップデート(推奨)
オフラインワープアップデート
This is the recommended method for any environment. It is the fastest and most efficient.
これはあらゆる環境において推奨される方法です。最も速く、最も効率的です。
Steps to follow:
手順:
Check that the minimum requirements are met.
最低要件を満たしていることを確認してください。
If you are on LTS versions lower than 777.3, download from the support website the .OUM packages of the required versions. For example, if you are on version 777, download the packages package_777.1.oum, package_777.2.oum, and package_777.3.oum.
LTS バージョンが 777.3 より低い場合は、サポート Web サイトから必要なバージョンの .OUM パッケージをダウンロードしてください。たとえば、バージョン 777 の場合は、package_777.1.oum、package_777.2.oum、および package_777.3.oum のパッケージをダウンロードしてください。
Go to the Warp Update → Options section, activate the Allow no-consecutive patches token, and click the Update button.
ワープアップデート(Warp Update) → オプション(Options) セクションに移動し、連続しないパッチを許可する(Allow no-consecutive patches) トークンを有効にして、アップデート(Update) ボタンをクリックします。
Once the packages are downloaded and Allow no-consecutive patches is activated, go to the Management → Warp Update → Update offline section and apply the packages one by one, in order.
パッケージがダウンロードされ、連続しないパッチを許可する(Allow no-consecutive patches) が有効になったら、管理(Management) → ワープアップデート(Warp Update) → オフラインアップデート(Update offline) セクションに移動し、パッケージを順番に 1 つずつ適用します。
In the upgrade from 777.2 to 777.3, a couple of extra steps are required:
777.2 から 777.3 へのアップグレードでは、いくつかの追加手順が必要です。
In the Warp Update → Update offline section, when attempting to apply the OUM package 777.3, it will request a signature; click the ignore button and wait for the update to apply.
ワープアップデート(Warp Update) → オフラインアップデート(Update offline) セクションで、OUM パッケージ 777.3 を適用しようとすると、署名が要求されます。無視ボタンをクリックして、アップデートが適用されるまで待ちます。
You will know if it was successful if, upon reloading, you see a slightly different screen with information like this, where you can see an authentication hash and a link to the new Warp Update:
再読み込み時に、認証ハッシュと新しいワープアップデートへのリンクが表示された、以下のような少し異なる画面が表示されれば、処理が成功したことがわかります。
Note: If you are not registered, it may ask you to register with an email address.
注:登録されていない場合は、メールアドレスでの登録を求められる場合があります。
Copy the code shown in the view and go to the link indicated by the new warp update console and authenticate with that code. You will see all the available package versions.
画面に表示されているコードをコピーし、新しいワープアップデートコンソールで指定されたリンクにアクセスして、そのコードで認証してください。利用可能なすべてのパッケージバージョンが表示されます。
Note: If you are on any intermediate 777.x version, you can follow these same steps to upgrade to 800. Remember to activate the Allow no-consecutive patches token in the Warp options as indicated in the 777 to 777.3 upgrade in this same guide.
注: 777.x の中間バージョンを使用している場合は、同じ手順に従って 800 にアップグレードできます。このガイドの 777 から 777.3 へのアップグレードの説明にあるように、ワープオプションで 連続しないパッチを許可する(Allow no-consecutive patches) トークンを有効にすることを忘れないでください。
Download the packages package_777.16.LTS.fms, package_800.LTS.fms, and the server package for version pandorafms_server-780NG.800.tar.gz.
パッケージ package_777.16.LTS.fms、package_800.LTS.fms、およびバージョン pandorafms_server-780NG.800.tar.gz のサーバパッケージをダウンロードします。
Note: It is possible that, between applying patches, you may need to clear the browser cache if something is not displayed correctly, since large version jumps like 777.3 to 777.15 or to 800 contain many console changes.
注:パッチを適用する間に、何かが正しく表示されない場合は、ブラウザのキャッシュをクリアする必要があるかもしれません。これは、777.3 から 777.15 または 800 への大きなバージョンアップには、多くのコンソール変更が含まれているためです。
From the Manage → Warp Update → Update Offline section, first apply the package_777.16.LTS.fms package and then the package_800.LTS.fms package. If everything went correctly, now apply the pandorafms_server-780NG.800.tar.gz package.
管理(Manage) → ワープアップデート(Warp Update) → オフラインアップデート(Update Offline) セクションから、まず package_777.16.LTS.fms パッケージを適用し、次に package_800.LTS.fms パッケージを適用します。すべてが正しく行われた場合は、pandorafms_server-780NG.800.tar.gz パッケージを適用します。
Once these steps are completed, your environment should be fully updated; you can check the version in the About button within the Manage section.
これらの手順が完了すると、環境は完全に更新されます。バージョンは、管理(Manage) セクション内の 概要(About) ボタンで確認できます。
To finish updating the server, one last manual step remains; you must connect via SSH to the Pandora server terminal and perform the following steps:
サーバのアップデートを完了するには、最後の手動手順が残っています。SSH 経由で Pandora サーバのターミナルに接続し、以下の手順を実行します。
Check that the server has updated correctly. To do this, run:
サーバが正しくアップデートされていることを確認してください。そのためには、次のコマンドを実行します。
/opt/pandorafms/perl5/bin/perl -MNet::SSLeay /usr/bin/pandora_server
You should have version 800 and an output similar to:
バージョン 800 がインストールされており、以下のような出力が表示されるはずです。
If you do not get this output, wait a couple of minutes for the package to finish installing; it may take between 1 and 5 minutes.
この出力が表示されない場合は、パッケージのインストールが完了するまで数分間お待ちください。インストールには 1分から 5分程度かかる場合があります。
Once you have verified you have the new server, stop the old server with the command:
新しいサーバが稼働していることを確認したら、以下のコマンドで古いサーバーを停止します。
systemctl stop pandora_server
Check that the server is stopped with the command:
以下のコマンドでサーバが停止していることを確認します。
systemctl status pandora_server
Start the server and check the status again with the commands:
サーバを起動し、以下のコマンドで再度ステータスを確認します。
systemctl start pandora_server systemctl status pandora_server
With this, your system should be fully updated; you can check from the server list that everything is working on version 800.
これでシステムは完全に最新の状態になります。サーバ一覧から、すべてがバージョン 800 で正常に動作していることを確認できます。
Note: If you want to maintain the consecutive package restriction in the offline warp again, you must revert the change made in the warp options section and deactivate the Allow no-consecutive patches token.
注: オフラインワープで連続パッケージ制限を再度維持したい場合は、ワープオプションセクションで行った変更を元に戻し、連続しないパッチを許可する(Allow no-consecutive patches) トークンを無効にする必要があります。
オンラインワープアップデート
This is a viable upgrade method, but when there are so many versions in between, it can be much slower and there are more variables to take into account that could fail. Even so, if you are already on a version very close to the next LTS, such as 777.15 or 785, it can be a viable upgrade option.
これは有効なアップグレード方法ですが、中間バージョンが多数ある場合、処理速度が大幅に低下し、失敗する可能性のある要因も多くなります。とはいえ、777.15 や 785 など、次のLTSに非常に近いバージョンを使用している場合は、有効なアップグレードオプションとなり得ます。
Note 1: If you have a Metaconsole environment, do not use this method and upgrade using the Warp Update Offline.
注1:メタコンソール環境を使用している場合は、この方法を使用せず、オフラインワープアップデートを使用してアップグレードしてください。
Note 2: If you are on a version lower than 777.3, you must upgrade at least to this version using the Offline method.
注2:バージョン 777.3 より低いバージョンを使用している場合は、オフライン方式を使用して少なくともこのバージョンにアップグレードする必要があります。
The process is very simple. Go to Management → Warp Update → Update online. The system itself should suggest that updates are available. You can update one by one by clicking Update to next version.
手順は非常に簡単です。管理(Management) → ワープアップデート(Warp Update) → オンラインアップデート(Update online) に移動してください。システム自体がアップデートが利用可能であることを通知します。次のバージョンにアップデート(Update to next version) をクリックして、1 つずつアップデートできます。
Or you can click Update to latest version to update in version blocks.
または、最新バージョンに更新(Update to latest version)をクリックしてバージョンブロックを更新することもできます。
The update view, when receiving changes during the process, may look a bit off; if you see that it does not update for a while, you can reload the page to show the information again.
更新処理中に変更が反映されると、更新画面の表示が少しずれる場合があります。しばらく更新されない場合は、ページを再読み込みして情報を再表示してください。
It is important to highlight that some updates are marked as mandatory and will stop the “update latest version” process, forcing us to click the button again. This behavior is intentional, so throughout the process, you may need to click the “latest” button a couple of times depending on the version you are coming from.
重要な点として、一部のアップデートは必須とされており、「最新バージョンにアップデート」プロセスが停止するため、再度ボタンをクリックする必要があることに注意してください。この動作は意図的なものであるため、アップデートプロセス全体を通して、元のバージョンによっては「最新(latest)」ボタンを数回クリックする必要がある場合があります。
Once you finish, you will have a view like this:
完了すると、このような画面が表示されます。
To finish updating the server, one last manual step remains. You must connect via SSH to the Pandora server terminal and perform the following steps:
サーバのアップデートを完了するには、最後の手動手順が残っています。SSH 経由で Pandora サーバのターミナルに接続し、以下の手順を実行します。
Check that the server has updated correctly, running:
サーバが正しくアップデートされたことを確認するには、以下を実行します。
/opt/pandorafms/perl5/bin/perl -MNet::SSLeay /usr/bin/pandora_server
You should have version 800 and an output similar to:
バージョン 800 がインストールされており、以下のような出力が表示されるはずです。
If you do not get this output, wait a couple of minutes for the package to finish installing; it may take between 1 and 5 minutes.
この出力が表示されない場合は、パッケージのインストールが完了するまで数分間待ちます。インストールには 1分から 5分程度かかる場合があります。
Once you have verified you have the new server, stop the old server with the command:
新しいサーバが稼働していることを確認したら、以下のコマンドで古いサーバーを停止します。
systemctl stop pandora_server
Check that the server is stopped with the command:
以下のコマンドでサーバが停止していることを確認します。
systemctl status pandora_server
Start the server and check the status again with the commands:
サーバを起動し、以下のコマンドで再度ステータスを確認します。
systemctl start pandora_server systemctl status pandora_server
With this, your system should be fully updated; you can check from the server list that everything is working on version 800.
これでシステムは完全に最新の状態になります。サーバ一覧から、すべてがバージョン 800 で正常に動作していることを確認できます。
パッケージインストール
In case you have any issues with the previous methods, the alternative of manual package upgrade remains. This is a more advanced method for which you will find detailed information in the wiki to perform this procedure, as it is the same regardless of the version.
上記の方法で問題が発生した場合は、手動でパッケージをアップグレードするという方法もあります。これはより高度な方法ですが、バージョンに関係なく手順は同じなので、詳細な情報は Wiki に記載されています。
As a recommendation, if any of the previous methods failed and before trying a package upgrade, it is recommended to contact the support team to see available options or receive assistance in the upgrade process.
推奨事項として、上記の方法のいずれも失敗した場合、パッケージのアップグレードを試みる前に、サポートチームに連絡して利用可能なオプションを確認したり、アップグレードプロセスに関するサポートを受けたりすることをお勧めします。
(オプション) PHP 8.3 から 8.4 へのアップグレード
After upgrading, although it is not mandatory, it is recommended to upgrade from PHP 8.3 to PHP 8.4; here are the wiki links to perform this upgrade.
アップグレード後、必須ではありませんが、PHP 8.3 から PHP 8.4 へのアップグレードをお勧めします。アップグレードの手順については、以下の Wiki リンクを参照してください。
Rocky/RHEL 9:
Ubuntu 22.04:
















