Patching Solaris Using Sun xVM Ops Center 1.1Shanthi Srinivasan, September 2008 This article describes the methods to patch Solaris Operating System using Sun xVM Ops Center 1.1. Use the Sun xVM Ops Center 1.1 to patch the following Solaris OS versions on different platforms:
Introduction to Solaris PatchesApplying patches and updating your systems to the latest version is a complex and time-consuming process. Applying patches involves verifying patches before and after installation. It also involves methods to determine which patches are installed across the data center. More time is required for installing patches and resolving any problems that might have been caused by the patch implementation. Sun tests patches extensively before releasing them, but every environment is unique. There are different patch conditions that exist for installing a patch. The following are examples of how patching conditions can vary:
Keeping track of all the conditions of patching gets complicated fast. Sun provides Sun xVM Ops Center 1.1 as one of the solutions for patching and updating the Solaris OS. Sun xVM Ops CenterSun xVM Ops Center is a highly scalable data center automation tool that provides discovery, provisioning, updates, and management of physical and virtualized assets in the Linux and Solaris platforms on the x86 and SPARC environments. xVM Ops Center enables you to manage several systems simultaneously. Using xVM Ops Center, you can perform the following functions:
xVM Ops Center provides the Update module to manage and automate patching your assets. For more information about Sun xVM Ops Center 1.1, see Sun xVM Information Exchange. Update Module in xVM Ops CenterThe Update module provides options to update your assets to latest patches, packages and incidents, and upload and manage local components. You can run different reports or create system catalogs to learn the exact state of the managed assets and then install the necessary patches and packages. In Sun xVM Ops Center, you create jobs to automate processes such as installing patches, upgrading your components, and performing pre- and post-installation operations. You create update jobs to install the patches on a managed system. You can create a single job to run on one or multiple hosts. To automate the patching process, you can schedule the update jobs to run in periodic intervals. For example, Sun releases Solaris baselines every month. You can schedule a job to install the monthly baselines to reduce the effort of creating patching plans. You can simulate the patching job to resolve any dependencies for a patch. For example, if you need to install patch A, patch B should also be installed with patch A. In simulation mode, the required patches are downloaded and checked for sanity, but are not installed. The rules for patch compatibility are obtained from the knowledge base of the Sun hosted tier. Supported Solaris OS Versions for PatchingYou can use xVM Ops Center to patch the following Solaris OS versions:
Prerequisites for Patching Solaris OSBefore proceeding with an update job in the xVM Ops Center, check for the following prerequisites:
Patching the Solaris OSYou can use the following methods to patch the Solaris OS by using xVM Ops Center:
Baseline Analysis ReportsYou can create baseline analysis reports based on the Solaris baselines. Depending on the 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. You 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 host. A white list is a list of patch IDs that should be installed on a host. Solaris baselines appear in the Components list in xVM Ops Center interface. The Solaris Baselines category contains a list of dated baselines. 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. Types of Baseline Analysis ReportWhile creating a baseline analysis report, you can select how the baseline analysis report needs to be generated.
Creating 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:
Viewing Baseline Analysis Report ResultsOnly the Baseline Analysis Report results are stored in the xVM Ops Center server. Use the following procedure to view the report results:
See Baseline Analysis Report for more information. Host Compliance ReportsThis report provides information about the hosts that are compliant or noncompliant to security and bug-fix updates. Run this report after registering a managed host with xVM Ops Center. The host compliance report provides a complete list of patches that need to be installed on the managed host. Use the following procedure to create a Host Compliance Report:
Customizing Update Jobs to Install PatchesYou can customize the update job options such as profile, policy, run modes and failure policies. Profiles describe mandatory and optional components to install and the action to perform on a system. You can either create your own custom profiles or select the predefined profiles provided by xVM Ops Center. Use the predefined profiles such as Check Security, Check Systems and Check Withdrawn Patches to install or remove Solaris OS patches. Policies define how a job should be performed and set the automation level of the job. Select the appropriate policies to handle the patch dependencies. See Profiles and Policies in Sun xVM Information Exchange for more information. Creating an Update JobCreate an update job to install a particular set of patches. Use the following procedure to create an update job:
Depending on the policy, the update job proceeds to download and install the patches. To view the status of an update job, select Job Summary from the Core Services menu in the xVM Ops Center interface. Look for more information about Job Management to manage update jobs. Sun xVM Ops Center helps you to determine whether the systems are up to date, and choose the right patches to be applied to the systems. It automates the patching of Solaris OS, increases the availability and utilization of the systems and minimizes the 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 | ||||