订阅

UiPath AI Center

UiPath AI Center

3. Configure Orchestrator

Overview

Orchestrator configuration entails adding some fields in the Orchestrator UiPath.Orchestrator.dll.config (or Web.config for Orchestrator 20.4). Before you begin, backup your existing UiPath.Orchestrator.dll.config file (for example making a copy in a different path).

Below we provide two options to update this configuration:

  • Automated Configuration . A PowerShell script.
  • Manual Configuration - A step-by-step guideline with explanations, this should be used in very unique cases (such as governance rules not allowing for automated changes to Orchestrator Config). Manual configuration is error prone and can lead to downstream installation issues.

📘

Updating Orchestrator/Identity Server

Please note that if you update DNS or certificates for Orchestrator or Identity Server would stop working. You would need to rerun that section and then redeploy AI Center to fix it.

Automated Configuration (Preferred Approach)

🚧

This should be the preferred approach. Manual Configuration should only be used in very special cases.

  • Open PowerShell in Administrator mode.
  • Download the file here. This can be done with the following command:
wget https://raw.githubusercontent.com/UiPath/ai-customer-scripts/main/orchestrator/orchestratorAutomationAIC21-4.ps1 -outfile "orchestratorAutomation.ps1"
  • You can familiarize yourself with the script options by running:
get-help .\orchestratorAutomation.ps1 -full

For most of the Orchestrator installations, the default values for the non-mandatory options will work. In these cases run:

.\orchestratorAutomation.ps1 -aifip "<aif-linux-machine-domain-name-or-ip>"

Where you replace <AIF Machine Domain Name or IP> with the ip of the linux machine where AI Center will be installed (or the fully qualified domain name if AI Center will be installed with a certificate) and <Orchestrator Domain Name Lower Case> with the domain name of Orchestrator. The letter case must exactly match the Orchestrator certificate used to install Orchestrator.

If you are using a non-standard port for AI Center (for example, you have a proxy or a load-balancer in the case of a HA setup), you can add the optional parameter for the port. (aifport "31390")

❗️

Common Source of Error Downstream

The Orchestrator domain entered must exactly match the name of the domain in the certificate. This includes case-sensitivity. Be sure to match the uppercase and lowercase characters.

If you have a non-standard path to Orchestrator UiPath.Orchestrator.dll.config (Web.config), you can specify the path to the file explicitly:

.\orchestratorAutomation.ps1 -aifip "<aif-linux-machine-domain-name-or-ip>" -config "<Path to UiPath.Orchestrator.dll.config file>"

Sanity Check Configuration Change

📘

Config file

In below section, config file will design Web.config if you are using Orchestrator 20.4 and UiPath.Orchestrator.dll.config for newer versions.

After applying the script below, your config file will be modified. Applying a file diff on your previous config file and the modified config file looks like this:

Manual Configuration

  • Go to the windows server where Orchestrator is running and open Orchestrator config file.
  • Add the following lines within the <appSettings></appSettings> section, preferably right before the closing appSettings tag.
<!--AiFabric-->
    <add key="AiFabric.Licensing" value="true" />
    <add key="AiFabric.MLSkillsCreate" value="false" />
    <add key="AiFabric.MLSkillsCreateOOB" value="false" />
    <add key="AiFabric.PackagesCreate" value="false" />
    <add key="AiFabric.Packages" value="false" />
    <add key="AiFabric.Logs" value="false" />
    <add key="AiFabric.ModuleEnabled" value="true" />
    <add key="AiFabric.FeatureEnabledByDefault" value="true" />
    <add key="AiFabric.ModelStorageUrl" value="https://${AIF-IP}:31443" />
    <add key="AiFabric.MLPackagingInstructionsUrl" value="https://docs.uipath.com/ai-fabric/lang-zh_CN/v2020.7/docs/building-ml-packages" />
     <add key="AiFabric.MLServiceUrl" value="https://${AIF-IP}:31390" />
    <add key="AiFabric.MLSkillUrl" value="https://${AIF-IP}:31390/ai-deployer" />
    <add key="AiFabric.MLPackageUrl" value="https://${AIF-IP}:31390/ai-pkgmanager" />
    <add key="AiFabric.MLLogUrl" value="https://${AIF-IP}:31390/ai-helper" />
    <add key="AiFabric.MLTrainUrl" value="https://${AIF-IP}:31390/ai-trainer" />
    <add key="AiFabric.AccountId" value="host" />
  • Replace ${AIF-IP} with the IP of the linux machine where you are going to install AI Center .

  • Run iisreset from the Command prompt or from PowerShell

14 天前更新


3. Configure Orchestrator


建议的编辑仅限用于 API 参考页面

You can only suggest edits to Markdown body content, but not to the API spec.