JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Installing Oracle Solaris 11.1 Systems     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

Part I Oracle Solaris 11.1 Installation Options

1.  Overview of Installation Options

Part II Installing Using Installation Media

2.  Preparing for the Installation

3.  Using Live Media

4.  Using the Text Installer

5.  Automated Installations That Boot From Media

6.  Unconfiguring or Reconfiguring an Oracle Solaris instance

Part III Installing Using an Install Server

7.  Automated Installation of Multiple Clients

8.  Setting Up an Install Server

9.  Customizing Installations

Matching Clients With Installation and Configuration Instructions

Selecting the AI Manifest

Selecting System Configuration Profiles

Selection Criteria

Default AI Manifest

10.  Provisioning the Client System

11.  Configuring the Client System

12.  Installing and Configuring Zones

13.  Running a Custom Script During First Boot

14.  Installing Client Systems

15.  Troubleshooting Automated Installations

Part IV Performing Related Tasks

A.  Working With Oracle Configuration Manager

B.  Using the Device Driver Utility

Index

Matching Clients With Installation and Configuration Instructions

When you use AI, you first set up an install server. The install server has at least one AI boot image and an AI install service that is associated with that boot image. When a client boots over the network, it uses an install service from the install server.

The client uses the default install service for that client architecture or an assigned install service. The install service uses the methods described in this chapter to match the client with the correct installation and configuration instructions to use.

To define installations that use different boot images (a SPARC image and an x86 image, or different Oracle Solaris versions), create a separate service for each image.

To assign a client to a specific install service, add that client to the install service (see Chapter 14, Installing Client Systems). Specify the MAC address of the client and the name of the install service for this client to use. When the client with this MAC address boots, the client is directed to the install server and uses the specified install service. To find the MAC address of a system, use the dladm command as described in Oracle Solaris Administration: Network Interfaces and Network Virtualization and in the dladm(1M) man page.

To define more than one type of installation for one net image, create additional AI manifests and create system configuration profiles. Add the new AI manifests and configuration profiles to the AI install service for that net image. Specify criteria that define which clients should use which AI manifest and which system configuration profiles. See Associating Client-Specific Installation Instructions With Install Services.

For information about how to create custom AI manifests, see Chapter 10, Provisioning the Client System. For information about how to create system configuration profiles, see Chapter 11, Configuring the Client System.

Selecting the AI Manifest

Each client uses one and only one AI manifest to complete its installation. The AI manifest is selected for a client according to the following algorithm:

Example 9-1 Matching Clients With AI Manifests

In the following example, two custom AI manifests have been added to the same install service. The client criteria associated with those manifests are as shown. The manifest_x86.xml AI manifest was added to the service with the following criteria file that specifies client architecture:

<ai_criteria_manifest>
    <ai_criteria name="arch">
        <value>i86pc</value>
    </ai_criteria>
</ai_criteria_manifest>

The manifest_mac1.xml AI manifest was added to the service with the following criteria file that specifies a client MAC address:

<ai_criteria_manifest>
    <ai_criteria name="mac">
        <value>00:14:4f:a7:65:70</value>
    </ai_criteria>
</ai_criteria_manifest>

If an x86 client is being installed, it is assigned manifest_x86.xml.

If a SPARC client with MAC address 00:14:4f:a7:65:70 is being installed, it is assigned manifest_mac1.xml.

If a SPARC system with some other MAC address is being installed, it is assigned the default AI manifest.

Selecting System Configuration Profiles

The same criteria keywords are used for selecting system configuration profiles for a client as are used for selecting an AI manifest. See Table 9-1.

More than one system configuration profile can be selected for any particular client. No algorithm is needed to narrow the selection to one profile.

If client characteristics match criteria for multiple system configuration profiles, all matching configuration profiles are applied to configure the system. For example, if one criteria specification matches the client's host name and another criteria specification matches the same client's memory size, both configuration profiles are used to configure that client.

Selection Criteria

Table 9-1 shows the criteria keywords that can be used to indicate which clients should use a particular AI manifest or system configuration profile. The Examples column shows some possible values. The criteria keywords and values can be used with the following installadm subcommands: create-manifest, create-profile, and set-criteria.

The ipv4, mac, mem, and network specifications can be expressed as ranged values separated by a hyphen (-). To specify no limit to one end of a range, use unbounded. See the mem example below.

