Skip to main content

Alteryx License Server Failover Configuration

Alteryx License Server offers a failover system but you need to set it up. This guide will walk you through the setup.

Alteryx License Server requires 2 local license servers – the main license server and the backup license server – which work together to ensure that licenses remain available for client devices in case the main license server fails.

For more details, go to Revenera License Server Failover or Revenera Configuring Server Failover.

Requirements

  • 2 license servers of the same version.

Setup

Follow these steps on the main (MAIN) or backup (BAKP) license server:

  1. BAKP - Run this command:

    enterprise/flexnetlsadmin -server http://localhost:7070/api/1.0/instances/~ -authorize admin Admin1234# -hostid

    Take note of the hostid. Example: 02AECB34265F/Ethernet.

  2. MAIN - Change the settings for failover:

    enterprise/flexnetlsadmin -server http://localhost:7070/api/1.0/instances/~ -authorize admin PWD -config -set licensing.backup.uri=http://BAKP_IP:7070/fne/bin/capability
    enterprise/flexnetlsadmin -server http://localhost:7070/api/1.0/instances/~ -authorize admin PWD -config -set licensing.main.uri=http://MAIN_IP:7070/fne/bin/capability
  3. MAIN - Edit flexnetls.settings and edit the line BACKUP_SERVER_HOSTID=backup_hostid with the noted hostid. Example: BACKUP_SERVER_HOSTID=02AECB34265F/Ethernet.

  4. MAIN - Restart the server with the new settings:

    server/flexnetls -update
    server/flexnetls -start
  5. BAKP - Change the settings for failover:

    enterprise/flexnetlsadmin -server http://localhost:7070/api/1.0/instances/~ -authorize admin PWD -config -set fne.syncTo.enabled=true
    enterprise/flexnetlsadmin -server http://localhost:7070/api/1.0/instances/~ -authorize admin PWD -config -set fne.syncTo.mainUri=http://MAIN_IP:7070/fne/bin/capability
    enterprise/flexnetlsadmin -server http://localhost:7070/api/1.0/instances/~ -authorize admin PWD -config -set licensing.backup.uri=http://BAKP_IP:7070/fne/bin/capability
    enterprise/flexnetlsadmin -server http://localhost:7070/api/1.0/instances/~ -authorize admin PWD -config -set licensing.main.uri=http://MAIN_IP:7070/fne/bin/capability
  6. BAKP - Restart the server:

    server/flexnetls -stop
    server/flexnetls -start
  7. BAKP - Check if BAKP has the same licenses as MAIN, if applicable:

    enterprise/flexnetlsadmin -server http://localhost:7070/api/1.0/instances/~ -authorize admin PWD -licenses

Importante

For a client, both MAIN and BAKP should be accessed using a proxy or routing server which forwards requests to MAIN if available and to BAKP otherwise. Designer and other products should point to the bridge.