You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Setup

Software Requirement

  • JDK 11

Follow Steps below to install Java 11 on CentOS/linux.

    • Update before installing any new program
    • Install Java 11
    • Verify Java is Installed

Sample Output


CDROUTER Service Setup

For setting up the Scriptless Service of Automatics 3.0, clone the repo CDRouter Service . Once the repo is cloned, please follow the below steps,

  1. Use the command "mvn clean install" to build the .jar file of the CDRouter Service.
  2. Check whether the base URLs and values of Automatics Orchestration and CDRouter Service is added to the database. If not added, add it using 'AUTOMATICS_BASE_URL' , 'CDROUTERS', 'CDROUTER_SERVICE_BASE_URL' and  'CDROUTER_PAGINATION_LIMIT' as the config names in master_config table.  


    AUTOMATICS_BASE_URLBase URL of Automatics Orchestration Application
    CDROUTERSUrl of different CDRouters
    CDROUTER_PAGINATION_LIMITAdd the pagination value 
    CDROUTER_SERVICE_BASE_URLBase URL of CDRouter Service
  3. Copy the cdrouterservice-0.0.1-SNAPSHOT.jar of CDrouter Service to a folder in VM. Create a empty folder with the name as 'logs' outside the folder that contains the CDRouter service jar file using the command mkdir logs. Run the below command inside the folder that contains the CDRouter Service jar file to bring the CDrouter Service up in the server.

    nohup java -XX:+UseSerialGC -Dlog4j2.formatMsgNoLookups=true -jar rackdataservice-1.0.0.jar > logfile.log 2>&1 &
  4. A log file will be created in the logs folder with the name CDRouterService.log. We can check the real time logs of the CDRouter Service using this file. 
  • No labels