|Skip Navigation Links|
|Exit Print View|
|Installing Oracle Solaris 11 Systems Oracle Solaris 11 Information Library|
When you use AI, you first set up a DHCP server and 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, DHCP directs the client to the install server.
The client uses the default install service for that client architecture, or uses 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 15, 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, DHCP directs the client to the install server, and the client 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 Associate Client-Specific Installation Instructions With Install Services.
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:
If no custom AI manifests are defined for this install service, the default AI manifest is used. The default AI manifest is not associated with any client criteria. See Default AI Manifest for an example of a default AI manifest.
If custom AI manifests are defined for this install service but the client does not match criteria for any custom AI manifest, then the client uses the default AI manifest.
If the client matches criteria that have been specified for a custom AI manifest, the client uses that custom manifest.
If client characteristics match criteria for multiple AI manifests, the client characteristics are evaluated in the order shown in Table 9-1 to select the manifest for the installation. The installadm tool verifies that criteria of the same type do not overlap. See Add an AI Manifest.
Multiple non-overlapping criteria are used in the order specified in the table below. For example, if one criteria specification matches the client's MAC address and another criteria specification matches the same client's IP address, the manifest associated with the MAC address criteria specification is used, because mac is higher priority for selection than ipv4.
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.
The same criteria keywords are used for selecting system configuration profiles for a client as are used for selecting an AI manifest. The hostname criteria keyword can be used only for configuration profiles, not for AI manifests. 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.
The following table 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.
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 zonename="zone1 zone2" -c mem="2048-unbounded"
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