ja:documentation:02_installation:02_anexo_upgrade

差分

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

この比較画面へのリンク

ja:documentation:02_installation:02_anexo_upgrade [2023/09/28 07:35] – [他のシステムへのマイグレーション] junichija:documentation:02_installation:02_anexo_upgrade [Unknown date] (現在) – 削除 - 外部編集 (Unknown date) 127.0.0.1
行 1: 行 1:
-====== アップグレード ====== 
- 
-{{indexmenu_n>2}} 
- 
-[[:ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]] 
- 
-===== ワープアップデート (アップデートマネージャ) ===== 
- 
-<WRAP center round info 60%> 
- 
-If you have version 762 (or earlier) installed, use the [[:en:documentation:02_installation:02_anexo_upgrade#automatic_update_with_update_manager|Update Manager]]. 
- 
-</WRAP> 
- 
-<WRAP center round info 60%> 
-バージョン 762 (およびそれ以前)の場合は、[[:ja:documentation:02_installation:02_anexo_upgrade#アップデートマネージャを使った自動アップデート|アップデートマネージャ]] を利用してください。 
-</WRAP> 
- 
-  * You must be [[:en:documentation:07_technical_annexes:15_security_architecture#keep_your_system_up_to_date|connected to the Internet]] from your Pandora FMS Console. 
-  * **Warp Update**  will contact your servers to find the latest version available (on Sourceforge). 
-  * The updates are automatic and in 99% of the cases it should work properly, although there is no guarantee that it will. 
-  * You may also [[:en:documentation:02_installation:02_anexo_upgrade#warp_update_offline|update offline]] if the PFMS server to be updated is in a restricted and/or limited environment. 
- 
-  * Pandora FMS コンソールから、[[:ja:documentation:07_technical_annexes:15_security_architecture#システムを最新の状態に保つ|インターネットへの接続]]ができる必要があります。 
-  * **ワープアップデート(Warp Update)** は、(Sourceforge 上で)利用可能な最新バージョンを見つけるためにサーバに接続します。匿名の使用統計データ(エージェント数)を送信します。 
-  * 更新は Web コンソールのコンテンツ全体であるため、処理が非常に長くなる可能性があります。 
-  * 更新は自動的に行われ、99% 正常に機能するはずですが、必ず機能することを保証するわけではありません。 
-  * 更新する Pandora FMS サーバがインターネット接続を制限された環境にある場合は、[[:ja:documentation:02_installation:02_anexo_upgrade#オフラインワープアップデート|オフライン更新]] することもできます。 
- 
-==== オンラインワープアップデート ==== 
- 
-  * In order to update through **Warp Update**  online, you must be registered. 
-  * 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://pandorafms.com/en/prices/?o=dwpfms|{{:wiki:icono-modulo-enterprise.png?nolink&23x23  |Enterprise version}}]]For Enterprise environments you may upgrade offline. [[https://pandorafms.com/en/contact/|Contact the support department]] to download the files. 
- 
-[[https://pandorafms.com/en/prices/?o=dwpfms|{{:wiki:icono-modulo-enterprise.png?nolink&23x23  |Enterprise 版}}]]Enterprise 環境ではオフラインでアップグレードすることができます。ファイルをダウンロードするには、[[https://pandorafms.com/ja/contact/|サポートへ連絡ください]]。 
- 
-<WRAP center round important 60%> 
- 
-Applying offline patches may deem your console unusable, we recommend you to completely [[https://pandorafms.com/manual/en/documentation/07_technical_annexes/07_backup_and_restore_procedures|backup your files]] before applying any patches. 
- 
-</WRAP> 
- 
-<WRAP center round important 60%> 
- 
-オフラインパッチを適用すると、コンソールが使用できなくなる可能性があります。パッチを適用する前に、ファイルを完全に[[https://pandorafms.com/manual/ja/documentation/07_technical_annexes/07_backup_and_restore_procedures|バックアップする]]ことをお勧めします。 
- 
-</WRAP> 
- 
-  * Once downloaded, go to the menu **Warp Update**  → **Warp Update Offline**  and click **Browse it**  to select the file. 
-  * Click on the green icon located at the lower right corner and Pandora FMS server will be updated. 
- 
-  * ダウンロードしたら、**ワープアップデート(Warp Update)** → **オフラインワープアップデート(Warp Update Offline)** メニューへ行き、ファイル選択のために **ブラウズする(Brouse it)** をクリックします 
-  * 右下の緑のアイコンをクリックして、Pandora FMS サーバをアップデートします。 
- 
-<WRAP center round important 90%> 
- 
-If you upgrade offline from version 768 to 769 and use CentOS 7 with your PFMS server, set the ''memory_limit''  token to ''1G''  (one gigabyte) in the ''php.ini''  file. For example, you may use the following instruction: 
-<code> 
- 
-sed -i -e "s/^memory_limit.*/memory_limit = 1G/g" /etc/php.ini 
- 
-</code> 
- 
-Save and restart the Apache service with ''systemctl restart httpd''. 
- 
-</WRAP> 
- 
-<WRAP center round important 90%> 
- 
-CentOS 7 にて Pandora FMS サーバをオフラインで 768 から 769 へアップグレードする場合は、''php.ini'' で ''memory_limit'' トークンを ''1G'' に設定する必要があります。例えば、次のように実行します。 
-<code> 
- 
-sed -i -e "s/^memory_limit.*/memory_limit = 1G/g" /etc/php.ini 
- 
-</code> 
- 
-保存し、''systemctl restart httpd'' で Apache サービスを再起動します。 
- 
-</WRAP> 
- 
-==== ワープアップデート履歴 ==== 
- 
-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. 
- 
-行われた更新、バージョン、アプリケーションの日時、それを要求して適用したユーザなどを確認するには、**ワープアップデート(Warp Update)** → **ワープアップデート履歴(Warp Update Journal)** メニューへ行きます。 
- 
-==== ワープアップデート設定 ==== 
- 
-<WRAP center round tip 60%> 
- 
-**Enterprise version**: [[https://pandorafms.com/en/contact/|Contact]] support before changing any of the following fields: 
- 
-  * **Warp Update URL**. 
-  * **Use secured Warp Update**. 
-  * **Proxy server**. 
-  * **Proxy port**. 
-  * **Proxy user**. 
-  * **Proxy password**. 
-</WRAP> 
- 
-<WRAP center round tip 60%> 
-**Enterprise 版**: 以下のフィールドを変更する前に[[https://pandorafms.com/ja/contact/|お問合せ]]ください。 
- 
-  * **ワープアップデート URL(Warp Update URL)** 
-  * **セキュアなワープアップデートの利用(Use secured Warp Update)** 
-  * **プロキシサーバ(Proxy server)** 
-  * **プロキシポート(Proxy port)** 
-  * **プロキシユーザ(Proxy user)** 
-  * **プロキシパスワード(Proxy password)** 
-</WRAP> 
- 
-  * **Allow no-consecutive patches**: It allows non-consecutive updates to be installed. Disabled by default and it is the recommended option. 
-  * **Limit to LTS updates**: It allows you to update only long-term versions (**LTS**). 
- 
-  * **連続しないパッチを許可する(Allow no-consecutive patches)**: 連続しない更新をインストールできるようにします。 デフォルトでは無効になっており、無効が推奨です。 
-  * **LTS アップデートに制限(Limit to LTS updates)**: 長期サポートバージョン(**LTS**)のみでの更新ができます。 
- 
- 
-===== 手動アップデート ===== 
- 
-  * Pandora FMS has three main elements: console (Open source version), server and database. 
-  * In **Enterprise**  installations, the process will take a few more steps than the Open version. 
-      * Enterprise Web Console (Console extended features). 
-      * Enterprise Server (Server extended features). 
-      * Database (additional Enterprise version tables). 
-  * Updates will **always**  include changes to the console, **sometimes**  server changes (minor updates) and **rarely**  database changes (major updates). 
- 
-  * Pandora FMS は、コンソール、サーバ、データベースの 3つの要素に分けることができます。 
-  * **Enterprise 版**では、オープンソース版に比べて追加で対応する必要がある内容があります。 
-      * Enterprise ウェブコンソール (コンソールの拡張機能) 
-      * Enterprise サーバ (サーバ拡張機能) 
-      * データベース (Enterprise 版追加テーブル) 
-  * 更新には、**常に** コンソールの変更、**時々** サーバの変更、**まれに** データベースの変更(メジャーアップデート)を含みます。 
- 
-==== マイナーバージョンアップ ==== 
- 
-1. [[:es:documentation:07_technical_annexes:07_backup_and_restore_procedures|Back up]] the database. E.g.: 
- 
-1. データベースを[[:ja:documentation:07_technical_annexes:07_backup_and_restore_procedures|バックアップ]]します。例: 
-<code> 
- 
-  mysqldump -u root -p pandora > backup_pfms_X.Y.sql 
- 
-</code> 
- 
-2. Back up the config files: ''pandora_server.conf'', ''config.php'' and ''pandora_agent.conf''. 
- 
-2. 次の設定ファイルをバックアップします: ''pandora_server.conf'', ''config.php'', ''pandora_agent.conf'' 
- 
-3. Back up server and agent plugins, at: 
- 
-3. サーバおよびエージェントプラグインを次のようにバックアップします。 
- 
-<code> 
-/etc/pandora/plugins 
-pandora_console/attachment/plugin 
-/usr/share/pandora_server/util/plugin 
-</code> 
- 
-4. Stop the following services: ''pandora_server'', ''tentacle_serverd'', ''httpd'', ''pandora_agent'' and ''mysqld''. 
- 
-4. 次のサービスを停止します: ''pandora_server'', ''tentacle_serverd'', ''httpd'', ''pandora_agent'' および ''mysqld'' 
- 
-5. **Proceed to update.** 
- 
-5. アップデートします。 
- 
-6. Remember to restart the services: ''pandora_server'', ''tentacle_serverd'', ''httpd'', ''pandora_agent'' and ''mysqld''. 
- 
-6. 次のサービスを再起動します: ''pandora_server'', ''tentacle_serverd'', ''httpd'', ''pandora_agent'' および ''mysqld'' 
- 
-=== RPM パッケージにて === 
- 
-Download the version after the one you have installed: 
- 
-インストールするバージョンをダウンロードします。 
- 
-<WRAP center round download 90%> 
- 
-[[https://firefly.pandorafms.com/pandorafms/|https://firefly.pandorafms.com/pandorafms/]] 
- 
-</WRAP> 
- 
-  * Open console update: 
- 
-  * オープンソースのコンソールアップデート: 
- 
-<code> 
- 
-rpm -U pandorafms_console*.rpm 
- 
-</code> 
- 
-  * [[https://pandorafms.com/en/prices/?o=dwpfms|{{:wiki:icono-modulo-enterprise.png?nolink&23x23  |Enterprise version}}]]Enterprise console update: 
- 
-  * [[https://pandorafms.com/en/prices/?o=dwpfms|{{:wiki:icono-modulo-enterprise.png?nolink&23x23  |Enterprise 版}}]]Enterprise コンソールアップデート: 
- 
-<code> 
- 
-rpm -U pandorafms_console_enterprise_package.rpm 
- 
-</code> 
- 
-  * Open server update: 
- 
-  * オープンソースサーバアップデート: 
- 
-<code> 
-rpm -U pandorafms_server*.rpm 
- 
-</code> 
- 
-  * [[https://pandorafms.com/en/prices/?o=dwpfms|{{:wiki:icono-modulo-enterprise.png?nolink&23x23  |Enterprise version}}]]Enterprise server update with tar.gz: 
- 
-  * [[https://pandorafms.com/en/prices/?o=dwpfms|{{:wiki:icono-modulo-enterprise.png?nolink&23x23  |Enterprise 版}}]]tar.gz での Enterprise サーバアップデート: 
- 
-<code> 
- 
-tar -xvzf pandorafms_server_enterprise_package.tar.gz 
-cd pandora_server 
-./pandora_server_installer --install 
- 
-</code> 
- 
-  * Software Agent update: 
- 
-  * ソフトウエアエージェントアップデート: 
-<code> 
-rpm -U pandorafms_agent*.rpm 
- 
-</code> 
- 
-You can find out which version you have installed at any time, before or after the installation by executing the command: 
- 
-インストール前後で、どのバージョンで動いているか、以下のコマンドで確認できます。 
- 
-<code> 
-rpm -qa | grep -i pandora 
- 
-</code> 
- 
-=== tar ボール、ソースにて === 
- 
-   * You must visit [[https://firefly.pandorafms.com/pandorafms/|https://firefly.pandorafms.com/pandorafms/]] and download the version after the one installed. 
-   * Change ''package'' to the name of the downloaded version and ''yourconsolepath'' to the full path of the installed console. 
-   * Open Source Console Update: 
- 
-  * [[https://firefly.pandorafms.com/pandorafms/|https://firefly.pandorafms.com/pandorafms/]] へ行き、インストールしたバージョンより新しいものをダウンロードします。 
-  * ''package'' をダウンロードしたバージョンの名前に置き換え、''yourconsolepath'' をインストールされているコンソールのフルパスに置き換えます。 
-  * オープンソースコンソールアップデート: 
- 
-<code bash> 
-tar xvzf pandorafms_console_'package'.tar.gz 
-cd pandora_console 
-./pandora_console_upgrade -p /'yourconsolepath' 
- 
- 
-</code> 
- 
-  * [[https://pandorafms.com/en/prices/?o=dwpfms|{{:wiki:icono-modulo-enterprise.png?nolink&23x23  |Enterprise version}}]]Enterprise console update: 
- 
-  * [[https://pandorafms.com/en/prices/?o=dwpfms|{{:wiki:icono-modulo-enterprise.png?nolink&23x23  |Enterprise 版}}]]Enterprise コンソールアップデート: 
- 
-<code bash> 
-tar xvzf pandorafms_console_enterprise_'package'.tar.gz 
-cd pandora_console 
-./pandora_console_upgrade -p /'yourconsolepath' 
- 
- 
-</code> 
- 
-   * Open Source server update: 
- 
-  * オープンソースサーバアップデート: 
- 
-<code bash> 
-tar xvzf pandorafms_server_'package'.tar.gz 
-cd pandora_server 
-./pandora_server_upgrade --upgrade 
- 
- 
-</code> 
- 
-  * [[https://pandorafms.com/en/prices/?o=dwpfms|{{:wiki:icono-modulo-enterprise.png?nolink&23x23  |Enterprise version}}]]Enterprise server update: 
- 
-  * [[https://pandorafms.com/en/prices/?o=dwpfms|{{:wiki:icono-modulo-enterprise.png?nolink&23x23  |Enterprise 版}}]]Enterprise サーバアップデート: 
- 
-<code bash> 
-tar xvzf pandorafms_server_enterprise_'package'.tar.gz 
-cd pandora_server 
-./pandora_server_upgrade --upgrade 
- 
- 
-</code> 
- 
-  * ソフトウエアエージェントアップデート: 
- 
-<code bash> 
-tar xvzf pandorafms_agent_'package'.tar.gz 
-cd pandora_agent 
-./pandora_agent_installer --force-install 
- 
- 
-</code> 
- 
- 
-==== メジャーアップデート ==== 
- 
-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 コンソールがインストールされているサーバに入り、次のディレクトリに移動します。 
- 
-<code> 
-/var/www/html/pandora_console/extras/mr 
- 
-</code> 
- 
-Within this directory another one will appear called ''updated''. It must stock all non-applied MR and outside it those who are not applied. Execution example of file ''1.sql'' (MR 1): 
- 
-このディレクトリ内に、''updated'' という名前の別のディレクトリがあります。そのディレクトリの外に適用されていないすべての MR があるので適用します。ファイル ''1.sql'' (MR 1) の実行例: 
- 
-<code> 
-cat 1.sql | mysql -u root -p pandora 
- 
-</code> 
- 
-Once the **SQLs** have been applied to the database, go to the directory called ''updated''. 
- 
-データベースに **SQL** を適用したら、適用したファイルを ''updated'' ディレクトリに移します。 
- 
-<code> 
- 
-mkdir -p updated 
-mv 1.sql updated/ 
- 
-</code> 
- 
-Then update the **MR** value within the ''tconfig'' table of MySQL: 
- 
-そして、MySQL の ''tconfig'' テーブルにある **MR** の値を更新します。 
- 
-<code> 
-mysql -u root -p pandora> use pandora;> update tconfig set value= XX where token='MR'; 
- 
-</code> 
- 
-To find out which MRs should be applied, please go to the following [[:en:documentation:08_technical_reference:10_versions|link.]] 
- 
-どの MR が適用されている必要があるかは、[[:ja:documentation:08_technical_reference:10_versions|こちら]]を確認してください。 
- 
- 
-===== アップデートマネージャを使った自動アップデート ===== 
- 
-   * You must have [[:en:documentation:07_technical_annexes:15_security_architecture#keep_your_system_up-to-date|Internet access]] in Web Console and in Pandora FMS server. 
-   * 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 サーバが [[:ja:documentation:07_technical_annexes:15_security_architecture#システムを最新の状態に保つ|インターネットアクセス]] できる必要があります。 
-   * **アップデートマネージャ(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 に適用できます。 
- 
-{{:wiki:icono-modulo-enterprise.png |Enterprise 版}} 
- 
-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 オフラインアップデート ==== 
- 
-{{:wiki:icono-modulo-enterprise.png?23x23 |Enterprise Version}}You can download Pandora FMS offline updates, which are files with the extension ''.OUM''. To do this, go to the page of [[http://pandorafms.com/en/contact/|official support]] of Pandora FMS and download it. 
- 
-{{:wiki:icono-modulo-enterprise.png?23x23 |Enterprise 版}}拡張子 ''.OUM'' の Pandora FMS オフラインアップデートファイルをダウンロードできます。ダウンロードは、Pandora FMS の公式サポートページから行います。不明な場合は、[[https://pandorafms.com/ja/contact/|お問い合せ]]ください。 
- 
-<WRAP center round important 60%> 
- 
-Offline patching can make your console unusable, it is recommended to do a [[:en:documentation:07_technical_annexes:07_backup_and_restore_procedures|full backup]] first. 
- 
-</WRAP> 
- 
-<WRAP center round important 60%> 
- 
-オフラインパッチを適用すると、コンソールが使用できなくなる可能性があります。最初に [[:ja:documentation:07_technical_annexes:07_backup_and_restore_procedures|完全バックアップ]] を実行することをお勧めします。 
- 
-</WRAP> 
- 
-   * 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 [[:en:documentation:05_big_environments:06_ha#actualizacic3b3n|this section]]. 
- 
-</WRAP> 
- 
-<WRAP center round important 60%> 
- 
-高可用性 (HA) 環境にて更新する場合は、[[:ja:documentation:05_big_environments:06_ha#actualizacic3b3n|こちらの章]] に示されている内容を考慮する必要があります。 
- 
-</WRAP> 
- 
-==== アップデートマネージャのための PHP の追加設定 ==== 
- 
-オープンアップデートマネージャを正しく動作させるためには、デフォルトの割り当てよりも多くのメモリが必要です。PHP に多くのメモリを割り当てるために、php.ini を編集し、少なくとも 800M のメモリを確保してください。 
- 
-設定は次の通りです。 
- 
-<code> 
-memory_limit = 800M    ; Maximum amount of memory a script may consume 
- 
-</code> 
- 
-''php.ini'' の場所を確認するには、次のコマンドを実行します。 
-<code> 
-php -i | grep php.ini 
- 
-</code> 
- 
-また、インストールした Pandora FMS のバージョンによっては、 [[:ja:documentation:07_technical_annexes:14_php_7|こちら]] に従って PHP 7 に更新する対応が必要です。 
- 
- 
- 
-===== ダウングレード ===== 
- 
-In order to perform a [[:en:documentation:01_understanding:03_glossary#downgrade|downgrade]], all you have to do is downgrade the version of the Pandora FMS **Web Console**. As a precaution, it is recommended to make a backup copy of the Pandora FMS database and configuration files, as explained in previous sections. You will always have to install the **Open Source** package and then the **Enterprise** version. 
- 
-[[:ja:documentation:01_understanding:03_glossary#ダウングレード|ダウングレード]]を実行するには、Pandora FMS **Webコンソール** のバージョンをダウングレードするだけです。 予防措置として、前のセクションで説明したように、Pandora FMS データベースと設定ファイルのバックアップコピーを作成することをお勧めします。 常に **オープンソース** パッケージをインストールしてから、**Enterprise ** 版をインストールする必要があります。 
- 
-==== RPM パッケージより ==== 
- 
-  * オープンソースのコンソールアップデート: 
- 
-<code> 
-rpm -i --force pandorafms_console_package.rpm 
- 
-</code> 
- 
-  * Enterprise 版コンソールのアップデート: 
- 
-<code> 
-rpm -i --force pandorafms_console__enterprise_package.rpm 
- 
-</code> 
- 
-==== Tarball/ソースコードより ==== 
- 
-  * オープンソースのコンソールアップデート: 
- 
-<code> 
-tar -xvzf pandorafms_console_package.tar.gz 
-mv --force ./pandora_console/* /yourconsolepath 
- 
-</code> 
- 
-  * Enterprise 版コンソールのアップデート: 
- 
-<code> 
-tar -xvzf pandorafms_console_package.tar.gz 
-mv --force ./enterprise /yourconsolepath 
- 
-</code> 
- 
-[[:ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]] 
- 
-===== OBSOLETE ===== 
- 
-=== データベースのアップデート ("メジャーリリース") === 
- 
-データベースをアップデートするには、最初にバージョンに応じたオープンソースおよび Enterprise コンソールをアップデートする必要があります。これらのアップデートによって必要な SQL ファイルをダウンロードできます。 
- 
-コンソールをアップデートしたら、SQL のデータベースアップデートスクリプトがコンソールの /extras や /enterprise に見つかります(バージョンに依存します)。CentOS の場合であれば、以下にあります。 
- 
-<code> 
-/var/www/html/pandora_console/extras/pandoradb_migrate_X.Y_to_Z.T.mysql.sql 
-</code> 
- 
-<code> 
-/var/www/html/pandora_console/enterprise/pandoradb_migrate_vX.Y_to_vZ.T.mysql.sql 
-</code> 
- 
-アップデートの前に最初に説明した、データベース、設定ファイルのバックアップ、Pandora FMS サーバの停止といった準備を行います。 
- 
-<code> 
-service pandora_server stop 
- 
-</code> 
- 
-  * オープンソースデータベースのアップデート: 
- 
-<code> 
-mysql -u ユーザ名 -p -D データベース名 
- 
-</code> 
- 
-例: 
- 
-<code> 
-mysql -u pandora -p -D pandora 
- 
-</code> 
- 
-MySQL コマンドラインで以下を実行します。 
- 
-<code> 
-source /yourconsolepath/extras/pandoradb_migrate_X.Y_to_Z.T.mysql.sql; 
- 
-</code> 
- 
-<WRAP center round tip 60%> オープンソース版のマイグレーションを実行すると、Enterprise 版もアップデートされます。 </WRAP> 
- 
-MySQL から抜けるには "quit" を実行します。以上でデータベースがバージョンに合わせてアップデートされました。 
- 
-以前のバージョンに戻す必要がある場合は、以下のようにバックアップからリストアします。 
- 
-<code> 
-mysql -u username -p databasename 
-> drop database databasename; 
-> create database newdatabasename; 
-> use newdatabasename; 
-> source backup_pfms_X.Y.sql 
-</code> 
- 
-<code> 
-mysql -u ユーザ名 -p データベース名 
-> drop database データベース名; 
-> create database 新たなデータベース名; 
-> use 新たなデータベース名; 
-> source backup_pfms_X.Y.sql 
- 
-</code> 
- 
-例: 
- 
-<code> 
-mysql -u root -p pandora 
-> drop database pandora; 
-> create database pandora; 
-> use pandora; 
-> source backup_pfms_X.Y.sql; 
-</code> 
- 
- 
-==== オープンソース版の更新 ==== 
- 
-Pandora FMS 4.0.2 から、オープンソース版でも週単位の半自動更新ができます。この機能は、以前はエンタープライズ版のみにあったアップデートマネージャシステムの改善によります。新たなアップデートがあるかどうかを**オンライン** で確認することができ、リクエストごとにコンソールを自動的にダウンロードして更新することができます。 
- 
-この機能は次のような仕組みです。 
- 
-  * Pandora FMS コンソールがインストールされているサーバはインターネットに接続されていなければなりません。 
-  * アップデートマネージャは、我々のサーバ(Sourceforge)に接続します。Pandora FMS の利用状況(エージェント数)を発信者を特定しない状態で送信します。 
-  * 更新ファイルが Sourceforge から週単位で更新フォルダにダウンロードされます。 
-  * 更新はインクリメンタルですが、コンソール全体のファイルを含みます。そのため、処理には時間がかかります。(パッケージは約 25MB あります) 
-  * 更新は自動です。開発チームによるレビューはされていません。99%は問題無いと思いますが、何も問題が無いことを保証するわけではありません。 
-  * 更新は、**コンソールのみ** です。エージェントおよびサーバの更新はありません。 
- 
-=== コンソールの更新手順 === 
- 
-**アップデートマネージャ(Update Manager)**  → **オンラインアップデートマネージャ(Update manager online)**  へ行きます。メインの画面では、インストール待ちおよび存在するアップデート、最新のコンソールバージョンが表示されます。インストールをクリックします。 
- 
-{{  :wiki:um_online_open_actualizar_es.png  }} 
- 
-パッケージをダウンロードすると、アップデートを行うかどうかのオプションが表示されます。 
- 
-{{  :wiki:dialog_um_principal_es.png  }} 
- 
-インストール処理を開始するには確認をクリックします。 
- 
-いくつかのアップデートにはデータベースの修正も含みます。アップデート処理では、これらの変更に関する情報を次のようにダイアログ表示します。 
- 
-{{  :wiki:dialog_hay_mr_en.png  }} 
- 
-この時点で、データベースとコンソールのアップデートを適用するか、それを実施せずにコンソールとデータベースを現状のままとするかの 2つの選択肢があります。 
- 
-<WRAP center round tip 60%> アップデートマネージャが動作するためにはインターネットへの接続が必要です。パッケージのダウンロードに、デフォルトでは wget を利用します。curl を利用することもできます(Pandora の設定で変更します)がさほど早くありません。 </WRAP> 
- 
-処理が終わると、メインのアップデートページにコンソールのバージョンが表示されます。 おめでとうございます、これが表示されればアップデート成功です。 
- 
-{{  :wiki:um_online_open_finalizado.png  }} 
- 
-=== 設定 === 
- 
-{{:wiki:icono-modulo-enterprise.png  |Enterprise 版}} 
- 
-Enterprise 版のアップデートマネージャを利用できるようにするには、最初にアップデータを正しく設定する必要があります。該当メニューから設定を行います。 
- 
-{{  :wiki:opciones_um_es.png?700  }} 
- 
-=== "オンライン" 更新 === 
- 
-アップデートのメニューから、アップデートマネージャへアクセスします。Enterprise 版をインストールしている場合は、インタフェースを利用可能です。(そうでなければオープンソース版が表示されます) 
- 
-このページで現在利用している Pandora FMS のバージョンと新たなアップデートがあるか確認することができます。 
- 
-最新バージョンにアップデートするには、Pandora FMS コンソールのリンクをクリックします。 
- 
-継続するかどうかのオプションダイアログが表示されます。 
- 
-{{  :wiki:dialog_um_principal_es.png?500  }} 
- 
-継続をクリックすると、1) コンソールをアップデートして終了するか、2) データベースを含めて更新するかを確認するダイアログが表示されます。 
- 
-データベースを更新するとプロセスは正常に実行されます。 ただし、そうでない場合、データベースまたはコンソールのいずれも更新されません。データベースの変更によっては、同じ更新プログラムでのコンソールの変更に重大な影響を及ぼす可能性があるためです。 
- 
-その後、Pandora FMS にインストールされた現在のバージョンのアップデータが表示されます。 
- 
-=== "オフライン" 更新 === 
- 
-{{:wiki:icono-modulo-enterprise.png?23x23  |Enterprise version}}Offline Pandora FMS updates can also be downloaded, which have ''.OUM'' extensions. Go to the official Pandora FMS support page to download them. 
- 
-{{:wiki:icono-modulo-enterprise.png?23x23  |Enterprise 版}}Pandora FMS は "オフライン" アップデートも可能です。 .OUM という拡張子のパッケージがあります。それには、Pandora FMS の公式サポートページへ行き、.OUM ファイルをダウンロードしてください。日本におけるエンタープライズ版更新ファイルダウンロードは、[[https://www.rworks.jp|(株)アールワークス]] が提供しています。 
- 
-次の画面からそれをアップロードします。 
- 
-{{  :wiki:um_offline_pag_principal_es.png  }} 
- 
-アップロードが完了するとファイルが表示されます。アップデートには開始をクリックします。 
- 
-{{  :wiki:um_offline_pag_principal_cargado_es.png  }} 
- 
-アップデートは、オンラインのダウンロードと同じフローです。適用する変更がある場合、関連するコンソールおよびデータベースのアップデートダイアログが表示されます。 
- 
-<WRAP center round tip 60%> 我々のチームが提供している zip ファイルを使っても、同じ方法で Pandora コンソールをアップデートできます。 </WRAP> 
- 
-<WRAP center round important 60%> HA 構成のシステムをアップデートする場合は、[[:ja:documentation:05_big_environments:06_ha|こちらのドキュメント]] を参照してください。 </WRAP> 
  
  • ja/documentation/02_installation/02_anexo_upgrade.1695886546.txt.gz
  • 最終更新: 2023/09/28 07:35
  • by junichi