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

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

prodname
Teradata Ecosystem Manager
vrm_release
16.20
created_date
December 2020
category
Configuration
Installation
featnum
B035-3203-107K
Follow these steps to run EM Client as a non-root user. You must run emmonitor 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-16.20.xx.xx-1.x86_64.rpm

    rpm -ivh em-agent-16.20.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 for errors.