Appling same errata in prod and dev
Let me start by confessing that I'm pretty new to satellite. We are currently running 5.4.1 which is supporting about 90 systems. We have provisoning entitlements on all systems. While we try to keep our dev and prod environments the same they are not 100% identical. And to add to the complication some of our more critical systems will be be patched in dev at least a month before we are able to patch production. I should mention that, until now, we've never patched our redhat systems. We update them once they are built but there is a fearful attitude in our organization about patching and breaking ERP systems. Now that I've fussed at 'em enough that they'll let me patch, I need to be able to make sure that I'm only appling errata in production that have already been applied and tested in dev.
I know there's documentation out there somewhere that covers this topic but I'm having a hard time finding it. Any ideas, suggestion are links to documentation would be greatly appreciated.
Responses
Hi Charles,
I manage a similar amount of RedHat servers (using RHN 5.7) and also have 25+ RHEL Oracle ERP servers in prod and test.
Our users also require that the same updates are applied to test 1st then live.
To that end I use the spacewalk command to take a snapshot of the updates applied to a particular point in time or if you have just patched the test env, take an image on the base channel as of now to use on live when you're ready.
spacewalk-clone-by-date --channel=rhel-x86_64-server-5 ERP-pre-rhel5.11-x86_64-server-5 --username --to_date=2015-08-05
Password: ******
Reading repository information.
By continuing the following channels will be created:
ERP-pre-rhel5.11-x86_64-server-5
Continue with channel creation (y/n)?y
Cloning rhel-x86_64-server-5 to ERP-pre-rhel5.11-x86_64-server-5 with original package set.
Copying repodata, please wait.
Solving Dependencies (2850):
################################## - complete
Processing Dependencies:
################################## - complete
Using issue_date
By continuing the following will be cloned:
rhel-x86_64-server-5 -> ERP-pre-rhel5.11-x86_64-server-5 (2988/2996 Errata)
Continue with clone (y/n)?y
Cloning Errata into ERP-pre-rhel5.11-x86_64-server-5 (2988):
################################## - complete
Copying repodata, please wait.
Solving Dependencies (13243):
################################## - complete
Processing Dependencies:
################################## - complete
#
Then assign all your live ERP servers to this new base channel
Kind Regards
Jonathan
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
