In addition to installing the client package as described here, Ecosystem Manager provides a REST API for installation and configuration of certain types of publisher and agent client packages. For reference, go to: http://EM server host:port/swagger-ui.html#!/server-controller/updateServerUsingPUT. For example: http://wario:8090/swagger-ui.html#!/server-controller/updateServerUsingPUT. For API examples, see: Teradata® Ecosystem Manager API Reference.
-
Install JDK/JRE 1.8 if not installed.
- Download the teradata-jdk8__sles_x8664.1.8.0_xx-tdc2.tar.gz package.
-
Extract the package:
tar -xvf teradata-jdk8__sles_x8664.1.8.0_xx-tdc2.tar.gz
-
Install the package:
rpm -uvh teradata-jdk8-1.8.0_xx-tdc2.x86_64.rpm
- Download the Client Packages to a folder on the server.
-
Extract the files:
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
-
Locate the following rpm packages:
em-publisher-16.20.xx.xx-1.x86_64.rpm
em-agent-16.20.xx.xx-1.x86_64.rpm
-
Install the rpm packages in the /opt/teradata/client/em file.
rpm -ivh em-publisher-16.20.xx.xx-1.x86_64.rpm
rpm –ivh em-agent-16.20.xx.xx-1.x86_64.rpm
-
Run the script to configure the Ecosystem Manager services parameters:
/opt/teradata/client/em/bin/emserviceconfig.shParameters:
- JRE HOME (1.8)
- PRIMARY EM SERVER HOSTNAME(BROKER)
- FAIL-OVER EM SERVER HOSTNAME(BROKER)
- ECOSYSTEM ID
- RESOURCE SUB-CATEGORY
For single-system environments, use the same value for the Primary and Fail-Over Server Hostname parameters. For servers, use one of the following values:Value Description RS Replication BI Business Intelligence BAR Backup, Archive, and Restore LS Load TD Teradata APP Application ETL Extract/Transform/Load BUS Message Bus Unknown Self-registered USL Unity Source Link The following example shows svr1 and svr2 as Ecosystem Manager servers, eco1 is the ecosystem, and APP is the resource sub-category:/opt/teradata/client/em/bin/emserviceconfig.sh /usr/java/jre1.8.0_18 svr1 svr2 eco1 APP
This sets the parameters as follows:
Parameter Setting 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 - Disable TPT operational metadata delivery .
-
Check the status of the Ecosystem Manager services:
/opt/teradata/client/em/emstatus.sh
-
Stop the Ecosystem Manager Services on the Linux server:
/opt/teradata/client/em/emstopall.shIf the Linux package is installed on a Data Mover server, restart both Data Mover services (daemon and agent) for integration.
-
[Optional] For Red Hat 7.x, if the installation of em-publisher-16.20.12.xx-1.x86-64.rpm or later fails, follow these steps.
-
Verify the following error message appears:
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
-
Install the missing dependencies with these commands:
yum install glibc.i686 yum install glibc-devel.i686 yum install libstdc++.i686 yum install libuuid.i686 yum install dos2unix
- Re-install the em-publisher package.
-
Verify the following error message appears: