N1 Provisioning Server 3.1, Blades Edition システム管理ガイド

イメージウィザードを使用したイメージの作成と管理

イメージウィザードはコントロールプレーンサーバーで動作し、イメージの作成、インポート、および管理を行うための、メニュー駆動型のコマンド行インタフェースを提供します。 イメージウィザードを使用すると、次の作業を実行できます。

作業 

イメージ形式 

ソース 

アーキテクチャー 

作成 

ディスクまたはフラッシュ 

イメージリポジトリ内の既存のディスクイメージから 

Solaris SPARC または x86 

作成 

ディスクまたはフラッシュ 

イメージリポジトリ内の既存のフラッシュイメージから 

Solaris SPARC または x86 

作成 

ディスクまたはフラッシュ 

JumpStart インストールから 

Solaris SPARC または x86 

作成 

ディスクまたはフラッシュ 

手動 

Solaris SPARC または x86 

作成 

ディスク 

イメージリポジトリ内の既存のディスクイメージから  

Linux x86 

作成 

ディスク  

手動 

Linux x86 

アップグレード 

すべて 

すべて 

すべて 

インポート 

ディスクまたはフラッシュ 

構成済み 

Solaris SPARC または x86 

インポート 

ディスク 

構成済み 

Linux x86 

インポート 

ディスク、フラッシュ、または JumpStart 

すべて 

Solaris SPARC または x86 

インポート 

ディスク 

すべて 

Linux x86 

インポート 

すべて  

すべて 

すべて  

検証 

すべて 

すべて 

すべて 

表示 

すべて 

すべて 

すべて 

イメージ属性の更新 

すべて 

すべて 

すべて 

削除 

すべて 

すべて 

すべて 

イメージウィザードへのアクセス

コントロールプレーンサーバーからイメージウィザードにアクセスするには、/opt/terraspring/sbin/imagewizard コマンドを使用します。 コマンドの使用方法の詳細については、imagewizard のマニュアルページを参照してください。


注 –

イメージウィザードにアクセスするには、コントロールプレーンサーバーのルートにアクセスできる必要があります。


イメージウィザードのメインダイアログは次のようになっています。


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] >

Procedureイメージを作成する

手順
  1. /opt/terrasprin/sbin/imagewizard と入力し、イメージウィザードのメインダイアログにアクセスします。

  2. イメージウィザードのメインダイアログで 1 と入力して、イメージを作成します。

    次の中からどのようにイメージを作成するかに応じて、次のダイアログから選択します。

    イメージ形式 

    ソース 

    アーキテクチャー 

    ディスク 

    既存のディスクイメージ 

    Solaris SPARC 

    フラッシュ 

    既存のディスクイメージ 

    Solaris SPARC 

    ディスク 

    既存のディスクイメージ 

    Solaris x86 

    フラッシュ 

    既存のディスクイメージ 

    Solaris x86 

    ディスク 

    既存のフラッシュイメージ 

    Solaris SPARC 

    フラッシュ 

    既存のフラッシュイメージ 

    Solaris SPARC 

    ディスク 

    既存のフラッシュイメージ 

    Solaris x86 

    フラッシュ 

    既存のフラッシュイメージ 

    Solaris x86 

    ディスク 

    JumpStart インストール 

    Solaris SPARC 

    フラッシュ 

    JumpStart インストール 

    Solaris SPARC 

    ディスク 

    JumpStart インストール 

    Solaris x86 

    フラッシュ 

    JumpStart インストール 

    Solaris x86 

    ディスク 

    手動インストール 

    Solaris SPARC 

    フラッシュ 

    手動インストール 

    Solaris SPARC 

    ディスク 

    手動インストール 

    Solaris x86 

    フラッシュ 

    手動インストール 

    Solaris x86 

    ディスク 

    既存のディスクイメージ 

    Linux x86 

    ディスク 

    手動インストール 

    Linux x86 

    次のダイアログは、既存のイメージからイメージを作成する場合の選択の例です。

  3. オペレーティング環境を選択します。


    Following are the operating systems supported:
    
    1) Solaris
    2) Linux
    3) Return to previous option
    
    
    Please enter your selection [1-3] > 1
  4. アーキテクチャーを選択します。


    Following architectures are supported:
    
    1) sun4ublade
    2) i86pc
    3) Return to previous option
    
    Please enter your selection [1-3] > 1
  5. イメージのソースを指定します。


    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. イメージの種類を選択します。


    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. 1 を入力して、イメージのデバイス属性のメニューを選択します。


    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. 1 を入力して、サーバーの種類を選択します。


    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. サーバーの種類を指定します。


    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. 2 を入力して、ディスクの種類を選択します。


    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. ディスクの種類を指定します。


    Please select the disk type
    1) local
    2) Return to previous option
    
    Please enter your selection [1-2] > 1
  12. 3 を入力して、ディスクコントローラを選択します。


    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. ディスクコントローラを指定します。


    Please select the disk controller type
    
    1) ide
    2) Return to previous option
    
    Please enter your selection [1-2] > 1
  14. 4 を入力して、ディスクサイズを選択します。


    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. ディスクサイズを指定します。


    Please select the disk size
    
    1) 30000000000
    2) Return to previous option
    
    Please enter your selection [1-2] > 1
  16. 5 を入力して、手順 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. 2 を入力して、イメージ属性のメニューを選択します。


    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. イメージ名を指定します。


    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. 2 を入力して、イメージの説明を選択および指定します。


    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. 3 を入力して、アーカイブの種類を選択します。


    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. アーカイブの種類を指定します。


    Following image archive types are supported:
    
    1) disk_image
    2) flash
    3) Return to previous option
    
    
    Please enter your selection [1-3] > 2
  22. 6 を入力して、手順 5 のメインのイメージ情報のメニューに戻ります。


    注 –

    イメージウィザードで作成できるのはグローバルイメージのみであるため、次のメニューから 4 を選択して修正することはできません。



    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. 3 を入力して、イメージの作成を継続します。


    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. y を入力して、イメージ作成手順を継続します。


    Enter y to continue and n to return to previous option > y
  25. イメージサーバーに新しいイメージ用の十分な容量があることを確認してから、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. N1 Provisioning Server から NFS 共有を使用する場合は、y を入力します。 N1 Provisioning Server から NFS 共有を使用しない場合は、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.

