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 版本更新

步骤 4:安装 Oracle 数据库应用程序二进制文件 (Linux)

Oracle 安装程序要求具有 sydba 权限才能在其中创建数据库和用户。

本节将介绍:

  1. 安装的前提条件:

  2. 在 RHEL9 主机上安装二进制文件所需的 Oracle 修补程序

  3. Oracle 数据库应用程序二进制文件的安装:

  4. 安装 Oracle 数据库应用程序二进制文件后安装 Oracle 数据库。

前提条件
  • 最新版本的 Oracle 19c 安装程序二进制文件

  • Oracle 安装位置的绝对路径

  • 数据库安装位置的绝对路径

  • Oracle 服务 ID (SID)

  • 数据库服务器 IP

注意:

NetBackup IT Analytics 门户服务器不能安装任何其他 Oracle 数据库实例。

安装标准版 Oracle 数据库二进制文件

如果您计划将 Veritas 提供的 Oracle 与 NetBackup IT Analytics 一起使用且拥有标准版许可证,请按照此安装说明操作。

要安装标准版 Oracle 数据库二进制文件,请执行以下操作:

  1. 验证是否具有最新版本的 Oracle 19c 安装程序二进制文件。
  2. root 用户身份登录到将要安装 NetBackup IT Analytics 数据库的服务器。通常,这也是门户服务器。
  3. 将 ISO 映像置于 /mnt 目录中。
  4. 挂载您下载的 ISO 映像。
    mkdir /mnt/diskd
    mount -o loop <itanalytics_dbinstaller_XXXXX_XXX_linux.iso> /mnt/diskd

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

  5. 输入以下命令以启动安装程序:
    cd /
    /mnt/diskd/install_oracle.sh
    
  6. Enter 阅读完整的 EULA,然后开始准备接受。
    **************************************************************************
    *  NetBackup IT Analytics ORACLE Installer Version 19.3.x.x ()
    **************************************************************************
    To use this software you must agree to the following terms and
     conditions. Press ENTER to continue:
    Enter "accept" to accept these Terms and Conditions
    
    
  7. 输入要安装 Oracle 的目录的绝对路径,然后按 Enter 键。

    要在默认位置 (/opt) 安装 Oracle,只需按 Enter 键。

    Enter the absolute path to install the Oracle 19c database binaries. Ensure minimum 10.00 GB free space is available at the specified location. (Default install location: /opt):
  8. 输入要安装 Oracle 数据库的目录的绝对路径,然后按 Enter 键。

    要在默认位置 (/) 安装数据库,只需按 Enter 键。

    Enter the absolute path of the directory where Oracle 19c can create its database files. This directory must have minimum 110 GB free space and must have the ability to expand as required. (Default database location: /):
  9. 输入 Oracle SID,然后按 Enter 键。
    Enter the Oracle SID of the Oracle 19c database instance: (Default Oracle SID: scdb):
  10. 输入数据库服务器 IP,然后按 Enter 键。
    Enter IP Address for your database server: (N.N.N.N):
  11. 验证为 Oracle 安装输入的详细信息,然后输入 y 继续安装。
    The following details will be used for Oracle installation. Please verify:
    INSTALLATION PATH: /<install-path>
    DATABASE DIRECTORY PATH: /
    ORACLE SID: scdb
    DATABASE IP: N.N.N.N
    Continue?  (y/n)
  12. 在此步骤中,可以选择随 Oracle 的安装创建数据库,也可以稍后创建。输入 y 以安装数据库,否则在显示以下消息时输入 n
    Oracle Database xx.x.x is installed. Refer to the Oracle documentation and apply the latest Critical Patch Updates from Oracle.
    You can create the database as a part of this installation or create it later using create_itanalytics_database.sh script.
    Do you want to create the database as a part of this installation (y/n)?

至此,Oracle 安装完成。如果在上述 Oracle 安装期间未创建门户数据库,请参见安装 Oracle 后创建数据库。数据库创建对于成功安装门户至关重要。

安装服务共享版 Oracle 数据库二进制文件

如果您拥有已获许可的 Oracle 数据库且计划将其用作 NetBackup IT Analytics 数据库,请按照本安装说明进行操作。

安装的前提条件:

  • Oracle 下载中心下载 LINUX.X64_193000_db_home.zip

  • 标准版或企业版 Oracle 许可证。

  • 对于企业版许可证,必须将环境变量 ORACLE_LICENSE_OPTION 设置为 EE,并导出变量。

    export ORACLE_LICENSE_OPTION=EE

