Walkthrough: Updating patches on Linux servers
This topic walks you through the process of using BladeLogic Portal to examine and correct deficiencies in the patch configuration of Red Hat Linux servers. This topic includes the following sections:
- Introduction
- What is patch analysis?
- What do I need to get started?
- How to update patches in a Linux environment
- Wrapping it up
- Where to go from here
The video at right demonstrates the process of updating Linux patches. The video was created using an earlier version of BladeLogic Portal, so you may detect minor differences in the user interface.
Introduction
The goal of this topic is to check the patch configuration of Red Hat servers by running a Patch Analysis operation based on collections of patches called patch catalogs.
When you run a Patch Analysis operation in BladeLogic Portal, you are essentially running a Patching Job in BMC BladeLogic Server Automation (BSA). However, the interface in portal is much simpler than in BSA. Generally, you can execute a portal operation with just a few clicks.
The procedure described below shows how to manage patch configurations on Linux. You can use the same basic procedure for Windows. Note that while this procedure is based on patch catalogs, you can also run a Patch Analysis operation based on an existing Patching Job that was defined in BSA.
What is patch analysis?
A Patch Analysis operation requires you to make a few simple choices. You choose the patches you want to analyze from a patch catalog and you select the target servers where the operation should run.
When you execute the Patch Analysis operation, it compares the patches you specify to the patches installed on target servers. If a target server does not have the correct version of a patch, the operation flags the deficiency.
You can correct the patch configuration of target servers by choosing the patches to be deployed and then automatically running a remediation job. It deploys the designated patches. No configuration is necessary for a remediation job.
Then, you can run the original Patch Analysis operation again to confirm that your target servers are now correctly patched.
What do I need to get started?
This procedure is based on patch catalogs that must be set up in BSA.
For this walkthrough, you need an account to access BladeLogic Portal. The account must have the necessary permissions to perform patch analysis.
How to update patches in a Linux environment
| Step | Example |
---|---|---|
1 | Select Create Operation > Patch Analysis. The Create Patch Analysis Operation wizard opens.
| |
2 |
| |
3 |
| |
4 | Select any patches or patch groups to include in the analysis by finding the appropriate row for each item and clicking Inc. You can expand each patch group to see its contents and select individual patches. You can also search for patches and select from the results. In this example, we include one patch group. | |
5 | Select any patches or patch groups to exclude by clicking Exc. In this example we exclude one patch group. Patch Analysis operations analyze patches by collecting an "include" list and then removing any patches from an "exclude" list. The contents of patch smart groups can change based on patch characteristics. It is possible for a patch to appear in both the include and the exclude list. If that occurs, the patch is not analyzed. Remember, the include list minus the exclude list yields the patches to be analyzed. | |
6 | Click Next to display the Targets page. Use this page to search or browse for targets. Select each target to include in the operation. In this example, we searched for clm-aus and then clicked on each target we wanted to select. | |
7 | Click Execute Now. The operation wizard closes. The operation appears on the home page and begins to execute. Optionally, you can use the wizard to define notifications and schedules but for this demonstration we skipped those steps.
| |
8 | When the operation is complete, click the Actions menu at right. Then select View Results. | |
9 | The results of the patch operation appear. Notice how one server is fully patched. | |
10 | Select the Actions icon. From the popup menu select Remediate All Patches For All Targets. | |
11 |
| |
12 | Click the Execute icon. The remediation operation begins to execute. When the remediation operation is complete, return to the home page. | |
13 | On the home page, run the original operation again by clicking the Execute icon. The Execute Operation dialog box opens. Select the same servers where you originally ran the Patch Analysis operation and click Execute.
| |
14 | When the operation completes, click View Results. On the results page, notice how all servers are fully patched, indicating the remediation action was successful. |
Wrapping it up
In this topic, you used BladeLogic Portal to run a Patch Analysis operation to identify patching deficiencies. You then ran a remediation operation to correct those deficiencies. Finally, you ran the Patch Analysis operation again to confirm that target servers were correctly patched.
Where to go from here
To learn more about patch analysis, see Creating-or-modifying-a-Patch-Analysis-operation.