Patching the Solaris OS Using Sun Ops Center 2.5Shanthi Srinivasan and Laura Hartman; October 2009 Contents:
This article describes the methods to patch the Solaris Operating System (Solaris OS) using Sun Ops Center. Ops Center enables you to patch the following operating systems:
This article describes how to patch the Solaris OS. For other operating systems, refer to the Ops Center Documentation. Sun Ops Center and PatchingOps Center offers comprehensive data center management software for the physical and virtual systems in your data center. This software enables you to provision, patch, virtualize, manage, and monitor the assets in your data center from a single browser user interface (BUI). Patch management can be a complex and time-consuming process. Ops Center is designed to help manage the complexity, standardize the installation process, minimize downtime, and help you to keep your systems current. With the remote management capabilities, you can access a consolidated view of the assets in your data center from a single user interface. Some of the tasks that Ops Center can help with include:
This article provides an overview of the OS update profiles and policies, system catalogs, compliance reports, and the methods that you can use to manage and update your Solaris software with Ops Center. Sun Ops Center ArchitectureOps Center has a three-tier architecture as shown in the illustration. ![]() Figure 1: Architecture
The Enterprise Controller is the central server that consolidates the management systems. This is where you manage the connected systems using the browser user interface. The Enterprise Controller has Internet access and is connected to Sun Knowledge Services. Sun Knowledge Services provides information about available patches, patch dependencies, and patch compatibility rules. When you want to download and install any patch, the Enterprise Controller checks with the knowledge base for patch dependencies and compatibility rules. For example, suppose you need to install patch A, and patch B should also be installed with patch A. Then Ops Center suggests that you download and install patch B along with patch A. By default, the Enterprise Controller is in connected mode and has Internet access to download the patches from different software vendors such as Red Hat and SUSE. Solaris OS patches are available from the SunSolve web site. You need to configure and provide authentication in Ops Center to download the patches. If your data center environment does not allow Internet access, you can use the Ops Center in disconnected mode. In disconnected mode, the Enterprise Controller is not connected to the Internet. Ops Center provides an option to manually upload all content, such as patches, to the Enterprise Controller. To download the patches and packages, you must run the harvester script on a system outside the data center that has Internet access. Save the downloaded information to a portable media device, such as a CD or DVD, and bring it in to your data center for manual upload. Refer to Updating in Disconnected Mode for more information about the harvester script. Another option is to run your Enterprise Controller in semi-disconnected mode until you need to download patches or packages. You can change the Enterprise Controller's connection mode to Connected in order to download the required patches and packages, and then change back to the disconnected mode. Understanding Profiles, Policies, and CatalogsOps Center provides OS Update Profiles and Policies, System Catalogs, and Reports that help to create OS Update jobs.
It is assumed that you have a fair understanding of your data center to devise an effective patch management plan to create profiles and policies. Methods of Patching the Solaris OSIn Ops Center, you have different methods by which you can patch a Solaris release. In this article, it is assumed that the Enterprise Controller is in connected mode. The methods of patching will remain the same even in disconnected mode, provided that the latest patch information is manually uploaded onto the Enterprise Controller. You can use the following methods to patch the Solaris OS using Ops Center:
The different methods to update an OS are illustrated in the following figure. Alternate Boot EnvironmentApart from these methods, Ops Center also provides Solaris Live Upgrade technology to apply patches to a duplicate, inactive boot environment. This reduces the amount of downtime required to update your Solaris software and enables you to fully test the update before introducing it in your production environment. When you are satisfied with the update, you can switch boot environments and deploy the updated boot environment. The downtime is essentially the time it takes to reboot into the new environment. You must have a boot environment (BE) and an alternate boot environment (ABE) in order to use this method of patching. You can use an ABE that was created outside of Ops Center, but the preferred method is to create the ABE with Ops Center. Refer to Updating With Solaris Live Upgrade for the complete procedures for creating an ABE, supported OS versions, and the requisites for creating and patching the ABE. Creating a Customized Update JobTo create a customized update job, you should have the following information:
Use the following procedure to create an update job:
Depending on the policy, the update job proceeds to download and install the patches. You can refer to detailed information about update jobs at Creating a Solaris OS Update job. View the status of an update job in the Jobs section. For more information on managing update jobs, see Job Management. System CatalogsIn Ops Center, you can create catalogs, modify a catalog, compare two catalogs, and create a profile from a catalog. A catalog provides an inventory list of components installed on your system. You can create a profile from a catalog. This helps to create systems with desired components quickly and effortlessly for production. You can modify a catalog to install or uninstall a patch quickly. You are not required to create profiles and policies to modify a catalog. Modifying a catalog is an alternate option for running an OS update job to install, uninstall, or upgrade a component. Modifying a catalog is a quick way of changing the component configuration in a system. You can compare two system catalogs for the differences in the installed components. You can also compare the current system catalog and saved snapshots of the same managed host to examine the difference in the components that were installed and uninstalled after executing a job. Refer to Catalogs in Ops Center Documentation for detailed information and procedures for creating, modifying, and comparing system catalogs. ReportsIn Ops Center, you can generate a variety of reports, which helps to check for new patches and security advisories. For the Solaris OS, you can generate the following reports to check for different types of compliance status:
You can run any compliance report for a Solaris release and update to the latest version of patches and packages by launching a compliance job from the report result. This article explains only the Baseline Analysis Report in detail. Refer to Ops Center Documentation for more information about other reports. Baseline Analysis ReportsYou can create a Baseline Analysis Report (BAR) based on the Solaris baselines. Depending on the report results, you can create compliance jobs to install or uninstall a patch. Solaris BaselinesA baseline is a dated collection of patches, patch meta data, and tools. Sun releases baselines for the Solaris OS on a monthly basis. When you install the patches of a baseline on a host, the host is considered compliant with that baseline. Using baselines enables you to easily check the patch level of your hosts. For example, to easily learn the patch level of your hosts, install some test hosts with a particular baseline. Test these hosts for a period of time to check if the patches in the baseline are stable enough to be used on your production hosts. If the testing reveals that the baseline is stable, you can install the same baseline that you tested on your production hosts. Each dated baseline contains these three patch sets:
Note - The Full baseline often contains Solaris OS patches that are not included in the Recommended baseline. The Full baseline includes additional patches based on feedback from various customer support groups within Sun. All baselines include patches for a specific time. To install the Recommended and Security baselines, you either need to deploy two jobs, or run a job that includes multiple tasks. Black Lists and White ListsYou can modify a baseline to create a custom patch set by using black lists and white lists. A black list is a list of patch IDs that should not be installed on a managed system. You build a black list by creating a policy with the specified action for the patches. You can select a black list option when you create a Baseline Analysis Report. Select the black list either from the created policy or as a text file that you can create. In the text file, enter the patch IDs separated by new lines. If a particular patch in the profile is set with the policy component setting as Never for install action, then the patch will not be installed. If the patch is already installed, it will not be uninstalled or removed. A white list is a list of patch IDs that should be installed on a managed system. For a white list, create a profile using the Required setting. You can also specify a white list when generating a Baseline Analysis report. Select the white list either from the created profile or as a text file that you can create. In the text file, enter the patch IDs separated by new lines. The required patches will be installed. Types of Baseline Analysis ReportYou can generate two types of BAR reports:
Creating a Baseline Analysis ReportThe Baseline Analysis Report provides information about the hosts that are compliant with a baseline OS. Perform the following steps to create a Baseline Analysis Report:
Updating Solaris ZonesOps Center enables you to update the global and non-global zones of your Solaris systems. The installation of the patches and packages on the zones depend on the following package parameters:
The values that you set for these parameters determine whether a package is installed on global zones or non-global zones. The value of the parameters can be set to true or false. The following list shows how the package parameter values affect the installation of the packages on the non-global zones:
In Ops Center, the installation of the patches and packages is implemented with
the Installing or removing the patches with the SummarySun Ops Center helps you to determine whether systems are up-to-date and choose the right patches to be applied. Ops Center provides a centralized, intelligent patching solution for distributed data centers. It automates the patching of the Solaris OS, which can increase the availability and utilization of systems and minimize downtime. These capabilities lead to better management of your data center. For More InformationHere are additional resources. Solaris OS Resources
Sun Virtualization Resources
General Sun Links
Comments (latest comments first)Discuss and comment on this resource in the BigAdmin Wiki
Unless otherwise licensed, code in all technical manuals herein (including articles, FAQs, samples) is provided under this License. |
BigAdmin SubscriptionsBigAdmin Areas
BigAdmin Sun Center
BigAdmin Topics | ||||