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

AI Server Setup Task Map

Install Server Requirements

AI Server Hardware Requirements

Install Service Operation Privileges

AI Server Software Requirements

Installing the AI Installation Tools

Configuring the Install Server

Enabling Multicast DNS

Configuring a Multihomed Install Server

Configuring the Web Server Host Port

Configuring the Default Image Path

Automatically Updating the ISC DHCP Configuration

Creating an AI Install Service

Creating an Install Service Without Setting Up DHCP

Creating a SPARC Install Service Using an ISO File

Creating an x86 Install Service Using an IPS Package

Creating an Install Service Including Local DHCP Setup

ISC DHCP Configuration for an Oracle Solaris 11.1 i386 Install Service

ISC DHCP Configuration for an Oracle Solaris 11 i386 Install Service

ISC DHCP Configuration for an Oracle Solaris 11.1 sparc Install Service

Maintaining an Install Server

Adding, Modifying, or Deleting an Install Service

Creating an Install Service

Modifying Install Service Properties

Updating an Install Service

Renaming an Install Service

Enabling or Disabling an Install Service

Deleting an Install Service

Associating Clients With Install Services

Adding a Client To an Install Service

Associating a Client With a Different Install Service

Deleting a Client From an Install Service

Associating Client-Specific Installation Instructions With Install Services

Adding an AI Manifest to an Install Service

Updating an AI Manifest

Deleting an AI Manifest

Associating Client-Specific Configuration Instructions With Install Services

Adding a System Configuration Profile to an Install Service

Updating a System Configuration Profile

Validating a System Configuration Profile

Deleting a System Configuration Profile

Exporting an AI Manifest or a System Configuration Profile

Modifying Criteria for an AI Manifest or a System Configuration Profile

Showing Information About Install Services

Listing All Install Services on the Install Server

Showing Information for a Specified Install Service

Listing Clients Associated With Install Services

Listing Clients Associated With a Specific Install Service

Showing Information About Customized Installations

Listing All AI Manifests and System Configuration Profiles

Listing Manifests and Profiles Associated With a Specified Install Service

Administering the AI SMF Service

9.  Customizing Installations

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

Creating an AI Install Service

An install server can have more than one install service. Create a separate install service for each client hardware architecture and each different version of the Oracle Solaris 11 OS that you want to install.

Use the installadm create-service command to create an AI install service.

When an AI install service is created, the AI SMF service, system/install/server, is enabled if it was not already enabled. The install service image is mounted at /etc/netboot/svcname. For SPARC install services, the wanboot.conf file is at the root of the install service image. For x86 install services, the GRUB menu is at the root of the install service image.

When the first install service for a particular architecture is created on an install server, an alias of that service, default-i386 or default-sparc, is automatically created. This default service is a complete service, with its own manifests and profiles, but this default service shares a net image with the explicitly created service. This default service is used for all installations on clients of that architecture that were not explicitly associated with a different install service with the create-client subcommand.

To change which service the default-arch service aliases, set the aliasof property using the set-service subcommand. Manifests and profiles that were added to either service remain the same after resetting an alias. The only change is which net image the service uses. See Modifying Install Service Properties for more information about setting the aliasof property. To update the net image of the service for which the default-arch service is an alias, use the update-service subcommand as shown in Updating an Install Service.

If a default-arch alias is changed to a new install service and a local ISC DHCP configuration is found, this default alias boot file is set as the default DHCP server-wide boot file for that architecture if the value of the all_services/manage_dhcp property is true. See Automatically Updating the ISC DHCP Configuration for more information about the all_services/manage_dhcp property.

The installadm create-service command also provides a net image on a web server running on port 5555. For example, the web server address might be http://10.80.238.5:5555/solaris11_1-i386. See Configuring the Web Server Host Port to use a different port.

The installadm create-service command does not require any arguments or options. The two options described below are commonly used. For information about all options, see Creating an Install Service or the installadm(1M) man page.

installadm create-service  [-s source] [-y]
-s source

The source argument specifies the data source for the net image. The value of source can be one of the following:

  • The FMRI identifier of the IPS AI net image package, which is install-image/solaris-auto-install in the Oracle Solaris 11.1 release.

  • The full path name of an AI ISO image file.

If you do not specify source, the newest available version of the install-image/solaris-auto-install package is used. The package is retrieved from the publisher specified by the -p option or from the first publisher in the install server's publisher preference list that provides an instance of the package.

