16.00 - Updating empublisher File to Include SSL Options on the Ecosystem Manager Client - Teradata Ecosystem Manager

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

prodname
Teradata Ecosystem Manager
vrm_release
16.00
created_date
December 2016
category
Configuration
Installation
featnum
B035-3203-116K
Perform the following steps on the Ecosystem Manager Client and any other clients you are configuring with SSL.
  1. Change empublisher service start up script /opt/teradata/client/em/bin/empublisher to include SSL options.
  2. Make a copy of the existing file: cp "/opt/teradata/client/em/bin/empublisher "/opt/teradata/client/em/bin/empublisher.original
  3. Open the empublisher file and locate the following line in the function start:
     "nohup $JAVA -Dservice_name=empublisher $SERVICE_FLAGS -Djava.util.logging.config.file=$LOGGING_CONFIG -classpath $CLASSPATH_SERVICE $PUBLISHER_CLASS --threadPoolSize=$NUM_THREADS > $EM_HOME/logs/empublisher.log 2>&1 &"
  4. Change code to:
    “nohup $JAVA -Djavax.net.ssl.keyStore=/home/em/client.ks -
    Djavax.net.ssl.keyStorePassword=password -
    Djavax.net.ssl.trustStore=/home/em/client.ts -
    Dservice_name=empublisher $SERVICE_FLAGS -
    Djava.util.logging.config.file=$LOGGING_CONFIG -classpath
    $CLASSPATH_SERVICE $PUBLISHER_CLASS --threadPoolSize=$NUM_THREADS >
    $EM_HOME/logs/empublisher.log 2>&1 &”
    
  5. Copy $EM_HOME/conf/transport.properties to $EM_HOME/conf/transport.properties.original.
  6. Edit $EM_HOME/conf/transport.properties to change 61616 to 61617 and tcp to ssl.
  7. Stop and start the empublisher service: /etc/init.d/empublisher stop /etc/init.d/empublisher start
  8. Check the log file: tail -f /opt/teradata/client/em/logs/empublisher0_0.log
  9. Send a sample sendevent and check the EM repository or EM Explorer portlet to verify.