要安装服务共享版 Oracle 数据库二进制文件,请执行以下操作:

  1. 验证是否具有最新版本的 Oracle 19c 安装程序二进制文件。
  2. root 用户身份登录到将要安装 NetBackup IT Analytics 数据库的服务器。通常,这也是门户服务器。
  3. 将 ISO 映像置于 /mnt 目录中。
  4. 挂载您下载的 ISO 映像。
    mkdir /mnt/diskd
    mount -o loop <itanalytics_dbinstaller_shared-service_linux.iso> /mnt/diskd

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

  5. 输入以下命令以启动安装程序:
    cd /
    /mnt/diskd/install_oracle.sh
    
  6. Enter 阅读完整的 EULA,然后开始准备接受。
    
    **************************************************************************
    *  NetBackup IT Analytics ORACLE Installer Version 19.3.x.x ()
    **************************************************************************
    To use this software you must agree to the following terms and
     conditions. Press ENTER to continue:
    Enter "accept" to accept these Terms and Conditions
    
    
  7. 输入要安装 Oracle 的目录的绝对路径,然后按 Enter 键。

    要在默认位置 (/opt) 安装 Oracle,只需按 Enter 键。

    Enter the absolute path to install the Oracle 19c database binaries. Ensure minimum 10.00 GB free space is available at the specified location. (Default install location: /opt):
  8. 输入要安装 Oracle 数据库的目录的绝对路径,然后按 Enter 键。

    要在默认位置 (/) 安装数据库,只需按 Enter 键。

    Enter the absolute path of the directory where Oracle 19c can create its database files. This directory must have minimum 110 GB free space and must have the ability to expand as required. (Default database location: /):
  9. 输入 Oracle SID,然后按 Enter 键。
    Enter the Oracle SID of the Oracle 19c database instance: (Default Oracle SID: scdb):
  10. 输入数据库服务器 IP,然后按 Enter 键。
    Enter IP Address for your database server: (N.N.N.N):
  11. 验证为 Oracle 安装输入的详细信息,然后输入 y 继续安装。
    The following details will be used for Oracle installation. Please verify:
    INSTALLATION PATH: /<install-path>
    DATABASE DIRECTORY PATH: /
    ORACLE SID: scdb
    DATABASE IP: N.N.N.N
    Continue?  (y/n)
  12. 仅当在 RHEL9 主机上安装二进制文件时,才需要执行此步骤。安装程序会提示下载所需的 Oracle 二进制文件并提供其位置的绝对路径,如下所述。由于此要求已包含在本部分的前提条件中,您必须下载这些修补程序。

    安装数据库需要以下 Oracle 修补程序。(请从 Oracle 支持下载。)

    • 修补程序 35775632 (p35775632_190000_Linux-x86-64.zip)

    • 修补程序 6880880(选择 19.0.0.0.0 版本)(p6880880_190000_Linux-x86-64.zip)

    • 19.20 DBRU 修补程序 35320081 (p35320081_190000_Linux-x86-64.zip)

    • 19.20 DB MLR 35904951 (p35904951_1920000DBRU_Linux-x86-64.zip)

    aptare 用户必须对下载这些修补程序的目录具有写入访问权限。输入下载这些修补程序的绝对目录路径:

  13. 输入包含 Oracle Universal Installer zip 文件 LINUX.X64_193000_db_home.zip 的绝对目录路径,然后按 Enter 键。
  14. 在此步骤中,可以选择随 Oracle 的安装创建数据库,也可以稍后创建。输入 y 以安装数据库,否则在显示以下消息时输入 n
    Oracle Database xx.x.x is installed. Refer to the Oracle documentation and apply the latest Critical Patch Updates from Oracle.
    You can create the database as a part of this installation or create it later using create_itanalytics_database.sh script.
    Do you want to create the database as a part of this installation (y/n)?

    这就完成了 Oracle 在共享环境中的安装。如果在上述 Oracle 安装期间未创建门户数据库,请参见下面的安装 Oracle 后创建数据库。数据库创建对于成功安装门户至关重要。

安装 Oracle 后创建数据库

要在安装 Oracle 标准版或共享版后创建数据库,请执行以下操作:

  1. 使用 Oracle 凭据登录到 Oracle 服务器并运行以下命令:
    su - <oracle-user>

    示例:su - aptare

    /mnt/diskd/create_itanalytics_database.sh
  2. 键入 continue,并在看到以下消息时按 Enter 键。
    WARNING. WARNING. WARNING. 
    WARNING. WARNING. WARNING. 
    WARNING. WARNING. WARNING.
    By continuing this script you will be COMPLETELY ERASING YOUR ENTIRE IT Analytics database. ARE YOU ABSOLUTELY SURE that you wish to continue (type the word \continue\ to proceed) ?

    已在 Oracle 服务器上创建数据库。