To install a different version of the package, or to install the package from a different publisher, specify the version or publisher in the FMRI. For example, specify pkg://publisher/install-image/solaris-auto-install or pkg://publisher/install-image/solaris-auto-install@version. Use the -p option to specify the particular publisher origin.

-y

If you do not specify the -d option, specify the -y option to suppress the prompt to confirm the use of the automatically generated image path.

The create-service command can set up DHCP on the AI install server as shown in Creating an Install Service Including Local DHCP Setup.

Creating an Install Service Without Setting Up DHCP

In the examples in this section, DHCP is already set up on a different server or will be set up later. If the create-service command does not detect that ISC DHCP is running on this server, the output of the command displays instructions for configuring DHCP. In these examples, the create-service command output provides the boot file required for DHCP configuration.

Creating a SPARC Install Service Using an ISO File

This example creates an AI install service for SPARC clients using a net image from an ISO file.

$ pfexec installadm create-service \
-s /var/tmp/images/sparc/sol-11_1-ai-sparc.iso -y

Creating service from: /var/tmp/images/sparc/sol-11_1-ai-sparc.iso
Setting up the image ...

Creating sparc service: solaris11_1-sparc

Image path: /export/auto_install/solaris11_1-sparc

Service discovery fallback mechanism set up
Creating SPARC configuration file
Refreshing install services

Creating default-sparc alias

Service discovery fallback  mechanism set up
Creating SPARC configuration file
No local DHCP configuration found. This service is the default
alias for all SPARC clients. If not already in place, the following should
be added to the DHCP configuration:
Boot file: http://10.80.238.5:5555/cgi-bin/wanboot-cgi

Refreshing install services
$ installadm list
Service Name      Alias Of          Status  Arch   Image Path
------------      --------          ------  ----   ----------
default-sparc     solaris11_1-sparc on      sparc  /export/auto_install/solaris11_1-sparc
solaris11_1-sparc -                 on      sparc  /export/auto_install/solaris11_1-sparc

The following operations are performed as a result of executing this installadm create-service command:

  1. The install service is automatically named solaris11_1-sparc.

  2. The default install service net image directory, /export/auto_install/solaris11_1-sparc, is created. Because the -y option is specified, the prompt to confirm that this default destination is acceptable is suppressed.

  3. The ISO file, /var/tmp/images/sparc/sol-11_1-ai-sparc.iso, is unpacked into the net image location, /export/auto_install/solaris11_1-sparc.

  4. The wanboot.conf file for this service is generated at /export/auto_install/solaris11_1-sparc/wanboot.conf.

  5. The AI SMF service, system/install/server, is refreshed to mount /export/auto_install/solaris11_1-sparc as /etc/netboot/solaris11_1-sparc.

  6. Because this is the first SPARC install service created on this install server, the default-sparc service alias is automatically created. The image from solaris11_1-sparc is used by the alias, so /export/auto_install/solaris11_1-sparc is also mounted as /etc/netboot/default-sparc.

  7. The configuration file /etc/netboot/wanboot.conf is symbolically linked to /etc/netboot/default-sparc/wanboot.conf. The configuration file /etc/netboot/system.conf is symbolically linked to /etc/netboot/default-sparc/system.conf.

  8. The boot file required for DHCP configuration, http://10.80.238.5:5555/cgi-bin/wanboot-cgi, is provided.

  9. If a local ISC DHCP server is already configured, the boot file of the new default-sparc alias is set as the default boot file for all SPARC clients. This assignment occurs regardless of whether the -i and -c options are used.

Creating an x86 Install Service Using an IPS Package

This example creates an AI install service for x86 clients using a net image from an IPS package. This command also illustrates default behavior when options are not specified. If this install server is a SPARC system, you must supply the -a i386 option to specify that you want to create an x86 install service.

In addition to the boot file required for DHCP configuration, this command output also provides the boot server IP required for DHCP configuration.

$ pfexec installadm create-service -y

Creating service from: pkg:/install-image/solaris-auto-install
DOWNLOAD                                  PKGS       FILES    XFER (MB)   SPEED
Completed                                  1/1     514/514  291.8/291.8    0B/s

PHASE                                          ITEMS
Installing new actions                       661/661
Updating package state database                 Done
Updating image state                            Done
Creating fast lookup database                   Done
Reading search index                            Done
Updating search index                            1/1

