Home > Articles > Networking > Storage

Managing Data Centers With Sun Management Center Change Manager

Deploying and updating software are two of the most challenging and time consuming tasks facing datacenter managers. The Sun Management Center Change Manager software provides a framework and tools for quickly and efficiently deploying, replicating, updating, and managing software over a large number of systems. This article presents techniques and best practices for using Sun Management Center Change Manager software.
Like this article? We recommend

Deploying and updating software are two of the most challenging and time consuming tasks facing data center managers. The Sun™ Management Center (SunMC) Change Manager provides a framework and tools for data center personnel to quickly and efficiently deploy, replicate, update, and manage software over a large number of systems.

This paper presents techniques and best practices for using SunMC Change Manager. The software utilizes Solaris™ Flash archives and Solaris™ Live Upgrade (LU) technology to manage software stacks. This paper details the following topics:

  • Overview of Solaris Flash archives and LU technology

  • Creation of software stacks

  • Uses of the SunMC Change Manager deployment engine

  • Provisioning and reprovisioning of systems

  • Installation and management of software patches

Overview of Solaris Flash Archives and Live Upgrade Technology

LU 2.0 software and later versions allow you to use a Solaris Flash archive to install an alternate boot environment (ABE). The following sections provide a high-level overview of the Solaris Flash technology and detail the LU flash installation procedures.

Overview of Solaris Flash Technology

Solaris Flash technology provides a mechanism by which you can archive a specific or reference installation of the Solaris™ Operating Environment (Solaris OE). You can then use that archive to install the Solaris OE. The reference installation is created from the on-disk Solaris OE, which includes all installed software. This system is designated as the master machine. The reference installation can be a Solaris OE installed by any means, for example, with JumpStart™ software, from CD, or by an interactive installation.

After you identify the master machine, capture the reference installation in a Solaris Flash archive. A central feature of Solaris Flash software, this archive is essentially a point-in-time snapshot of the Solaris OE, software patches, and applications on the master machine. To create an archive, execute the flarcreate(1m) command on the master machine.

Solaris Flash extensions enable you to install an archive from a Network File System (NFS) server, a Hypertext Transfer Protocol (HTTP) server, or a traditional JumpStart server. Additionally, you can access the archive from a disk device (including CD-ROM) or from tape device that is local to the installation client. When you install an archive, it is transmitted over the network to the installation client and is written to the disk. After the archive is written to the installation client's disk, any necessary archive modifications are performed. For example, configuration files on the installation client, such as the /etc/nsswitch.conf file, might need to vary from the file on the master machine. The Solaris Flash mechanism enables you to automate modifications and allows for differences in kernel architecture or device differences between the master machine and the installation client.

Additionally, Solaris Flash software enables the automatic resolution of partitioning differences between the master machine and the installation client. For example, if an archive was created on a system with a single root (/) partition, and the installation client has separate / and /var partitions, the archive automatically customizes itself to the installation client. Remember, the installation client partitioning must be correctly specified in the JumpStart software profile.

A flash archive is a snapshot of a system and, as such, includes all specified files on a system. If an archive is created from a system that is in use, you will need to clean up or zero out some files after the flash archive is installed. Examples of these types of files include log files, such as those found in /var/adm, and any files in the /var/tmp directory.

Modify the finish script to zero out log files after installation of the Solaris Flash archive. To exclude temporary directories, such as the /var/tmp directory, exclude the directory when you create the flash archive. See "Inducing System Amnesia" on page 8 for additional details.

Create the flash archive after installing all software, but before placing the system into production. Depending on the software installed and the intended use for the system, you might need to create the flash archive after installing the software, but before configuring it. For example, you should create archives for database servers or Lightweight Directory Access Protocol (LDAP) servers after installing the database management software, but before creating and populating the databases.

Installing the Solaris OE with a flash archive can be dramatically faster than with other mechanisms, depending on network traffic and disk speeds.

