N1 Provisioning Server 3.1, Blades Edition, System Administration Guide

Creating and Managing Images Using the Image Wizard

The image wizard runs on the control plane server and provides a menu-driven, command-line interface for creating, importing, and managing images. Using the image wizard you can perform the following tasks:

Task 

Image Format 

Source 

Architecture 

Create 

Disk or flash 

From an existing disk image in the image repository 

Solaris SPARC or x86 

Create 

Disk or flash 

From an existing flash image in the image repository 

Solaris SPARC or x86 

Create 

Disk or flash 

From a JumpStart installation 

Solaris SPARC or x86 

Create 

Disk or flash 

Manual 

Solaris SPARC or x86 

Create 

Disk 

From an existing disk image in the image repository 

Linux x86 

Create 

Disk  

Manual 

Linux x86 

Upgrade 

All 

All 

All 

Import 

Disk or flash 

Preconfigured 

Solaris SPARC or x86 

Import 

Disk 

Preconfigured 

Linux x86 

Import 

Disk, flash, or JumpStart 

All 

Solaris SPARC or x86 

Import 

Disk 

All 

Linux x86 

Import 

All  

All 

All 

Validate 

All 

All 

All 

List 

All 

All 

All 

Update image attributes 

All 

All 

All 

Delete 

All 

All 

All 

Accessing the Image Wizard

Use the /opt/terraspring/sbin/imagewizard command to access the image wizard from the control plane server. See the imagewizard man page for details on how to use the command.


Note –

You must have root access to the control plane server before you can access the image wizard.


The following is the image wizard's main dialog:


Please select,

1) Create - Create a new image and store the image in the repository
2) Import - Import an image into the repository
3) List   - List the images in the repository
4) Update - Update image attribute information in the repository
5) Delete - Delete an image in the repository
6) Validate - Validate imported images
7) Quit
Enter your selection [1-7] >

ProcedureTo Create an Image

