We have RHEL - Red Hat Enterprise Linux Servers (VMs) in a typical 3 tier landscape ie - Sandbox/Dev, Quality and Prod. During the initial build of the servers back in early 2018, I created the Sandbox/Dev VM from scratch, updated all the packages (yum-update) and then created a template out of this VM. I used the same template for creating the Quality and Prod VMs and just changed hostnames and IP address etc. thus all the VMs were identical.
Recently I upgraded OS from Rhel 7.4 to 7.5 on Sandbox/Dev and then ran (yum update) to update the packages. The system is under testing by end users for the applications that run on it.
I'll be performing OS upgrade on the Quality server after a couple of weeks and on Production Server next month. Now my question is, how do I maintain the same version of packages on Quality & Production server.
Eg: libstdc++-4.8.5-28.el7_5.1.x86_64 is 4.8.5-28 after running the yum-update.How do I get the same version for Quality and Production even if there is a new version -let's say 4.8.6 out there. How do I get this for all the packages installed on my system? I mean I want all the packages in all the 3 servers to be on same version.
Please help and advice.