Subscribe

UiPath AI Center

UiPath AI Center

Online single-node installation

Overview


Use the following steps to install AI Center on a single machine that has access to the internet.

Prerequisites


Hardware and software prerequisites must be completed before proceeding with the installation.

Procedure


Step 1: Downloading the installation script


1.1. Connect to the machine using SSH.

If you set a password, the command is as follows:

ssh <user>@<dns_of_vm>

If you used an SSH key, the command is as follows:

ssh -i <path/to/Key.pem> <user>@<dns_of_vm>

1.2. Become root:

sudo su -

1.3. Move to home directory:

cd ~

1.4. Install unzip and jq.

yum install jq unzip wget -y

1.5 Create the installation folder.

mkdir -p /opt/UiPathAutomationSuite/

1.6. Download the script installer and bundle. Make sure to keep the ' (single quotes) around the download URL.

cd /opt/UiPathAutomationSuite 
wget -O ./installUiPathAS.sh 'https://download.uipath.com/automation-suite/installUiPathAS.sh'
wget -O ./sf-installer.zip 'https://download.uipath.com/automation-suite/installer.zip'

📘

Note:

This step generates a configuration file that will be used during the following installation process.

Step 2: Copy the Orchestrator and Identity Server certificate to the virtual machine


Note: In case of chain certificates, check the Chain certificates section on how to correctly provide certificates.

Download and save the Orchestrator certificate on your local machine. You can do this by using a browser, or you can ask your IT department to provide the certificate. Certificates must be base64 and .cer format. Copy the certificate to the virtual machine using the command below.

scp /path/to/orch.cer <username>@<node dns>:/opt/UiPathAutomationSuite

If Identity Server is different from Orchestrator, repeat the steps for identityserver.cer as well.

Chain certificates

When using a domain-issued certificate, follow the procedure below.

  1. Insert the whole chain in the .cer file created for upload.
  1. Export the first node (root) in a base64 and cer file format. To do so, click View Certificate, then go to the Details tab and click Copy to file.
  1. Create one .cer file, for example 1stcert.cer.
  2. Select the intermediate certificate from the second node in the tree. Click View Certificate, then go to the Details tab and click Copy to file.
  3. Create a second distinct .cer file, for example 2ndcert.cer.
  4. Export the leaf of the certificate file (third node in the tree).
  5. Create a third distinct .cer file, for example 3rdcert.cer.
  6. Concatenate the three certificate files in one bigger file in the order they are displayed in the tree (root, intermediate, leaf).
  7. Open the three files with a text editor and paste them one after the other in a new file.

The resulting file should be similar to the example below.

-----BEGIN CERTIFICATE----- 
first line of the 1stcert file 
second line of the 1stcert file 
-----END CERTIFICATE----- 
-----BEGIN CERTIFICATE----- 
first line of the 2ndcert file 
second line of the 2ndcert file 
-----END CERTIFICATE----- 
-----BEGIN CERTIFICATE----- 
first line of the 3rdcert file 
second line of the 3rdcert file  
-----END CERTIFICATE-----

 

Step 3: Configuring the installation


3.1 Use interactive wizard to create base config file.

🚧

Note

Make sure to not start the install from the script and exit it when config file is generated, it will try to install full Automation suite otherwise.

Start interactive wizard using the commands below.
Note: This script is primarily used for Automation Suite and the displayed information (products, requirements) is relative to Automation Suite. The config file will be adapted to our needs in the next steps of the procedure.

cd /opt/UiPathAutomationSuite 
chmod +x ./installUiPathAS.sh
./installUiPathAS.sh

Screen-by-screen sequence
Upon starting the installation wizard, the main menu is displayed. From this menu you need to choose the desired deployment mode: single-node or multi-node. You are prompted with details about each mode once a choice is made. After that, you have the option to continue with the current choice or go back to the main menu.

Deployment configuration steps

  1. Accept the license agreement.

  2. Select the deployment mode: select the Single-node deployment option.

  1. Select continue.

  2. Select online installation.

  3. Select basic installation.

  4. Enter the DNS hostname.

  5. Specify whether you want to use Kerberos Auth for SQL connections.

  6. Enter the SQL Server URL. Follow the prompt to enter the connection port, username, and password.

  7. Specify whether you want the installer to automatically create the necessary databases.

The cluster configuration file will be generated with a folder as shown in the following image.

Note: As soon as you generate the configuration file and the folder, you can exit the wizard and proceed with the remaining steps below to complete installation. You can ignore the list of products as we will update this in the following steps.

A first version of the cluster_config.json file is now generated. We will update this file to the purpose of the AI Center installation.

3.2 Add AI Center specific config.

Open the file with your editor (e.g.: vi):

vi /opt/UiPathAutomationSuite/cluster_config.json

Replace the following block:

"aicenter": {
  "enabled": "false"
},

Note: Document Understanding is enabled by default if AI Center is enabled.

With the following information (replacing the information between <> with your values):

"aicenter": {
  "orchestrator_url":"<https://orchestrator-url.com>",
  "identity_server_url": "<https://orchestrator-url.com/identity>",
  "orchestrator_cert_file_path": "</opt/UiPathAutomationSuite/orch.cer or custom path>",
  "identity_cert_file_path":  "</opt/UiPathAutomationSuite/orch.cer or custom path>",
  "identity_access_token": "<placeholder will be replaced later>"
},

3.3. (Optional) Advanced configuration

You can find the cluster_config.json file in the UiPathAutomationSuite folder. You can use this file to configure your SQL DBs and their respective connection strings and certificates. You can also enable proxy settings if you use a proxy for internet connection.

For single-node installation, note that you cannot enable High Availability.

For advanced configuration, see Using the configuration file.

Step 4: Running the installation


4.1. Go to the installation folder and unzip the bundle then provide right permission to the folder by using the command below.

sudo su - 
cd /opt/UiPathAutomationSuite
unzip ./sf-installer.zip -d .
chmod -R 755 /opt/UiPathAutomationSuite

4.2. Run the infrastructure installer.
Run the installer with the AI Center stand-alone flag.

./install-uipath.sh --accept-license-agreement --install-standalone-aicenter -i cluster_config.json -o output.json -k

4.3. Install fabric (software components).
Run the installer with the AI Center stand-alone flag.

./install-uipath.sh --accept-license-agreement --install-standalone-aicenter -i cluster_config.json -o output.json -f

4.4. Run the software installer.
First you need to connect to identity server and retrieve an installation token. Then copy this token and paste it in placeholder we had in step 3.2. (in the cluster_config.json file).
Once the token is there, you can run the AI Center install.

./install-uipath.sh --accept-license-agreement --install-standalone-aicenter -i cluster_config.json -o output.json -s

At the end of the installation, AI Center will be accessible at the following address:https://your-dns.com/ai-app.

Updated 4 days ago

Online single-node installation


Suggested Edits are limited on API Reference Pages

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