Steps
  1. Type /opt/terrasprin/sbin/imagewizard to access the image wizard's main dialog.

  2. In the image wizard's main dialog, type 1 to create an image.

    Make your selections from the following dialog depending on whether you want to create an image from one of the following:

    Image Format 

    Source 

    Architecture 

    Disk 

    Existing disk image 

    Solaris SPARC 

    Flash 

    Existing disk image 

    Solaris SPARC 

    Disk 

    Existing disk image 

    Solaris x86 

    Flash 

    Existing disk image 

    Solaris x86 

    Disk 

    Existing flash image 

    Solaris SPARC 

    Flash 

    Existing flash image 

    Solaris SPARC 

    Disk 

    Existing flash image 

    Solaris x86 

    Flash 

    Existing flash image 

    Solaris x86 

    Disk 

    JumpStart installation 

    Solaris SPARC 

    Flash 

    JumpStart installation 

    Solaris SPARC 

    Disk 

    JumpStart installation 

    Solaris x86 

    Flash 

    JumpStart installation 

    Solaris x86 

    Disk 

    Manual installation 

    Solaris SPARC 

    Flash 

    Manual installation 

    Solaris SPARC 

    Disk 

    Manual installation 

    Solaris x86 

    Flash 

    Manual installation 

    Solaris x86 

    Disk 

    Existing disk image 

    Linux x86 

    Disk 

    Manual installation 

    Linux x86 

    The following dialogs show example selections for creating images from an existing image.

  3. Select the operating environment.


    Following are the operating systems supported:
    
    1) Solaris
    2) Linux
    3) Return to previous option
    
    
    Please enter your selection [1-3] > 1
  4. Select the architecture.


    Following architectures are supported:
    
    1) sun4ublade
    2) i86pc
    3) Return to previous option
    
    Please enter your selection [1-3] > 1
  5. Indicate the source for the image.


    You can start creating a new image from:
    
    1) Existing image in the repository
    2) JumpStart installation server
    3) Manual OS installation
    4) Return to previous option
    
    Enter your selection [1-4] > 1
  6. Select the image type.


    Please select among the following images
    
    --------------------------------------------------------------------------
    Sel#    Image Name                   Image Id    Image Description
    --------------------------------------------------------------------------
    
    1) solaris9u5-sun4ublade-flash        : 7 : solaris9 update 5 flash image 
    2) Return to previous option
    
    Please enter your selection [1-2] > 1
  7. Type 1 to select the device attributes menu for the image.


    Please provide the following information for the new image
    
    1) Device Selection Attributes for the New Image
    2) Image Attributes Of the New Image
    3) Continue to create the New Image
    4) Return to previous option
    
    Enter your selection [1-4] > 1
  8. Type 1 to select the server type.


    Please enter the following device selection information
    
    1) Server Type: 
    2) Disk Type: 
    3) Disk Controller Type: 
    4) Disk Size: Not specified
    5) Return to previous option
    
    Please enter your selection [1-5] > 1
  9. Indicate the server type.


    Please select the server type
    1) sunfireb100x-96-blade
    2) sunfireb100s-95-blade
    3) Return to previous option
    
    Please enter your selection [1-3] > 2
  10. Type 2 to select the disk type.


    Please enter the following device selection information
    
    1) Server Type: sunfireb100s-95-blade
    2) Disk Type: 
    3) Disk Controller Type: 
    4) Disk Size: Not specified
    5) Return to previous option
    
    Please enter your selection [1-5] > 2
  11. Indicate the disk type.


    Please select the disk type
    1) local
    2) Return to previous option
    
    Please enter your selection [1-2] > 1
  12. Type 3 to select the disk controller.


    Please enter the following device selection information
    
    1) Server Type: sunfireb100s-95-blade
    2) Disk Type: local
    3) Disk Controller Type: 
    4) Disk Size: Not specified
    5) Return to previous option
    
    Please enter your selection [1-5] > 3
  13. Indicate the disk controller.


    Please select the disk controller type
    
    1) ide
    2) Return to previous option
    
    Please enter your selection [1-2] > 1
  14. Type 4 to select the disk size.


    Please enter the following device selection information
    
    1) Server Type: sunfireb100s-95-blade
    2) Disk Type: local
    3) Disk Controller Type: ide
    4) Disk Size: Not specified
    5) Return to previous option
    
    Please enter your selection [1-5] > 4
  15. Indicate the disk size.


    Please select the disk size
    
    1) 30000000000
    2) Return to previous option
    
    Please enter your selection [1-2] > 1
  16. Type 5 to return to the main image information menu shown in step 5.


    Please enter the following device selection information
    
    1) Server Type: sunfireb100s-95-blade
    2) Disk Type: local
    3) Disk Controller Type: ide
    4) Disk Size: 30000000000 Bytes
    5) Return to previous option
    
    Please enter your selection [1-5] > 5
  17. Type 2 to select the image attributes menu.


    Please provide the following information for the new image
    
    1) Device Selection Attributes for the New Image
    2) Image Attributes Of the New Image
    3) Continue to create the New Image
    4) Return to previous option
    
    Enter your selection [1-4] > 2
  18. Indicate the image name.


    Please enter the following image attribute information
    
    1) Image name: 
    2) Image description: 
    3) Image archive type: 
    4) Image type: Global Image
    5) Image size: Not specified
    6) Return to previous option
    
    Please enter your selection [1-6] > 1
    
    Please enter the image name > s9u5-customized-test
  19. Type 2 to select and specify the image description.


    Please enter the following image attribute information
    
    1) Image name: s9u5-customized-test
    2) Image description: 
    3) Image archive type: 
    4) Image type: Global Image
    5) Image size: Not specified
    6) Return to previous option
    
    
    Please enter your selection [1-6] > 2
    Please enter the image description > created from s9u5 preconfigured image with customizations
  20. Type 3 to select the archive type.


    Please enter the following image attribute information
    
    
    1) Image name: s9u5-customized-test
    2) Image description: created from s9u5 preconfigured image with customizations
    3) Image archive type: 
    4) Image type: Global Image
    5) Image size: Not specified
    6) Return to previous option
    
    Please enter your selection [1-6] > 3
  21. Indicate the archive type.


    Following image archive types are supported:
    
    1) disk_image
    2) flash
    3) Return to previous option
    
    
    Please enter your selection [1-3] > 2
  22. Type 6 to return to the main image information menu shown in step 5.


    Note –

    Selection 4 from the following menu is not available for modification because the image wizard enables creation of global images only.



    Please enter the following image attribute information
    
    1) Image name: s9u5-customized-test
    2) Image description: created from s9u5 preconfigured image with customizations
    3) Image archive type: flash
    4) Image type: Global Image
    5) Image size: Not specified
    6) Return to previous option
    
    Please enter your selection [1-6] > 6
  23. Type 3 to continue the image creation.


    Please provide the following information for the new image
    
    1) Device Selection Attributes for the New Image
    2) Image Attributes Of the New Image
    3) Continue to create the New Image
    4) Return to previous option
    
    Enter your selection [1-4] > 3
    Following is the information you have entered
    
    Create from existing image: solaris9u5-sun4ublade-flash
    Operating system: solaris
    Architecture: sun4ublade
    Image name: s9u5-customized-test
    Image description: created from s9u5 preconfigured image with customizations
    Image archive type: flash
    Image type: Global Image
    Image size: Not specified
    Server Type: sunfireb100s-95-blade
    Disk Type: local
    Disk Controller Type: ide
    Disk Size: 30000000000 Bytes
  24. Type y to continue with the image creation procedure.


    Enter y to continue and n to return to previous option > y
  25. Verify that you have enough space on the image server for the new image, then type y.


    Please ensure that you have enough space on the image server
    to hold the new image that will be created.
    The path on image server where the image will be created is:
            /images/master-images
    
    Enter y to continue and n to return to previous option > y
  26. If you want to use NFS shares from the N1 Provisioning Server, type y. If you do not want to use NFS shares from the N1 Provisioning Server, type n.


    Specify whether you want to use NFS
    shares from N1 Provisioning Server [default n] > n
    
    Preparing farm for image creation/validation.
    This will take some time, please wait till the operation completes.
    Do not interrupt the operation.
    Please run farm -Lt <farm id> for more information.

