NetBackup IT Analytics 安装和升级指南 (Linux)
- 安装概述
- 在 Linux 服务器上安装 NetBackup IT Analytics
- 在 Linux 上升级 NetBackup IT Analytics 门户
- 升级并迁移到新服务器
- 附录 A. X 虚拟帧缓冲器
- 附录 B. 数据库服务器的 Oracle 修补程序
步骤 5:安装门户应用程序二进制文件 (Linux)
本部分介绍了如何安装门户应用程序二进制文件。安装标准版 NetBackup IT Analytics 时,将门户二进制文件和 Oracle 数据库二进制文件安装在同一服务器上,这是最常用的安装方式。如果安装的是服务共享版,可以将 Oracle 安装在门户服务器上(推荐),也可以将 Oracle 安装在门户服务器以外的服务器上。在门户服务器之外的服务器上安装 Oracle 称为“分离式体系结构安装”。
门户二进制文件通常与 Oracle 数据库二进制文件一起安装在同一服务器上。在某些情况下,可以指定单独的服务器。
门户的绝对安装路径用 <install_path>
表示。将 <install_path>
替换为门户或 Oracle 数据库安装的绝对路径(如适用)。如果 Oracle 或门户安装在默认路径下,则替换为默认路径 /opt
。
NetBackup IT Analytics 门户安装程序 ISO(从下载站点获取)
将安装门户二进制文件的服务器的 IP 地址
Oracle 服务器的 IP 地址
Oracle 服务器侦听程序端口号
要在安装 Oracle 的位置安装门户二进制文件,请执行以下操作:
- 在要安装 NetBackup IT Analytics 门户的服务器上,以 root 身份登录。通常,这也是安装 Oracle 二进制文件的服务器。
- 装入下载的 ISO 映像。
mkdir /mnt/diska
mount -o loop <itanalytics_installer_xxxxx_linux.iso> /mnt/diska
在上述命令中替换下载的 ISO 文件的相关名称。
- 启动安装程序:
/mnt/diska/Itanalyticsinstaller.sh
- 确定要部署的门户服务器配置。
确认是否希望当前服务器充当门户 Web 服务器。输入 y 继续执行操作。
A complete log of this session is in this file <install_path>/aptare/logs/install/Itanalyticsinstaller_xxxx.log **************************************************************** NetBackup IT Analytics Installer Vers 11.6 **************************************************************** Revision 11.6.xx.xxxxxxxxxxxxxxxxxx build xxxxxxxx-xxxx NetBackup IT Analytics requires a Web Server and a Database server. They can be on separate machines or on same machine. This script will only install the Web Server components. Will this machine be the Web Server (y/n)?
- 输入 y 以确认已装入安装程序 ISO。
IT Analytics ISO: IT Analytics Portal Software Do you have this ISO (y/n)?
- 此时将显示最终用户授权许可协议 (EULA)。键入 accept(全部小写),然后按 Enter。
- 输入域名。
必须记下该域值,因为在安装从企业服务器收集数据的 Data Collector 组件期间,系统会要求提供该值。
从此处开始,yourdomain 代表您的完整域名,包括其后缀,如 .com 或 .net。(示例:companyabc.com 将表示为 yourdomain。)
注意:
在此处输入的域名值决定了用于登录 NetBackup IT Analytics 门户的 URL。例如,如果输入 companyabc.com,门户 URL 将为 http://itanalyticsportal.companyabc.com。
We need to configure machine names and IP addresses for the Portal, Agent, and database server. The portal and agent machines will be called itanalyticsportal.yourdomain and itanalyticsagent.yourdomain Enter your domain name: (yourdomain)
确保括号中显示的域名正确无误,然后按下 Enter。
- 验证门户的系统 IP 地址。
Enter IP Address for itanalyticsportal.yourdomain: (N.N.N.N)
- 确认输入的 IP 地址
You have entered: Hostname IP Address itanalyticsportal.yourdomain N.N.N.N itanalyticsagent.yourdomain N.N.N.N database server N.N.N.N Is this correct (y/n)?
- 确认自动对
/etc/hosts
进行的更改。These names will be set up in /etc/hosts. You can remove the entries and add them to your local DNS later. Would you like to add them to /etc/hosts (y/n)?
- 选择是否运行数据库创建脚本。这样可避免以后手动运行 create_itanalytics_database.sh 这一步骤。
You can create the Database schema as a part of this installation or create it later using create_itanalytics_database.sh script. Do you want to create the Database schema as a part of this installation (y/n)?
- 指定您的选择后,请按 Enter。
无论为数据库架构指定了何种选择,均会安装 Java 和 Apache 软件组件。此安装过程中将安装 Tomcat Java Servlet Engine,执行此安装可能需要 1-2 分钟。
这样就完成了 NetBackup IT Analytics 门户的安装。如果在上述过程中尚未安装数据库架构,请参见安装数据库架构。
在不同系统上部署 Oracle 二进制文件时,请确保已在现有 Oracle 场中创建了数据库和用户。
请参见在分离式体系结构部署的现有 Oracle 场中创建数据库和用户。
要在与 Oracle 应用程序二进制文件部署位置不同的主机上安装门户应用程序二进制文件,请执行以下操作:
- 在要安装 NetBackup IT Analytics 门户的服务器上,以 root 身份登录。这与安装 Oracle 二进制文件的服务器不同。
- 装入下载的 ISO 映像。
mkdir /mnt/diska
mount -o loop <itanalytics_installer_xxxxx_linux.iso> /mnt/diska
在上述命令中替换下载的 ISO 文件的相关名称。
- 启动安装程序:
/mnt/diska/Itanalyticsinstaller.sh
- 确定要部署的门户服务器配置。
确认是否希望当前服务器充当门户 Web 服务器。输入 y 继续执行操作。
A complete log of this session is in this file /<install_path>/aptare/logs/install/aptareInstaller_xxxxxxxxxx.log **************************************************************** * NetBackup IT Analytics Intaller Vers 11.6 **************************************************************** Revision 11.6.xx.xxxxxxxxxxxxxxxxxx build xxxxxxxx-xxxx NetBackup IT Analytics requires a Web Server and a Database server. They can be on separate machines or on same machine. This script will only install the Web Server components. Will this machine be the Web Server (y/n)?
- 输入 y 以确认已装入安装程序 ISO。
IT Analytics ISO: IT Analytics Portal Software Do you have this ISO (y/n)?
- 此时将显示最终用户授权许可协议 (EULA)。键入 accept(全部小写),然后按 Enter。
- 输入 NetBackup IT Analytics 门户安装位置的绝对路径。
Enter the absolute installation path of IT Analytics Portal on this system. (Default install location: /opt):
- 提供 Oracle 服务器的 IP 地址、SID、服务名称和侦听程序端口号。
Oracle 19c Database server is not available on this system. Enter the following details of the database deployed on remote system. Oracle database server IP address: Oracle database SID (Default Oracle SID: scdb): Oracle database Service name (Default Oracle Service name: scdb): Oracle database listener port. (Default Oracle listener port: 1521):
- 验证 Oracle 数据库服务器详细信息。
The following details will be used to connect Oracle server, please verify: ORACLE SERVER IP ADDRESS: N.N.N.N ORACLE SID: xxx ORACLE SERVICE NAME: xxx ORACLE LISTENER PORT: xxx Continue? (y/n)
- 输入域名。
必须记下该域值,因为在安装从企业服务器收集数据的 Data Collector 组件期间,系统会要求提供该值。
从此处开始,yourdomain 代表您的完整域名,包括其后缀,如 .com 或 .net。(示例:companyabc.com 将表示为 yourdomain。)
注意:
在此处输入的域名值决定了用于登录 NetBackup IT Analytics 门户的 URL。例如,如果输入 companyabc.com,门户 URL 将为 http://itanalyticsportal.companyabc.com。
We need to configure machine names and IP addresses for the Portal, Agent, and database server. The portal and agent machines will be called itanalyticsportal.yourdomain and itanalyticsagent.yourdomain Enter your domain name: (yourdomain)
确保括号中显示的域名正确无误,然后按下 Enter。
- 验证门户的系统 IP 地址。
Enter IP Address for itanalyticsportal.yourdomain: (N.N.N.N)
- 确认输入的 IP 地址。
You have entered: Hostname IP Address itanalyticsportal.yourdomain N.N.N.N itanalyticsagent.yourdomain N.N.N.N database server N.N.N.N Is this correct (y/n)?
- 确认自动对
/etc/hosts
进行的更改。These names will be set up in /etc/hosts. You can remove the entries and add them to your local DNS later. Would you like to add them to /etc/hosts (y/n)?
- 选择是否运行数据库创建脚本。这样可避免以后手动运行 create_itanalytics_schema_objects.sh 这一步骤。
You can create the Database schema as a part of this installation or create it later using create_itanalytics_database.sh script. Do you want to create the Database schema as a part of this installation (y/n)?
- 指定您的选择后,请按 Enter。
无论为数据库架构指定了何种选择,均会安装 Java 和 Apache 软件组件。此安装过程中将安装 Tomcat Java Servlet Engine,执行此安装可能需要 1-2 分钟。
这样就完成了 NetBackup IT Analytics 门户的安装。如果在上述过程中尚未安装数据库架构,请参见安装数据库架构。
可以使用此命令在相同或不同计算机上的门户和 Oracle 安装中安装数据库架构。
以 Oracle 用户身份登录门户服务器并运行以下命令:
su - aptare <mount-point>/create_itanalytics_schema_objects.sh -h <Oracle database server IP address> -p <Oracle database listener port>