ja:documentation:pandorafms:installation:01_installing

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
ja:documentation:pandorafms:installation:01_installing [2024/06/27 06:32] – [Docker 環境へのインストール] junichija:documentation:pandorafms:installation:01_installing [2025/02/26 02:31] (現在) – [Enterprise サーバのインストール] junichi
行 43: 行 43:
 この表に示している要件は、さまざまなインストールのための最小推奨要件です。これらの推奨値は、80% のモジュールでデータ保存し、平均監視時間が 5分であると仮定して計算しています。これらの推奨要件では、データベースサーバ、Pandoraサーバ、および Pandora コンソールが同一マシンにインストールする環境を想定しています。 この表に示している要件は、さまざまなインストールのための最小推奨要件です。これらの推奨値は、80% のモジュールでデータ保存し、平均監視時間が 5分であると仮定して計算しています。これらの推奨要件では、データベースサーバ、Pandoraサーバ、および Pandora コンソールが同一マシンにインストールする環境を想定しています。
  
-^ Hardware ^ SMALL: Up to 5,000 modules ^ MEDIUM: Up to 15,000 modules ^ LARGE*: Up to 30,000 modules ^ Extra LARGE*: Up to 80,000 modules |+^ Hardware ^ SMALL: Up to 1,000 modules ^ MEDIUM: Up to 10,000 modules ^ LARGE*: Up to 30,000 modules ^ Extra LARGE*: Up to 80,000 modules |
 ^ CPU | 2 cores at 2 GHz | 4 cores at 2.5GHz | 6 cores at 3GHz | 10 cores at 3GHz | ^ CPU | 2 cores at 2 GHz | 4 cores at 2.5GHz | 6 cores at 3GHz | 10 cores at 3GHz |
 ^ RAM | 4GB | 8GB | 16GB | 32GB | ^ RAM | 4GB | 8GB | 16GB | 32GB |
-^ Storage speed | 7200rpm | 15Krpm or SSD | SSD | SSD |+^ Storage speed | 15Krpm or SSD((Minimum recommended speed: 300 MB/s read/write))  | 15Krpm or SSD((Minimum recommended speed: 300 MB/s read/write))  | SSD((Minimum recommended speed: 300 MB/s read/write))  | SSD((Minimum recommended speed: 300 MB/s read/write))  |
 ^ Minimum Space | 40GB minimum 60 GB recommended | 60GB minimum 150 GB recommended | 120GB minimum 250 GB recommended | 250GB minimum 400 GB recommended | ^ Minimum Space | 40GB minimum 60 GB recommended | 60GB minimum 150 GB recommended | 120GB minimum 250 GB recommended | 250GB minimum 400 GB recommended |
  
-^ハードウエア  ^  SMALL: 最大 5,000 モジュール  ^  MEDIUM: 最大 15,000 モジュール  ^  LARGE*: 最大 30,000 モジュール  ^  Extra LARGE*: 最大 80,000 モジュール +^ハードウエア  ^  SMALL: 最大 1,000 モジュール  ^  MEDIUM: 最大 10,000 モジュール  ^  LARGE*: 最大 30,000 モジュール  ^  Extra LARGE*: 最大 80,000 モジュール 
-^CPU  |  2 コア 2 GHz  |  4 コア 2,5 GHz  |  6 コア 3 GHz  |  10 コア 3 GHz  |+^CPU  |  2 コア 2 GHz  |  4 コア 2.5 GHz  |  6 コア 3 GHz  |  10 コア 3 GHz  |
 ^メモリ  |  4 GB  |  8 GB  |  16 GB  |  32 GB  | ^メモリ  |  4 GB  |  8 GB  |  16 GB  |  32 GB  |
-^ハードディスク  |  7200 rpm  |  15K rpm または SSD  |  SSD  |  SSD  |+^ハードディスク  |  15K rpm または SSD((推奨最小速度: 読み取り/書き込み 300 MB/秒)) |  15K rpm または SSD((推奨最小速度: 読み取り/書き込み 300 MB/秒)) |  SSD((推奨最小速度: 読み取り/書き込み 300 MB/秒)) |  SSD((推奨最小速度: 読み取り/書き込み 300 MB/秒)) |
 ^ディスク容量  | 最小 40GB 推奨 60GB | 最小 60GB 推奨 150GB | 最小 120GB 推奨 250GB | 最小 250GB 推奨 400GB | ^ディスク容量  | 最小 40GB 推奨 60GB | 最小 60GB 推奨 150GB | 最小 120GB 推奨 250GB | 最小 250GB 推奨 400GB |
  
