16.20 - 在 Linux(非 Teradata 受管)上安装 Ecosystem Manager 客户端软件包 - Teradata Ecosystem Manager

Teradata® Ecosystem Manager 安装、配置和升级指南(适用于客户)

prodname
Teradata Ecosystem Manager
vrm_release
16.20
category
安装
配置
featnum
B035-3203-107K-CHS
除了按照此处所述安装客户端软件包之外,Ecosystem Manager 还提供用于安装和配置某些类型的发布程序和代理客户端软件包的 REST API。如需参考,请转到:http://EM server host:port/swagger-ui.html#!/server-controller/updateServerUsingPUT。例如:http://wario:8090/swagger-ui.html#!/server-controller/updateServerUsingPUT。如需 API 示例,请参见:Teradata® Ecosystem Manager API 参考
  1. 如果未安装 JDK/JRE 1.8,请进行安装。
    1. 下载 teradata-jdk8__sles_x8664.1.8.0_xx-tdc2.tar.gz 软件包。
    2. 提取软件包:tar -xvf teradata-jdk8__sles_x8664.1.8.0_xx-tdc2.tar.gz
    3. 安装软件包:rpm -uvh teradata-jdk8-1.8.0_xx-tdc2.x86_64.rpm
  2. 将客户端软件包下载到服务器上的文件夹中
  3. 提取文件:tar -xvf em-publisher-linux64__linux_x86_64.16.20.xx.xx-1.tar.gz

    tar -xvf em-agent-linux64__linux_x86_64.16.20.xx.xx-1.tar.gz

  4. 找到以下 rpm 软件包:em-publisher-16.20.xx.xx-1.x86_64.rpm

    em-agent-16.20.xx.xx-1.x86_64.rpm

  5. 安装 /opt/teradata/client/em 文件中的 rpm 软件包。rpm -ivh em-publisher-16.20.xx.xx-1.x86_64.rpm

    rpm –ivh em-agent-16.20.xx.xx-1.x86_64.rpm

  6. 运行该脚本以配置 Ecosystem Manager 服务参数:/opt/teradata/client/em/bin/emserviceconfig.sh
    参数:
    • JRE HOME (1.8)
    • PRIMARY EM SERVER HOSTNAME(BROKER)
    • FAIL-OVER EM SERVER HOSTNAME(BROKER)
    • ECOSYSTEM ID
    • RESOURCE SUB-CATEGORY
    对于单系统环境,请对主服务器和故障转移服务器主机名参数使用相同的值。对于服务器,请使用下列值之一:
    说明
    RS 复制
    BI 商业智能
    BAR 备份、存档和还原
    LS 加载
    TD Teradata
    APP 应用程序
    ETL 提取/转换/加载
    BUS 消息总线
    Unknown 自注册
    USL Unity Source Link
    以下示例显示 svr1 和 svr2 用作 Ecosystem Manager 服务器,eco1 是 Ecosystem,APP 是资源子类别:

    /opt/teradata/client/em/bin/emserviceconfig.sh /usr/java/jre1.8.0_18 svr1 svr2 eco1 APP

    参数设置如下所示:

    参数 设置
    JRE HOME (1.8) /usr/java/jre1.8.0_18
    PRIMARY EM SERVER HOSTNAME(BROKER) svr1
    FAIL-OVER EM SERVER HOSTNAME(BROKER) svr2
    ECOSYSTEM ID eco1
    RESOURCE SUB-CATEGORY APP
  7. 禁用 TPT 操作元数据传递
  8. 检查 Ecosystem Manager 服务的状态:/opt/teradata/client/em/emstatus.sh
  9. 在 Linux 服务器上停止 Ecosystem Manager 服务:/opt/teradata/client/em/emstopall.sh
    如果 Data Mover 服务器上安装了 Linux 软件包,请重新启动两个 Data Mover 服务(守护程序和代理)进行集成。
  10. [可选] 对于 Red Hat 7.x,如果安装 em-publisher-16.20.12.xx-1.x86-64.rpm 或更高版本失败,请按照以下步骤进行操作。
    1. 验证是否显示以下错误消息:
      error: Failed dependencies:
              libc.so.6 is needed by em-publisher-16.20.12.00-1.x86_64
              libc.so.6(GLIBC_2.0) is needed by em-publisher-16.20.12.00-1.x86_64
              libc.so.6(GLIBC_2.1) is needed by em-publisher-16.20.12.00-1.x86_64
              libc.so.6(GLIBC_2.1.3) is needed by em-publisher-16.20.12.00-1.x86_64
              libc.so.6(GLIBC_2.2) is needed by em-publisher-16.20.12.00-1.x86_64
              libgcc_s.so.1 is needed by em-publisher-16.20.12.00-1.x86_64
              libgcc_s.so.1(GCC_3.0) is needed by em-publisher-16.20.12.00-1.x86_64
              libnsl.so.1 is needed by em-publisher-16.20.12.00-1.x86_64
              libstdc++.so.6 is needed by em-publisher-16.20.12.00-1.x86_64
              libstdc++.so.6(CXXABI_1.3) is needed by em-publisher-16.20.12.00-1.x86_64
              libstdc++.so.6(GLIBCXX_3.4) is needed by em-publisher-16.20.12.00-1.x86_64
              libstdc++.so.6(GLIBCXX_3.4.5) is needed by em-publisher-16.20.12.00-1.x86_64
              libuuid.so.1 is needed by em-publisher-16.20.12.00-1.x86_64
      
    2. 使用以下命令安装缺少的依赖项:
      yum install glibc.i686
      yum install glibc-devel.i686
      yum install libstdc++.i686
      yum install libuuid.i686
      yum install dos2unix
      
    3. 重新安装 em-publisher 软件包。
  11. [可选] 对于 SLES 12,必须在运行 /opt/teradata/client/em/bin/emserviceconfig.sh 之前运行命令 systemctl daemon-reload
    只需在首次运行 emserviceconfig.sh 时运行 systemctl daemon-reload 即可。