También puede instalar la Control Room en modo silencioso. El modo silencioso ejecuta todo el proceso de instalación en segundo plano, sin requerir la interacción del usuario ni mostrar mensajes emergentes. Este modo le permite automatizar el proceso de instalación.

Cree una secuencia de comandos de PowerShell personalizado con los parámetros requeridos y ejecútela para instalar la Control Room en una instancia EC2 de Windows:

La nueva variable $aws_config vincula la Control Room a la cuenta de AWS. Debe configurar los siguientes parámetros para esta variable.

Parámetros de instalación de Control Room
Parámetros de instalación Descripción
vAA_CLOUD_SERVICE_AWS_ACCOUNT_ID Agregue el ID de cuenta de AWS de 12 dígitos sin los guiones.
vAA_CLOUD_SERVICE_AWS_REGION Agregue la región de AWS en la que se encuentra alojada la cuenta. Asegúrese de ingresar la región según los estándares de nomenclatura de AWS.

Procedimiento

  1. Inicie sesión en la instancia EC2 de Windows como administrador.
  2. Cree una secuencia de comandos de PowerShell utilizando la siguiente secuencia de comandos de ejemplo:
    $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
    Para obtener más información acerca de los parámetros obligatorios y opcionales, consulte Instalar Control Room en Microsoft Windows Server mediante scripts.
  3. Guarde la secuencia de comandos como install.ps1.
  4. Abra la aplicación de PowerShell y ejecute el siguiente comando: Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force.
    Este comando.
  5. Vaya a la ubicación donde está guardada la secuencia de comandos de PowerShell y haga clic derecho en el archivo .\install.ps1, luego seleccione Ejecutar con PowerShell.
    Comienza la instalación de la Control Room.
La Control Room se instala correctamente en la instancia EC2 de Windows. Los registros de la instalación en modo silencioso se guardan en la carpeta desde la que ejecuta la secuencia de comandos de instalación. Por ejemplo, si ejecuta el script desde C:\Silent Install, los registros se almacenarán en la carpeta C:\Silent Install.

Qué hacer a continuación

Complete la configuración y la validación de la Control Room según lo indicado en Configuración posterior a la instalación.