行 94: 行 94:
  
 ^ Software ^ Requirements ^| ^ Software ^ Requirements ^|
-^Operating System | RedHat Enterprise (RHEL) 9 \\ Rocky Linux 9 . \\ RedHat Enterprise (RHEL) 8 (**recommended**). \\ Rocky Linux 8. \\ RedHat Enterprise (RHEL) 7.X . \\ Ubuntu Server 22.04 (version 766 or later): for stand alone nodes only, **Command Center** (Metaconsole) environments must be fully installed on RHEL 8 / Rocky Linux 8 (**recommended**) or failing that, RHEL 7. **In Ubuntu Server 22.04 installations on servers without internet connection are not supported.** ||+^Operating System | RedHat Enterprise (RHEL) 9 \\ Rocky Linux 9 . \\ RedHat Enterprise (RHEL) 8 (**recommended**). \\ Rocky Linux 8. \\ Ubuntu Server 22.04 (version 766 or later): for stand alone nodes only, **Command Center** (Metaconsole) environments must be fully installed on RHEL 8 / Rocky Linux 8 (**recommended**). **In Ubuntu Server 22.04 installations on servers without internet connection are not supported.** ||
 | ::: |Windows Server (2003 or higher) SLES 11 SP1 or higher OpenSUSE 11.X or higher Debian 5, 6, 7 or higher Ubuntu Server 21 or higher Ubuntu Desktop FreeBSD 9.X or higher Solaris 10/OpenSolaris |** Pandora FMS does not officially support these platforms.** | | ::: |Windows Server (2003 or higher) SLES 11 SP1 or higher OpenSUSE 11.X or higher Debian 5, 6, 7 or higher Ubuntu Server 21 or higher Ubuntu Desktop FreeBSD 9.X or higher Solaris 10/OpenSolaris |** Pandora FMS does not officially support these platforms.** |
 ^Permissions |**Server** Pandora FMS Server must be installed as **root** or with **root** permissions (user //sudoer//). In the installation a user called ''pandora'' is created, assigned to the **root** group, which later can be changed, taking into account that you should reconfigure the [[en:documentation:pandorafms:technical_reference/09_tentacle#gnu_linux_tentacle_user_s_guide|Tentacle server]]. \\ It is also possible to install and run as a non-root user, being a special and different procedure, more information on this [[##installation_with_a_non-privileged_user|link]]. \\ **Console** In order to use the console from any web browser, Apache must have read and execute permissions on the Console files. Additionally, the ''config.php'' file must have ''600'' permissions (read and write for ''administrator/root''). In turn, it is necessary to have write permissions in the server directory: ''/var/spool/pandora/'' **Software Agent** -Linux®: The Pandora FMS Server Software Agent must be executed as permissions as root in order to have all the agent's functionalities, although it is also possible to run it with other permissions. -MS Windows®: The Pandora FMS Server Software Agent must be executed with administrator permissions. || ^Permissions |**Server** Pandora FMS Server must be installed as **root** or with **root** permissions (user //sudoer//). In the installation a user called ''pandora'' is created, assigned to the **root** group, which later can be changed, taking into account that you should reconfigure the [[en:documentation:pandorafms:technical_reference/09_tentacle#gnu_linux_tentacle_user_s_guide|Tentacle server]]. \\ It is also possible to install and run as a non-root user, being a special and different procedure, more information on this [[##installation_with_a_non-privileged_user|link]]. \\ **Console** In order to use the console from any web browser, Apache must have read and execute permissions on the Console files. Additionally, the ''config.php'' file must have ''600'' permissions (read and write for ''administrator/root''). In turn, it is necessary to have write permissions in the server directory: ''/var/spool/pandora/'' **Software Agent** -Linux®: The Pandora FMS Server Software Agent must be executed as permissions as root in order to have all the agent's functionalities, although it is also possible to run it with other permissions. -MS Windows®: The Pandora FMS Server Software Agent must be executed with administrator permissions. ||
 ^Console | PHP 8.2 → For versions of Pandora FMS 776 or later. \\ PHP 8 → For versions of Pandora FMS 760 to 775. \\ PHP 7.4 → For Pandora FMS versions 759 to 767. \\ PHP 7.2 → For Pandora FMS versions from 729 to 758. || ^Console | PHP 8.2 → For versions of Pandora FMS 776 or later. \\ PHP 8 → For versions of Pandora FMS 760 to 775. \\ PHP 7.4 → For Pandora FMS versions 759 to 767. \\ PHP 7.2 → For Pandora FMS versions from 729 to 758. ||
-^Browsers |Microsoft Edge®. Opera web browser®. Google Chrome®Mozilla Firefox® ||+^Browsers |Google Chrome®\\ Mozilla Firefox® \\ Opera web browser®. \\ Microsoft Edge®. ||
 | ::: |Mozilla Firefox® and Google Chrome® are recommended to make use of interactive graphics and network maps. || | ::: |Mozilla Firefox® and Google Chrome® are recommended to make use of interactive graphics and network maps. ||
  
 ^ソフトウエア  ^要件  ^| ^ソフトウエア  ^要件  ^|
-^OS| RedHat Enterprise (RHEL) 9 \\ Rocky Linux 9 . \\ RedHat Enterprise (RHEL) 8 (**推奨**) \\ Rocky Linux 8 \\ RedHat Enterprise (RHEL) 7.X (Enterprise のみ)  \\ Ubuntu Server 22.04 (バージョン NG 766 以降): **Enterprise 版** では単一ノードのみ。メタコンソールは、RHEL 8 / Rocky Linux 8 (**推奨**) または RHEL 7 にインストールする必要があります。**Ubuntu Server 22.04 へのインストールではインターネットに接続していない環境には対応していません。** ||+^OS| RedHat Enterprise (RHEL) 9 \\ Rocky Linux 9 . \\ RedHat Enterprise (RHEL) 8 (**推奨**) \\ Rocky Linux 8 \\ Ubuntu Server 22.04 (バージョン NG 766 以降): 単一ノードのみ。**コマンドセンター** (メタコンソールは、RHEL 8 / Rocky Linux 8 (**推奨**) にインストールする必要があります。**Ubuntu Server 22.04 へのインストールではインターネットに接続していない環境には対応していません。** ||
 | ::: |Windows Server (2003 以上) \\ SLES 11 SP1 or 以上  \\ OpenSUSE 11.X 以上 \\ Debian 5, 6, 7 以上 \\ Ubuntu Server 21 以前 \\ Ubuntu Desktop \\ FreeBSD 9.X 以上 \\ Solaris 10/OpenSolaris  |**Pandora FMS は、これらの環境は公式サポートしていません。** | | ::: |Windows Server (2003 以上) \\ SLES 11 SP1 or 以上  \\ OpenSUSE 11.X 以上 \\ Debian 5, 6, 7 以上 \\ Ubuntu Server 21 以前 \\ Ubuntu Desktop \\ FreeBSD 9.X 以上 \\ Solaris 10/OpenSolaris  |**Pandora FMS は、これらの環境は公式サポートしていません。** |
 ^権限  |**サーバ**: Pandora FMS サーバは、**root** として、または **root** 権限 (//sudoer//) でインストールする必要があります。インストール時に、''pandora'' というユーザが作成され、**root** グループに割り当てられます。このユーザは、後で [[ja:documentation:pandorafms:technical_reference:09_tentacle#gnu_linux_tentacle_ユーザガイド|Tentacle サーバ]] を再設定する必要がある場合などに変更できます。\\ 非 root ユーザとしてインストールおよび実行することも可能ですが、これに特別な別の手順があります。詳細については、この [[#非特権ユーザでのインストール|リンク]] を参照してください。 \\ **コンソール**: コンソールを任意の Web ブラウザから利用できるようにするには、Apache がコンソールファイルに対する読み出し、実行できる必要があります。 加えて、''config.php'' ファイルは ''600'' パーミッションである必要があります(administrator/root に対する読み書き)。 サーバディレクトリ ''/var/spool/pandora'' への書き込み権限が必要です。 \\ **ソフトウエアエージェント**: -Linux: エージェントの全機能を利用するためには、Pandora FMS ソフトウエアエージェントは root 権限で実行する必要があります。ただし、他の権限で実行させることもできます。 -Windows: Pandora FMS ソフトウエアエージェントは、administrator 権限で実行する必要があります。  || ^権限  |**サーバ**: Pandora FMS サーバは、**root** として、または **root** 権限 (//sudoer//) でインストールする必要があります。インストール時に、''pandora'' というユーザが作成され、**root** グループに割り当てられます。このユーザは、後で [[ja:documentation:pandorafms:technical_reference:09_tentacle#gnu_linux_tentacle_ユーザガイド|Tentacle サーバ]] を再設定する必要がある場合などに変更できます。\\ 非 root ユーザとしてインストールおよび実行することも可能ですが、これに特別な別の手順があります。詳細については、この [[#非特権ユーザでのインストール|リンク]] を参照してください。 \\ **コンソール**: コンソールを任意の Web ブラウザから利用できるようにするには、Apache がコンソールファイルに対する読み出し、実行できる必要があります。 加えて、''config.php'' ファイルは ''600'' パーミッションである必要があります(administrator/root に対する読み書き)。 サーバディレクトリ ''/var/spool/pandora'' への書き込み権限が必要です。 \\ **ソフトウエアエージェント**: -Linux: エージェントの全機能を利用するためには、Pandora FMS ソフトウエアエージェントは root 権限で実行する必要があります。ただし、他の権限で実行させることもできます。 -Windows: Pandora FMS ソフトウエアエージェントは、administrator 権限で実行する必要があります。  ||
行 179: 行 179:
 Pandora FMS をインストールする**前に**、動作する MySQL サーバが必要です。 MySQL サーバーと同時に Pandora FMS をインストールする場合は、MySQL を起動して root でアクセスできる設定をする必要があります。 Pandora FMS をインストールする**前に**、動作する MySQL サーバが必要です。 MySQL サーバーと同時に Pandora FMS をインストールする場合は、MySQL を起動して root でアクセスできる設定をする必要があります。
  
-   - Start with **systemd**: ''systemctl start mysql'' (alternatively you can use ''/etc/init.d/mysql start'').+   - Start with **systemd**: ''systemctl start mysql''.
    - Set the password for the admin user **root**: ''mysqladmin password < password >''. This password will be requested throughout the installation process.    - Set the password for the admin user **root**: ''mysqladmin password < password >''. This password will be requested throughout the installation process.
  
-   - **systemd** での起動: ''systemctl start mysql'' (''/etc/init.d/mysql start'' でも可能です)+   - **systemd** での起動: ''systemctl start mysql''
    - 管理者ユーザ **root** のパスワードを設定: ''mysqladmin password < password >'' このパスワードは、インストールプロセス全体を通じて必要です。    - 管理者ユーザ **root** のパスワードを設定: ''mysqladmin password < password >'' このパスワードは、インストールプロセス全体を通じて必要です。
 +
 +<wrap #ks1_8_2 />
  
 === Pandora FMS のインストール順 === === Pandora FMS のインストール順 ===
行 246: 行 248:
 オペレーティングシステムとしては **Red Hat (RHEL)** を推奨しますが、**Rocky Linux**、**AlmaLinux**、**Ubuntu** も公式にサポートされています ([[#最低ソフトウエア要件|最低ソフトウエア要件を参照]])。 オペレーティングシステムとしては **Red Hat (RHEL)** を推奨しますが、**Rocky Linux**、**AlmaLinux**、**Ubuntu** も公式にサポートされています ([[#最低ソフトウエア要件|最低ソフトウエア要件を参照]])。
  
-The minimum hardware requirements for this installation are: 1 core, 2 gigabytes of RAM and 20 gigabytes of free disk space, preferably a Solid State Drive (SSD). +To properly size the monitoring environment we recommend going to the [[#ks1_2|section of minimum hardware requirements]].
- +
-インストールの最小ハードウェア要件は、1コア、2ギガバイトの RAM、および 20ギガバイトの空きディスクで、できれば SSD です。+
  
-These requirements are the minimum installation requirements, to properly size the monitoring environment we recommend going to the [[#ks1_2|section of minimum hardware requirements]].+監視環境のサイズを適切に決定するには、[[#ks1_2|最小ハードウェア要件のセクション]] を参照することをお勧めします。
  
-これらの要件は最小インストール要件です。監視環境のサイズを適切に設定するには、[[#ks1_2|必要最低ハードウエアスペック]] を確認することをお勧めします。+<wrap #ks1_9_1_1 />
  
 == オンラインインストールツールを利用する場合の要件 == == オンラインインストールツールを利用する場合の要件 ==
行 313: 行 313:
  
 == RHEL および Rocky Linux 向けのカスタムパラメータ == == RHEL および Rocky Linux 向けのカスタムパラメータ ==
 +
 +<WRAP center round info 90%>
 +
 +\\ 
 +
 +This tool can be requested [[https://pandorafms.com/en/free-trial/|through from this link]] for get a free trial (demo).
 +
 +\\ 
 +
 +</WRAP>
 +
 +<WRAP center round info 90%>
 +
 +\\ 
 +
 +このツールは、[[https://pandorafms.com/en/free-trial/|こちらのリンクから]]リクエストして無料トライアルを受けることができます。
 +
 +\\ 
 +
 +</WRAP>
  
   * **TZ**: Defines the [[https://en.wikipedia.org/wiki/Time_zone|time zone]] of the machine, default is ''Europe/Madrid''.   * **TZ**: Defines the [[https://en.wikipedia.org/wiki/Time_zone|time zone]] of the machine, default is ''Europe/Madrid''.
行 350: 行 370:
   * **PANDORA_LTS**: 主な不具合修正をした安定版である長期サポート版(LTS)をインストールします。デフォルトでは有効(''PANDORA_LTS=1'') です。ゼロに設定すると、最新の通常のローリングリリース版(RRR)をインストールします。   * **PANDORA_LTS**: 主な不具合修正をした安定版である長期サポート版(LTS)をインストールします。デフォルトでは有効(''PANDORA_LTS=1'') です。ゼロに設定すると、最新の通常のローリングリリース版(RRR)をインストールします。
  
-To use these environment variables just define them before executing the installation script, for example, in an installation in **RHEL 8**  with defined variables, execute the block:+To use these environment variables, it is enough to define them before executing the installation script, **for example**, in an installation in **EL 9** with defined variables, execute the block:
  
-これらの環境変数の使用は、インストールスクリプトを実行する前にそれらを定義するだけです。たとえば、変数を定義しての **RHEL 8**  でインストールでは次のように実行します。+これらの環境変数の使用は、インストールスクリプトを実行する前にそれらを定義するだけです。たとえば、変数を定義しての **EL 9**  でインストールでは次のように実行します。
  
 <code> <code>
行 367: 行 387:
   SKIP_DATABASE_INSTALL=0 \   SKIP_DATABASE_INSTALL=0 \
   SKIP_KERNEL_OPTIMIZATIONS=0 \   SKIP_KERNEL_OPTIMIZATIONS=0 \
-  PANDORA_SERVER_PACKAGE="https://firefly.pandorafms.com/pandorafms/latest/RHEL_CentOS/pandorafms_server-7.0NG.noarch.rpm"+ PANDORA_AGENT_PACKAGE="https://firefly.pandorafms.com/pandorafms/latest/pandorafms_one_agent_linux_bin-latest.el9.x86_64.rpm" \
-  PANDORA_CONSOLE_PACKAGE="https://firefly.pandorafms.com/pandorafms/latest/RHEL_CentOS/pandorafms_console-7.0NG.noarch.rpm"+
-  PANDORA_AGENT_PACKAGE="https://firefly.pandorafms.com/pandorafms/latest/RHEL_CentOS/pandorafms_agent_linux-7.0NG.noarch.rpm" \+
   PANDORA_BETA=0 \   PANDORA_BETA=0 \
   PANDORA_LTS=1 \   PANDORA_LTS=1 \
行 375: 行 393:
  
 </code> </code>
 +
 +<wrap #ks1_9_1_4 />
  
 == Ubuntu Server 向けのカスタムパラメータ == == Ubuntu Server 向けのカスタムパラメータ ==
行 682: 行 702:
   * **powershell** がインストールされている   * **powershell** がインストールされている
  
-Execute the following commands in a terminal window with Powershell and with administrator permissions:+Run the following commands in a terminal window with PowerShell and with administrator permissions (**administrator**):
  
 Powershell と administrator 権限を使用して、ターミナルウィンドウで次のコマンドを実行します。 Powershell と administrator 権限を使用して、ターミナルウィンドウで次のコマンドを実行します。
  
-<code> +<code powershell
-Invoke-WebRequest -Uri https://firefly.pandorafms.com/pandorafms/latest/Windows/Pandora%20FMS%20Windows%20Agent%20v7.0NG.x86_64.exe -OutFile ${env:tmp}\pandora-agent-windows.exe; & ${env:tmp}\pandora-agent-windows.exe /S --ip [PANDORASERVER IP or NAME] --group [GROUPNAME] --remote_config 1+Invoke-WebRequest -Uri https://firefly.pandorafms.com/pandorafms/LTS/PandoraFMS_One_Agent_Windows-lts.x86_64.exe -OutFile ${env:tmp}\pandora-agent-windows .exe; & ${env:tmp}\pandora-agent-windows.exe /S --ip [PANDORASERVER IP or NAME] --group [GROUPNAME] --remote_config 1
  
 </code> </code>
行 700: 行 720:
 </code> </code>
  
 +<wrap #ks1_10 />
  
 ==== パッケージインストール ==== ==== パッケージインストール ====
行 731: 行 752:
 ==== Pandora FMS のアンインストール ==== ==== Pandora FMS のアンインストール ====
  
-=== CentOS または RHEL での Pandora FMS のアンインストール ===+=== RHEL での Pandora FMS のアンインストール ===
  
 以下のコマンドを実行するだけです。 以下のコマンドを実行するだけです。
  
 <code> <code>
-yum remove pandorafms_console pandorafms_server+dnf remove pandorafms_console pandorafms_server
  
 </code> </code>
行 745: 行 766:
  
 <code> <code>
-yum remove pandorawmic+dnf remove pandorawmic
  
 </code> </code>
行 754: 行 775:
  
 <code> <code>
-yum remove Percona-Server*+dnf remove Percona-Server*
  
 </code> </code>
 +
 +<wrap #ks1_12 />
  
 ==== カスタムインストール ==== ==== カスタムインストール ====
行 764: 行 787:
 It will be necessary to install all dependencies installed depending of the OS, and then download the files in **tarball**  format (''.tar.gz'',''.tgz''  or ''.tar.bz2'') and unzip them. To do it, locate the latest version of Pandora FMS and download the files from here: It will be necessary to install all dependencies installed depending of the OS, and then download the files in **tarball**  format (''.tar.gz'',''.tgz''  or ''.tar.bz2'') and unzip them. To do it, locate the latest version of Pandora FMS and download the files from here:
  
-OS に応じてすべての依存ファイルをインストールしてから、**tarball** 形式のファイル(.tar.gz、tgz、または .tar.bz2)をダウンロードして解凍する必要があります。 それには、以下から Pandora FMS の最新バージョンを見つけてダウンロードします。+OS に応じてすべての依存ファイルをインストールしてから、**tarball** 形式のファイル(''.tar.gz''''tgz''、または ''.tar.bz2'')をダウンロードして解凍する必要があります。 それには、以下から Pandora FMS の最新バージョンを見つけてダウンロードします。
  
 <WRAP center round download 60%> <WRAP center round download 60%>
行 899: 行 922:
  
 <code> <code>
-/etc/init.d/pandora_server restart+systemctl restart pandora_server
  
 </code> </code>
  • ja/documentation/pandorafms/installation/01_installing.1719469935.txt.gz
  • 最終更新: 2024/06/27 06:32
  • by junichi