N1 Provisioning Server 3.1, Blades Edition, System Administration Guide

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