Running Ecosystem Manager Client as a Non-Root User - Teradata Ecosystem Manager

Teradata Ecosystem Manager Installation, Configuration, and Upgrade Guide for Customers

Product
Teradata Ecosystem Manager
Release Number
15.11
Published
May 2016
Language
English (United States)
Last Update
2018-05-03
dita:mapPath
may1467305870890.ditamap
dita:ditavalPath
3203_ICUCustomer_em_1511.ditaval.ditaval
dita:id
B035-3203
lifecycle
previous
Product Category
Analytical Ecosystem
Follow these steps to run EM Client as a non-root user. You must run emmonitor and emmonitorrest as a root user.

Platforms: Linux and Redhat

  1. Uninstall any previous versions of EM Agent and EM Publisher packages.
  2. Log on to the system as a root user.
  3. Install EM Publisher and EM Agent packages in the /opt/teradata/client/em/ file: rpm -ivh em-publisher-15.11.xx.xx-1.x86_64.rpm

    rpm -ivh em-agent-15.11.xx.xx-1.x86_64.rpm

  4. Run the emserviceconfig.sh script: /opt/teradata/client/em/bin/emserviceconfig.sh
  5. Stop all the services: opt/teradata/client/em/bin/emstopall.sh
  6. [Optional] Create a group and a non-root user if needed. For example, groupadd admin or useradd -G admin nonroot
  7. Change user and group permissions for the following paths as a root user: /etc/opt/teradata/em

    /var/opt/teradata/em/files

    /var/opt/teradata/em/logs

    /opt/teradata/client/em/bin

    For example: chown -R nonroot:admin /etc/opt/teradata/em
  8. Log on as a non-root user.
  9. Start the empublisher and emcontrolagent services: /opt/teradata/client/em/bin/empublisher start

    /opt/teradata/client/em/bin/emcontrol start

  10. Check the /opt/teradata/client/em/logs/empublisher.log log files for errors.