ja:documentation:pandorafms:technical_annexes:44_upgrade_from_772_to_777

772 から 777 へのマイグレーション手順

Pandora FMS version 772 with MySQL 5.7 and PHP 8.0 must be installed.

MySQL 5.7 および PHP 8.0 環境で Pandora FMS バージョン 772 をインストールする必要があります。

The final versions installed after following these instructions will be Pandora FMS version 777 with MySQL 8 and PHP 8.2.

これらの手順に従った後にインストールされる最終バージョンは、Pandora FMS バージョン 777、MySQL 8、PHP 8.2 になります。

Pandora FMS version 772 (MySQL 5.7 and PHP 8.0) to version 777 (MySQL 8 and PHP 8.2).

Pandora FMS バージョン 772 (MySQL 5.7 および PHP 8.0) からバージョン 777 (MySQL 8 および PHP 8.2)

1. The MySQL upgrade to version 8.0 must be executed.

1. MySQL バージョン 8.0 へのアップグレード を実行する必要があります。

2. In the Management → Settings → System Settings → System Settings → Historical database menu, disable the connection to the history database.

2. 管理(Management) → 設定(Settings) → システム設定(System settings) → システム設定(System settings) → ヒストリデータベース(Historical database) メニューで、ヒストリデータベースへの接続を無効にします。

3. Upgrade via Offline Console using OUM to version 775.

3. バージョン 775 まで、OUM によるオフラインコンソールのアップグレード を行います。

At this point the tool will indicate the need to install PHP version 8.2 to be able to upgrade to Pandora FMS version 776:

この時点で、ツールが Pandora FMS バージョン 776 にアップグレードするには PHP バージョン 8.2 をインストールする必要があることを示します。

4. Upgrade PHP to version 8.2, depending on the installed operating system:

4. インストールされているオペレーティング システムに応じて、PHP をバージョン 8.2 にアップグレードします。

5. Continue the online installation via the Update manager or with OUM packages, until at least version 777.3 is reached.

5. 少なくともバージョン 777.3 に達するまで、アップデートマネージャまたは OUM パッケージを使用してオンラインインストールを続行します。

6. Update the server tar.gz package to 777.3 by downloading the package from the Support website:

6. サポート Web サイトからパッケージをダウンロードして、サーバの tar.gz パッケージを 777.3 に更新します。

https://support.pandorafms.com/itsm/attachment/downloads/pandorafms_server_enterprise-7.0NG.777.3_x86_64.tar.gz

Install the downloaded package using the following commands:

次のコマンドを使用して、ダウンロードしたパッケージをインストールします。

tar xvzf pandorafms_server_enterprise-7.0NG.777.3_x86_64.tar.gz
cd pandora_server
./pandora_server_installer --install

7. Restart service.

7. サービスを再起動します。

systemctl restart pandora_server

Or, if you have systemd installed:

または、systemd の場合は次のようにします。

systemctl restart pandora_ha

8. Reactivate the historical database with the same parameters used before the upgrade.

8. 更新前に使用したのと同じパラメータを使用してヒストリデータベースを再有効化します。

9. It is recommended to continue with the upgrade process to the latest minor release of the LTS version up to date, 777.XX.

9. 最新の LTS バージョン 777.XX の最新の マイナーリリース へのアップグレードプロセスを続行することをお勧めします。

Pandora FMS version 772 (MySQL 5.7 and PHP 8.0) to version 777.3 (MySQL 8 and PHP 8.2).

Pandora FMS バージョン 772 (MySQL 5.7 および PHP 8.0) をバージョン 777 (MySQL 8 および PHP 8.2) にアップグレードします。

1. The MySQL update to version 8.0 must be performed before proceeding with the environment upgrade.

1. 環境のアップグレードに進む前に、MySQL バージョン 8.0 へのアップグレード を実行する必要があります。

2. Upgrade PHP to version 8.2, depending on the installed operating system:

2. インストールされているオペレーティングシステムに応じて、PHP をバージョン 8.2 にアップグレードします。

3. Update the Console via RPM to version 777.3.

3. RPM 経由でコンソールをバージョン 777.3 に更新します。

First, remove the old RPM registration with the previous installation model. Identify the installed packages with the following command:

まず、以前のインストールモデルで登録された古い RPM を削除します。次のコマンドでインストールされているパッケージを特定します。

rpm -qa | grep pandorafms_console

Uninstall the console package registrations with the following commands:

次のコマンドを使用して、コンソールパッケージをアンインストールします。

sudo rpm -e --justdb --nodeps pandorafms_console-7.0NG.772.2-1.noarch
sudo rpm -e --justdb --nodeps pandorafms_console_enterprise-7.0NG.772.2-1.noarch

Download and install the update package: You can download it from the Support website, you must select the compatible package with your version, in most cases it will be EL 8 for Rocky Linux or RHEL 8. Run the following commands:

