3.9. リモート・ログインの有効化

デフォルトでは、Oracle VM Manager UIのインスタンスは、専用のコア(APIレイヤー)にのみログインできます。場合によってはOracle VM Manager UIを使用して、リモートのOracle VM Managerのコアにログインしたいことがあります。これを可能にするには、リモート・ログインを許可するようにOracle VM Managerホストを設定する必要があります。

図3.1. Oracle VM Managerのリモート・ログイン

この図は、Oracle VM Managerへのローカルとリモートの両方のログインを示しています。ローカル・ログインではTCPプロトコルを使用し、リモート・ログインではTCPSプロトコルを使用します。

リモート・ログインが構成されている場合、Oracle VM Managerのリモート・インスタンスは、ローカル・インスタンスにログインでき、ローカル・インスタンスが所有および管理しているすべてのオブジェクトとやり取りできます。Oracle VM Managerのリモート・インスタンスがログインできるようにする場合、リモートTCPS認証を設定します。これを行うには、まずキーストアを生成し、次にこれを使用してリモートTCPS接続を有効にする必要があります。

リモートのOracle VM ManagerからのTCPS接続を有効にするには、次の手順を実行します。

  1. Oracle VM Managerホストで次のコマンドを入力して、キーストアを作成します。

    # cd /u01/app/oracle/ovm-manager-3/bin
    # ./secureOvmmTcpGenKeyStore.sh

    次の情報の入力を求められます。

    Generate OVMM TCP over SSH key store by following steps:
    Enter keystore password: password
    Re-enter new password: password
    What is your first and last name?
      [Unknown]:  name     
    What is the name of your organizational unit?
      [Unknown]:  unit       
    What is the name of your organization?
      [Unknown]:  organization
    What is the name of your City or Locality?
      [Unknown]:  City
    What is the name of your State or Province?
      [Unknown]:  State
    What is the two-letter country code for this unit?
      [Unknown]:  country_code
    Is CN=name, OU=unit, O=organization, L=City, ST=State, C=country_code correct?
      [no]:  yes
    
    Enter key password for <ovmm> 
            (RETURN if same as keystore password): password
    Re-enter new password: password
  2. secureOvmmTcp.shスクリプトを使用して、キーストアを使用し、TCPSサービスを有効にします。このスクリプトは、前述のキーストア・スクリプトと同じディレクトリにあります。Oracle VM Managerホストで、次のように入力します。

    # ./secureOvmmTcp.sh

    次の情報の入力を求められます。

    Enabling OVMM TCP over SSH service
    
    Please enter the OVM manager user name: username            The local Oracle VM Manager
                                                                      username to use
    Please enter the OVM manager user password: password        The local Oracle VM Manager 
                                                                      password to use
    Please enter the password for TCPS key store : password     The keystore password created 
                                                                       in the previous script
    The job of enabling OVMM TCPS service is committed, please restart OVMM to take effect.

    ここで入力されるユーザー名とパスワードは、リモートのOracle VM Managerのインスタンスからログインする場合に使用するローカルのOracle VM Managerの認証資格証明です。

  3. ローカルのOracle VM Managerのインスタンスを再起動します。

    # /sbin/service ovmm stop
    # /sbin/service ovmm start
  4. リモートのOracle VM Managerログイン画面の「Management Server URI」フィールドで次の構文を使用して、Oracle VM Managerのリモート・インスタンスを使用すると、Oracle VM Managerコアに接続できます。

    tcps://hostname

    secureOvmmTcp.shスクリプトを使用して有効にしたユーザー名とパスワードを使用します。