OnDemand API Server User
Before you start¶
Goal
- Configure operating system 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
.
Note that although the configuration setting is on the Altair SLC Hub server machine, the user account it names must exist on the worker nodes, and does not have to be available on the Altair SLC Hub server machine.
Having changed this setting, restart the OnDemand controller service using the following command:
hubctl service restart ondmdctrl
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.