The arch, cpu, hostname, platform, and zonename specifications can be expressed as a quoted list of values separated by white space. See the zonename example below.

Specify criteria keywords and values on the command line by using the -c option.

-c criteria=value|list|range
-c mac="aa:bb:cc:dd:ee:ff"
-c mem="2048-unbounded"
-c zonename="zone1 zone2"

Criteria can also be specified in ai_criteria elements in an XML file. The content of this file should be only criteria specifications. Use the -C option to name the criteria file on the command line. Examples are shown in the table.

Table 9-1 Criteria Keywords and Criteria Hierarchy

Criteria Name
Description
Command Line and XML File Examples
mac
Hexadecimal MAC address with colon (:) separators, or range of MAC addresses
CLI, single MAC address:
-c mac="0:14:4F:20:53:97"

CLI, range of MAC addresses:

-c mac=0:14:4F:20:53:94-0:14:4F:20:53:A0

XML, single MAC address:

<ai_criteria name="mac">
    <value>0:14:4F:20:53:97</value>
</ai_criteria>

XML, range of MAC addresses:

<ai_criteria name="mac">
   <range>
       0:14:4F:20:53:94
       0:14:4F:20:53:A0
   </range>
</ai_criteria>
ipv4
IP version 4 network address, or range of IP addresses
CLI, single IP address:
-c ipv4="10.6.68.127"

CLI, range of IP addresses:

-c ipv4="10.6.68.1-10.6.68.200"

XML, single IP address:

<ai_criteria name="ipv4">
    <value>10.6.68.127</value>
</ai_criteria>

XML, range of IP addresses:

<ai_criteria name="ipv4">
    <range>
        10.6.68.1
        10.6.68.200
    </range>
</ai_criteria>
platform
Platform name returned by uname -i for x86 systems and prtconf -b for SPARC systems

Values include:

  • i86pc

  • SUNW,SPARC-Enterprise

  • SUNW,Sun-Fire-T200

CLI:
-c platform="SUNW,Sun-Fire-T200"

XML:

<ai_criteria name="platform">
    <value>SUNW,Sun-Fire-T200</value>
</ai_criteria>
arch
Architecture returned by uname -m

Values: i86pc, sun4u, or sun4v

CLI:
-c arch="i86pc"

XML:

<ai_criteria name="arch">
    <value>i86pc</value>
</ai_criteria>
cpu
CPU class returned by uname -p

Values: i386 or sparc

CLI:
-c cpu="sparc"

XML:

<ai_criteria name="cpu">
    <value>sparc</value>
</ai_criteria>
network
IP version 4 network number, or a range of network numbers
CLI, single IP address:
-c network="10.0.0.0"

CLI, range of IP addresses:

-c network="11.0.0.0-12.0.0.0"

XML, single IP address:

<ai_criteria name="network">
    <value>10.0.0.0</value>
</ai_criteria>

XML, range of IP addresses:

<ai_criteria name="network">
   <range>
       11.0.0.0
       12.0.0.0
   </range>
</ai_criteria>
mem
Memory size in megabytes returned by prtconf, or a range of memory size

The unbounded keyword indicates no upper limit in a range.

CLI, one memory size:
-c mem="4096"

CLI, range of memory size:

-c mem="2048-unbounded"

XML, one memory size:

<ai_criteria name="mem">
     <value>4096</value>
</ai_criteria>

XML, range of memory size:

<ai_criteria name="mem">
     <range>
        2048
        unbounded
     </range>
</ai_criteria>
zonename
Name or list of names of zones as shown by zoneadm list. See Chapter 12, Installing and Configuring Zones.
CLI, single zone name:
-c zonename="myzone"

CLI, list of zone names:

-c zonename="zoneA zoneB zoneC"

XML, single zone name:

<ai_criteria name="zonename">
    <value>myzone</value>
</ai_criteria>

XML, list of zone names:

<ai_criteria name="zonename">
    <value>zoneA zoneB zoneC</value>
</ai_criteria>
hostname
Client host name or list of client host names.
CLI, single host name:
-c hostname="host3"

CLI, list of host names:

-c hostname="host1 host2 host6"

XML, single host name:

<ai_criteria name="hostname">
   <value>host3</value>
</ai_criteria>

XML, list of host names:

<ai_criteria name="hostname">
   <value>host1 host2 host6</value>
</ai_criteria>