Control Roomをサイレントモードでインストールすることもできます。 サイレント モードでは、インストール全体のプロセスが背後で実行され、ユーザーの操作やポップアップ メッセージの表示が不要です。 このモードでは、インストールプロセスを自動化できます。

必要なパラメーターを指定してカスタマイズした PowerShell スクリプトを作成し、そのスクリプトを実行して Windows EC2 インスタンスにControl Roomをインストールします。

新しく導入された $aws_config 変数は Control Room を AWS アカウントにバインドします。 この変数には、以下のパラメータを必ず設定してください。

Control Room インストール パラメーター
インストール パラメーター 内容
vAA_CLOUD_SERVICE_AWS_ACCOUNT_ID ハイフンなしの12桁のAWSアカウント ID を追加してください。
vAA_CLOUD_SERVICE_AWS_REGION アカウントがホストされているAWSリージョンを追加してください。 AWSの命名規則に従って地域を入力してください。

手順

  1. 管理者として、Windows EC2 インスタンスにログインします。
  2. 次のサンプルスクリプトを使用して PowerShell スクリプトを作成します。
    $INSTALLTYPE="On-premises"
    
    $cr_port=80
    
    
    #$certpath = "Enter TLS certificate path here"
    #$certpass = "Enter the TLS certificate password here"
    
    
    $db_server="Enter the Remote SQL server IP here"     #R
    $db_ServerPort="Enter the Remote SQL server IP here"
    
               
    $cr_db_name="Enter your Control Room Database name here"
    
    $db_user="Enter your Control Room Database administrator user name here"
    $db_pwd="Enter your Control Room Database administrator password here"
    
    
    $elastic_password="Enter OpenSearch password here"
    
    $installation_path="C:\Program Files\Automation Anywhere"
    
    #Install latest setup
    
    $static_installation_path="\Automation360\"""""
    
    
    $silent_details=" /s ","v""" -join "/"
    
    
    $installpath_details= "/qn INSTALLDIR=\"""
    
    $custom_details=" /vAA_SETUPTYPE=Custom /vAA_CUSTOMMODETYPE=1 /vAA_INSTALLTYPE=$INSTALLTYPE"
    
    $port_cluster_details=" /vAA_SETCLUSTERMODE=0 /vAA_CRLISTENPORT=$cr_port"     
    # Reference for Cluster Mode = 1 for Cluster, 0 for Single Node
    
    $service_details=" /vAA_CRSETLOCALSERVICECRED=1"
    
    
    $service_selections=" /vAA_STARTSERVICE_IQBOT=0 /vAA_STARTSERVICE_AARI=0 /vAA_STARTSERVICE_STORAGE=0 /vAA_STARTSERVICE_DISCOVERYBOT=0 /vAA_STARTSERVICE_DISCOVERYBOTML=0 /vAA_STARTSERVICE_ACF=1 /vAA_STARTSERVICE_CLOUD_SERVICE=1 "  
    
    #Status 1 = enable service, 0 = disable service
    
    $aws_config=' /vAA_CLOUD_SERVICE_AWS_ACCOUNT_ID="Enter your AWS account ID here" /vAA_CLOUD_SERVICE_AWS_REGION="Enter your AWS region here"'
    
    
    $db_details=" /vAA_SQLSERVERAUTHTYPE=true /vIS_SQLSERVER_SERVER=$db_server /vIS_SQLSERVER_USERNAME=$db_user /vIS_SQLSERVER_PASSWORD=$db_pwd /vIS_SQLSERVER_DATABASE=$cr_db_name /vIS_SQLSERVER_AUTHENTICATION=1 /vAA_SQLSERVERAUTHMODE=1"
    
    
    
    $other=" /vAA_ESPASSWD=$elastic_password /vAA_CRWCHTTPPORT=80 /vAA_CRWCHTTPSPORT=443 /vAA_CRSELFSIGNCERT=1 /vAA_OPTIONALCACERT=0 /vLAUNCHPROGRAM=0 /v""/L*v CR_Onprem_LocalAccointSQLAuthACFServiceSelectiolog.txt"""
    
    $final_commandline = -join($silent_details,$installpath_details,$installation_path,$static_installation_path,$custom_details,$port_cluster_details,$service_details,$service_selections,$db_details,$aws_config,$other)
    
    Write-Host $final_commandline
    
    
    $a = "Enter the path where the installation file is available"
    
    
    Write-Host $a
    Write-Host "Starting the installation please wait for sometime..."
    
    
    $processdetail=(Start-Process -FilePath $a -ArgumentList $final_commandline  -Wait -PassThru).ExitCode
    
    Write-Host $a.Name execution is done. If installation is not proper please check CR_Onprem_Installationlog Log file in the  Silent Installation folder.
    pause
    必須パラメーターおよび任意パラメーターの詳細については、スクリプトを使用して Control Room を Microsoft Windows Server にインストールする を参照してください。
  3. スクリプトを install.ps1 として保存します。
  4. PowerShellアプリケーションを開き、次のコマンドを実行します:Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force.
    このコマンド。
  5. PowerShell スクリプトが保存されている場所に移動し、.\install.ps1 ファイルを右クリックして、PowerShell で実行 を選択します。
    Control Room のインストールが開始されます。
Control Roomは Windows EC2 インスタンスへのインストールに成功しました。 サイレントモード インストールのログは、インストール スクリプトを実行したフォルダーに保存されます。 たとえば、スクリプトが C:\Silent Install から実行された場合、ログは C:\Silent Install フォルダーに保存されます。

次のステップ

インストール後の設定の構成 に記載されている手順に従い、Control Room の設定と検証を完了してください。