不在 (サイレント) モードを使用した DS CLI のインストール

不在 (サイレント) モードで DS CLI アプリケーションをインストールするには、このタスクを完了します。

DS CLI アプリケーションのインストールを行う前に、以下の事項を考慮してください。
  • DS CLI は、ESS CLI を含むコンピューターにはインストールできません。
  • DS CLI は、Windows 64 ビットのオペレーティング・システムにはインストールできません。
  • Java 1.4.1 以上のバージョンが、ご使用のシステムの標準ディレクトリーにインストールされている必要があります。DS CLI インストーラーは標準ディレクトリーを検査して、ご使用のシステムに Java 1.4.1 以上のバージョンが存在しているかどうかを判別します。標準ディレクトリーにこのバージョンが検出されなければ、インストールは失敗します。 正しいバージョンの Java が検出されずインストールが失敗する場合、JVM-not-found エラーの修正を参照してください。

    DS CLI installation CD-ROM には Java 1.4.2 バージョンが含まれています。 このバージョンを CD からインストールして、DS CLI アプリケーションのインストールに進むことができます。

  • ご使用のクライアント/ホスト・マシンに、以前に DS CLI アプリケーションをインストールしている場合、必ず DS CLI のアクティブ・セッションをすべて終了してから、DS CLI インストール CD を起動してください。
  • Novell システムにインストールする場合は、以下の情報を提供する必要があります。
    • Windows ドライブをマップするディレクトリー
    • JAVA HOME が存在するディレクトリー
  • System i システムにインストールする場合は、インストール作業に使用するマシンが iSeries マシンにネットワーク接続されていることを確認してください。
  • System i システムへ DS CLI アプリケーションをインストールする際、以下の 情報を指定する必要があります。
    • DS CLI アプリケーションをインストールする iSeries マシンの名前
    • 指定された iSeries マシンのアクセスに使用するユーザー名とパスワード

不在 (サイレント) モードのインストールにより、ユーザーは、プロンプトまたはフィードバックなしでコマンド行からインストールを行うことができます。 オプション/応答ファイルを作成し、テキスト・エディターを使用してデフォルトの選択を独自の選択に変更することができます。

DS CLI を使用可能にするため、オペレーティング・システムによっては、インストールの完了後にシステムの再始動が必要となる場合があります。または、DS CLI セッションを開始するために、新規コマンド・プロンプト・ウィンドウを開く必要が生じる場合があります。
注: 新しいバージョンの DS CLI をインストールすると、旧バージョンの DS CLI セッションは使用できなくなることがあります。