例 3–1 イメージ作成の出力

次の出力例には、イメージを準備してリソースプールサーバーに対してリリースする方法に関する指示も含まれています。 「構成済みイメージからの Solaris イメージの作成」「JumpStart からの手動での Solaris イメージの作成」「JumpStart 設定の作成」、および「JumpStart ブートおよび構成サーバーのカスタマイズ」を参照してください。

image -r コマンドを起動した後である場合、replaceFailedDevice 要求がキューに入ります。 イメージ作成プロセスを正しく完了するには、この要求を削除する必要があります。 request -l コマンドを実行して要求 ID を取得してから、request -d request_ID コマンドを使用して要求を削除します。


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.

Procedureイメージをアップグレードする

始める前に

ソフトウェアのアップグレードやパッチのインストールなどのイメージのアップグレードに対しては、新しいイメージを作成する必要があります。 イメージ作成プロセスのカスタマイズの手順では、ソフトウェアやパッチを追加できます。

手順
  1. 「Create Image」オプションを選択します。

  2. 「Create from Existing Image」オプションを選択します。

  3. 新しいイメージの情報を入力します。

  4. 次の質問には「y」を入力します。


    Specify whether you want to use NFS shares from the N1 Provisioning Server [default n] y.
  5. イメージウィザードには、イメージをカスタマイズするためのプロンプトが表示されます。 このためには、telnet を使用してリソースプールサーバーに接続し、新しいソフトウェアパッケージとパッチをインストールします。

  6. イメージウィザードの指示に従って、新しいイメージを作成します。

Procedureイメージをインポートする