Example 3–1 Image Creation Output

The following output example also contains instructions on how to prepare the image for release to the resource pool server. See Creating A Solaris Image from a Preconfigured Image, Creating a Solaris Image Manually from JumpStart, Creating the JumpStart Setup, and Customizing the JumpStart Boot and Configuration Server.

If, after starting the image -r command, a replaceFailedDevice request is queued. You must delete this request for the image creation process to complete successfully. Run the request -l command to get the request ID, then use the request -d request_ID command to do delete the request.


Creating farm 'ImageTool1076361866520-751' ...
Request (id: 335) submitted.
Waiting for request 335 to complete...
.
Farm ImageTool1076361866520-751 is created. Farm id = 108
Activating farm 108 ...
Request (id: 336) submitted.
Waiting for farm request 336 to complete or
farm to reach state 50 ...
...........................................................
Farm 108 is ready for image creation/update.
Please proceed to PES 50101, disk 2 and install/update the software.

After you are finished with the image, please execute the following to release the image:
    image -r [-S image_size] [-T image_archive_type] -f 108 -i <new-image-name>


Completed preparing farm for image creation/validation
Farm ID is: 108

The following resource pool server has been
selected for creating an image.
Resource Pool Server Device ID: 50101

Following is the information on how you can gain console
access to this machine.

In an another window, telnet to the specified system controller (SC)
based on the IP address provided below.

Login into the SC using the username and password of the SC and type

console <id>

The <id> is the id printed below,
(for e.g., sc> console s5)
 
 Console Information
 ====================
 IP address of Terminal-Server(Service Controller): 10.5.136.20
 Port(Blade) ID: s1



Issue the following commands on the sytem controller to boot the
resource pool server from the disk

sc> bootmode bootscript="boot disk" s<x>.
(where "s<x>" is provided in resource pool server information)

then you can issue the following command to reset

sc> reset -y s<x> 

Please enter y when the resource pool server has booted from disk > y


You can customize your installation at this point in time.

Please logon to the resource pool server and customize.

Please enter y when your customization is completed > y


Please shutdown the resource pool server by issuing the command

For Solaris:
# /usr/sbin/shutdown -y -g0 -i0
For Linux:
# /sbin/shutdown -h now

Once the resource pool server shuts down, for sparc blades set the
OBP of resource pool server to boot using dhcp by issuing the following
command in the OBP prompt (no changes are required for i86pc blades) 

ok> setenv boot-device net:dhcp

Please enter y when the resource pool server has completed the shutdown
and when you have configured the resource pool server to boot using dhcp > y

Creating image.

This will take some time, please wait till the operation completes.
Do not interrupt the operation.
Please run farm -Lt <farm-id> for more information.

