Installing the AEN compute node(s) — Anaconda Enterprise 4.4 documentation

Anaconda Enterprise: Documentation

# Installing the AEN compute node(s)

- Setting variables and changing permissions
- Running the AEN compute installer
- Restart the AEN Server
- Configuring your compute node(s)
- What’s next

Compute nodes are where projects are stored and run.

Adding multiple AEN compute machines allows you to scale-out horizontally to increase capacity. Projects can be created on individual compute nodes to spread the load.

Repeat this procedure on each compute machine.

## Setting variables and changing permissions

Run:

    export AEN_SERVER=<FQDN HOSTNAME OR IP ADDRESS> # Use the real FQDN
    chmod a+x aen-*.sh                # Set installer to be executable

NOTE: Change <FQDN HOSTNAME OR IP ADDRESS> to the actual fully qualified domain hostname or IP address.

NOTE: You must perform the entire procedure before closing the terminal to ensure the variable export persists.

## Running the AEN compute installer

Run:

    sudo -E ./aen-compute-4.2.1-Linux-x86_64.sh -w $AEN_SERVER
    ...
    ...
    PREFIX=/opt/wakari/wakari-compute
    Logging to /tmp/wakari_compute.log
    Checking server name
    ...
    ...
    Initial clone of root environment...
    Starting Wakari daemons...
    installation finished.
    Do you wish the installer to prepend the wakari-compute install location
    to PATH in your /root/.bashrc ? [yes|no]
    [no] >>> yes

## Restart the AEN Server

Once configured, restart the AEN server:

    sudo service wakari-server restart

## Configuring your compute node(s)

Once installed, you must configure the compute launcher on your server:

1. In your browser, go to your AEN server.

2. Log in as the AEN_SRVC_ACCT user.

3. In the AEN navigation bar, click Admin to open the Admin Settings page.

4. In the Providers menu, select Enterprise Resources:

5. Click the Add Resource button to open the new resource form.

6. Select the data center to associate this compute node with.

7. In the URL box, type: `http://$AEN_COMPUTE:5002`.

   NOTE: If the compute launcher is located on the same box as the gateway, we recommended that you type `http://localhost:5002` instead.

8. Type a Name and Description for the compute node.

9. Click the Add Resource button to save the changes.

Your AEN compute node is configured.

## What’s next

Configure conda to use your local on-site AEN repository.