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

Document Information

Preface

1.  Transitioning From Oracle Solaris 10 to an Oracle Solaris 11 Release (Overview)

2.  Transitioning to an Oracle Solaris 11 Installation Method

3.  Managing Devices

4.  Managing Storage Features

5.  Managing File Systems

6.  Managing Software and Boot Environments

7.  Managing Network Configuration

8.  Managing System Configuration

9.  Managing Security

10.  Managing Oracle Solaris Releases in a Virtual Environment

11.  Managing User Accounts and User Environments

12.  Managing Desktop Features

A.  SPARC Automated Installation Scenario

Installing a System by Using AI

Configuring an AI Server

Confirm Network Related Resources Are Available

Create a Local Package Repository

Create an AI Install Service

Configure an AI Manifest

Booting the Installation Client

Configuring an AI Server

The following example illustrates the primary tasks of configuring an AI server to install a SPARC based system on an IPv4 network with a local package repository, and a minimally customized AI manifest.

This example uses the following configuration options:

Confirm Network Related Resources Are Available

Configuration steps covered in this task:

Example A-1 How to Confirm Network Related Resources Are Available

Confirm the install server has a static IP and router information.

# ipadm show-addr
ADDROBJ           TYPE     STATE        ADDR
lo0/v4            static   ok           127.0.0.1/8
e1000g0/v4static1 static   ok           1.2.3.10/24
lo0/v6            static   ok           ::1/128
e1000g0/v6dhcp    addrconf ok           fe80::aaa:bbbb:cccc:8988/10

# netstat -nr
Routing Table: IPv4
  Destination           Gateway           Flags  Ref     Use     Interface 
-------------------- -------------------- ----- ----- ---------- --------- 
default              1.2.3.1              UG        3     115957 net0      
1.2.3.64             1.2.3.10             U         4     287300 net0      
127.0.0.1            127.0.0.1            UH        2        116 lo0       
.
.
.

Make sure the DNS server is accessible.

# getent hosts daleks
1.2.3.99        daleks

Create a Local Package Repository

Configuration steps covered in this task:

Example A-2 How to Create a Local Package Repository

These steps are performed on the install server or on another system that is accessible over the network.

Copy the repository image by using your favorite tool, such as rsync or tar. Using tar is generally faster than rsync, but the tar operation might take a while.

# mount -F hsfs /tmp/sol-11_1-repo-full.iso /mnt
# zfs create rpool/export/s11.1repo
# cd /mnt/repo; tar cf - . | (cd /export/s11.1repo; tar xfp - )
# pkgrepo -s /export/s11.1repo refresh
Initiating repository refresh.

Next, start the package service so that the package repository is accessible.

# svccfg -s application/pkg/server setprop pkg/inst_root=/export/s11.1repo
# svccfg -s application/pkg/server setprop pkg/readonly=true
# svcadm refresh application/pkg/server
# svcadm enable application/pkg/server
# pkg set-publisher -G "*" -g http://tardis.dw.com/ solaris

Create an AI Install Service

Configuration steps covered in this task:

Example A-3 How to Create an Install Service

The following steps are performed on the install server to create the install service. In Oracle Solaris 11.1, the install service image can be created directly from a local package repository.

Confirm that the install/installadm package is available.

# pkg info installadm
          Name: install/installadm
       Summary: installadm utility
   Description: Automatic Installation Server Setup Tools
      Category: System/Administration and Configuration
         State: Installed
     Publisher: solaris
       Version: 0.5.11
 Build Release: 5.11
        Branch: 0.175.1.0.0.24.1736
Packaging Date: Wed Sep 12 19:32:53 2012
          Size: 1.23 MB
          FMRI: pkg://solaris/install/installadm@0.5.11,5.11-0.175.1.0.0.24.1736:
20120912T193253Z

If not installed, install it:

# pkg install install/installadm

Create a file system for the image and enable the multicast DNS service. Then, create the install service. In this example, the starting DHCP address is specified with the -i option and the -c option identifies the number of addresses. This syntax creates an ISC DHCP server on the install server if it does not already exist.

# zfs create rpool/export/image
# svcadm enable svc:/network/dns/multicast:default
# installadm create-service -n sol-11u1-sparc -d /export/image -i 1.2.3.66
-c 20
Creating service from: Creating service from: pkg:/install-image/solaris-auto-install
Setting up the image ...

DOWNLOAD                                PKGS         FILES    XFER (MB)   SPEED
Completed                                1/1         45/45  237.8/237.8    0B/s

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

Creating sparc service: sol-11u1-sparc

Image path: /export/image

Service discovery fallback mechanism set up
Creating SPARC configuration file
Starting DHCP server...
Adding IP range to local DHCP configuration
Creating default-sparc alias
Service discovery fallback mechanism set up

Refreshing install services

The DCHP configuration information is included in the /etc/inet/dhcpd4.conf file. The range of dynamic IP addresses looks similar to this:

range 1.2.3.66 1.2.3.86

You can also identify fixed addresses for clients by including syntax similar to the following in the /etc/inet/dhcpd4.conf file:

host neo {
   hardware ethernet 0:3:3:4:5:2 ;
   fixed-address 1.2.3.88 ;
}

Add the client's MAC address to the install service:

# installadm create-client -e 0:3:ba:dd:ff:2 -n sol-11u1-sparc

If you do not specify the DHCP information when the install service is created, the SPARC client boot information is provided on the screen:

# installadm create-service -n sol-11u1-sparc -d /export/image
Creating service from: Creating service from: pkg:/install-image/solaris-auto-install
Setting up the image ...
DOWNLOAD                                PKGS         FILES    XFER (MB)   SPEED
Completed                                1/1         45/45  237.8/237.8    0B/s

PHASE                                          ITEMS
Installing new actions                       187/187
Updating package state database                 Done 
.
.
.
Creating sparc service: sol-11u1-sparc

Image path: /export/image

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://1.2.3.10:5555/cgi-bin/wanboot-cgi

Configure an AI Manifest

Configuration steps covered in this task:

Example A-4 How to Configure an AI Manifest

The following example describes how to create a file system for manifests, modify a default manifest, and associate it with the install service.

# zfs create rpool/export/manifests
# cd /export/manifests
# installadm export -n sol-11u1-sparc -m orig_default -o sclient.xml
# vi sclient.xml
# installadm create-manifest -n sol-11u1-sparc -f ./sclient.xml -m sclient
# installadm list -n sol-11u1-sparc -m
# installadm set-service -o default-manifest=sclient sol-11u1-sparc
# installadm list -n sol-11u1-sparc -m

The sclient manifest is modified as follows:

The sclient manifest changes are included in bold as follows:

.
.
.
<ai_instance name="orig_default" auto_reboot="true">
.
.
.
<source>
  <publisher name="solaris">
    <origin name="http://tardis.dw.com"/>
  </publisher>
</source>
.
.
.

If you change the manifest after it has been activated, update it so the changes take affect.

# installadm update-manifest -n sol-11u1-sparc -f ./sclient.xml -m sclient