Disabling monitoring on PES 50101
Powering off PES 50101 for a move to it's original VLAN
Setting PES State to OFF
Moving PES 50101 to its original VLAN
Powering on PES 50101 in it's original VLAN
Setting PES State to ON
Activating farm 108 ...
Request (id: 397) submitted.
Waiting for request 397 to complete...
..
Taking snapshot of target 0 for host server for farm 108 to create final image ...
Request (id: 400) submitted.
Waiting for request 400 to complete...
.....................................................................................
Snapshot was successful.
Deactivating the farm 108
Request (id: 456) submitted.
Waiting for request 456 to complete...
.............................................................................
Farm 108 is deactivated.
Image s9u5-customized-test is ready for use.

Image creation completed.


Updating image attributes.


Updated image: 14


Image update completed.

WARNING: The farm created for image creation has to be deleted manually. 
        Use the farm -D <farm-id> command to delete the farm.
        Please wait for the farm to be deactivated before you issue
        this command.

ProcedureTo Upgrade an Image

Before You Begin

For an image upgrade, such as software upgrade or patch installation, you need to create a new image. You can add the software or patches during the customization step of the image creation process.

Steps
  1. Select the Create Image option.

  2. Select the Create from Existing Image option.

  3. Provide the information for the new image.

  4. Answer the following questions with “y”.


    Specify whether you want to use NFS shares from the N1 Provisioning Server [default n] y.
  5. The image wizard will prompt you to customize the image. To do so connect to the resource pool server using telnet and install any new software packages and patches.

  6. Follow the image wizard instructions to create the new image.

ProcedureTo Import an Image

