Skip to content

OnDemand API Server User

Before you start

Goal

  • Configure OS users required for the On Demand API Servers

Prerequisites

  • Have the desired UPN for running in Windows.
  • Have a worker setup, with Altair SLC installed.
  • Altair SLC Hub configuration privileges for the machine.

On Demand API Servers

Altair SLC Hub On Demand API servers are run under a fixed operating system user account. The name of this account is configured in the [etc directory]/config.d/ondemand.yaml configuration file. There are two configuration settings, one for the account used on Linux nodes and one for the account used on Windows nodes.

The Altair SLC Hub on Linux automatically creates an operating system account and sets the appropriate configuration setting in this file.

For Windows worker nodes it is necessary to manually create a user account on any required Windows worker nodes. This user account should have the same name on each worker node. This can be a domain account or it can be a local account. The name of this account should then be set as the value of the apiServerWindowsUpn configuration setting. To modify these settings, create a copy of the [etc directory]/config.d/ondemand.yaml file and save it with a lexicographically greater name such as etc/config.d/ondemand_custom.yaml.

Verification

Verify Ondemand API Servers can run

  • run a Hello World program on a demo On Demand API server.

You can install a demo server via a button on the website, you should then be able to go to the Directory and run a "Hello World" program.