5.13.2 Configure DSR Reference Data Synchronization for iDIH

This procedure configures DSR reference data synchronization for iDIH. This is an optional procedure.
  1. Log in to iDIH Application server.
    1. Establish an SSH session to the iDIH Application server.
    2. Log in as the admusr user.
    3. Issue the following command to log in as a tekelec user.
      $ sudo su - tekelec
  2. Run configuration script in iDIH Application server.
    1. Run the following script using SOAM VIP address:
      Apps/trda-config.sh

      Note:

      The SO IP address to be used here is the internal xmi address of the SO and not the floating-ip or external address (if used any).
      Example output:
      corsair-app:/usr/TKLC/xIH apps/trda-config.sh
      dos2unix: converting file
      /usr/TKLC/xIH/bea/user_projects/domains/tekelec/nsp/trace-refdata-ad
      Please enter DSR oam server IP address: 10.240.39.175
      SQL*Plus: Release 12.1.0.2.0 Production on Thu Oct 1 15:04:40 2015
      Copyright (c) 1982, 2014, Oracle.  All rights reserved.
      Last Successful login time: Thu Oct 01 2015 13:27:57 -04:00
      Connected to:
      Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
      With the Partitioning, Automatic Storage Management, OLAP, Advanced Analytics and Real Application Testing options
      SQL> SQL>   2    3    4    5
      1 row merged.
      SQL>
      Commit complete.
      SQL> Disconnected from Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Produ
      With the Partitioning, Automatic Storage Management, OLAP, Advanced Analytics and Real Application Testing options
      Buildfile: /usr/TKLC/xIH/apps/trace-refdata-adapter/build.xml
      app.disable:
      common.weblogic.stop:
           [echo]
           [echo]
           [echo]
      ==========================================================
           [echo] application: xihtra
           [echo] date:    2015-10-01  15:04:41
           [echo]
      ==========================================================
           [echo] === stop application  EAR
           [echo] date:    2015-10-01   15:04:41
           [java] weblogic.Deployer invoked with options:  -adminurl t3://appserver:7001 -userconfigprojects/domains/tekelec/keyfile.secure -name xIH Trace Reference Data Adapter -stop
           [java] <Oct 1, 2015 3:05:08 PM EDT> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating
           [java] Task 24 initiated: [Deployer:149026]stop application xIH Trace Reference Data Adap
           [java] Task 24 completed: [Deployer:149026]stop application xIH Trace Reference Data Adap
           [java] Target state: stop completed on Server nsp
           [java]
      BUILD SUCCESSFUL
      Total time: 29 seconds
      Buildfile: /usr/TKLC/xIH/apps/trace-refdata-adapter/build.xml
      app.enable:
      common.weblogic.start:
           [echo]
           [echo]
           [echo]
      ==========================================================
           [echo] application: xihtra
           [echo] date:    2015-10-01   15:05:10
           [echo]
      ==========================================================
           [echo] === start application    EAR
           [echo] date:    2015-10-01      15:05:10
           [java] weblogic.Deployer invoked with options: -adminurl t3://appserver:7001 -userconfigprojects/domains/tekelec/keyfile.secure -name xIH Trace Reference Data Adapter -start
           [java] <Oct 1, 2015 3:05:56 PM EDT> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating
           [java] Task 25 initiated: [Deployer:149026]start application xIH Trace Reference Data Ada
           [java] Task 25 completed: [Deployer:149026]start application xIH Trace Reference Data Ada
           [java] Target state: start completed on Server nsp
           [java]
      BUILD SUCCESSFUL
      Total time: 1 minute 17 seconds
    2. When asked to enter DSR OAM server IP address, type the VIP of the DSR SOAM (or active DSR SOAM if VIP is not available) and click Enter.

      Note:

      If the address typed is unreachable, the script exits with error Unable to connect to <ip-address>!
  3. Monitor completion in iDIH Application server.
    1. Monitor the log file located at:
      /var/TKLC/xIH/log/apps/weblogic/apps/application.log
    2. Examine the log file for entries containing text Trace Reference Data Adapter.
  4. In iDIH Application server, switch iDIH from one DSR to another DSR in a different network.

    Note:

    This is an optional step which is needed to switch an IDIH from one DSR to another DSR in a different network.
    1. Establish an SSH session to the iDIH Application server.
    2. Log in as the tekelec user.
    3. Run the following commands:
      cd /usr/TKLC/xIH/apps/trace-refdata-adapter
      ant clean.data
      cd /usr/TKLC/xIH/apps/xihoam
      ant imp.init (flush comagent connection data)
      cd /usr/TKLC/xIH/apps/trace-refdata-adapter
      ant app.enable (Sync MOs from SOAM)
      cd /usr/TKLC/xIH/apps
      ./trda-config.sh <DSR SOAM VIP in different network>