Steps
  1. From the image wizard's main dialog, type 2 to import an image.

  2. Specify whether you want to import a preconfigured image or another image.

    • Type 1 to import a preconfigured image.

    • Type 2 to import another image.


      You can start importing images from:
      
      1) Canned images supplied with this product
      2) Other images
      3) Return to previous option
      
      Enter your selection [1-3] > 2
      
      CAUTION:  You are about to import an image that is not supplied with 
      this product. Please refer to the System Administration Guide for importing 
      images not supplied with the product.
  3. Type y to continue importing an image.


    Please enter y if you want to continue [default y] > y
  4. Type 1 to provide operating environment information for the image to be imported.


    Please provide information for importing image
    
    1) Operating system: 
    2) Architecture: 
    3) Image name: 
    4) Image description: 
    5) Image archive type: 
    6) Image type: Account Image: Account Name: 
    7) Image size: 0
    8) Image location: 
    9) Image config file: 
    10) Continue to import image
    11) Return to previous option
    
    Please enter your selection [1-11] > 1
  5. Select an operating environment from the list.


    Following are the operating systems supported:
    
    1) Solaris
    2) Linux
    3) Return to previous option
    
    Please enter your selection [1-3] > 1
  6. Type 2 to provide architecture information for the image to be imported.


    Please provide information for importing image
    
    1) Operating system: solaris
    2) Architecture: 
    3) Image name: 
    4) Image description: 
    5) Image archive type: 
    6) Image type: Account Image: Account Name: 
    7) Image size: 0
    8) Image location: 
    9) Image config file: 
    10) Continue to import image
    11) Return to previous option
    
    Please enter your selection [1-11] > 2
  7. Select an architecture from the list.


    Following architectures are supported:
    
    1) sun4ublade
    2) i86pc
    3) Return to previous option
    
    Please enter your selection [1-3] > 1
  8. Type 3 to provide a name for the image to be imported.


    Please provide information for importing image
    
    1) Operating system: solaris
    2) Architecture: sun4ublade
    3) Image name: 
    4) Image description: 
    5) Image archive type: 
    6) Image type: Account Image: Account Name: 
    7) Image size: 0
    8) Image location: 
    9) Image config file: 
    10) Continue to import image
    11) Return to previous option
    
    Please enter your selection [1-11] > 3
  9. Type the image name.


    Please enter the image name > s9u5-jumpstart-test 
  10. Type 4 to provide a description for the image to be imported.


    Please provide information for importing image
    
    1) Operating system: solaris
    2) Architecture: sun4ublade
    3) Image name: s9u5-jumpstart-test
    4) Image description: 
    5) Image archive type: 
    6) Image type: Account Image: Account Name: 
    7) Image size: 0
    8) Image location: 
    9) Image config file: 
    10) Continue to import image
    11) Return to previous option
    
    Please enter your selection [1-11] > 4
  11. Type the image description.


    Please enter the image description > s9u5 jumpstart settings 
     
  12. Type 5 to provide the archive type for the image to be imported.


    Please provide information for importing image
    
    1) Operating system: solaris
    2) Architecture: sun4ublade
    3) Image name: s9u5-jumpstart-test
    4) Image description: s9u5 jumpstart settings
    5) Image archive type: 
    6) Image type: Account Image: Account Name: 
    7) Image size: 0
    8) Image location: 
    9) Image config file: 
    10) Continue to import image
    11) Return to previous option
    
    Please enter your selection [1-11] > 5
  13. Select the image archive type from the list.


    Following image archive types are supported:
    
    1) disk_image
    2) flash
    3) jumpstart
    4) Return to previous option
    
    Please enter your selection [1-4] > 3
  14. Type 6 to provide the image type for the image to be imported.


    Please provide information for importing image
    
    1) Operating system: solaris
    2) Architecture: sun4ublade
    3) Image name: s9u5-jumpstart-test
    4) Image description: s9u5 jumpstart settings
    5) Image archive type: jumpstart
    6) Image type: Account Image: Account Name: 
    7) Image size: Not specified
    8) Image location: 
    9) Image config file: 
    10) Continue to import image
    11) Return to previous option
    
    Please enter your selection [1-11] > 6
  15. Select the image type from the list.


    Please enter the image type
    
    1) Global Image
    2) Account Image
    3) Return to previous option
    
    Enter your selection > 1
  16. Type 7 to provide the size for the image to be imported.


    Please provide information for importing image
    
    1) Operating system: solaris
    2) Architecture: sun4ublade
    3) Image name: s9u5-jumpstart-test
    4) Image description: s9u5 jumpstart settings
    5) Image archive type: jumpstart
    6) Image type: Global Image
    7) Image size: Not specified
    8) Image location: 
    9) Image config file: 
    10) Continue to import image
    11) Return to previous option
    
    Please enter your selection [1-11] > 7
  17. Specify the image size.


    Please enter the image size [Not specified] > 30000000000
  18. Type 8 to provide the location for the image to be imported.


    Please provide information for importing image
    
    1) Operating system: solaris
    2) Architecture: sun4ublade
    3) Image name: s9u5-jumpstart-test
    4) Image description: s9u5 jumpstart settings
    5) Image archive type: jumpstart
    6) Image type: Global Image
    7) Image size: 30000000000
    8) Image location: 
    9) Image config file: 
    10) Continue to import image
    11) Return to previous option
    
    Please enter your selection [1-11] > 8
  19. Specify the location.


    Provide the image location URL (<protocol>://<device-id>/<path>) 
    Make sure the directory specified by <path> exists before going further.
    (e.g., nfs://3001/images/master-images/test-image-1
     e.g., ftp://3001/images/master-images/test-image-2
     e.g., nfs://3001/images/jumpstart) > nfs://3001/images/jumpstart
  20. Type 9 to provide the configuration file for the image to be imported.


    Please provide information for importing image
    
    1) Operating system: solaris
    2) Architecture: sun4ublade
    3) Image name: s9u5-jumpstart-test
    4) Image description: s9u5 jumpstart settings
    5) Image archive type: jumpstart
    6) Image type: Global Image
    7) Image size: 30000000000
    8) Image location: nfs://3001/images/jumpstart
    9) Image config file: 
    10) Continue to import image
    11) Return to previous option
    
    Please enter your selection [1-11] > 9
  21. Type 1 to provide the JumpStart installation server for the image to be imported.


    Please provide the following information for the Jumpstart configuration
    
    1) Solaris install server:Solaris product directory: 
    2) Solaris boot server:Solaris boot directory: 
    3) Configuration server:Configuration directory: 
    4) JumpStart server:JumpStart directory: 
    5) Return to previous option
    
    Please enter your selection [1-5] > 1
  22. Specify the JumpStart installation server and path.


    Specify server and the path to directory on the server where the
    solaris distribution can be found. Refer setup_install_server -s option.
    [10.42.42.1:/images/s9u5] > 10.42.42.1:/images/s9u5
  23. Type 2 to provide the JumpStart boot server for the image to be imported.


    Please provide the following information for the Jumpstart configuration
    
    1) Solaris install server:Solaris product directory: 10.42.42.1:/images/s9u5
    2) Solaris boot server:Solaris boot directory: 
    3) Configuration server:Configuration directory: 
    4) JumpStart server:JumpStart directory: 
    5) Return to previous option
    
    Please enter your selection [1-5] > 2
  24. Specify the JumpStart boot server and path.


    Specify server and the path to directory on the server where the
    solaris miniroot is located. Refer setup_install_server -b -t option.
    [10.42.42.1:/tftpboot/terraspring/boot_loader/sun4ublade/Boot] > 
    10.42.42.1:/tftpboot/terraspring/boot_loader/sun4ublade/Boot
  25. Type 3 to provide the JumpStart configuration server for the image to be imported.


    Please provide the following information for the Jumpstart configuration
    
    1) Solaris install server:Solaris product directory: 10.42.42.1:/images/s9u5
    2) Solaris boot server:Solaris boot directory: 
    10.42.42.1:/tftpboot/terraspring/boot_loader/sun4ublade/Boot
    3) Configuration server:Configuration directory: 
    4) JumpStart server:JumpStart directory: 
    5) Return to previous option
    
    Please enter your selection [1-5] > 3
  26. Specify the JumpStart configuration server and path.


    Specify server and the path to directory on the server where the
    user-defined sysidcfg  file  for  pre-configuring system or network
    information is located. Refer add_install_client -p option.
    [10.42.42.1:/images/jumpstart] > 10.42.42.1:/images/jumpstart
  27. Type 4 to provide the JumpStart server directory for the image to be imported.


    Please provide the following information for the Jumpstart configuration
    
    1) Solaris install server:Solaris product directory: 10.42.42.1:/images/s9u5
    2) Solaris boot server:Solaris boot directory: 
    10.42.42.1:/tftpboot/terraspring/boot_loader/sun4ublade/Boot
    3) Configuration server:Configuration directory: 10.42.42.1:/images/jumpstart
    4) JumpStart server:JumpStart directory: 
    5) Return to previous option
    
    Please enter your selection [1-5] > 4
  28. Specify the JumpStart directory location.


    Specify server and the path to the directory on the server where the
    JumpStart files are located. Refer add_install_client -c option.
    [10.42.42.1:/images/jumpstart] > 10.42.42.1:/images/jumpstart
  29. Type 5 to return to the previous menu.


    Please provide the following information for the Jumpstart configuration
    
    1) Solaris install server:Solaris product directory: 10.42.42.1:/images/s9u5
    2) Solaris boot server:Solaris boot directory: 
    10.42.42.1:/tftpboot/terraspring/boot_loader/sun4ublade/Boot
    3) Configuration server:Configuration directory: 10.42.42.1:/images/jumpstart
    4) JumpStart server:JumpStart directory: 10.42.42.1:/images/jumpstart
    5) Return to previous option
    
    Please enter your selection [1-5] > 5
  30. Type 10 to continue to import the image.


    Please provide information for importing image
    
    1) Operating system: solaris
    2) Architecture: sun4ublade
    3) Image name: s9u5-jumpstart-test
    4) Image description: s9u5 jumpstart settings
    5) Image archive type: jumpstart
    6) Image type: Global Image
    7) Image size: 30000000000
    8) Image location: nfs://3001/images/jumpstart
    9) Image config file: Has config file
    10) Continue to import image
    11) Return to previous option
    
    Please enter your selection [1-11] > 10

