How To install Solaris 11 automated install server

This a quick blog entry designed to outline the commands that can aid in the process of setting up a Solaris 11 Automated Install server. More details and an overview of what's changed, are of course available at the Simplified Installation section of the Oracle Solaris 11 Spotlight pages.


There are 2 types of interactive installation methods available:

·   Using a Text installer – for cases where a server system has a virtual console and no monitor attached and the installation questions need to be answered in an interactive manner

·   Using a LiveMedia installer (formerly LiveCD, LiveDVD, LiveUSB) – that targets systems that have a monitor and can render a graphical user interface for the purposes of providing a good look and feel of the system desktop and features, prior to deciding on installing it

Additionally, there is an installation method that allows for full automation — appropriately named  Automated Installer (which, for those of you that are familiar with older versions of Solaris, effectively picks up where JumpStart left off)

In the most basic of scenarios the roles required to complete the elements needed for the setup of an Automated Install server would be performed by the following services:

-       a DHCP server,

-       an Automated Install server, and

-       an Image Packaging System (IPS) repository server  

When creating Automated Install services, a bundled ISC DHCP server is instantiated automatically, hence there is no need to directly interact with DHCP commands.

Begin by installing a system using either of the 2 interactive installation modes.

Create an IPS repository from media:
root@aiserver:~# zfs create rpool/IPS
root@aiserver:~# zfs set mountpoint=/IPS rpool/IPS
root@aiserver:~# mkdir /IPS/Solaris11
root@aiserver:~# rsync –a /media/SOL11REPO_175b_FULL /IPS/Solaris11/

Enable an IPS repository service:
root@aiserver:~# svccfg –s application/pkg/server setprop \ pkg/inst_root=/IPS/Solaris11/SOL11REP_175b_FULL/repo
root@aiserver:~# svccfg –s application/pkg/server setprop pkg/readonly=true
root@aiserver:~# svcadm refresh application/pkg/server
root@aiserver:~# svcadm enable application/pkg/server


Point your system to the local IPS repository service:
root@aiserver:~# pkg set-publisher –O http://192.168.1.222 solaris

Create the install service from a downloaded .iso file:
root@aiserver:~# installadm create-service –n s11x86service –i 192.168.1.210 –c 1 –s /var/tmp/sol-11-dec-175b-ai-x86.iso


List and verify the instantiated install services:
root@aiserver:~# installadm list

List and verify the instantiated manifests associated with services:
root@aiserver:~# installadm list -m

Export (or dump out) the default install service's manifest into a file:
root@aiserver:~# installadm export –n s11x86service –m orig_default > /var/tmp/orig_default.xml


After making desired modifications in a file, re-import the install service's manifest from a file:
root@aiserver:~# installadm update-manifest –n s11x86service –m orig_default -f  /var/tmp/orig_default2.xml


If doing the above for the first time, specify 'default-i386' (or 'default-sparc') for the install service name:
root@aiserver:~# installadm update-manifest –n default-i386 –m orig_default -f  /var/tmp/orig_default2.xml

Create a system configuration profile interactively, and save the contents into a file:
root@aiserver:~# sysconfig create-profile –o sc.xml

Validate the resulting system configuration profile against an install service:
root@aiserver:~# installadm validate –n default-i386 –P sc.xml

Instantiate an system configuration profile with an install service:
root@aiserver:~# installadm create-profile –n default-i386 -f /var/tmp/sc_client.xml –p  sc_client 

Verify that the install service has the desired system configuration profile:
root@aiserver:~# installadm list –p


Now go and netboot your client. Let us know what specific scenarios you may have that might require additional coverage, if not covered already

Comments:

Post a Comment:
Comments are closed for this entry.
About

Isaac Rozenfeld is a Product Manager for Oracle Solaris; current responsibilities include the portfolio of networking and installation technologies in Solaris, with a focus on easing the overall application deployment experience


You can follow Isaac on Twitter @izfromsun

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today
News
Blogroll
Tech Reference

No bookmarks in folder