Vous pouvez également installer la Control Room en mode silencieux. Le mode silencieux exécute l\'ensemble du processus d\'installation en arrière-plan sans nécessiter d\'interaction de la part de l\'utilisateur, ni afficher de messages contextuels. Ce mode vous permet d\'automatiser le processus d\'installation.

Créez un script PowerShell personnalisé avec les paramètres requis et exécutez le script pour installer la Control Room sur une instance EC2 Windows :

La nouvelle variable $aws_config lie la Control Room au compte AWS. Vous devez configurer les paramètres suivants pour cette variable.

Control RoomParamètres d\'installation
Paramètre d\'installation Description
vAA_CLOUD_SERVICE_AWS_ACCOUNT_ID Ajoutez l\'identifiant de compte AWS à 12 chiffres sans les traits d\'union.
vAA_CLOUD_SERVICE_AWS_REGION Ajoutez la région AWS dans laquelle le compte est hébergé. Assurez-vous de saisir la région conformément aux normes de dénomination AWS.

Procédure

  1. Connectez-vous à l\'instance EC2 Windows en tant qu\'administrateur.
  2. Créez un script PowerShell en utilisant l\'exemple de script suivant :
    $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
    Pour plus d\'informations sur les paramètres obligatoires et facultatifs, voir Installation de Control Room sur Microsoft Windows Server à l\'aide de scripts.
  3. Enregistrez le script sous install.ps1.
  4. Ouvrez l\'application PowerShell et exécutez la commande suivante : Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force.
    Cette commande.
  5. Accédez à l\'emplacement où le script PowerShell est enregistré, faites un clic droit sur le fichier .\install.ps1, puis sélectionnez Exécuter avec PowerShell.
    L\'installation de la Control Room commence.
La Control Room s\'installe avec succès sur l\'instance EC2 Windows. Les journaux d\'installation du mode silencieux sont enregistrés dans le dossier à partir duquel vous exécutez le script d\'installation. Par exemple, si vous exécutez le script à partir de C:\Silent Install, les journaux seront stockés dans le dossier C:\Silent Install.

Étapes suivantes

Terminez la configuration et la validation de la Control Room comme indiqué dans Configuration des paramètres post-installation.