Popular Posts

Jan 18, 2018

How to Deploy a System From a Unified Archive using AI


How to Deploy a System From a Unified Archive using AI

GOAL : This document will show how to deploy a UAR using Solaris 11.3 using an AI service

Already a AI service is running with default OS deployment.
Install Solaris 11.3, Once the standard configuration is set, Clone the server using archiveadm.

Create a unified archive or UAR :
                  #  archiveadm create --root-only -e -z global -D rpool/UAR /UAR/sparc11.3.uar

The installer service paths are below
HTTP PATH  :  http://192.168.1.10:5555/uar.d/
Physical path :  /var/ai/image-server/images/uar.d/sparc11.3.uar - Place the UAR file in this path.

Create a /tmp//manifet-ARI.xml manifest file with the below content.
<!DOCTYPE auto_install SYSTEM "file:///usr/share/install/ai.dtd.1">
<auto_install>
  <ai_instance name="manifet-ARI" auto_reboot="true">
    <target>
      <logical>
        <zpool name="rpool" is_root="true">
          <filesystem name="export" mountpoint="/export"/>
          <filesystem name="export/home"/>
        </zpool>
      </logical>
    </target>
    <software type="ARCHIVE">
      <source>
        <file uri="http://192.168.1.10:5555/uar.d/sparc11.3.uar"/>
      </source>
    <software_data action="install">
      <name>global</name>
    </software_data>
    </software>
  </ai_instance>
</auto_install>


Creating Mainfest under Service :
                  #  installadm create-manifest -n default-sparc -m manifest-UAR -f /tmp//manifet-ARI.xml

Set this mainfest as default :
                  #  installadm set-service -M manifest-UAR -n default-sparc

Add clients to Manifest :
                  #  installadm create-client -n default-sparc -e 00:15:4g:1e:1g:48

Start the client with below command to boot from network installation :
                  OK>   setenv network-boot-arguments host-ip=192.168.1.75,router-ip=192.168.1.1,subnet-mask=255.255.255.0,hostname=judi-dev-01,file=http://192.168.1.10:5555/cgi-bin/wanboot-cgi
                  OK>   printenv network-boot-arguments
                  OK>   boot net - install

OS installation will start from AI servers .uar image


uar deployment
unified archive solaris 11.3
Creating a Unified Archive
How to Deploy a System From Unified Archive
System Recovery and Cloning With the Oracle Solaris Unified Archive
Oracle Solaris 11.3 Downloads - Unified Archives
How to Migrate a Non-Global Zone Using Unified Archives
Unified Archive Types
Create and Deploy a Clone Archive

~Judi~



No comments:

Post a Comment

Popular Posts