差分
このページの2つのバージョン間の差分を表示します。
ja:documentation:02_installation:02_anexo_upgrade [2023/12/28 02:06] – [ワープアップデート設定] junichi | ja:documentation:02_installation:02_anexo_upgrade [Unknown date] (現在) – 削除 - 外部編集 (Unknown date) 127.0.0.1 | ||
---|---|---|---|
行 1: | 行 1: | ||
- | ====== アップグレード ====== | ||
- | |||
- | {{indexmenu_n> | ||
- | |||
- | [[: | ||
- | |||
- | ===== ワープアップデート (アップデートマネージャ) ===== | ||
- | |||
- | <WRAP center round info 60%> | ||
- | |||
- | If you have version 762 (or earlier) installed, use the [[: | ||
- | |||
- | </ | ||
- | |||
- | <WRAP center round info 60%> | ||
- | バージョン 762 (およびそれ以前)の場合は、[[: | ||
- | </ | ||
- | |||
- | * This section will only be visible if **Enable Warp Update** is activated in the [[: | ||
- | * You must have [[: | ||
- | * **Warp Update** will contact you to find the latest version available (on SourceForge). | ||
- | * Updates are automatic and in 99% of cases it works successfully if the environment is correctly configured. | ||
- | * You can also [[: | ||
- | |||
- | * これは、[[: | ||
- | * Pandora FMS コンソールおよびサーバから、[[: | ||
- | * **ワープアップデート(Warp Update)** は、(Sourceforge 上で)利用可能な最新バージョンを見つけるためにサーバに接続します。 | ||
- | * 更新は自動的に行われ、99% 正常に機能するはずですが、必ず機能することを保証するわけではありません。 | ||
- | * 更新する Pandora FMS サーバがインターネット接続を制限された環境にある場合は、[[: | ||
- | |||
- | ==== オンラインワープアップデート ==== | ||
- | |||
- | * In order to update through **Warp Update** | ||
- | * Warp Update will connect to our servers and analyze what updates are needed. | ||
- | * If it is up to date, it will show the active version in progress, without the need to carry out any other action. | ||
- | |||
- | * オンラインの **ワープアップデート** でアップデートするためには登録が必要です。 | ||
- | * ワープアップデートが我々のサーバに接続し、必要な更新を分析します。 | ||
- | * すでに最新の場合は、他のアクションを実行することなく現在アクティブなバージョンが表示されます。 | ||
- | |||
- | ==== オフラインワープアップデート ==== | ||
- | |||
- | [[https:// | ||
- | |||
- | [[https:// | ||
- | |||
- | Warp Update Offline also serves to install //patches// of different types: console (**OUM**), server ('' | ||
- | |||
- | オフラインワープアップデートは、さまざまなタイプの // | ||
- | |||
- | <WRAP center round important 60%> | ||
- | |||
- | Applying patches and/or updates offline may make your Web Console unusable, it is recommended to perform a [[: | ||
- | |||
- | </ | ||
- | |||
- | <WRAP center round important 60%> | ||
- | |||
- | オフラインパッチを適用すると、コンソールが使用できなくなる可能性があります。事前にファイルの[[https:// | ||
- | |||
- | </ | ||
- | |||
- | * In the case of a version upgrade, you must download the corresponding **OUM** and '' | ||
- | * Once the file(s) have been downloaded, access the **Warp Update** → **Warp Update Offline** menu and click the **Browse it** button to select file by file. | ||
- | * Review the information displayed on the screen and check if it matches the updates and/or corrections. To process click on the green icon in the lower right corner, wait for the console to display the results of each process. | ||
- | |||
- | * バージョンのアップグレードの場合は、対応する **OUM** と '' | ||
- | * ダウンロードしたら、**ワープアップデート(Warp Update)** → **オフラインワープアップデート(Warp Update Offline)** メニューへ行き、ファイル選択のために **ブラウズする(Brouse it)** をクリックします | ||
- | * 画面に表示された情報を確認し、更新または修正と一致するかどうかを確認してください。 処理するには、右下隅にある緑色のアイコンをクリックし、コンソールに各処理の結果が表示されるまで待ちます。 | ||
- | |||
- | ==== ワープアップデート履歴 ==== | ||
- | |||
- | Go to **Warp Update** → **Warp Update Journal** menu to find out the updates made, version, date and time of application, | ||
- | |||
- | 行われた更新、バージョン、アプリケーションの日時、それを要求して適用したユーザなどを確認するには、**ワープアップデート(Warp Update)** → **ワープアップデート履歴(Warp Update Journal)** メニューへ行きます。 | ||
- | |||
- | ==== ワープアップデート設定 ==== | ||
- | |||
- | <WRAP center round tip 60%> | ||
- | |||
- | **Enterprise version**: [[https:// | ||
- | |||
- | * **Warp Update URL**. | ||
- | * **Use secured Warp Update**. | ||
- | * **Proxy server**. | ||
- | * **Proxy port**. | ||
- | * **Proxy user**. | ||
- | * **Proxy password**. | ||
- | </ | ||
- | |||
- | <WRAP center round tip 60%> | ||
- | **Enterprise 版**: 以下のフィールドを変更する前に[[https:// | ||
- | |||
- | * **ワープアップデート URL(Warp Update URL)** | ||
- | * **セキュアなワープアップデートの利用(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 and is the recommended option. | ||
- | * **Limit to LTS updates**: Allows you to update only long-term versions, active by default. | ||
- | |||
- | * **連続しないパッチを許可する(Allow no-consecutive patches)**: 連続しない更新をインストールできるようにします。 デフォルトでは無効になっており、無効が推奨です。 | ||
- | * **LTS アップデートに制限(Limit to LTS updates)**: 長期サポートバージョンのみでの更新ができます。デフォルトで有効です。 | ||
- | |||
- | |||
- | ===== 手動アップデート ===== | ||
- | |||
- | * Pandora FMS has three main elements: console (Open source version), server and database. | ||
- | * In **Enterprise** | ||
- | * Enterprise Web Console (Console extended features). | ||
- | * Enterprise Server (Server extended features). | ||
- | * Database (additional Enterprise version tables). | ||
- | * Updates will **always** | ||
- | |||
- | * Pandora FMS は、コンソール、サーバ、データベースの 3つの要素に分けることができます。 | ||
- | * **Enterprise 版**では、オープンソース版に比べて追加で対応する必要がある内容があります。 | ||
- | * Enterprise ウェブコンソール (コンソールの拡張機能) | ||
- | * Enterprise サーバ (サーバ拡張機能) | ||
- | * データベース (Enterprise 版追加テーブル) | ||
- | * 更新には、**常に** コンソールの変更、**時々** サーバの変更、**まれに** データベースの変更(メジャーアップデート)を含みます。 | ||
- | |||
- | ==== マイナーバージョンアップ ==== | ||
- | |||
- | 1. [[: | ||
- | |||
- | 1. データベースを[[: | ||
- | < | ||
- | |||
- | mysqldump -u root -p pandora > backup_pfms_X.Y.sql | ||
- | |||
- | </ | ||
- | |||
- | 2. Back up the config files: '' | ||
- | |||
- | 2. 次の設定ファイルをバックアップします: | ||
- | |||
- | 3. Back up server and agent plugins, at: | ||
- | |||
- | 3. サーバおよびエージェントプラグインを次のようにバックアップします。 | ||
- | |||
- | < | ||
- | / | ||
- | pandora_console/ | ||
- | / | ||
- | </ | ||
- | |||
- | 4. Stop the following services: '' | ||
- | |||
- | 4. 次のサービスを停止します: | ||
- | |||
- | 5. **Proceed to update.** | ||
- | |||
- | 5. アップデートします。 | ||
- | |||
- | 6. Remember to restart the services: '' | ||
- | |||
- | 6. 次のサービスを再起動します: | ||
- | |||
- | === RPM パッケージにて === | ||
- | |||
- | Download the version after the one you have installed: | ||
- | |||
- | インストールするバージョンをダウンロードします。 | ||
- | |||
- | <WRAP center round download 90%> | ||
- | |||
- | [[https:// | ||
- | |||
- | </ | ||
- | |||
- | * Open console update: | ||
- | |||
- | * オープンソースのコンソールアップデート: | ||
- | |||
- | < | ||
- | |||
- | rpm -U pandorafms_console*.rpm | ||
- | |||
- | </ | ||
- | |||
- | * [[https:// | ||
- | |||
- | * [[https:// | ||
- | |||
- | < | ||
- | |||
- | rpm -U pandorafms_console_enterprise_package.rpm | ||
- | |||
- | </ | ||
- | |||
- | * Open server update: | ||
- | |||
- | * オープンソースサーバアップデート: | ||
- | |||
- | < | ||
- | rpm -U pandorafms_server*.rpm | ||
- | |||
- | </ | ||
- | |||
- | * [[https:// | ||
- | |||
- | * [[https:// | ||
- | |||
- | < | ||
- | |||
- | tar -xvzf pandorafms_server_enterprise_package.tar.gz | ||
- | cd pandora_server | ||
- | ./ | ||
- | |||
- | </ | ||
- | |||
- | * Software Agent update: | ||
- | |||
- | * ソフトウエアエージェントアップデート: | ||
- | < | ||
- | rpm -U pandorafms_agent*.rpm | ||
- | |||
- | </ | ||
- | |||
- | You can find out which version you have installed at any time, before or after the installation by executing the command: | ||
- | |||
- | インストール前後で、どのバージョンで動いているか、以下のコマンドで確認できます。 | ||
- | |||
- | < | ||
- | rpm -qa | grep -i pandora | ||
- | |||
- | </ | ||
- | |||
- | === tar ボール、ソースにて === | ||
- | |||
- | * You must visit [[https:// | ||
- | * Change '' | ||
- | * Open Source Console Update: | ||
- | |||
- | * [[https:// | ||
- | * '' | ||
- | * オープンソースコンソールアップデート: | ||
- | |||
- | <code bash> | ||
- | tar xvzf pandorafms_console_' | ||
- | cd pandora_console | ||
- | ./ | ||
- | |||
- | |||
- | </ | ||
- | |||
- | * [[https:// | ||
- | |||
- | * [[https:// | ||
- | |||
- | <code bash> | ||
- | tar xvzf pandorafms_console_enterprise_' | ||
- | cd pandora_console | ||
- | ./ | ||
- | |||
- | |||
- | </ | ||
- | |||
- | * Open Source server update: | ||
- | |||
- | * オープンソースサーバアップデート: | ||
- | |||
- | <code bash> | ||
- | tar xvzf pandorafms_server_' | ||
- | cd pandora_server | ||
- | ./ | ||
- | |||
- | |||
- | </ | ||
- | |||
- | * [[https:// | ||
- | |||
- | * [[https:// | ||
- | |||
- | <code bash> | ||
- | tar xvzf pandorafms_server_enterprise_' | ||
- | cd pandora_server | ||
- | ./ | ||
- | |||
- | |||
- | </ | ||
- | |||
- | * ソフトウエアエージェントアップデート: | ||
- | |||
- | <code bash> | ||
- | tar xvzf pandorafms_agent_' | ||
- | cd pandora_agent | ||
- | ./ | ||
- | |||
- | |||
- | </ | ||
- | |||
- | |||
- | ==== メジャーアップデート ==== | ||
- | |||
- | Version 7.0 NG Rolling Release | ||
- | |||
- | バージョン 7.0 NG ローリングリリース | ||
- | |||
- | It is always recommended to update the console using **Update Manager**. In case of having an outdated database, the Web console will show a notice with the title **Minor release/s available**. | ||
- | |||
- | 通常は、**アップデートマネージャ**を使用してコンソールを更新することをお勧めします。 データベースが古い場合、ウェブコンソールに **マイナーリリースが利用可能** というタイトルの通知が表示されます。 | ||
- | |||
- | To solve this problem, enter the server where the Pandora FMS console is installed and go to the directory: | ||
- | |||
- | この問題を解決するには、Pandora FMS コンソールがインストールされているサーバに入り、次のディレクトリに移動します。 | ||
- | |||
- | < | ||
- | / | ||
- | |||
- | </ | ||
- | |||
- | Within this directory another one will appear called '' | ||
- | |||
- | このディレクトリ内に、'' | ||
- | |||
- | < | ||
- | cat 1.sql | mysql -u root -p pandora | ||
- | |||
- | </ | ||
- | |||
- | Once the **SQLs** have been applied to the database, go to the directory called '' | ||
- | |||
- | データベースに **SQL** を適用したら、適用したファイルを '' | ||
- | |||
- | < | ||
- | |||
- | mkdir -p updated | ||
- | mv 1.sql updated/ | ||
- | |||
- | </ | ||
- | |||
- | Then update the **MR** value within the '' | ||
- | |||
- | そして、MySQL の '' | ||
- | |||
- | < | ||
- | mysql -u root -p pandora> use pandora;> | ||
- | |||
- | </ | ||
- | |||
- | To find out which MRs should be applied, please go to the following [[: | ||
- | |||
- | どの MR が適用されている必要があるかは、[[: | ||
- | |||
- | |||
- | ===== アップデートマネージャを使った自動アップデート ===== | ||
- | |||
- | * You must have [[: | ||
- | * The **Update manager** menu is accessed → **Update manager online**. | ||
- | * It will show if there is any pending update as well as the current version of the console. | ||
- | * If there is any update, press **Ok** to install. | ||
- | * Some of the updates carry database modifications. If this is the case, click on the **Apply MR** button. | ||
- | * Click on the **Ok** button to finish the update process. | ||
- | |||
- | * Webコンソールと Pandora FMS サーバが [[: | ||
- | * **アップデートマネージャ(Update manager)** メニュー → **アップデートマネージャオンライン(Update manager online)** | ||
- | * 保留中のアップデートがあるかどうかと、コンソールの現在のバージョンが表示されます。 | ||
- | * 更新がある場合は、**Ok** を押してインストールします。 | ||
- | * 一部の更新にはデータベースの変更が含まれます。 この場合は、**MR を適用(apply MR)** ボタンをクリックします。 | ||
- | * **OK** ボタンをクリックして更新処理を終了します。 | ||
- | |||
- | |||
- | |||
- | ==== Enterprise 版の更新 ==== | ||
- | |||
- | Unlike Open Source updates, these have some additional features: | ||
- | |||
- | オープンソース版の更新とは異なり、追加の特徴があります。 | ||
- | |||
- | * 100% tested and verified by the development team so you can enjoy daily updates (sometimes within a few hours after opening a ticket). | ||
- | |||
- | * 開発チームによって 100% テストされています。そのため、公開されたと同時に(もしくは数時間以内に)更新することができます。 | ||
- | |||
- | * Targeted (incremental) updates that allow you to update only what is out of date, without downloading heavy packages from the Internet. | ||
- | |||
- | * 大きなパッケージをダウンロードする必要はなく、更新されたもののみを適用することができます。 | ||
- | |||
- | * Allows offline updates, downloading packages from the support page, for installations ofPandora FMS that do not have an Internet connection (for security). | ||
- | |||
- | * オフラインの更新ができます。サポートページからダウンロードして、(セキュリティの理由等で)インターネットに接続されていない Pandora FMS に適用できます。 | ||
- | |||
- | {{: | ||
- | |||
- | To be able to use **Update Manager** in the Enterprise version, you must first have correctly configured that software for updates, which has its own section in the **Update manager** menu → **Update manager options**. | ||
- | |||
- | Enterprise 版で **アップデートマネージャー(Update Manager)** を使用できるようにするには、まずアップデート用の設定を正しく行う必要があります。この設定には、**アップデートマネージャー(Update manager)** メニュー → **アップデートマネージャーオプション(Update manager options))** に独自のセクションがあります。 | ||
- | |||
- | ==== オープンソースオンラインアップデート ==== | ||
- | |||
- | The process is similar to the Enterprise version but without the additional step of license verification. | ||
- | |||
- | このプロセスは Enterprise 版と似ていますが、ライセンス認証の追加手順はありません。 | ||
- | |||
- | ==== Enterprise オフラインアップデート ==== | ||
- | |||
- | {{: | ||
- | |||
- | {{: | ||
- | |||
- | <WRAP center round important 60%> | ||
- | |||
- | Offline patching can make your console unusable, it is recommended to do a [[: | ||
- | |||
- | </ | ||
- | |||
- | <WRAP center round important 60%> | ||
- | |||
- | オフラインパッチを適用すると、コンソールが使用できなくなる可能性があります。最初に [[: | ||
- | |||
- | </ | ||
- | |||
- | * Access the **Update manager** → **Offline** menu and press the **Browse it** button to select the downloaded OUM file. | ||
- | * Click on **Click on file for install**. | ||
- | * The update will be applied following the same flow of operations as in the online case, showing the dialogs corresponding to the update of the Console and the database, in the event that there are changes in it. | ||
- | |||
- | * **アップデートマネージャー(Update manager)** → **オフライン(Offline)** メニューにアクセスし、**参照(Browse it)** ボタンを押して、ダウンロードした OUM ファイルを選択します。 | ||
- | * **インストールするファイルをクリック(Click on file for install)** をクリックします。 | ||
- | * アップデートはオンラインの場合と同じ操作の流れに従って適用され、コンソールやデータベースに変更があった場合には、それに対応するダイアログが表示されます。 | ||
- | |||
- | <WRAP center round important 60%> | ||
- | |||
- | In case of updating an installation with High Availability (HA), it will be necessary to take into account what is indicated in [[: | ||
- | |||
- | </ | ||
- | |||
- | <WRAP center round important 60%> | ||
- | |||
- | 高可用性 (HA) 環境にて更新する場合は、[[: | ||
- | |||
- | </ | ||
- | |||
- | ==== アップデートマネージャのための PHP の追加設定 ==== | ||
- | |||
- | For Open Update Manager to run correctly you must set the reserved memory to 800 megabytes in the '' | ||
- | |||
- | オープンアップデートマネージャを正しく実行するには、'' | ||
- | |||
- | < | ||
- | |||
- | memory_limit = 800M ; Maximum amount of memory a script may consume | ||
- | |||
- | </ | ||
- | |||
- | To know the location of the '' | ||
- | |||
- | '' | ||
- | |||
- | < | ||
- | php -i | grep php.ini | ||
- | |||
- | </ | ||
- | |||
- | |||
- | ===== ダウングレード ===== | ||
- | |||
- | |||
- | ==== RPM パッケージより ==== | ||
- | |||
- | * オープンソースのコンソールアップデート: | ||
- | |||
- | < | ||
- | rpm -i --force pandorafms_console_package.rpm | ||
- | |||
- | </ | ||
- | |||
- | * Enterprise 版コンソールのアップデート: | ||
- | |||
- | < | ||
- | rpm -i --force pandorafms_console__enterprise_package.rpm | ||
- | |||
- | </ | ||
- | |||
- | ==== Tarball/ | ||
- | |||
- | * オープンソースのコンソールアップデート: | ||
- | |||
- | < | ||
- | tar -xvzf pandorafms_console_package.tar.gz | ||
- | mv --force ./ | ||
- | |||
- | </ | ||
- | |||
- | * Enterprise 版コンソールのアップデート: | ||
- | |||
- | < | ||
- | tar -xvzf pandorafms_console_package.tar.gz | ||
- | mv --force ./ | ||
- | |||
- | </ | ||
- | |||
- | [[: | ||
- | |||
- | ===== OBSOLETE ===== | ||
- | |||
- | === データベースのアップデート (" | ||
- | |||
- | データベースをアップデートするには、最初にバージョンに応じたオープンソースおよび Enterprise コンソールをアップデートする必要があります。これらのアップデートによって必要な SQL ファイルをダウンロードできます。 | ||
- | |||
- | コンソールをアップデートしたら、SQL のデータベースアップデートスクリプトがコンソールの /extras や /enterprise に見つかります(バージョンに依存します)。CentOS の場合であれば、以下にあります。 | ||
- | |||
- | < | ||
- | / | ||
- | </ | ||
- | |||
- | < | ||
- | / | ||
- | </ | ||
- | |||
- | アップデートの前に最初に説明した、データベース、設定ファイルのバックアップ、Pandora FMS サーバの停止といった準備を行います。 | ||
- | |||
- | < | ||
- | service pandora_server stop | ||
- | |||
- | </ | ||
- | |||
- | * オープンソースデータベースのアップデート: | ||
- | |||
- | < | ||
- | mysql -u ユーザ名 -p -D データベース名 | ||
- | |||
- | </ | ||
- | |||
- | 例: | ||
- | |||
- | < | ||
- | mysql -u pandora -p -D pandora | ||
- | |||
- | </ | ||
- | |||
- | MySQL コマンドラインで以下を実行します。 | ||
- | |||
- | < | ||
- | source / | ||
- | |||
- | </ | ||
- | |||
- | <WRAP center round tip 60%> オープンソース版のマイグレーションを実行すると、Enterprise 版もアップデートされます。 </ | ||
- | |||
- | MySQL から抜けるには " | ||
- | |||
- | 以前のバージョンに戻す必要がある場合は、以下のようにバックアップからリストアします。 | ||
- | |||
- | < | ||
- | mysql -u username -p databasename | ||
- | > drop database databasename; | ||
- | > create database newdatabasename; | ||
- | > use newdatabasename; | ||
- | > source backup_pfms_X.Y.sql | ||
- | </ | ||
- | |||
- | < | ||
- | mysql -u ユーザ名 -p データベース名 | ||
- | > drop database データベース名; | ||
- | > create database 新たなデータベース名; | ||
- | > use 新たなデータベース名; | ||
- | > source backup_pfms_X.Y.sql | ||
- | |||
- | </ | ||
- | |||
- | 例: | ||
- | |||
- | < | ||
- | mysql -u root -p pandora | ||
- | > drop database pandora; | ||
- | > create database pandora; | ||
- | > use pandora; | ||
- | > source backup_pfms_X.Y.sql; | ||
- | </ | ||
- | |||
- | |||
- | ==== オープンソース版の更新 ==== | ||
- | |||
- | Pandora FMS 4.0.2 から、オープンソース版でも週単位の半自動更新ができます。この機能は、以前はエンタープライズ版のみにあったアップデートマネージャシステムの改善によります。新たなアップデートがあるかどうかを**オンライン** で確認することができ、リクエストごとにコンソールを自動的にダウンロードして更新することができます。 | ||
- | |||
- | この機能は次のような仕組みです。 | ||
- | |||
- | * Pandora FMS コンソールがインストールされているサーバはインターネットに接続されていなければなりません。 | ||
- | * アップデートマネージャは、我々のサーバ(Sourceforge)に接続します。Pandora FMS の利用状況(エージェント数)を発信者を特定しない状態で送信します。 | ||
- | * 更新ファイルが Sourceforge から週単位で更新フォルダにダウンロードされます。 | ||
- | * 更新はインクリメンタルですが、コンソール全体のファイルを含みます。そのため、処理には時間がかかります。(パッケージは約 25MB あります) | ||
- | * 更新は自動です。開発チームによるレビューはされていません。99%は問題無いと思いますが、何も問題が無いことを保証するわけではありません。 | ||
- | * 更新は、**コンソールのみ** です。エージェントおよびサーバの更新はありません。 | ||
- | |||
- | === コンソールの更新手順 === | ||
- | |||
- | **アップデートマネージャ(Update Manager)** | ||
- | |||
- | {{ : | ||
- | |||
- | パッケージをダウンロードすると、アップデートを行うかどうかのオプションが表示されます。 | ||
- | |||
- | {{ : | ||
- | |||
- | インストール処理を開始するには確認をクリックします。 | ||
- | |||
- | いくつかのアップデートにはデータベースの修正も含みます。アップデート処理では、これらの変更に関する情報を次のようにダイアログ表示します。 | ||
- | |||
- | {{ : | ||
- | |||
- | この時点で、データベースとコンソールのアップデートを適用するか、それを実施せずにコンソールとデータベースを現状のままとするかの 2つの選択肢があります。 | ||
- | |||
- | <WRAP center round tip 60%> アップデートマネージャが動作するためにはインターネットへの接続が必要です。パッケージのダウンロードに、デフォルトでは wget を利用します。curl を利用することもできます(Pandora の設定で変更します)がさほど早くありません。 </ | ||
- | |||
- | 処理が終わると、メインのアップデートページにコンソールのバージョンが表示されます。 おめでとうございます、これが表示されればアップデート成功です。 | ||
- | |||
- | {{ : | ||
- | |||
- | === 設定 === | ||
- | |||
- | {{: | ||
- | |||
- | Enterprise 版のアップデートマネージャを利用できるようにするには、最初にアップデータを正しく設定する必要があります。該当メニューから設定を行います。 | ||
- | |||
- | {{ : | ||
- | |||
- | === " | ||
- | |||
- | アップデートのメニューから、アップデートマネージャへアクセスします。Enterprise 版をインストールしている場合は、インタフェースを利用可能です。(そうでなければオープンソース版が表示されます) | ||
- | |||
- | このページで現在利用している Pandora FMS のバージョンと新たなアップデートがあるか確認することができます。 | ||
- | |||
- | 最新バージョンにアップデートするには、Pandora FMS コンソールのリンクをクリックします。 | ||
- | |||
- | 継続するかどうかのオプションダイアログが表示されます。 | ||
- | |||
- | {{ : | ||
- | |||
- | 継続をクリックすると、1) コンソールをアップデートして終了するか、2) データベースを含めて更新するかを確認するダイアログが表示されます。 | ||
- | |||
- | データベースを更新するとプロセスは正常に実行されます。 ただし、そうでない場合、データベースまたはコンソールのいずれも更新されません。データベースの変更によっては、同じ更新プログラムでのコンソールの変更に重大な影響を及ぼす可能性があるためです。 | ||
- | |||
- | その後、Pandora FMS にインストールされた現在のバージョンのアップデータが表示されます。 | ||
- | |||
- | === " | ||
- | |||
- | {{: | ||
- | |||
- | {{: | ||
- | |||
- | 次の画面からそれをアップロードします。 | ||
- | |||
- | {{ : | ||
- | |||
- | アップロードが完了するとファイルが表示されます。アップデートには開始をクリックします。 | ||
- | |||
- | {{ : | ||
- | |||
- | アップデートは、オンラインのダウンロードと同じフローです。適用する変更がある場合、関連するコンソールおよびデータベースのアップデートダイアログが表示されます。 | ||
- | |||
- | <WRAP center round tip 60%> 我々のチームが提供している zip ファイルを使っても、同じ方法で Pandora コンソールをアップデートできます。 </ | ||
- | |||
- | <WRAP center round important 60%> HA 構成のシステムをアップデートする場合は、[[: | ||
- | |||
- | ==== 他のシステムへのマイグレーション ==== | ||
- | |||
- | There can be many reasons to move a PFMS server and its Web Console, which are usually on the same machine, real or virtual. | ||
- | |||
- | 同一の物理マシンや仮想マシン上にある、Pandora FMS サーバとその Web コンソールを移動する理由はたくさんあります。 | ||
- | |||
- | // | ||
- | |||
- | // | ||
- | |||
- | * A new version of Pandora FMS may require a different operating system, for example, migrating from CentOS 7 to Rocky Linux 8 or from CentOS 8 to RedHat Enterprise (RHEL) 8. | ||
- | * It could also be the case of moving from one web service provider to another: less data is used by Pandora FMS than to make an image of the entire operating system. | ||
- | * In case of audits or to test new functionalities, | ||
- | |||
- | * Pandora FMS の新しいバージョンでは、別のオペレーティングシステムが必要になる場合があります。たとえば、CentOS 7 から RockyLinux 8 に、またはCentOS 8 から RedHat Enterprise(RHEL) 8 への移行です。 | ||
- | * また、ある Web サービスプロバイダーから別のプロバイダーに移動する場合もあります。Pandora FMS で使用されるデータは、オペレーティングシステム全体のイメージを作成する場合よりも少なくなります。 | ||
- | * 監査の場合や、新しい機能をテストする場合は、メインサーバのコピーが必要です。 | ||
- | |||
- | **Procedure: | ||
- | |||
- | **手順:** | ||
- | |||
- | Note: Generally the full path to the PFMS Web Console is ''/ | ||
- | |||
- | 注意: 通常、Pandora FMS Web コンソールへのフルパスは ''/ | ||
- | |||
- | **1.-** | ||
- | |||
- | **1.-** 以前のシステムのデータベースバックアップを行います。いくつかの手順があります。管理者権限( //root// ユーザ)でターミナルウィンドウを開きます。 | ||
- | |||
- | * Start by making a logical copy of the database with the following command: | ||
- | |||
- | * 次のコマンドを使用して、データベースの論理コピーを作成することから始めます。 | ||
- | |||
- | < | ||
- | |||
- | mysqldump --single-transaction --max_allowed_packet=512M -u root -p pandora> backup_pandora_X.Y.sql | ||
- | |||
- | </ | ||
- | |||
- | * The resulting file ( '' | ||
- | * Compress all existing configuration files in the directory ''/ | ||
- | * Compress the entire directory and subdirectories of '' | ||
- | * Custom images and icons in '' | ||
- | * Compress the whole directory ''/ | ||
- | * Compress all [[: | ||
- | * Compress all dependencies installed on the source server, which are necessary for the correct operation of scripts / plugins installed on the source server and are not found on the target server. **Advanced systems will need to fully install the Integrated Development Environment** | ||
- | * Compress all SSL certificates and custom Apache web server configuration located in ''/ | ||
- | |||
- | * 出力ファイル ('' | ||
- | * ディレクトリ ''/ | ||
- | * '' | ||
- | * ''/ | ||
- | * ''/ | ||
- | * 元サーバにインストールされているすべての依存関係を圧縮します。これらは、元サーバにインストールされていたスクリプト/ | ||
- | * 存在する場合は、''/ | ||
- | |||
- | <WRAP center round important 60%> \\ You are the only person responsible for safeguarding your data. Write down on pen and paper the procedure you will choose for moving data. **Be careful**, use redundancy in backups and procedures with several people to assist you in the process. \\ </ | ||
- | |||
- | <WRAP center round important 60%> \\ データの保護は作業するあなたにかかっています。 データを移動するために行う手順は書き留めておきましょう。 処理を行う際は複数人で手順やバックアップを確認するなど、十分**注意**してください。\\ </ | ||
- | |||
- | **2.-** | ||
- | |||
- | **2.-** 新たな Pandora FMS システムをスクラッチからインストールします。[[: | ||
- | |||
- | **3.-** | ||
- | |||
- | **3.-** **mysql** を除いて新しいシステムで実行されているすべてのプロセス終了し、Pandora FMS を開始します(バージョン NG 754 以降では、HA 高可用性環境での手動での開始・停止の[[: | ||
- | |||
- | < | ||
- | |||
- | / | ||
- | / | ||
- | / | ||
- | |||
- | </ | ||
- | |||
- | **4.-** | ||
- | |||
- | **4.-** | ||
- | |||
- | < | ||
- | / | ||
- | |||
- | </ | ||
- | |||
- | < | ||
- | / | ||
- | |||
- | </ | ||
- | |||
- | < | ||
- | systemctl stop httpd.service | ||
- | |||
- | </ | ||
- | |||
- | **5.-** | ||
- | |||
- | **5.-** 次に、一番簡単な方法で、'' | ||
- | |||
- | **6.-** | ||
- | |||
- | **6.-** //root// ユーザ **mysql** にアクセスします。新しいシステムで Pandora FMS データベースにアクセスします。デフォルトでは '' | ||
- | |||
- | < | ||
- | # mysql -u root -p | ||
- | | ||
- | | ||
- | | ||
- | |||
- | </ | ||
- | |||
- | //This path will vary depending on the directory where you have the backup of the previous system, //here it is assumed that you have it in your home directory ('' | ||
- | |||
- | // | ||
- | |||
- | **7.-** | ||
- | |||
- | **7.-** データベース構造が変更されるメジャーバージョンへの移行の場合、[[: | ||
- | |||
- | **8.- **If you have made a distribution change, please note that the '' | ||
- | |||
- | **8.- ** ディストリビューションを変更した場合は、Web コンソールの '' | ||
- | |||
- | < | ||
- | |||
- | # mysql -u root -p> use pandora; | ||
- | Database changed> UPDATE tconfig SET value = '/ | ||
- | |||
- | </ | ||
- | |||
- | //These //'' | ||
- | |||
- | これら '' | ||
- | |||
- | **9.-** | ||
- | |||
- | **9.-** データベースをマイグレートしたら、設定ファイル '' | ||
- | |||
- | * //If they are the same, go to //**step 10**//.// | ||
- | * If different, choose only one of the following options: | ||
- | * Option ( a ): Replace the new files with the old ones. | ||
- | * Option ( b ): Copy data ( '' | ||
- | * Option ( c ): Give permissions to the database with the data of the new installation. Assuming that the new installation has these data: '' | ||
- | |||
- | * // | ||
- | * 異なるようであれば、以下のオプションのうちのいずれか一つを選択します。 | ||
- | * オプション(a): | ||
- | * オプション(b): | ||
- | * オプション(c): | ||
- | |||
- | < | ||
- | # mysql -u root -p> grant all privileges on pandora.* to ' | ||
- | |||
- | </ | ||
- | |||
- | **10.-** | ||
- | |||
- | **10.-** その後、すべての[[: | ||
- | |||
- | **11.-** | ||
- | |||
- | **11.-** 新しいホストの IP アドレスまたは URL を変更した場合、すべての**ローカル**エージェントがこの新しいシステムに接続する必要があります。ソフトウェアエージェントの場合、それぞれの [[: | ||
- | |||
- | **12.-** | ||
- | |||
- | **12.-** その他の設定修正を行うには、[[: | ||
- | |||
- | <WRAP center round info 60%> \\ If it is the Enterprise version, follow the same procedure. \\ </ | ||
- | |||
- | <WRAP center round info 60%> \\ この手順は、Enterprise 版であっても同様です。</ | ||