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

10.  Provisioning the Client System

11.  Configuring the Client System

Providing Configuration Profiles

Creating System Configuration Profiles

Validating System Configuration Profiles

Adding System Configuration Profiles to an Install Service

Specifying Configuration in a System Configuration Profile

Configuring Root and User Accounts

Configuring the Root Account

Configuring a User Account

Setting the System Identity

Setting the Time Zone and Locale

Setting the Terminal Type and Keyboard Layout

Configuring a Static Network

Configuring Name Service

Setting Up Oracle Configuration Manager and Oracle Auto Service Request

Using System Configuration Profile Templates

Example System Configuration Profiles

Sample System Configuration Profile

Specifying Static Network Configuration

Specifying Name Service Configuration

Configuring Name Service NIS

Configuring Name Service DNS

Configuring Name Service LDAP

Using DNS With LDAP

Using NIS With DNS

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

Using System Configuration Profile Templates

Profiles can contain variables that are replaced with values from the client's installation environment during the installation process. In this way, a single profile file can set different configuration parameters on different clients. See Table 11-9 for a list of variables you can use.

In the following example profile named hostIPnet.xml, AI_HOSTNAME is a placeholder for the client system's host name, and AI_IPV4 is a placeholder for the client system's IP address.

<?xml version='1.0'?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<service_bundle type="profile" name="sysconfig">
  <service name="system/identity" version="1" type="service">
    <instance name="node" enabled="true">
      <property_group name="config" type="application">
        <propval name="nodename" value="{{AI_HOSTNAME}}"/>
      </property_group>
      <property_group name="install_ipv4_interface" type="application">
        <propval name="name" value="net0/v4"/>
        <propval name="address_type" value="static"/>
        <propval name="static_address" type="net_address_v4" value="{{AI_IPV4}}/8"/>
        <propval name="default_route" type="net_address_v4" value="10.0.0.1"/>
      </property_group>
    </instance>
  </service>
</service_bundle>

The following command creates a system configuration profile in the install service that will be customized for each installation client without changing the input hostandIP.xml file.

$ pfexec installadm create-profile -n solaris11_1-i386 -f /export/hostIPnet.xml

While the hostandIP.xml file remains unchanged, the profiles that are applied to a client are customized. For example, the hostandIP.xml profile might have the following content when a client with host name server1 is installed:

<?xml version='1.0'?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<service_bundle type="profile" name="sysconfig">
  <service name="system/identity" version="1" type="service">
    <instance name="node" enabled="true">
      <property_group name="config" type="application">
        <propval name="nodename" value="server1"/>
      </property_group>
      <property_group name="install_ipv4_interface" type="application">
        <propval name="name" value="net0/v4"/>
        <propval name="address_type" value="static"/>
        <propval name="static_address" type="net_address_v4" value="10.0.0.2/8"/>
        <propval name="default_route" type="net_address_v4" value="10.0.0.1"/>
      </property_group>
    </instance>
  </service>
</service_bundle>

The following table shows the variables that can be used as placeholders in template profiles.

Table 11-9 Variables for System Configuration Template Profiles

Variable Name
Description
AI_ARCH
Kernel architecture from uname -m
AI_CPU
Processor type from uname -p
AI_HOSTNAME
Client DNS name
AI_IPV4
IP version 4 network address
AI_MAC
Hexadecimal MAC address with colon (:) separators
AI_MEM
Memory size in megabytes returned by prtconf
AI_NETWORK
IP version 4 network identifier
AI_SERVICE
Install service name
AI_ZONENAME
Name of a zones(5) zone as shown by zoneadm list