Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 2. Applying patches to systems in the Red Hat Hybrid Cloud Console
The Red Hat Insights patch application supports scheduled patching cycles. You can create a patch template to update a group of systems in a test environment, and use the same patch template to update systems in a production environment on a different day.
2.1. How patch templates work
The Red Hat Insights patch application supports scheduled patching cycles. You can create a patch template to update a group of systems in a test environment, and use the same patch template to update systems in a production environment on a different day.
Use patch templates to enter criteria that limit the scope of advisories that apply to your systems. For example, you can create a template to show only applicable advisories that were published up to the date of your current patching cycle. After you create the template, use the wizard to add systems and select the date of the patching cycle. When you have finished adding systems to the patch template, you can remediate all the installable advisories for the selected group of systems.
If a system already has a patch template applied, applying a different patch template overrides the existing template. A system can only have one patch template at a time.
For more information about remediations, see the Red Hat Insights Remediations Guide.
After you apply a patch template to the systems you assign, you will not see more recently published advisories that apply to those systems. Use Red Hat Hybrid Cloud Console notifications to ensure that you remain aware of newly published advisories that might affect your infrastructure.
For more information about notifications in the Red Hat Hybrid Cloud Console, see Configuring notifications on the Red Hat Hybrid Cloud Console.
Patch templates do not affect yum/dnf
operations on the host, but they allow you to refine your patch status reporting in Red Hat Insights. You can use the templates to create remediation playbooks for simple patch cycles.
2.2. Creating a patch template
You can create a patch template to limit the scope of advisories that apply to your systems. For example, you can ignore advisories that were published after the date of your current patching cycle.
Prerequisites
- You are logged into the Red Hat Hybrid Cloud Console as an Organization Administrator.
Procedure
- Use the left menu to navigate to Content > Patch > Templates.
- Click Create a template. The Create patch template wizard opens and displays the Create content template page.
- Click the date icon to select the Patch template date. The patch template applies advisories published up to the selected date. Click Next.
- Enter a unique name for the template in the Name field.
- Optional: Add a description for the template in the Description field.
- Click Next. The Apply to systems page displays.
- Optional: Select the systems that you want to assign to the template and click Next. The Review page displays.
- Review the template information. When you have finished reviewing, click Submit.
A few minutes after you have finished creating the template, the system updates its list of installable advisories. The update time depends on the number of systems in your installation.
Additional resources
- For more information about remediations, see the Red Hat Insights Remediations Guide.
2.3. Editing an existing patch template
Edit the patch template to update the patch template name or description, set a new date for your next patching cycle, or add or remove systems.
Prerequisites
- You have already created a patch template.
- You are logged into the Red Hat Hybrid Cloud Console as an Organization Administrator.
Procedure
- Use the left menu to navigate to Content > Patch > Templates. The list of available patch templates displays.
- Locate the patch template that you want to edit.
- Click the menu button on the far right side of the row that contains the template. A pop-up menu appears.
- Select Edit template. The Edit template wizard opens and displays the Edit content template page.
- Optional: Edit the patch template date. Click Next. The Edit template details page displays.
- Optional: Edit the template name and description. Click Next. The Apply to systems page displays.
- Add or remove systems assigned to the template and then click Next. The Review page displays.
- Review the updated template information. When you have finished reviewing, click Submit.
If you edited the patch template date or added or removed assigned systems from the template, the system updates its list of installable advisories within a few minutes. The update time depends on the number of systems in your installation.
2.4. Adding or removing systems from the patch template
To add systems to the patch template or to remove systems from the template, use the Edit template wizard.
Prerequisites
- You have already created a patch template.
- You are logged into the Red Hat Hybrid Cloud Console as an Organization Administrator.
Procedure
- Use the left menu to navigate to Content > Patch > Templates. The list of available patch templates displays.
- Locate the patch template that you want to edit.
- Click the menu button on the far right side of the row that contains the template. A pop-up menu appears.
- Select Edit template. The Edit template wizard opens and displays the Edit content template page.
- Optional: Edit the Patch template date.
- Click Next. The Edit template details page displays.
- Optional: Edit the template name and description.
- Click Next. The Apply to systems page displays.
- Add or remove systems assigned to the template and then click Next. The Review page displays.
- Review the updated template information. When you have finished reviewing, click Submit.
The system updates its list of installable advisories within a few minutes. The update time depends on the number of systems in your installation.
2.5. Applying an existing patch template to selected systems
You can apply an existing patch template to individual systems that you select from a list.
Prerequisites
- You have already created a patch template.
- You are logged into the Red Hat Hybrid Cloud Console as an Organization Administrator.
Procedure
- Use the left menu to navigate to Content > Patch > Systems. The list of available systems displays.
- Select a system or systems to which you want to apply the patch template.
- Click the More options menu beside the Remediate button and Export icon.
- Select Assign to a template. The Apply template dialog box displays.
- Click Select an existing template, and then select a template from the drop-down list.
- Click Apply template to apply the template to the selected systems.
The selected systems update within a few minutes. The update time depends on the number of systems in your installation.
2.6. Removing a patch template
You might want to remove a patch template if you want to assign a system or systems to a different patch template, or if you want the systems to receive patches and updates that have creation dates outside the boundaries of the current patch template.
Prerequisites
- You have already created a patch template.
- The template has systems assigned to it.
- You are logged into the Red Hat Hybrid Cloud Console as an Organization Administrator.
Procedure
- Use the left menu to navigate to Content > Patch > Templates. The list of available patch templates displays.
- Locate the patch template that you want to remove.
- Click the menu button on the far right side of the row that contains the template. A pop-up menu appears.
- Select Remove patch template.
A few minutes after you have removed the template, the system updates its list of installable advisories. The update time depends on the number of systems in your installation.
2.7. Applying a new patch template to selected systems
After you select individual systems from a list, you can create a new patch template to apply to the selected systems.
Prerequisites
- You have already created a patch template.
- You are logged into the Red Hat Hybrid Cloud Console as an Organization Administrator.
Procedure
- Use the left menu to navigate to Content > Patch > Systems. The list of available systems displays.
- Select a system or systems for which you want to create a new patch template.
- Click the More options (three dots) menu beside the Remediate button and the Export icon.
- Select Assign to a template. The Apply template dialog box displays.
- Click the Create button. The Create content template wizard opens and displays the Define template content page.
- Click the date icon. Select a date to apply all installable advisories published up to that date, and then click Next. The Details page displays.
- Enter a unique name for the template in the Name field.
- Optional: Add a description for the template in the Description field.
Click Next. The Apply to systems page appears, and shows the list of systems that you selected.
NoteIf a system already has an assigned patch template, the new patch template overrides the previous template.
- Click Next. The Review page displays.
- Review the template information. When you have finished reviewing, click Submit.
The selected systems update within a few minutes. The update time depends on the number of systems in your installation.
2.8. Removing a patch template from selected systems
You can select systems from a list and remove an applied patch template from those systems. Removing the template from the systems does not delete the template.
Prerequisites
- You have already created a patch template.
- The patch template has been applied to systems in your installation.
- You are logged into the Red Hat Hybrid Cloud Console as an Organization Administrator.
Procedure
- Use the left menu to navigate to Content > Patch > Systems. The list of available systems displays. The Template column in the list shows the systems that have applied patch templates, as well as the names of the templates.
- Select a system or systems for which you want to create a new patch template.
- Click the More options (three dots) menu beside the Remediate button and the Export icon.
- Select Remove from a template. The Remove systems from a patch template dialog box displays.
- Click the Remove button. A success message appears.
The selected systems show a status of No template in the Template column. The update time depends on the number of systems in your installation.