JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris 11 Express Automated Installer Guide     Oracle Solaris 11 Express 11/10
search filter icon
search icon

Document Information

Preface

1.  Automated Installer Overview

2.  Setting Up an AI Install Server

3.  Customizing Installations

4.  Specifying Installation Instructions

AI Manifest Tags

Creating a Custom AI Manifest

Defining a Target for the Installation

Deterministic Target Disk Specifications

Nondeterministic Target Disk Specifications

Configuring Partitioning on an x86 Client

Specifying a Partition as the Installation Target for an x86 Client

Modifying Partitions on an x86 Install Client

Configuring Slices on a Disk

Specifying a Slice as the Installation Target

Modifying Slices on the Install Client

Configuring Swap and Dump on the Install Device

Installing Software

Specifying a Source of Packages to Install

Specifying an HTTP Proxy to Reach an IPS Repository

Specifying Packages to Install

Identify and Install Missing Drivers on an Install Target

Annotated AI Manifest

5.  Configuring the Client System

6.  Setting Up DHCP for AI

7.  Installing Client Systems

8.  Automated Installations That Boot From Media

A.  Troubleshooting Automated Installations

B.  Automated Installer Installation Administration Commands

C.  Migrating From JumpStart to Automated Installer

Installing Software

The AI install image is not a complete installation. Client machines must access an IPS package repository to complete their installation. The AI manifest must specify at least one package repository location and must specify names of packages to install.

Use the <software> tag to define locations of package repositories and names of particular packages to install.

The <software> tag has the following elements:

An AI manifest is not required to have an equal number of <source> and <software_data> elements. One <software> element could have more <source> elements than <software_data> elements, or one <software> element could have more <software_data> elements than <source> elements.

Specifying a Source of Packages to Install

A repository is a location where IPS packages are published and from where packages are retrieved. A repository can be on the local network, or a repository can be on the Internet. A person or corporation who puts a package in a repository is called a publisher. Each AI manifest must specify at least one IPS package repository to install the Oracle Solaris OS.


Note - The Oracle Solaris OS release of the AI boot image and the IPS packages must be the same. The IPS repository or repositories specified in the AI manifest must contain packages for that release.


Use the <source> tag to specify a location where AI should get packages to install. One <software> element can contain more than one <source> element. Each <source> element can specify either an IPS package publisher or a directory path.

Example 4-20 Specifying IPS Package Repositories

In this example, solaris is the preferred IPS package publisher. This is the repository that will be searched first for IPS packages. This repository must contain the packages that are required to install the Oracle Solaris OS. This repository must contain packages for the Oracle Solaris OS that is the same release as the AI boot image that is associated with this install service.

The mirror_repo repository contains exactly the same content as the solaris repository. This repository will be used if the connection to the solaris repository is too slow.

The additional_repo repository contains content that is different from the content in the solaris repository. This repository will be used if a specified IPS package is not found in the solaris repository. The additional_repo repository could be a repository on the local network that contains custom IPS packages, for example.

<software name="IPS">
  <source>
    <publisher name="solaris">
      <origin name="http://pkg.oracle.com/solaris/release"/>
      <mirror name="http://pkg.mirror_repo"/>
    </publisher>
  </source>
  <source>
    <publisher>
      <origin name="http://pkg.additional_repo"/>
    </publisher>
  </source>
</software>
Specifying an HTTP Proxy to Reach an IPS Repository

A client needs to access an IPS repository to install the Oracle Solaris OS. In the recommended configuration described in Chapter 1, Automated Installer Overview, a DHCP server sends DNS information to the client. This DNS information is used to resolve the IPS repository URI to an IP address.

If a client does not have a direct connection to the IPS repository server, the AI manifest can specify a proxy to enable the client to get outside its network. This proxy applies to all publishers.

The value of the http_proxy attribute of the <ai_instance> element is the URL of the proxy as follows:

<auto_install>
  <ai_instance name="AI_manifest_name" http_proxy="http://192.168.0.101:8080">
    AI_manifest_contents
  </ai_instance>
</auto_install>

Specifying Packages to Install

The AI boot image is not a complete installation. Client machines must access an IPS package repository to complete their installation. The default AI manifest shows the minimum packages that must be installed to install the Oracle Solaris OS. List packages to be installed in a <software_data> element inside a <software> element in the AI manifest.

The <software_data> tag has the following attributes:

The <software_data> element contains <name> elements. Each <name> element specifies the name of a package to install. For IPS packages, the <name> element can specify the repository to use. See Example 4-23.

Example 4-21 Specifying the Minimum IPS Packages To Install

This example shows the minimum IPS packages that must be installed to install the Oracle Solaris OS.

This example also specifies packages to be uninstalled. The packages to be uninstalled are group packages. Group packages are package definitions that are used for convenience to install a set of other packages. You cannot uninstall an individual package that was installed with a group package unless you first uninstall the group package definition. Uninstalling the group package definition does not uninstall all the packages that were installed with the group package. The babel_install package is a group package that installs slim_install, which is another group package. After installation, both slim_install and babel_install are uninstalled so that a user can later uninstall other packages that were installed as part of slim_install and babel_install. The ability to uninstall packages is needed to update and customize the installation. The babel_install package definition must be uninstalled first so that the slim_install package definition can be uninstalled.

<software name="IPS">
  <software_data type="IPS">
    <name>pkg:/entire</name>
    <name>pkg:/babel_install</name>
  </software_data>
  <software_data action="uninstall" type="IPS">
    <name>pkg:/babel_install</name>
    <name>pkg:/slim_install</name>
  </software_data>
</software>

Example 4-22 Specifying Additional IPS Packages To Install

In this example, Oracle Solaris Studio and the NetBeans DTrace GUI Plug-in are installed.

<software name="IPS">
  <software_data type="IPS">
    <name>pkg:/developer/sunstudio12u1</name>
    <name>pkg:/developer/netbeans/plugin/nb-dtrace</name>
  </software_data>
</software>

Example 4-23 Specifying the IPS Repository in the Package Name

In this example, the OpenOffice suite of tools and the Evolution mail and calendaring utility are installed from the example.com IPS repository.

<software name="IPS">
  <source>
    <publisher name="solaris">
      <origin name="http://pkg.oracle.com/solaris/release"/>
    </publisher>
  </source>
  <source>
    <publisher name="example.com">
      <origin name="http://pkg.example.com/release"/>
    </publisher>
  </source>
  <software_data type="IPS">
    <name>pkg://example.com/openoffice</name>
    <name>pkg://example.com/mail/evolution</name>
  </software_data>
</software>