Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Tip

With Insights v10.0, we are moving away from using Apache Tomcat to serve the application. Going forward, PlatformService will use embedded tomcat and run as a JAR application and UI will be run as Node.js application using ExpressJS. Follow the below steps to Migrate to Insights v10.0.

For fresh installation skip STEP 1 and start from STEP 2.

STEP 1:

Disabling Apache Tomcat:

Expand
titleRHEL/CentOS/Amazon Linux:
  1. cd /etc/init.d/

  2. service [Tomcat servicename] stop

  3. rm [Tomcat servicename]

...

Expand
titleUbuntu
  1. systemctl stop [Tomcat servicename]

  2. systemctl disable [Tomcat servicename]

STEP 2:

Installing & Running PlatformService & UI:

...

Expand
titleWINDOWS:

PlatformService:

  1. Inside Insights_Windows/Server2/Configs/ folder create a new folder named PlatformServiceService.

  2. Download the PlatformService.jar file from the GitHub repository into the Service folder. [PlatformService-10.0.jar]

  3. Rename PlatformService-[VERSION].jar to PlatformService.jar.Open a command prompt from this folder and run “java -jar PlatformService.jar

  4. Download the PlatformServiceSetup.bat file from the GitHub repository [PlatformServiceSetup.bat]

  5. Run the PlatformServiceSetup.bat file to setup UI as a windows service this will create a service named InSightsService.

  6. Start the InSightsService service.

UI:

  1. Visit Nodejs.org/en/download and download and install node.js [14.20.x or 16.13.x or 18.10.x]

  2. Download and extract the contents of PlatformUI4-[VERSION].zip.

  3. Copy the UI folder into the Insights_Windows/Server2/Configs/ folder.

  4. Open a command prompt from the UI folder and run “npm install”.

  5. Download the InsightsUISetup.bat file from the GitHub repository [InsightsUISetup.bat]

  6. Run the “InsightsUISetup.bat” file to setup UI as a windows service.

  7. Start the InsightsUI service.

...

Starting / Restarting / Stopping PlatformService:

Expand
titleRHEL 8:
Code Block
service Insights_Service { start | restart | stop }
Expand
titleRHEL 7:
Code Block
service Insights_Service { start | restart | stop }

Starting / Restarting / Stopping UI:

Expand
titleRHEL 8:
Code Block
service Insights_UI  { start | restart | stop }

...