Creating i386 service: solaris11_1-i386

Image path: /export/auto_install/solaris11_1-i386

Refreshing install services

Creating default-i386 alias

No local DHCP configuration found. This service is the default
alias for all PXE clients. If not already in place, the following should
be added to the DHCP configuration:
Boot server IP: 192.168.1.111
Boot file(s):
    bios clients (arch 00:00):  default-i386/boot/grub/pxegrub2
    uefi clients (arch 00:07):  default-i386/boot/grub/grub2netx64.efi

Refreshing install services
$ installadm list

Service Name      Alias Of          Status  Arch   Image Path
------------      --------          ------  ----   ----------
default-i386      solaris11_1-i386  on      i386   /export/auto_install/solaris11_1-i386
default-sparc     solaris11_1-sparc on      sparc  /export/auto_install/solaris11_1-sparc
solaris11_1-i386  -                 on      i386   /export/auto_install/solaris11_1-i386
solaris11_1-sparc -                 on      sparc  /export/auto_install/solaris11_1-sparc

The following operations are performed as a result of executing this installadm create-service command:

  1. The install service is automatically named solaris11_1-i386.

  2. Because no net image source option is specified, the newest version of the install-image/solaris-auto-install package is retrieved from the first publisher in the install server publisher list that provides this package.

  3. The default install service net image directory, /export/auto_install/solaris11_1-i386, is created. Because the -y option is specified, the prompt to confirm that this default destination is acceptable is suppressed.

  4. The install-image/solaris-auto-install package is installed into the net image location, /export/auto_install/solaris11_1-i386.

    By default, the variant of the install-image/solaris-auto-install package that is installed matches the architecture of the AI install server. In this example, the install server is an x86 system. If you wanted to create a SPARC install service on this server, you would need to use the -a option. See Creating an Install Service for information about the -a option.

  5. The GRUB menu is mounted at /etc/netboot/solaris11_1-i386/grub.cfg.

  6. The AI SMF service, system/install/server, is refreshed to mount /export/auto_install/solaris11_1-i386 as /etc/netboot/solaris11_1-i386.

  7. Because this is the first x86 install service created on this install server, the default-i386 service alias is automatically created. The image from solaris11_1-i386 is used by the alias, so /export/auto_install/solaris11_1-i386 is also mounted as /etc/netboot/default-i386.

  8. The boot server IP required for DHCP configuration is provided. The boot files required for DHCP configuration, default-i386/boot/grub/pxegrub2 and default-i386/boot/grub/grub2netx64.efi, are also provided.

  9. If a local ISC DHCP server is already configured, the boot files of the new default-i386 alias are set as the default boot files for all x86 clients. This assignment occurs regardless of whether the -i and -c options are used.

Creating an Install Service Including Local DHCP Setup

You can use the installadm create-service command to set up a DHCP server on this AI install server. Make sure the value of the all_services/manage_dhcp property is true. See Automatically Updating the ISC DHCP Configuration for more information about the all_services/manage_dhcp property.

The following example creates an install service for x86 clients where the network consists of a single subnet and the install server also acts as the DHCP server for the network. This install service serves twenty IP addresses (-c), starting from 10.80.239.150 (-i). If a DHCP server is not yet configured, an ISC DHCP server is configured. If an ISC DHCP server is already configured, that DHCP server is updated.

Note that when -i and -c arguments are provided and DHCP is configured, no binding exists between the install service being created and the IP range. When -i and -c are passed, the IP range is set up, a new DHCP server is created if needed, and that DHCP server remains up and running for all install services and all clients to use. The network information provided to the DHCP server has no specific bearing on the service being created.

If the IP range requested is not on a subnet that the install server is directly connected to and the install server is multihomed, use the -B option to provide the address of the boot file server (usually an IP address on this system). This option should only be necessary when multiple IP addresses are configured on the install server and DHCP relays are employed. In other configurations, the software can determine this automatically.

$ pfexec installadm create-service \
-s /var/tmp/images/i386/sol-11_1-ai-x86.iso \
-i 10.80.239.150 -c 20 -y

Creating service from: /var/tmp/images/i386/sol-11_1-ai-x86.iso
Setting up the image ...

Creating i386 service: solaris11_1-i386

Image path: /export/auto_install/solaris11_1-i386

Starting DHCP server...
Adding IP range to local DHCP configuration

