Home > Articles

Understanding the Solaris Flash Install and Live Upgrade Features

Janice Winsor details the two new installation configurations of the Solaris 9 release.
This chapter is from the book

new.gif

The Solaris 9 release provides two new installation configurations.

  • Flash installation. With Flash installation, you can create a base configuration and install it on a master system. This base installation includes the Solaris Operating Environment and can install other, third-party, software. You then use the master system to create a Flash archive that you can use to replicate the configuration as an initial installation on clone systems. You can create as many Flash archives as you need to accommodate any number of standard configurations for your site.

  • Solaris Live Upgrade. With Solaris Live Upgrade, you create a duplicate boot environment. You can perform JumpStart installs, install and remove patches, and perform regular suninstall installations and upgrades on an inactive boot environment. You can also install Flash archives on the inactive boot environment. When you are ready, you activate the duplicate boot environment. At the next reboot, it becomes the active boot environment. If a failure occurs, you can recover your original boot environment with a simple activate and reboot.

As a security enhancement, starting with the Solaris 9 Operating Environment, the base installation package has been divided into smaller packages so that you can install commands, such as telnet, as an individual package. This division provides finer granularity and enables system administrators to create a base installation and deselect some packages. With this new arrangement, you can create more secure installations.

Note

NOTE. Refer to Sun’s Solaris 9 Installation Guide for instructions on performing installations with suninstall, JumpStart, and WebStart.

Flash Installation

With Flash installation, you can create a single reference installation of the Solaris Operating Environment on one system, called the master system. You then can replicate that installation as a new installation on any number of systems, called clone systems, that have the same architecture as the master system.

The process of installing clone systems with Flash installation has three parts.

  1. Install the master system. Select a system and use any of the Solaris installation methods to install the Solaris Operating Environment and any additional software packages.

  2. Create the Flash archive. This archive contains a copy of all of the files on the master system.

  3. Install the Flash archive on clone systems. All the files in the archive are copied to that system to create a system that has the same installation configuration as the original master system.

You can use Flash archives with either WebStart or JumpStart to perform initial installations. The Flash archive snapshot contains the Solaris Operating Environment as well as all software, including third-party software, that you want to install on the new systems. You stream the entire archive to the boot disk. Flash installation would make reinstalling a machine much faster.

Note

NOTE. You cannot use the Flash installation to upgrade a system that is running the Solaris Operating Environment. You can use Flash installation only for initial installation.

Designing the Master System Installation

The first step in the Flash installation process is to install the master system with the configuration that you want to replicate on each of the clone systems. You can use any of the Solaris installation methods to install a subset or a complete installation of the Solaris Operating Environment on the master system.

Note

NOTE. The master system and the clone systems must have the same kernel architecture. If you have a site with systems that have multiple architectures, you can create a Flash installation archive for each architecture and use that archive for installation on clone systems with the same architecture. However, under Solaris 7, 8, and 9, all models of the UltraSPARC chip have the same sun4u kernel architecture.

Decide what configuration you want to make available to the clone systems. Consider the following elements.

  • The software you want to install on the clone systems.

  • Peripheral devices that are connected to the master system and the clone systems.

  • The architecture of the master system and the clone systems.

After you install the Solaris Operating Environment on the master system, you can delete software that is not needed on the clone systems. You can install Solaris packages or third-party software. Any software you install on the master system is included in the Flash archive and is installed on the clone systems. You can modify configuration files on the master system. For example, you can modify the /etc/inet/inetd.conf file to restrict the daemons that the system runs.

After you install the Flash archive on a clone system, the installation program uses the sys-unconfig(1M) command and the sysidtool(1M) programs to delete and re-create the host-specific network configuration files. These files include /etc/hosts, /etc/defaultrouter, and /etc/defaultdomain.

Be sure to consider what peripheral devices on the clone systems might need drivers that are not needed on the master system. For example, if you install the Entire Software Group on a master system with a cg6 frame buffer, the installation contains support for only the cg6 frame buffer. You can use this archive file to install on clone systems that have either the cg6 frame buffer or no frame buffer. If you use this archive to install a clone system with an Elite 3D frame buffer, the Elite 3D is unusable because the required drivers were not installed.

You can install support for different peripherals in one of the following ways.

  • Install the Entire Plus OEM Software Group. This software group contains every package found in the Solaris Operating Environment and thus contains all of the drivers installed with the Solaris release. A Flash archive that is created from a master system with this installation works on any clone system that has peripheral devices that are supported by the installed release of the Solaris Operating Environment.

  • Install selected packages that install support only for the peripherals that you know exist on the master system or clone systems.

Refer to the Solaris 9 Installation Guide for complete information on designing a master system for use with Flash Installation.

Creating a Flash Archive

After you install the master system, you create the Flash archive. All the files on the master system are copied to the archive along with various pieces of identifying information. You can create a Flash archive while the master system is running in multiuser mode or single-user mode. You can also create a Flash archive after you boot from one of the following:

  • Solaris 9 DVD.

  • Solaris 9 Software 1 of 2 CD.

  • An image of the Solaris 9 Software and the Solaris 9 Language CDs.

    Create the archive when the system is in as static a state as possible.

You run the flarcreate(1M) command to create the archive. The flarcreate command requires the -n name option and a file name for the archive. The command also has options for the following actions.

  • Compressing (-c).

  • Listing directories and sizes (-R root, -S, -H).

  • Excluding files and directories (-x exclude).

  • Enabling user-defined sections (-u section, -d dir).

  • Using with tape archives (-t, -p posn).

  • Specifying block size (-b blocksize).

  • Specifying files (-f file_list, -F).

  • Identifying archive (-U key-val, -i date, -m master, -e descr, -E descr_file, -a author, -T type).

