Motadata Docs

Patch Installation

A patch is a piece of software designed to update a Computer program and its supporting data. Basically it is used for improvement the existing working capability and performance of any software of application. Fixing Patch includes fixing security vulnerabilities and other bugs which is usually called as bug fixes

Here, we can divide Patch for ServiceOps in two different ways:

  1. Front-End Patch
  2. Back-End Patch

Notes:

  • Patch fix can be applied for the same version of ServiceOps only. For example. ServiceOps 1.0 patch cannot be applied to ServiceOps 1.1.
  • Please Use Sudo command or Root User for execution.

Front-End Patch

Step 1: Download the file in the ServiceOps Main Server.

Step 2: Provide the execution permission to the file using the below command:
chmod 777 frontend_patch

Permission
Permission

Step 3: Run the executable Patch package file using the below command:
./frontend_patch

Execute Patch
Execute Patch

Step 4: After applying the patch successful, check nginx service status using the below command:
systemctl status nginx

Status
Status

Back-End Patch

As a part of Back-End patch there are in total 3 files which needs to be executed for a successful operation.

Note: If both the Frontend and Backend patches are to be applied at the same time, initially you need to apply the Frontend Patch and later apply the Backend Patch.

Step 1: Download the file in the ServiceOps Main Server.

Step 2: Provide the execution permission to the files using the below commands:
chmod 777 main_server_patch
chmod 777 discovery_service_patch
chmod 777 cm-analytics_patch

Permission
Permission
Permission
Permission
Permission
Permission

Step 3: Run the executable Patch package files using the below command:
./main_server_patch
./discovery_service_patch
./cm-analytics_patch

Execute Patch
Execute Patch
Execute Patch
Execute Patch
Execute Patch
Execute Patch

Step 4: After applying the patch successful, check the status of services using below commands:
systemctl status ft-main-server
systemctl status ft-discovery-service
systemctl status ft-analytics-server

Status
Status
Status
Status
Status
Status