Example 3–2 Image Importing Output


Importing image: s9u5-jumpstart-test
Importing image into image repository.

-------------------- output of internal commands --------------------
Created server image: 16

ProcedureTo Validate an Image

Steps
  1. In the image wizard's main dialog, type 6 to validate images.

  2. Select the image to be validated.


    You can validate these images:
    
    Please select among the following images
    
    --------------------------------------------------------------------------
    Sel#    Image Name                   Image Id    Image Description
    --------------------------------------------------------------------------
    
    1) s9u5-jumpstart-test                : 16 : s9u5 jumpstart settings  
    2) Return to previous option
    
    Please enter your selection [1-2] > 1
  3. Type 1 to provide the server type information.


    Please enter the following device selection information
    
    1) Server Type: 
    2) Disk Type: 
    3) Disk Controller Type: 
    4) Disk Size: Not specified
    5) Continue to validate image
    6) Return to previous option
    
    Please enter your selection [1-6] > 1
  4. Select the server type.


    Please select the server type
    1) sunfireb100x-96-blade
    2) sunfireb100s-95-blade
    3) Return to previous option
    
    Please enter your selection [1-3] > 2
  5. Type 2 to provide the disk type information.


    Please enter the following device selection information
    
    1) Server Type: sunfireb100s-95-blade
    2) Disk Type: 
    3) Disk Controller Type: 
    4) Disk Size: Not specified
    5) Continue to validate image
    6) Return to previous option
    
    Please enter your selection [1-6] > 2
  6. Select the disk type.


    Please select the disk type
    1) local
    2) Return to previous option
    
    Please enter your selection [1-2] > 1
  7. Type 3 to provide the disk controller type information.


    Please enter the following device selection information
    
    1) Server Type: sunfireb100s-95-blade
    2) Disk Type: local
    3) Disk Controller Type: 
    4) Disk Size: Not specified
    5) Continue to validate image
    6) Return to previous option
    
    Please enter your selection [1-6] > 3
  8. Select the disk controller type.


    Please select the disk controller type
    
    1) ide
    2) Return to previous option
    
    Please enter your selection [1-2] > 1
  9. Type 4 to provide the disk size information.


    Please enter the following device selection information
    
    1) Server Type: sunfireb100s-95-blade
    2) Disk Type: local
    3) Disk Controller Type: ide
    4) Disk Size: Not specified
    5) Continue to validate image
    6) Return to previous option
    
    Please enter your selection [1-6] > 4
  10. Select the disk size.


    Please select the disk size
    
    1) 30000000000
    2) Return to previous option
    
    Please enter your selection [1-2] > 1
  11. Type 5 to continue to validate the image.


    Please enter the following device selection information
    
    1) Server Type: sunfireb100s-95-blade
    2) Disk Type: local
    3) Disk Controller Type: ide
    4) Disk Size: 30000000000 Bytes
    5) Continue to validate image
    6) Return to previous option
    
    Please enter your selection [1-6] > 5
  12. Confirm whether you want to continue image validation.

    • Type y to continue validation.

    • Type nto discontinue validation.


      You are about to validate the selected image.
      
      Enter y to continue and n to return to previous option > y

