Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
TetraWiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
GSTN - Satelite As Build Document
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===== 1.8. Rollback Management of patches ===== The recommended way to do a rollback is to use the Red Hat Network/Satellite provisioning module and snapshot capabilities. Snapshots are captured whenever an action takes place on a system. These snapshots identify groups, channels, packages, and configuration files. Once Snapshot configuration are created and tagged , Snapshot rollback at the time of rollback decision needs to be followed . It is also possible to rollback the patches to previous version via cli tool on the RHEL systems via Yum . YUM has downgrade option to manage the rollback. Rollback is not the default feature of satellite 6 but we can perform this task with the help of yum and satellite remote command execution feature.Below are the procedure of patch deployment and rollback. '''a. '''Login in to satellite Web UI with login credentials as like below. '''b. '''Go to <span style="color:#333333;">Host -> Content Hosts as like below screenshot.</span> [[Image:SATESATE4.png]] '''c.''' Select the host on which you want to apply patches. [[Image:SATESATE5.png]] '''d.''' Select the errata (Patch ) type Eg. Security. [[Image:SATESATE6.png]] '''e. '''Select the method by which you want to apply patches. There are three types of method available for applying patches. * Katello Agent. * Remote execution. * Remote execution with seculing and repetition. [[Image:SATESATE7.png]] '''f.''' It will give you message like patch deployment was fail or pass as below excution is successful. [[Image:SATESATE8.png]] '''Patch Rollback.''' '''a. '''Now go to host > All host and select the host on which you want to patch to be rollback.Select Run Job like below. [[Image:SATESATE9..png]] '''b. '''Type “yum history” on command section and click on submit button. [[Image:SATESATE10.png]] '''c.''' Go to Job Task > Sub tasks and select the last task , like below screenshots. [[Image:SATESATE11.png]] [[Image:SATESATE12.png]] [[Image:SATESATE13.png]] '''d.'''Grep the ID of the patch which you performed. [[Image:SATESATE14.png]] '''e. '''Go to Monitor > Jobs > Run Jobs like below, [[Image:SATESATE15.png]] '''f.''' Enter system name(From which you want to patch rollback ) in search query, on command section type, <nowiki># yum history undo yum_id -y </nowiki> and enter on submit button . [[Image:SATESATE16.png]] '''g.''' If success comes means patch has rolled back successfully. You can also varify this from Yum history. [[Image:SATESATE17.png]] Note: yum history undo will require access to all the previous RPM version; thus, need to ensure the older RPM versions are available to the system. It is recommended that prior to doing updates, you closely inspect the output of package-cleanup --orphans to know what currently installed RPMs are no longer available in the enabled repositories. This should not be a concern if using the standard RHEL repositories provided by Red Hat as multiple versions of RPM are maintained in these locations.
Summary:
Please note that all contributions to TetraWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
TetraWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)