N1 Provisioning Server 3.1, Blades Edition, System Administration Guide

ProcedureTo Upgrade Images

Steps
  1. Obtain a list of the images using the command:


    image -ls
    IMAGE_ID  IMAGE_NAME        CUSTOMER    DISK_VOL_ID  SIZE    OS
    2	         solaris	           __grid__   22001/5       8631   Solaris
    1087      solaris_dhcpfix    __grid__   22001/22      8631   Solaris
  2. Type the following command:


    image –p [-z] [-i image_name] server_type disk_type controller_typ disk_size
    

    For example:


    image -p –z –i master_image sun_svr_420R local ide 30004789248

    Note –

    If access to the N1 Provisioning Server DVD or other shared media is required for software installation, use the -z option to specify this.


  3. Logon to the resource pool server.

  4. Modify the image according to your requirements, such as updating the N1 Provisioning Server monitoring package. See Upgrading the N1 Provisioning Server Agent of an Image for more information.

  5. Run the image —r command from the control plane server.

    This command releases the farm you created with the image —p command. Releasing the farm includes the following:

    • Taking a snapshot of the image. The snapshot serves as the new image you have just created.

    • Releasing the resource pool server to the resource pool.

    • Updating the N1 Provisioning Server database with a reference to the image.


    image -r -f farm_ID [-S image_size] -i image_name
    

    For example:


    image -r -f 171 -S 9050849280 -i image_name

    The value of the farm-ID option is the ID of the farm you created using the image —p command in step 3.

  6. Delete the farm by typing:

    farm -Df farm-ID