Example 3–3 Image Validation Output


Preparing farm for image creation/validation.

This will take some time, please wait till the operation completes.
Do not interrupt the operation.
Please run farm -Lt <farm-id> for more information.


-------------------- output of internal commands --------------------
Creating farm 'ImageTool1076366989009-409' ...
Request (id: 468) submitted.
Waiting for request 468 to complete...
.
Farm ImageTool1076366989009-409 is created. Farm id = 110
Activating farm 110 ...
Request (id: 471) submitted.
Waiting for farm request 471 to complete or
farm to reach state 40 ...
..........................................................................................................
Farm 110 has reached the ACTIVE/ACTIVE state.
Deactivating the farm 110
Request (id: 559) submitted.
Waiting for request 559 to complete...
...................................................................................
Farm 110 is deactivated.
Image s9u5-jumpstart-test is validated and  ready for use.
--------------------------- end of command --------------------------

Completed preparing farm for image creation/validation
Farm ID is: 110

WARNING: The farm created for image validation has to be deleted manually. 
        Use the farm -D <farm-id> command to delete the farm.
        Please wait for the farm to be deactivated before you issue
        this command.

ProcedureTo List Images

Steps
  1. In the image wizard's main dialog, type 3 to list images.

  2. From the display options menu make a selection for displaying the images.


    Please enter one of the following options for displaying the images
    
    1)  List all images
    2)  List images available for use (READY state)
    3)  List images marked as deleted
    4)  List global images
    5)  List information of global images (brief)
    6)  List information of global images (verbose)
    7)  List images of a specific account
    8)  List information of an image of a specific account (brief)
    9)  List information of an image of a specific account (verbose)
    10) List information of an image specified by id
    11) List information of an image specified by id (brief)
    12) List information of an image specified by id (verbose)
    13) Return to previous option
    
    Enter your selection [1-13] > 1
    

    The following output shows the display of images if you had selected 1 from the display options menu.


    -------------------- output of internal commands --------------------
    IMAGE_ID IMAGE_NAME                       CUSTOMER   SIZE        OS       TYPE       STATE 
    2        solaris9u5-sun4ublade-flash      __grid__   3004789248  solaris  flash      READY 
    LOCATION  nfs://3001//images/master-images/solaris9u5-sun4ublade-flash
    
    3        solaris9u5-sun4ublade-disk-image __grid__   30000000000 solaris  disk_image READY
    LOCATION nfs://3001//images/master-images/solaris9u5-sun4ublade-disk-image
    
    4        solaris9u5-i86pc-disk-image      __grid__   30000000000 solaris  disk_image READY 
    LOCATION nfs://3001//images/master-images/solaris9u5-i86pc-disk-image
    
    5        sw@50250                         __grid__   19813                disk_image READY
    6        sw@50150                         __grid__   19807                disk_image READY
    21       s9u5-disk_image                  __grid__   5000000     solaris  disk_image READY
    LOCATION nfs://3001//images/master-images/s9u5-disk_image
    
    22       s9u5-flash                       __grid__   5000000     solaris  flash      READY
    LOCATION nfs://3001//images/master-images/s9u5-flash
    
    23       test-other-images-wizard testid             500000      solaris  disk_image NOT READY
    LOCATION nfs://3001/images/master-images/test-image
    --------------------------- end of command --------------------------
  3. Press y to continue displaying the list of images available.


    Enter y to continue [default y] > y

