N1 Provisioning Server 3.1, Blades Edition, System Administration Guide

Importing Images

The N1 Provisioning Server supports importing preconfigured and manually created image from the command line.

ProcedureTo Import Preconfigured Images

Use the image -c command to import preconfigured images. The -c option creates a server image entry in the database.

Before You Begin

Ensure that the image contents are accessible on an NFS-shared directory on the image server.

Ensure that enough storage is available on the N1 Provisioning Server or, if you are using a separate server for storing images, on the image server.


Note –

Preconfigured images are packaged with the N1 Provisioning Server agent and other configurations. Do not use the -n option with the image -c command because it will set the image to a non-deployable state.


Step
  1. Type image -c


Example 3–5 Importing an Image


image -c -s -L nfs://3001/image/s9u5-img -S 4096M -A sun4ublade 
-o solaris s9u5-js 'Solaris 9 update 5 jumpstart for sparc blades' 

In the example, an image is created and imported with the name s9u5-img, the size 4096MB, located at device 3001 in the directory path /images/s9u5-js. The image is for the sun4ublade architecture.


ProcedureTo Import JumpStart Images

Steps
  1. Set up the JumpStart server.

    See Creating the JumpStart Setup.

  2. Customize the boot and configuration JumpStart servers.

    See Customizing the JumpStart Boot and Configuration Server.

  3. Use the following command to import the JumpStart environment into the N1 Provisioning Server environment:

    image -c -s -n -L nfs://3001/images/jumpstart -S image size -A sun4ublade -O solaris -T jumpstart -P /images/jumpstart/dhcp-options.txt sun4ublade-js-image "*description*"

    Example:


    image -c -s -n -L nfs://3001//images/jumpstart-3 -S 1 -A sun4ublade -O solaris 
    -T jumpstart -P dhcp-options.txt solaris-jumpstart-validate-img "Jumpstart validation desc" 
    Created server image: 92  

    Note –

    The image locator URL must be unique. The -n option is required.


    This operation will create a new image in a non-deployable state. You need to validate the image before you can deploy the image to a farm.