Salesforce

Installing aiWARE with AI Processing and AI Data on multiple nodes

« Go Back
Information
Installing aiWARE with AI Processing and AI Data on multiple nodes
000004262
Public
Product Selection
aiWare - aiWare
Article Details

To install aiWARE in multiple nodes, install the controller node first, and then install processing nodes. One of the nodes must run AI data services. You need to perform the steps once for each controller node, and as many times as processing nodes.

[Warning] You cannot change from single node aiWARE to multi-node aiWARE without uninstalling the aiWARE instance.

Pre-installation steps

One-time steps

Complete the following pre-installation steps.

  1. Verify system requirements.
  2. Write down the IP of the controller node.
  3. Optional: Although UUID tokens are automatically generated, you can create your own and overwrite the generated token.
    [Warning] The installation database stores the generated UUID that is automatically generated or that you write (export) in aiWARE environment variables. If you generate and export a new UUID, then you need to remove the first installation and then restart the installation from scratch. If you generated and exported multiple UUIDs, you might see 403 errors or other connection problems in the output of the installation command in the terminal.
    • To get a UUID, do one of the following:
      • In the terminal, run the following command:
        $ uuidgen
      • On a UUID generator site, generate a uuid. You can use uuidgenerator.net.
    • Copy the UUID and save it in a text file.

Steps in each node

For each node, complete the following pre-installation steps.

  1. Gather the credentials for the root user.
  2. Install a platform for containers.
  3. Optional: In air-gapped environments, create an allowlist. To the computer or VM in which you are installing aiWARE, add the following IP addresses in the allowlist.
    HostnameIP Addresses
    get-static.aiware.com13.248.195.1, 76.223.71.144
    registry.central.aiware.com15.197.255.19, 3.33.192.186

Installation steps

  1. In each node type, do the appropriate installation:
    Node typeCommand lineDo the following:
    Controllersudo su
    export AIWARE_INIT_TOKEN=uuid
    export AIWARE_MODE=db,nfs,controller
    export AIWARE_HOST_EXPIRE=false
    export AIWARE_DOMAIN_NAME=dev-local.aiware.run
    curl -sfL https://get.aiware.com | sh -
    1. Replace the 'uuid' with the UUID that you generated or that Veritone provided.
    2. Copy and paste the command line commands in the terminal of the node that you want to install the services.
    Processingsudo su
    export AIWARE_INIT_TOKEN=uuid
    export AIWARE_MODE=engine
    export AIWARE_HOST_EXPIRE=false
    export AIWARE_LICENSE=license
    export AIWARE_LICENSING_ENABLED=yes
    export AIWARE_DOMAIN_NAME=dev-local.aiware.run
    export AIWARE_CONTROLLER=http://IP_OF_CONTROLLER_NODE:9000/edge/v1
    curl -sfL https://get.aiware.com | sh -
    1. Replace the 'uuid' with the UUID that you generated or that Veritone provided.
    2. Replace 'license' with the AI Processing license key provided by Veritone.
    3. Replace 'IP_OF_CONTROLLER_NODE' with the IP address of the controller node.
    4. Copy and paste the command line commands in the terminal of the node that you want to install the services.
    AI Datasudo su
    export AIWARE_INIT_TOKEN=uuid
    export AIWARE_MODE=api,apps,lb,minio,es,nsq,redis
    export AIWARE_HOST_EXPIRE=false
    export AIWARE_LICENSE=license
    export AIWARE_LICENSING_ENABLED=yes
    export AIWARE_DOMAIN_NAME=dev-local.aiware.run
    export AIWARE_CONTROLLER=http://IP_OF_CONTROLLER_NODE:9000/edge/v1
    curl -sfL https://get.aiware.com | sh -
    1. Replace the 'uuid' with the UUID that you generated or that Veritone provided.
    2. Replace 'IP_OF_CONTROLLER_NODE' with the IP address of the controller node.
    3. Replace 'license' with the AI Processing license key provided by Veritone.
    4. Copy and paste the command line commands in the terminal of the node that you want to install the services.
    Optional: Additional processing nodessudo su
    export AIWARE_INIT_TOKEN=uuid
    export AIWARE_MODE=runmode
    export AIWARE_HOST_EXPIRE=false
    export AIWARE_LICENSE=license
    export AIWARE_LICENSING_ENABLED=yes
    export AIWARE_DOMAIN_NAME=dev-local.aiware.run
    export AIWARE_CONTROLLER=http://IP_OF_CONTROLLER_NODE:9000/edge/v1
    curl -sfL https://get.aiware.com | sh -
    1. Replace the 'uuid' with the UUID that you generated or that Veritone provided.
    2. Replace 'runmode' with the list of run modes that you want to install. The items on the list must be separated by comma and cannot contain spaces.
    3. Replace 'license' with the AI Processing license key provided by Veritone.
    4. Replace 'IP_OF_CONTROLLER_NODE' with the IP address of the controller node.
    5. Copy and paste the command line commands in the terminal of the node that you want to install the services.
    [Warning] Before proceeding to the next step, wait 20 minutes for background processes to load.
  2. Optional: To watch as the install process downloads and starts new containers, and to check the system for initial problems from running aiWARE, you can perform checks during the installation.
    [Tip] You need to add the list of mappings that is output in the command below in the /etc/hosts file in the computer or VM that runs the browser that you are going to use to access Veritone apps. If you are installing aiWARE with EC2 or Microsoft Azure, then edit the /etc/hosts file on your physical computer. If you are installing aiWARE with a VM, then edit the /etc/hosts file in the VM.
  3. In the node for AI Data, type the following command, and then follow the instructions in the terminal.
    ai hub install aidata

    Startup processes start. Statuses are output in the terminal every minute. The installation command times out after 10 minutes of no progress with a timeout error.

  4. Open ports between services.
  5. In the terminal, restart the Docker container for aiware-haproxy in the ai Data node:
    docker restart aiware-haproxy
  6. In the controller node, log in to Veritone.
    [Note] The superuser username is predefined by Veritone: sysadmin@aiware.run
    [Warning] You must complete the login process within 24 hours of installing aiWARE. The URL expires after 24 hours.
  7. In your browser, accept the risk for SSL certificates if prompted, and then go to the URL that the installation output earlier.
    • A password reset page appears.

      Notes:

      • If you get the following error messages: "Connection Refused" or "Service Unavailable" wait for several minutes for the installation to fully come online.
      • If a login page appears instead of a password reset page, then there was an error creating the superuser account; for example, the URL may have expired. Re-enter the URL. If that fails, reinstall aiWARE.
  8. Change and confirm the password. The Veritone app appears.

Post-installation steps

  • In the terminal of the controller node, after you curl the run modes down, create a softlink in NFS:
    ls -alt /
       rm -rf /cache
       ln -s /opt/aiware/nfs /cache
       docker restart aiware-controller
       ls -alt / (expected output in line below)

    The response should look like this:

    lrwxrwxrwx   1 root root    15 Mar  8 15:25 cache -> /opt/aiware/nfs
Additional Technical Documentation Information
Properties
1/29/2026 4:04 PM
1/29/2026 4:05 PM
1/29/2026 4:05 PM
Documentation
Documentation
000004262
Translation Information
English

Powered by