You can find further details on the use of Solaris Flash software in the Solaris 9 OE Advanced Installation Guide and the Sun BluePrints™ book, JumpStart Technology: Effective Use in the Solaris Operating Environment by John S. Howard and Alex Noordergraaf (ISBN 0-13-062154-4).

Overview of Live Upgrade Software

LU 2.0 software was introduced with the Solaris 8 10/01 OE (Update 6). On the Solaris 8 10/01 OE media, LU 2.0 packages are located in the Easy Access (EA) directory of the Solaris media CD marked "Software 2 of 2." With the Solaris 8 01/02 OE (Update 7), LU 2.0 software was moved from the EA area to the product area, and is bundled with the OE packages.

LU 2.0 software was also released as a web release (08/01) that is available at http://www.sun.com/solaris/liveupgrade. LU 2.0 software works with, and can be installed on, all releases of the Solaris OE versions 2.6, 7, 8, and 9. LU 2.0 software is the first general-availability release of the software. It is recommended over the use of LU 1.0 software, which must never be used in a production environment or on a production server.

Creating and Managing Boot Environments

The concept of a boot environment (BE) is central to the operation and implementation of LU software. A BE is a group of file systems and their associated mount points. LU software uses the term "boot environment" instead of "boot disk" because a BE can be contained on one disk, or can be spread over several disks. LU provides a command-line interface and a character-based user interface (CUI) to create, populate, manipulate, and activate BEs.

NOTE

The CUI has a few restrictions: it is neither localized, nor internationalized. Also, the existing CUI does not provide access to the full functionality of the LU software.

You can create BEs on separate disks, or you can create them on the same disk; however, a single root (/) file system is recommended for the Solaris OE.

The active BE is the one that is currently booted and active; all other defined BEs are considered inactive. Inactive BEs, are referred to as ABEs (alternate BEs).

BEs can be completely self-contained, or they can share file systems. Only file systems that do not contain any OE-specific data and that must be available in any OE should be shared among BEs. For example, users' home directories on the /export/home file system are good candidates to share among several BEs.

If you used multiple file systems for the Solaris OE, such as separate file systems for /kernel, /usr, /etc, /, and so forth, do not share OE-specific file systems among BEs. In addition, do not split certain file systems (such as /kernel, /etc, /dev, or /devices) from /. If you split them onto a separate file system from /, the BE that is created might not be bootable.

Additionally, LU provides a mechanism to synchronize individual files among several BEs. This feature is especially useful for maintaining files such as /etc/passwd in one BE and then propagating changes to all BEs.

To back up BEs created with LU, use the ufsdump or fssnap commands. Consult the man pages for information about the uses of these commands.

Upgrading Systems

To appreciate the value of using LU software to upgrade a system, consider the common situation of having to upgrade a production server from the Solaris 8 OE to the Solaris 9 OE. Most likely, you could not take the server down to do the upgrade. Additionally, site change control procedures likely require that you provide a back-out plan to restore the initial Solaris 8 OE in the case of any unforeseen upgrade failures or software incompatibilities. Using LU, you can complete this upgrade while the Solaris 8 OE is up and live. The LU framework also provides for the retention of the Solaris 8 OE as a fallback in case of a failure during the upgrade procedure.

To Upgrade a System Using LU Software

  1. Create and populate a new BE by cloning the current OE.

  2. Upgrade the new BE.

  3. Install (or upgrade) unbundled software, patching as necessary, in the new BE.

  4. When you are ready to cut over to the new version of the OE, activate the new BE and reboot into the new BE.

Rather than using slice 7 of the boot disk for the /export file system, use this slice for the clone OE or as an ABE.

Installing Flash Archives With LU 2.0 and Solaris Flash Software

When using Solaris Flash with LU 2.0 software, the specified ABE is not upgraded; instead the contents of the flash archive are extracted and installed in the specified ABE.

To Install a Flash Archive Using LU and Solaris Flash Software

  1. Create and populate a new BE by cloning the current OE.

  2. Upgrade the new BE to Solaris 8 OE 10/01 using a flash archive.

  3. Activate the new BE.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020