更新パッケージをダウンロードしてインストールします。サポート Web サイトからダウンロードできます。バージョンと互換性のあるパッケージを選択する必要があります。Rocky Linux や RHEL 8 などほとんどの場合は EL 8 になります。次のコマンドを実行します。

rpm -U pandorafms_console-7.0NG.777.3.el8.x86_64.rpm

The MR files will be applied automatically in this process. However, it is recommended to perform the update manually and check the status with the following command:

php /var/www/html/pandora_console/godmode/um_client/updateMR.php


この処理では MR ファイルが自動的に適用されます。ただし、手動で更新を実行し、次のコマンドでステータスを確認することをお勧めします。

php /var/www/html/pandora_console/godmode/um_client/updateMR.php


4. Update the server with the Tarball package to version 777.3. The package, in tar.gz format, can be downloaded from the Support website:

4. サーバを Tarball パッケージでバージョン 777.3 にアップデートします。パッケージは tar.gz 形式で、サポートウェブサイトからダウンロードできます。

tar xvzf pandorafms_server_enterprise-7.0NG.777.3_x86_64.tar.gz
cd pandora_server
./pandora_server_installer --install

5. Restart service:

5. サービスを再起動します:

systemctl restart pandora_server

Pandora FMS version 772 (MySQL 5.7 and PHP 8.0) to version 777.3 (MySQL 8 and PHP 8.2).

Pandora FMS バージョン 772 (MySQL 5.7 および PHP 8.0) からバージョン 777.3 (MySQL 8 および PHP 8.2)

1. Upgrade PHP to version 8.2:

1. PHP をバージョン 8.2 にアップグレードします。

2. Update the Console via Tarball to version 777.3. The package, in tar.gz format, can be downloaded from the Support website:

2. コンソールを Tarball でバージョン 777.3 にアップデートします。パッケージは tar.gz 形式で、サポートウェブサイトからダウンロードできます。

tar xzvf pandorafms_console-7.0NG.777.3.tar.gz
cp -R pandora_console /var/www/html/
rm -f /var/www/html/pandora_console/install.php

Next, set the necessary permissions in the Console directory depending on the operating system.

次に、オペレーティングシステムに応じて、コンソールディレクトリに必要な権限を設定します。

For Rocky Linux / RHEL:

Rocky Linux / RHEL の場合:

chown -R apache:apache /var/www/html/pandora_console

For Ubuntu:

Ubuntu の場合:

chown -R www-data:www-data /var/www/html/pandora_console

To update the database structure, the recommended option is to use the following script:

データベース構造を更新するには、次の スクリプト を使用することをお勧めします。

php /var/www/html/pandora_console/godmode/um_client/updateMR.php

Alternatively, in case the previous process fails, this can be done manually:

あるいは、前のプロセスが失敗した場合は、 手動で実行できます。

Log in to the database:

データベースへログインします:

mysql -u root -p pandora

Next, apply the necessary MR files (65.sql, 66.sql, 67.sql, 68.sql, and 69.sql):

次に、必要な MR ファイル (65.sql、66.sql、67.sql、68.sql、および 69.sql) を適用します。

SOURCE /var/www/html/pandora_console/extras/mr/65.sql;
SOURCE /var/www/html/pandora_console/extras/mr/66.sql;
SOURCE /var/www/html/pandora_console/extras/mr/67.sql;
SOURCE /var/www/html/pandora_console/extras/mr/68.sql;
SOURCE /var/www/html/pandora_console/extras/mr/69.sql;

Finally, modify the MR fields:

最後に、MR フィールドを変更します。

UPDATE tconfig SET VALUE= 69 WHERE token='MR';
UPDATE tconfig SET VALUE= "777.3" WHERE token=’current_version’;
exit;

4. Update the server with the Tarball package to version 777.3. The package, in tar.gz format, can be downloaded from the Support website:

4. サーバを Tarball パッケージでバージョン 777.3 にアップデートします。tar.gz 形式のパッケージは、サポートウェブサイトからダウンロードできます。

tar xvzf pandorafms_server_enterprise-7.0NG.777.3_x86_64.tar.gz
cd pandora_server
./pandora_server_installer --install

5. Restart service:

5. サービスを再起動します:

systemctl restart pandora_server

6. It is recommended to run the following command to avoid errors in the console:

6. コンソールのエラーを回避するには、次のコマンドを実行することをお勧めします。

cd /var/www/html/pandora_console/ && cat extras/delete_files/delete_files.txt |
xargs rm -fr

It is recommended that after updating from version 772 LTS to version 777.3 LTS, continue upgrading to the latest LTS patch version 777.X.

バージョン 772 LTS からバージョン 777.3 LTS にアップデートした後、最新の LTS パッチバージョン 777.X へのアップグレードを続行することをお勧めします。

Pandora FMS ドキュメント一覧に戻る

  • ja/documentation/pandorafms/technical_annexes/44_upgrade_from_772_to_777.txt
  • 最終更新: 2025/12/12 09:02
  • by junichi