Refreshing install services

Creating default-i386 alias.

Setting the default PXE bootfile(s) in the local DHCP configuration to:
bios clients (arch 00:00):  default-i386/boot/grub/pxegrub2
uefi clients (arch 00:07):  default-i386/boot/grub/grub2netx64.efi

Refreshing install services

The following operations are performed as a result of executing this installadm create-service command:

  1. The install service is automatically named solaris11_1-i386.

  2. The default install service net image directory, /export/auto_install/solaris11_1-i386, is created. Because the -y option is specified, the prompt to confirm that this default destination is acceptable is suppressed.

  3. The ISO file, /var/tmp/images/i386/sol-11_1-ai-x86.iso, is unpacked into the net image location, /export/auto_install/solaris11_1-i386.

  4. The GRUB menu is mounted at /etc/netboot/solaris11_1-i386/grub.cfg.

  5. The AI SMF service, system/install/server, is refreshed to mount /export/auto_install/solaris11_1-i386 as /etc/netboot/solaris11_1-i386.

  6. Because this is the first x86 install service created on this install server, the default-i386 service alias is automatically created. The image from solaris11_1-i386 is used by the alias, so /export/auto_install/solaris11_1-i386 is also mounted as /etc/netboot/default-i386.

  7. A DHCP service is created if necessary, and IP addresses 10.80.239.150 through 10.80.239.169 are provisioned. If DHCP service is already set up on this server, the -i and -c options update the DHCP server with new IP addresses for this service. The svc:/network/dhcp/server service is online.

  8. The boot files default-i386/boot/grub/pxegrub2 and default-i386/boot/grub/grub2netx64.efi are added to the local DHCP configuration as the default boot files for PXE clients.

The following sections show how installadm might add information to the DHCP configuration file for an ISC DHCP configuration. For more information about configuring ISC DHCP, see the Related Information.

ISC DHCP Configuration for an Oracle Solaris 11.1 i386 Install Service

The following example shows how installadm might add the IP addresses specified using the -i and -c options to the /etc/inet/dhcpd4.conf file for an ISC DHCP configuration for the Oracle Solaris 11.1 i386 install service created above:

subnet 10.80.239.0 netmask 25.255.255.0 {
  range 10.80.239.150 10.80.239.169;
  option broadcast-address  10.80.239.255;
  option routers 10.80.239.1;
  next-server 10.80.239.170;
}

The following example shows how installadm might set the default PXE boot files in the /etc/inet/dhcpd4.conf file for an ISC DHCP configuration for the default-i386 Oracle Solaris 11.1 i386 install service created above:

class "PXEBoot" {
  match if (substring(option vendor-class-identifier, 0, 9) = "PXEClient");
  if option arch = 00:00 {
    filename "default-i386/boot/grub/pxegrub2";
  } else if option arch = 00:07 {
    filename "default-i386/boot/grub/grub2netx64.efi";
  }
}

ISC DHCP Configuration for an Oracle Solaris 11 i386 Install Service

If you created an Oracle Solaris 11 i386 install service instead of an Oracle Solaris 11.1 service, you would see output similar to the following example:

If not already in place, the following should be added to the DHCP configuration:
        Boot server IP       : 10.134.125.136
        Boot file            : default-i386/boot/grub/pxegrub

The following example shows how installadm might set the default PXE boot file in the /etc/inet/dhcpd4.conf file for an ISC DHCP configuration for an Oracle Solaris 11 i386 install service:

class "PXEBoot" {
  match if (substring(option vendor-class-identifier, 0, 9) = "PXEClient");
  if option arch = 00:00 {
    filename "default-i386/boot/grub/pxegrub";
  }
}

ISC DHCP Configuration for an Oracle Solaris 11.1 sparc Install Service

If you created a sparc install service instead of an i386 service, you would see output similar to the following example:

If not already in place, the following should be added to the DHCP configuration:
Boot file: http://10.80.238.5:5555/cgi-bin/wanboot-cgi

The following example shows how installadm might set the default boot file in the /etc/inet/dhcpd4.conf file for an ISC DHCP configuration for an Oracle Solaris 11.1 sparc install service:

class "SPARC" {
  match if not (substring(option vendor-class-identifier, 0, 9) = "PXEClient");
  filename "http://10.80.238.5:5555/cgi-bin/wanboot-cgi";
}