NetBackup IT Analytics 安装和升级指南 (Linux)

Last Published:
Product(s): NetBackup IT Analytics (11.3)
  1. 安装概述
    1.  
      简介
    2.  
      NetBackup IT Analytics 组件
    3.  
      标准版或服务共享版许可证
    4.  
      安装选项
    5.  
      多语言支持和区域设置注意事项 (Linux)
    6.  
      支持的第三方产品和开源产品
  2. 在 Linux 服务器上安装 NetBackup IT Analytics
    1.  
      步骤 1:获取 NetBackup IT Analytics 许可证密钥文件
    2.  
      步骤 2:门户和数据库部署策略
    3.  
      步骤 3:门户和数据库前提条件
    4. 步骤 4:安装 Oracle 数据库应用程序二进制文件 (Linux)
      1.  
        在分离式体系结构部署的现有 Oracle 场中创建数据库和用户
    5.  
      步骤 5:安装门户应用程序二进制文件 (Linux)
    6.  
      步骤 6:启动门户服务 (Linux)
    7.  
      步骤 7:登录门户
    8.  
      步骤 8:安装许可证
    9. 验证当前许可证配置
      1.  
        运行“许可证概要表”报告
      2.  
        关于 NetBackup IT Analytics 版本和许可证
      3.  
        查看许可证详细信息
    10. 后续步骤
      1.  
        对数据库执行冷备份
      2.  
        建议的数据库备份过程
  3. 在 Linux 上升级 NetBackup IT Analytics 门户
    1.  
      概述
    2.  
      升级路径
    3.  
      升级之前
    4. 升级 NetBackup IT Analytics 门户
      1.  
        升级共享服务环境
      2.  
        运行升级实用程序安装程序 (Linux)
      3.  
        已知问题
      4.  
        运行升级实用程序
      5.  
        升级后
      6.  
        升级用于合并企业对象的方法
      7. 门户升级期间的属性合并
        1.  
          门户升级期间的属性管理
        2.  
          合并属性值的示例
        3.  
          重命名重复属性的步骤
        4.  
          适用于多租户环境中属性的最佳做法
    5. 数据收集器升级
      1.  
        必要前提条件
    6.  
      故障排除 - 数据收集器手动升级
    7.  
      解决 Linux 上 Data Collector 升级管理器升级失败和收集器捆绑包下载失败问题
    8.  
      从 NetBackup IT Analytics 门户更新收集器
  4. 升级并迁移到新服务器
    1. 升级并迁移到新服务器
      1.  
        在新服务器上安装最新版本的 NetBackup IT Analytics
      2.  
        在现有服务器上执行数据库导出
      3.  
        在新服务器上停止门户和代理服务
      4.  
        在新服务器上删除并重新创建现有门户用户
      5.  
        将数据库导入到新服务器
      6.  
        在新服务器上启动门户和代理服务
      7.  
        下载、安装并执行以对数据库架构进行升级
    2.  
      测试
    3.  
      更新数据收集器二进制文件(如有必要)
  5. 附录 A. X 虚拟帧缓冲器
    1.  
      配置 X 虚拟帧缓冲器 (Xvfb)
  6. 附录 B. 数据库服务器的 Oracle 修补程序
    1. 应用 Oracle 19c 2024 年 7 月修补程序
      1.  
        安装前设置
      2.  
        OPatch 安装步骤
      3.  
        安装 Oracle 修补程序
      4.  
        验证数据库和 OJVM 修补程序
      5.  
        验证 JDK 版本更新

步骤 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 二进制文件的同一台服务器上安装门户应用程序二进制文件

要在安装 Oracle 的位置安装门户二进制文件,请执行以下操作:

  1. 在要安装 NetBackup IT Analytics 门户的服务器上,以 root 身份登录。通常,这也是安装 Oracle 二进制文件的服务器。
  2. 装入下载的 ISO 映像。
    mkdir /mnt/diska
    mount -o loop <itanalytics_installer_xxxxx_linux.iso> /mnt/diska

    在上述命令中替换下载的 ISO 文件的相关名称。

  3. 启动安装程序:
    /mnt/diska/Itanalyticsinstaller.sh
  4. 确定要部署的门户服务器配置。

    确认是否希望当前服务器充当门户 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.3 
    ****************************************************************
    Revision 11.3.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)?
  5. 输入 y 以确认已装入安装程序 ISO。
    IT Analytics ISO:  IT Analytics Portal Software
    Do you have this ISO (y/n)?
  6. 此时将显示最终用户授权许可协议 (EULA)。键入 accept(全部小写),然后按 Enter
  7. 输入域名。

    必须记下该域值,因为在安装从企业服务器收集数据的 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

  8. 验证门户的系统 IP 地址。
    Enter IP Address for itanalyticsportal.yourdomain: (N.N.N.N)
  9. 确认输入的 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)?
  10. 确认自动对 /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)?
    
  11. 选择是否运行数据库创建脚本。这样可避免以后手动运行 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)?
  12. 指定您的选择后,请按 Enter

    无论为数据库架构指定了何种选择,均会安装 Java 和 Apache 软件组件。此安装过程中将安装 Tomcat Java Servlet Engine,执行此安装可能需要 1-2 分钟。

    这样就完成了 NetBackup IT Analytics 门户的安装。如果在上述过程中尚未安装数据库架构,请参见安装数据库架构

在与 Oracle 应用程序二进制文件部署位置不同的计算机上安装门户二进制文件

要在与 Oracle 应用程序二进制文件部署位置不同的主机上安装门户应用程序二进制文件,请执行以下操作:

  1. 在要安装 NetBackup IT Analytics 门户的服务器上,以 root 身份登录。这与安装 Oracle 二进制文件的服务器不同。
  2. 装入下载的 ISO 映像。
    mkdir /mnt/diska
    mount -o loop <itanalytics_installer_xxxxx_linux.iso> /mnt/diska

    在上述命令中替换下载的 ISO 文件的相关名称。

  3. 启动安装程序:
    /mnt/diska/Itanalyticsinstaller.sh
  4. 确定要部署的门户服务器配置。

    确认是否希望当前服务器充当门户 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.3 
    ****************************************************************
    Revision 11.3.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)?
  5. 输入 y 以确认已装入安装程序 ISO。
    IT Analytics ISO: IT Analytics Portal Software
    Do you have this ISO (y/n)?
  6. 此时将显示最终用户授权许可协议 (EULA)。键入 accept(全部小写),然后按 Enter
  7. 输入 NetBackup IT Analytics 门户安装位置的绝对路径。
    Enter the absolute installation path of IT Analytics Portal on this system. (Default install location: /opt):
  8. 提供 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 listener port. (Default Oracle listener port: 1521):
  9. 验证 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 LISTENER PORT: xxx
    Continue?  (y/n)
  10. 输入域名。

    必须记下该域值,因为在安装从企业服务器收集数据的 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

  11. 验证门户的系统 IP 地址。
    Enter IP Address for itanalyticsportal.yourdomain: (N.N.N.N)
  12. 确认输入的 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)?
  13. 确认自动对 /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)?
    
  14. 选择是否运行数据库创建脚本。这样可避免以后手动运行 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)?
  15. 指定您的选择后,请按 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>