以下のステップを実行して、不在 (サイレント) モードで DS CLI アプリケーションをインストールします。

  1. 管理者としてシステムにログオンします。
  2. DS CLI のインストール CD を CD ドライブに挿入する。 InstallShield が開始されたら、選択肢の「終了」をクリックして終了します。
  3. System i 以外のシステムではすべて、コマンド・プロンプトで、setup<platform>.<exe|bin|sh> -silent と入力します。 次に、キーボードの Enter キーを押して、不在 (サイレント) モードでインストール処理を開始します。
    サイレント・インストールのプロセスは、ユーザーのすべてのデフォルト・オプションに適用されます。 デフォルト・オプションを変更する場合は、次のステップに進んでください。
    注: 最初に、DS CLI インストーラーは、Java の正しいバージョンがインストールされているか標準のディレクトリーを検査します。正しいバージョンの Java が検出されない場合、次のメッセージが表示されます。
    適切な JVM が見つかりません。オプション -is:javahome <JAVA HOME DIR> を
    指定して、プログラムを再度実行してください。(A suitable JVM could not be found.
    Please run the program again using the option -is:javahome <JAVA HOME DIR>)
  4. デフォルトを変更する必要がある場合、テンプレート応答ファイルを生成します。 2 つの応答ファイルの例が CD の cliReadmes ディレクトリーに納められています。そのうちの 1 つは Windows、Novell、および iSeries のインストール用で、もう 1 つはすべての UNIX および Linux のインストール用です。選択したディレクトリーに、該当する応答ファイルをコピーすることができます。

    Windows、Novell、または iSeries 用の応答ファイルまたはオプション・ファイルの例は、以下の出力のとおりです。

    InstallShield Options File Template
    #
    # Wizard name: Install
    # Wizard source: setup.jar
    # Created on: Mon May 09 16:35:04 MST 2005
    # Created by: InstallShield Options File Generator
    #
    # This file can be used to create an options file (i.e., response file) for the
    # wizard "Install". Options files are used with "-options" on the command-line
    # to modify wizard settings.
    # 
    # The settings that can be specified for the wizard are listed below. To use
    # this template, follow these steps:
    # 
    #    1. Enable a setting below by removing leading '###' characters from the
    #    line (search for '###' to find settings you can change).
    # 
    #    2. Specify a value for a setting by replacing the characters '<value>'.
    #    Read each setting's documentation for information on how to specify its
    #    value.
    # 
    #    3. Save the changes to the file.
    # 
    #    4. To use the options file with the wizard, specify -options <file name>
    #    as a command-line argument to the wizard, where <file name> is the name
    #    of this options file.
    #
    ########################################################################
    
    ########################################################################
    #
    # License Agreement State
    #
    # The initial state of the License Agreement panel. Legal values are:
    # 
    #    0 - Nothing will be selected
    #    1 - "I accept the terms of the license agreement." will be selected
    #    2 - "I do not accept the terms of the license agreement." will be
    #        selected
    # 
    # For example, to configure the panel to initially display "I accept the
    # terms of the license agreement.", use
    # 
    # -W license.selection=2
    
     -W license.selection=1
    
    ########################################################################
    #
    # User Input Field - Win_Novell_select
    #
    # This field only has meaning if you are running the installer on Windows.
    # You must choose whether it should install the Windows CLI or the Novell
    # CLI.
    #
    # If you choose Novell, then make sure that the installLocation (see below)
    # is on a Novell drive.
    #
    #    1 - Novell Netware
    #    2 - Windows
    #   
     -W win_user_input.Win_Novell_select="2"
    
    ########################################################################
     IBM System Storage™ DS command-line Interface Install Location
    #
    # The install location of the product. Specify a valid directory into which the
    # product should be installed. If the directory contains spaces, enclose it in
    # double-quotes. For example, to install the product to C:¥Program Files¥My
    # Product, use
    # 
    ###    -P installLocation="C:¥Program Files¥My Product"
    #
     -P installLocation="C:¥Program Files¥IBM¥dscli"
    
    ################################################################################
    #
    #  User Input Field - os400_java_location
    #
    #
    # This is only used on i5/OS iSeries system installations.
    #
    #
    ### -W os400_java_location_panel.os400_java_location="<value>"
    #
    #################################################################################
    #
    # User Input Field - novell_location_mapped
    #
    # This is only used on Novell installations.
    #
    ### -W novell_user_input.novell_location_mapped="<value>"
    #
    #################################################################################
    #
    # User Input Field - novel_java_location
    #
    # This is only used on Novell installations.
    #
    ### -W novell_user_input.novel_java_location="<value>"
    #
    #################################################################################
  5. 応答ファイルに対する変更を保管します。
  6. i5/OS iSeries 以外のすべてのシステム (UNIX および Linux を含む) では、コマンド・プロンプトで、setup<platform>. <exe|bin|sh> -silent -options options.txt と入力し、キーボードの Enter キーを押して、不在 (サイレント) モードでインストール処理を開始します。
  7. i5/OS iSeries システムに DS CLI をインストールする場合は、コマンド・プロンプトで、setup<platform>. <exe|bin|sh> -os400 -silent -options options.txt と入力し、キーボードの Enter キーを押して、不在 (サイレント) モードでインストール処理を開始します。
コマンド行インターフェースが正しくインストールされたことを確認するには、インストール・ディレクトリーの lib/ サブディレクトリー内の CLI.CFG ファイルを調べます。
ライブラリー | サポート | ご利用条件 | フィードバック
© Copyright IBM Corporation 2004, 2006. All Rights Reserved.