手順
  1. イメージウィザードのメインダイアログから 2 を入力して、イメージをインポートします。

  2. 構成済みのイメージをインポートするか、別のイメージをインポートするかを指定します。

    • 構成済みのイメージをインポートするには、1 を入力します。

    • 別のイメージをインポートするには、2 を入力します。


      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. y を入力して、イメージのインポートを継続します。


    Please enter y if you want to continue [default y] > y
  4. 1 を入力して、インポートするイメージのオペレーティング環境の情報を指定します。


    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. リストからオペレーティング環境を選択します。


    Following are the operating systems supported:
    
    1) Solaris
    2) Linux
    3) Return to previous option
    
    Please enter your selection [1-3] > 1
  6. 2 を入力して、インポートするイメージのアーキテクチャーの情報を指定します。


    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. リストからアーキテクチャーを選択します。


    Following architectures are supported:
    
    1) sun4ublade
    2) i86pc
    3) Return to previous option
    
    Please enter your selection [1-3] > 1
  8. 3 を入力して、インポートするイメージの名前を指定します。


    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. イメージ名を入力します。


    Please enter the image name > s9u5-jumpstart-test 
  10. 4 を入力して、インポートするイメージの説明を指定します。


    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. イメージの説明を入力します。


    Please enter the image description > s9u5 jumpstart settings 
  12. 5 を入力して、インポートするイメージのアーカイブの種類を指定します。


    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. リストからイメージアーカイブの種類を選択します。


    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. 6 を入力して、インポートするイメージのイメージの種類を指定します。


    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. リストからイメージの種類を選択します。


    Please enter the image type
    
    1) Global Image
    2) Account Image
    3) Return to previous option
    
    Enter your selection > 1
  16. 7 を入力して、インポートするイメージのサイズを指定します。


    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. イメージのサイズを指定します。


    Please enter the image size [Not specified] > 30000000000
  18. 8 を入力して、インポートするイメージの位置を指定します。


    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. 位置を指定します。


    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. 9 を入力して、インポートするイメージの構成ファイルを指定します。


    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. 1 を入力して、インポートするイメージの JumpStart インストールサーバーを指定します。


    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. JumpStart インストールサーバーとパスを指定します。


    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. 2 を入力して、インポートするイメージの JumpStart ブートサーバーを指定します。


    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. JumpStart ブートサーバーとパスを指定します。


    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. 3 を入力して、インポートするイメージの JumpStart 構成サーバーを指定します。


    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. JumpStart 構成サーバーとパスを指定します。


    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. 4 を入力して、インポートするイメージの JumpStart サーバーのディレクトリを指定します。


    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. JumpStart のディレクトリ位置を指定します。


    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. 5 を入力して、前のメニューに戻ります。


    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. 10 を入力して、イメージのインポートを継続します。


    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

例 3–2 イメージのインポートの出力


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

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

Procedureイメージを検証する

手順
  1. イメージウィザードのメインダイアログで 6 を入力してイメージを検証します。

  2. 検証するイメージを選択します。


    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. 1 を入力して、サーバーの種類の情報を指定します。


    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. サーバーの種類を選択します。


    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. 2 を入力して、ディスクの種類の情報を指定します。


    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. ディスクの種類を選択します。


    Please select the disk type
    1) local
    2) Return to previous option
    
    Please enter your selection [1-2] > 1
  7. 3 を入力して、ディスクコントローラの種類の情報を指定します。


    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. ディスクコントローラの種類を選択します。


    Please select the disk controller type
    
    1) ide
    2) Return to previous option
    
    Please enter your selection [1-2] > 1
  9. 4 を入力して、ディスクサイズの情報を指定します。


    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. ディスクサイズを選択します。


    Please select the disk size
    
    1) 30000000000
    2) Return to previous option
    
    Please enter your selection [1-2] > 1
  11. 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) Continue to validate image
    6) Return to previous option
    
    Please enter your selection [1-6] > 5
  12. イメージの検証を継続するかどうかを確認します。

    • 検証を継続するには y を入力します。

    • 検証を中断するには n を入力します。


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

例 3–3 イメージ検証の出力


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.

Procedureイメージを表示する

手順
  1. イメージウィザードのメインダイアログで 3 を入力してイメージを表示します。

  2. 表示オプションのメニューから、イメージの表示に関する選択を行います。


    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
    

    次の出力は、表示オプションのメニューから 1 を選択した場合のイメージの表示です。


    -------------------- 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. 引き続き、使用可能なイメージのリストを表示するには、y を押します。


    Enter y to continue [default y] > y

Procedureイメージ属性を更新する

手順
  1. イメージウィザードのメインダイアログで 4 を入力してイメージ属性を更新します。

  2. 更新するイメージの番号を入力します。


    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. 更新するイメージ情報の数を入力します。


    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

    注 –

    メニューの 7 番目の選択肢である「Image Location」がデフォルト値で、これは変更できません。


  4. 直前の手順で更新を選択したイメージ情報の種類に応じて、引き続き更新に関する選択を行うプロンプトが表示されます。


    注意 – 注意 –

    更新のプロセスで選択を間違えても警告メッセージは表示されず、 イメージは配備されません。



例 3–4 イメージサイズの更新


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

Procedureイメージを削除する

手順
  1. イメージウィザードのメインダイアログで 5 を入力してイメージを削除します。

  2. どの操作を行うかに応じて、次のダイアログから選択します。

    • グローバルイメージの削除

    • アカウント固有のアカウントの削除

    次の例は、グローバルイメージを削除する方法です。


    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.