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.
Prerequisites
Internet Connectivity ServiceOps requires Internet connectivity for the following purposes:
- For updating the Patch Vulnerability from Central Patch Repository.
- For downloading patches from the third-party application website.
Proxy settings will be needed to be configured for production patch management, as direct Internet connectivity will not be available.
Storage As a part of Patch Management, the File Server needs to be installed. It is used for maintaining the downloaded patch and pushing them to the managed clients. As a part of maintenance, space availability check and old data clean up needs to be performed.
For Linux Patch Management, the following URLs must be accessible:
- ServiceOps patchcentral url: https://patchcatalog.motadataserviceops.com/
- centos.download.alternative.urls: http://centos.mirrors.estointernet.in
- centos.download.base.url: https://mirror.esecuredata.com/centos
- centos.download.urls: http://centos.mirrors.estointernet.in,http://mirror.centos.org/centos
- ubuntu.download.urls: http://in.archive.ubuntu.com
- debian.download.urls: http://ftp.us.debian.org/debian/
- opensuse.download.urls: https://download.opensuse.org
- redhat.download.urls: https://cdn.redhat.com/
noteTo sync the Ubuntu and Mint OS Patches with the Central Repository, kindly upgrade the server to the latest ServiceOps v8.5.0. Backward compatibility is not supported.
Here, Patch for ServiceOps can be divided in two different ways:
- Front-End Patch
- Back-End Patch
- 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
Step 3: Run the executable Patch package file using the below command:
./frontend\_patch
Step 4: After applying the patch successful, check nginx service status using the below command:
systemctl status nginx
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.
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
Step 3: Run the executable Patch package files using the below command:
./main\_server\_patch
./discovery\_service\_patch
./cm-analytics\_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