This article describes install solaris 11 over a network.It will show you how to create an install server and configure it.

1.Enable svc:/network/dns/multicast:default service:

   
   
   
   
  1. [root@pkg:~]# svcs -a|grep dns  
  2. disabled       20:40:37 svc:/network/dns/server:default  
  3. online         20:41:27 svc:/network/dns/client:default  
  4. online         22:02:24 svc:/network/dns/multicast:default 

 2.Get Local Network information:

   
   
   
   
  1. [root@pkg:~]# getent netmasks 172.16.255.0  
  2. 172.16.255.0         255.255.255.0 
 

3.Check following packages:

   
   
   
   
  1. [root@pkg:~]# pkg info installadm  
  2.           Name: install/installadm  
  3.        Summary: installadm utility  
  4.    Description: Automatic Installation Server Setup Tools  
  5.       Category: System/Administration and Configuration  
  6.          State: Installed  
  7.      Publisher: solaris  
  8.        Version: 0.5.11  
  9.  Build Release: 5.11  
  10.         Branch: 0.175.0.0.0.2.1482  
  11. Packaging Date: October 19, 2011 12:26:24 PM   
  12.           Size: 1.04 MB  
  13.           FMRI: pkg://solaris/install/[email protected],5.11-0.175.0.0.0.2.1482:20111019T122624Z 

4.Create Install Service by installadm command:

   
   
   
   
  1. [root@pkg:~]# installadm create-service -n auto_install -s /mnt/solaris/sol-11-1111-ai-x86.iso -i 172.16.255.201 -c 5  
  2.  
  3. Creating service from: /mnt/solaris/sol-11-1111-ai-x86.iso  
  4. OK to use default p_w_picpath path: /export/auto_install/auto_install? [y/N]: y  
  5. Setting up the p_w_picpath ...  
  6.  
  7. Creating service: auto_install  
  8.  
  9. Image path: /export/auto_install/auto_install  
  10.  
  11. Starting DHCP server...  
  12.  
  13. Adding IP range to local DHCP configuration  
  14.  
  15. Refreshing install services  
  16.  
  17. Creating default-i386 alias.  
  18.  
  19. Setting the default PXE bootfile in the local DHCP configuration to 
  20. 'default-i386/boot/grub/pxegrub' 
  21.  
  22. Refreshing install services 

5.Check Install Service:

   
   
   
   
  1. [root@pkg:~]# installadm list  
  2.  
  3. Service Name Alias Of     Status  Arch   Image Path   
  4. ------------ --------     ------  ----   ----------   
  5. auto_install -            on      x86    /export/auto_install/auto_install  
  6. default-i386 auto_install on      x86    /export/auto_install/auto_install  

6.Add Clients To Install Server:

   
   
   
   
  1. [root@pkg:~]# installadm create-client -e 00:0C:29:99:21:A5 -n auto_install  
  2. Adding host entry for 00:0C:29:99:21:A5 to local DHCP configuration.  
  3.  
  4. [root@pkg:~]# installadm create-client -e 00:0C:29:E9:B6:5E -n auto_install  
  5. Adding host entry for 00:0C:29:E9:B6:5E to local DHCP configuration.  
  6.  
  7. [root@pkg:~]# installadm list -c  
  8.  
  9. Service Name Client Address     Arch   Image Path   
  10. ------------ --------------     ----   ----------   
  11. auto_install 00:0C:29:99:21:A5  i386   /export/auto_install/auto_install  
  12.              00:0C:29:E9:B6:5E  i386   /export/auto_install/auto_install 

7.Create A Directory To Store Manifest Files:

   
   
   
   
  1. [root@pkg:~]# mkdir -p /var/tmp/mainfests  
  2. [root@pkg:mainfests]# more auto_install.xml   
  3. "1.0" encoding="UTF-8"?>  
  4. --  
  5.    
  6.  
  7.  Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved.  
  8.  
  9. -->  
  10. "file:///usr/share/install/ai.dtd.1">  
  11.  
  12.   name="default">  
  13.       
  14.         
  15.         name="rpool" is_root="true">  
  16.           name="export" mountpoint="/export"/>  
  17.           name="export/home"/>  
  18.           name="solaris"/>  
  19.           
  20.         
  21.       
  22.     "IPS">  
  23.         
  24.           
  25.           -- Specify locales to install -->  
  26.           set="false">facet.locale.*  
  27.           set="true">facet.locale.de  
  28.           set="true">facet.locale.de_DE  
  29.           set="true">facet.locale.en  
  30.           set="true">facet.locale.en_US  
  31.           set="true">facet.locale.es  
  32.           set="true">facet.locale.es_ES  
  33.           set="true">facet.locale.fr  
  34.           set="true">facet.locale.fr_FR  
  35.           set="true">facet.locale.it  
  36.           set="true">facet.locale.it_IT  
  37.           set="true">facet.locale.ja  
  38.           set="true">facet.locale.ja_*  
  39.           set="true">facet.locale.ko  
  40.           set="true">facet.locale.ko_*  
  41.           set="true">facet.locale.pt  
  42.           set="true">facet.locale.pt_BR  
  43.           set="true">facet.locale.zh  
  44.           set="true">facet.locale.zh_CN  
  45.           set="true">facet.locale.zh_TW  
  46.           
  47.         
  48.         
  49.         name="solaris">  
  50.           name="http://pkg.xzxj.edu.cn"/>  
  51.           
  52.         
  53.       --  
  54.         By default the latest build available, in the specified IPS  
  55.         repository, is installed.  If another build is required, the  
  56.         build number has to be appended to the 'entire' package in the  
  57.         following form:  
  58.  
  59.             <name>pkg:/[email protected]#name>  
  60.       -->  
  61.       action="install">  
  62.         <name>pkg:/entire@latestname>  
  63.         <name>pkg:/group/system/solaris-large-servername>  
  64.         
  65.       
  66.     
  67.  
  68.  
  69. [root@pkg:mainfests]# more criteria.xml   
  70.  
  71.     name="mac">  
  72.         
  73.         00:0C:29:99:21:A5  
  74.         00:0C:29:E9:B6:5E  
  75.         
  76.       
  77.  

8.Create manifest by installadm command:

   
   
   
   
  1. [root@pkg:~]# installadm create-manifest -n auto_install -f /var/tmp/mainfests/auto_install.xml \
  2. >-C /var/tmp/mainfests/criteria.xml  
  3. [root@pkg:~]# installadm list -m  
  4.  
  5. Service Name  Manifest      Status   
  6. ------------  --------      ------   
  7. auto_install  default         
  8.               orig_default  Default 
  9. default-i386  orig_default  Default 

9.Display Configuration Details:

   
   
   
   
  1. [root@pkg:~]# installadm list -m -n auto_install  
  2.  
  3. Manifest      Status    Criteria   
  4. --------      ------    --------   
  5. default                 mac = 00:0C:29:99:21:A5 - 00:0C:29:E9:B6:5E  
  6.  
  7. orig_default  Default   None 

10.The Client Installing:

Use the Automated Installer (AI) to install the Oracle Solaris 11_第1张图片

Use the Automated Installer (AI) to install the Oracle Solaris 11_第2张图片

Use the Automated Installer (AI) to install the Oracle Solaris 11_第3张图片

Use the Automated Installer (AI) to install the Oracle Solaris 11_第4张图片

Use the Automated Installer (AI) to install the Oracle Solaris 11_第5张图片

For more information:Installing Oracle Solaris 11 Systems