コマンドラインを使用したコントローラのインストール

開始する前に、コントローラをインストールする予定のホストを決定します。Enterprise Console が実行されるホストは、「localhost」です。

注: ループバックアドレス「127.0.0.1」またはマシンの実際のホスト名を使用することもできます。

コントローラをリモートホストではなく共有ホストにインストールする場合、下の手順を慎重に完了してください。Enterprise Console では Windows 上でのリモートオペレーションはサポートされていないため、Windows マシン上のすべてのサービスは Enterprise Console ホストにインストールする必要があります。

<Installation directory>/platform-admin ディレクトリで、次のコマンドを実行してコントローラをインストールします。

  1. プラットフォームの作成:
    Linux
    platform-admin.sh create-platform --name <platform name> --installation-dir <platform installation directory>
    Windows
    platform-admin.exe cli create-platform --name <platform name> --installation-dir <platform installation directory>
  2. クレデンシャルを追加します。Linux マシンのリモートホストのみ適用されます。
    platform-admin.sh add-credential --credential-name <name> --type <ssh> --user-name <username> --ssh-key-file <file path to the key file
    <file path to the key file> は秘密キーファイルです。インストールプロセスで、キーがコントローラホストにデプロイされます。localhost の場合:localhost はログイン情報を必要としません。したがって、特に Windows デプロイの場合は、この手順を省略できます。詳細については、「ホストの管理」を参照してください。
  3. ホストを追加します。Linux マシンのリモートホストのみ適用されます。
    platform-admin.sh add-hosts --hosts remotehost --credential <credential name>
    ローカルホスト:
    Linux
    platform-admin.sh add-hosts --hosts localhost
    Windows
    platform-admin.exe cli add-hosts --hosts localhost
  4. ホストにコントローラをインストールします。Linux マシンのリモートホストのみ適用されます。
    platform-admin.sh submit-job --service controller --job install --args controllerPrimaryHost=<remotehost> controllerAdminUsername=<user1> controllerAdminPassword=<password> controllerRootUserPassword=<rootpassword> mysqlRootPassword=<dbrootpassword>
    ローカルホスト:
    Linux
    platform-admin.sh submit-job --service controller --job install --args controllerPrimaryHost=localhost controllerAdminUsername=<user1> controllerAdminPassword=<password> controllerRootUserPassword=<rootpassword> mysqlRootPassword=<dbrootpassword> newDatabaseUserPassword=<password> controllerDBHost=<host> controllerProfile=<profile>
    Windows
    platform-admin.exe cli submit-job --service controller --job install --args controllerPrimaryHost=localhost controllerAdminUsername=<user1> controllerAdminPassword=<password> controllerRootUserPassword=<rootpassword> mysqlRootPassword=<dbrootpassword> newDatabaseUserPassword=<password> controllerDBHost=<host> controllerProfile=<profile>
これらは、デモプロファイルのサイズを使用してコントローラをインストールするために必要なパラメータであることに注意してください。オプションの設定オプションの詳細については、次のコマンドを実行します。
Linux
platform-admin.sh list-job-parameters --job install --service controller
Windows
platform-admin.exe cli list-job-parameters --job install --service controller