ProcedureTo Update Image Attributes

Steps
  1. In the image wizard's main dialog, type 4 to update image attributes.

  2. Type the number of the image you want to update.


    You are about to update attributes of an existing image in the
    image repository.
    
    CAUTION:  Please refer to the System Administration Guide for updating
             images.  Updating wrongly the operating system, architecture,
             image archive type, image size, image location, or image config file 
             might lead to failures in deploying the image.
    
    
    Please select among the following images
    
    --------------------------------------------------------------------------
    Sel#    Image Name                   Image Id    Image Description
    --------------------------------------------------------------------------
    
    1) solaris9u5-sun4ublade-flash        : 7 : solaris9 update 5 flash image 
    2) solaris9u5-i86pc-flash             : 8 : solaris9 update 5 flash image 
    3) sw@50150                           : 10 : sw@50150                 
    4) Return to previous option
    
    Please enter your selection [1-4] > 1
  3. Type the number of the image information you want to update.


    You can update the following image information
    
    1) Operating system: solaris
    2) Architecture: sun4ublade
    3) Image name: solaris9u5-sun4ublade-flash
    4) Image description: solaris9 update 5 flash image for sun4ublade with Cassini NIC
    5) Image archive type: flash
    6) Image size: 30000000000
    7) Image location: nfs://3001//images/master-images/solaris9u5-sun4ublade-flash
    8) Image config file: Has config file
    9) Continue to update image
    10) Return to previous option

    Note –

    The image location, selection 7 on the menu, is a default value that you cannot modify.


  4. You are prompted to continue to make update selections depending on what type of image information you chose to update in the previous step.


    Caution – Caution –

    If you make a wrong choice in the updating process, no alert message will display. The image will not deploy.



Example 3–4 Updating the Image Size


Please enter your selection [1-10] > 6

Please enter the image size [30000000000] > 28000000000

Please enter your selection [1-10] > 9

Updating image attributes.


-------------------- output of internal commands --------------------
Updated image: 7

ProcedureTo Delete an Image

Steps
  1. In the image wizard's main dialog, type 5 to delete images.

  2. Make your selections from the following dialogs depending on whether you want to:

    • Delete a global image.

    • Delete an account-specific image.

    The following example shows how to delete a global image:


    You can delete these images:
    
    1) Delete a global image from the repository
    2) Delete an account image from the repository
    3) Return to the previous option
    
    Enter your selection [1-3] > 1
    
    You are about to delete an existing image in the image repository.
    
    Please select among the following images
    
    --------------------------------------------------------------------------
    Sel#    Image Name                   Image Id    Image Description
    --------------------------------------------------------------------------
    
    1) solaris9u5-sun4ublade-flash        : 7 : solaris9u5-sun4ublade-flash
    2) solaris9u5-i86pc-flash             : 8 : solaris9 update 5 flash image 
    3) sw@50150                           : 10 : sw@50150                 
    4) s9u5-customized-test               : 14 : s9u5-customized-test     
    5) Return to previous option
    
    
    Please enter your selection [1-5] > 4
    
    Deleting image.
    
    -------------------- output of internal commands --------------------
    Delete Image 14 (y/n)? y
    Queueing request to delete image ...
    Request (id: 612) submitted.
    Waiting for request 612 to complete...
    .
    Deleting image content at: nfs://3001/images/master-images/s9u5-customized-test   
    size: 759406246   ip: 10.42.42.1   State: done
    --------------------------- end of command --------------------------
    
    Image deletion completed.