Refer to the flarcreate(1M) manual page for a more detailed description of these options.

You can create layered Flash archives by creating partial Flash archives that you install in a variety of combinations. For example, you can create one archive that contains the Solaris Operating Environment files, a second archive that contains the files for a Web server, and a third archive that contains the files for an NFS server. You would then install the first and second archives to create a Web server and install the first and third archives on another system to create an NFS server.

You can save the archive on the hard disk of the master system or on a tape. After you save the archive, you copy it to any file system or medium.

You can use the flar(1M) command to administer archives. You can use the flar command to extract information from an archive, split archives into sections, and combine archives from individual sections.

Use the following steps to create a Flash archive.

  1. Boot the master system and run it either in single-user mode or in multiuser mode in as inactive a state as possible.

  2. If in multiuser mode, become superuser.

  3. Type flarcreate -n name options path/archivename and press Return.

    When the archive creation is successful, flarcreate returns an exit code of 0. If archive creation fails, the command returns a non-zero exit code.

The following example creates an archive for the master system named mopoke, running in multiuser mode, with a name of mopokearchive and an archive name of mopokearchive in the current directory, specifies the name of the master system, and compresses the archive.

# flarcreate -n mopokearchive -c -m mopoke mopokearchive
   Determining which filesystems will be included in the archive...
   Determining the size of the archive...
   The archive will be approximately 1.05GB.
   Creating the archive...
   3979899 blocks
   Archive creation complete.
   #
   

Choosing a Flash Archive Installation Method

You can use any of the following Solaris installation methods to install Flash archives on clone systems.

With the Solaris WebStart program on the Solaris 9 DVD or Solaris 9 Installation CD, you can install Flash archives that are stored on any of the following media.

  • Disc (DVD or CD).

  • NFS server.

  • HTTP server.

  • FTP server.

  • Local tape.

With the Solaris suninstall program on the Solaris 9 Software 1 of 2 CD, you can install Flash archives that are stored on the following media.

  • Local device, including CD.

  • NFS server.

  • HTTP server.

  • FTP server.

  • Local tape.

  • Local file.

With the custom JumpStart installation program, you can install Flash archives that are stored on any of the following media.

  • Local device, including DVD or CD.

  • NFS server.

  • HTTP server.

  • FTP server.

  • Local tape.

  • Local file.

With Solaris Live Upgrade, you can install Flash archives that are stored on any of the following media.

  • Local device, including DVD or CD.

  • NFS server.

  • HTTP server.

  • FTP server.

  • Local tape.

  • Local file.

See "Solaris Live Upgrade" on page 108 for more information about Solaris Live Upgrade.

Installing a Flash Archive with the Solaris WebStart Program

The following steps describe the process for installing a Flash archive with the Solaris WebStart program.

  1. At the OpenBoot PROM, insert the Solaris 9 Installation CD or DVD in the drive and boot from the disc.

  2. Specify the language and locale.

  3. Specify the configuration information for this system.

  4. On the Specify Media panel, select the location of the Flash archive.

    The Solaris WebStart program prompts you to proceed, depending on the media you selected.

  5. Type the information required.

    • For DVD or CD, insert the disc containing the Flash archive(s).

    • For Network File System, specify the path to the network file system where the Flash Archive is located. You can also specify the archive file name.

    • For HTTP, specify the URL and proxy information that is needed to access the Flash archive.

    • For FTP, specify the FTP server and the path to the Flash archive. Specify the user and password information that enables you to access the FTP server. Specify any proxy information that is needed to access the FTP server.

    • For local tape, specify the local tape device and the position on the tape where the Flash archive is located.

  6. For archives stored on a disc or an NFS server, on the Select Flash Archives pane, select one or more Flash archives to install.

  7. On the Flash Archives Summary panel, confirm the selected archives and click Next.

  8. On the additional Flash Archives panel, you can select to install layered Flash archives by specifying the medium where another archive is located. If you do not want to install additional archives, select None and click Next to continue the installation.

Installing a Flash Archive with the suninstall Program

The following steps describe the process for installing a Flash archive with the Solaris suninstall program.

  1. Insert the Solaris 9 Software 1 of 2 CD or DVD in the drive.

  2. Specify the language and install the miniroot.

  3. Specify the configuration information for this system.

  4. Press F4 to choose Initial Install for a Flash archive installation.

    Press F4 to choose Flash installation.

  5. On the Flash Archive Retrieval Method screen, select the type of medium that contains the Flash archive.

    The suninstall program prompts you to proceed, depending on the medium you selected.

  6. Type the information required.

    • For DVD or CD, insert the disc containing the Flash archive(s).

    • For Network file system, specify the path to the network file system where the Flash archive is located. You can also specify the archive file name.

    • For HTTP, specify the URL and proxy information that is needed to access the Flash archive.

    • For FTP, specify the FTP server and the path to the Flash archive. Specify the user and password information that enables you to access the FTP server. Specify any proxy information that is needed to access the FTP server.

    • For local tape, specify the local tape device and the position on the tape where the Flash archive is located.

  7. For archives stored on a disc or an NFS server, on the Select Flash Archives pane, select one or more Flash archives to install.

  8. On the Flash Archives Summary panel, confirm the selected archives and click Next.

  9. On the additional Flash Archives panel, you can select to install layered Flash archives by specifying the medium where another archive is located. If you do not want to install additional archives, select None and click Next to continue the installation.

Refer to the Solaris 9 Installation Guide for instructions on custom JumpStart installation.

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