Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Confluence

Aspire 5
Results will update as you type.
  • What is Aspire?
  • Getting Started
    • Installing Using Helm Charts
    • Aspire Registration and Licensing
    • Enable HTTPS
    • How to Install Aspire
      • Quickstart Guide with Docker (HTTPS)
      • How to Set Up Aspire On-Premise
      • Kubernetes Deployments
      • Install Kibana Dashboards
      • Advanced - Configuring Aspire Maven Repository
      • Install and Configure Elasticsearch and OpenSearch
      • Quickstart Guide with Docker Desktop
    • Prerequisites
    • Production Minimum Recommended Settings
    • Supported Versions
  • Generative AI
  • Crawling Features
  • Rest API Usage
  • Configuration
  • How-to articles
  • Connectors
  • Publishers
  • Workflows
  • Aspire Tools
    Calendars

You‘re viewing this with anonymous access, so some content might be blocked.
/
How to Set Up Aspire On-Premise
Updated Jul 27

    How to Set Up Aspire On-Premise

      The recommended way of deploying Aspire 5 is by containers. See the Quickstart Guide with Docker (HTTPS) for local deployments or Kubernetes Deployments for more information.

      The current guide describes how to deploy Aspire 5 directly into a VM (Linux or Windows).

      Prerequisites

      • Maven 3

      • Java 21 for Aspire 5.3, Java 17 for Aspire 5.1/5.2, or Java 11 for Aspire 5.0 (OpenJDK and Oracle supported)

      • Register and obtain a license for Aspire 5 (see Aspire Registration and Licensing).

      • ElasticSearch 8.x or OpenSearch (ElasticSearch and OpenSearch)

      • (Optional) Kibana 8.x (for dashboards, logs, and metrics)

      • 1 Prerequisites
      • 2 Set up Aspire's Maven Repository
      • 3 Download and build Aspire Distribution with Maven Archetype.
        • 3.1 Steps
      • 4 Design your Aspire 5 deployment
      • 5 Start your Aspire Distribution
        • 5.1 1) Elasticsearch connectivity environment variables
        • 5.2 2) Upload settings and license into Elasticsearch.
        • 5.3 3) Starting Aspire

       


      Set up Aspire's Maven Repository

      Follow the steps at Configuring Aspire Maven Repository using your registered credentials for Maven to be able to download the Aspire artifacts.

      Download and build Aspire Distribution with Maven Archetype.

      The Aspire Distribution Maven Archetype allows for building Aspire distributions consistently and easily.

      Steps

      1. Create the distribution archetype project with maven
        Please note that we are using Aspire 5.3
        Please ensure your JAVA version is set to Java 21.

        mvn archetype:generate -DarchetypeGroupId=com.accenture.aspire -DarchetypeArtifactId=aspire-distribution-archetype -DarchetypeVersion=5.3 -DrepositoryId=stPublic

        You will be prompted with the following parameters (sample configuration):

        Define value for property 'groupId': com.accenture.aspire Define value for property 'artifactId': aspire5 Define value for property 'version' 1.0-SNAPSHOT: : [use default just hit ENTER] [INFO] Using property: package = pom [INFO] Using property: aspire.bootloader = aspire-elasticsearch-bootloader [INFO] Using property: aspireAdminPort = 50505 Confirm properties configuration: groupId: com.accenture.aspire artifactId: aspire5 version: 1.0-SNAPSHOT package: pom aspire.bootloader: aspire-elasticsearch-bootloader aspireAdminPort: 50505 Y: : y
      2. You will see a folder with the name entered in the 'artifactId' parameter; change your current directory into it

        cd aspire5
      3. Build the distribution

        mvn clean package

        This generates the distribution into the 'target' folder

      4. Copy your distribution to where you want it to be installed

        cp -r target/aspire5 /your/installation/path
      5. If installing on Linux, give execution permissions to the bin/aspire.sh file:

        cd /your/installation/path/aspire5 chmod +x bin/aspire.sh

      Design your Aspire 5 deployment

      Aspire 5 differs from previous versions of Aspire in its architecture, which impacts the way it is deployed. See Aspire 5.0 Architecture for more information.

      There are two types of nodes that can be deployed: manager and worker nodes. At a minimum, there should be 1 manager and 1 worker node on any Aspire deployment.

      The same Aspire distribution can act as both manager and worker at the same time, which is usually ideal for installing POCs, as it is simpler to maintain only one distribution.

      Follow the steps above to create distributions for the different nodes in your cluster.

      Start your Aspire Distribution

      1) Elasticsearch connectivity environment variables

      Aspire 5 requires connectivity to Elasticsearch; for this, a set of environment variables must be set up for Aspire to be able to connect to it. See Properties at the ElasticsearchNoSQLProvider section for more details.

      If you are connecting to an unsecured, HTTP-only Elasticsearch instance, the only variable you need is:

      aspire_noSql_elastic_server=http://elastic_host_or_ip:9200

      If it isn't set, this variable will default to: http://localhost:9200

      2) Upload settings and license into Elasticsearch.

      Change the directory to one of the Aspire distributions previously built and upload its settings file:

      Linux-based:

      bin/aspire.sh -us config/settings.json

      Windows-based:

      bin\aspire.bat -us config\settings.json

      Now upload the license:

      Linux-based:

      bin/aspire.sh -ul /path/to/your/AspireLicense.lic

      Windows-based:

      bin\aspire.bat -ul C:\path\to\your\AspireLicense.lic

      3) Starting Aspire

      When starting multiple distributions on the same VM, make sure to change the HTTP or HTTPS port it uses to start (at the config/felix.properties file); otherwise, conflicts would arise.

      Starting the manager node

      On the VM that will host the manager node

      Linux-based:

      cd /path/to/manager-distribution bin/aspire.sh -manager

      Windows-based:

      cd C:\path\to\manager-distribution bin\aspire.bat -manager

      Starting the worker node

      On the VM that will host the worker node:

      Linux-based:

      cd /path/to/worker-distribution bin/aspire.sh -worker

      Windows-based:

      cd C:\path\to\worker-distribution bin\aspire.bat -worker

      Starting the manager/worker in the same distribution

      On the VM that will host Aspire:

      Linux-based:

      cd /path/to/worker-distribution bin/aspire.sh -standalone

      Windows-based:

      cd C:\path\to\worker-distribution bin\aspire.bat -standalone

       

      By default, Aspire will start in port 50505.

      The manager nodes will have an Admin UI enabled at http://localhost:50505/ and a debug console at http://localhost:50505/aspire.

      The worker nodes only expose the debug console at http://localhost:50505/aspire.

       

      Copyright © 2024 Accenture

      Contact Us: SCAAssetsSupport@accenture.com

      {"serverDuration": 36, "requestCorrelationId": "8f99fd3e91514f0fb391e0579a5ec241"}