Installing UniconOS Management Board
Note:
UniconOS Management Board is installed as a component of the Scout Enterprise Management Suite®. From UniconOS Management 2611, UniconOS Management Board is the only management interface.
-
Download the latest version of the Scout Enterprise Management Suite and start the installation process. For further information, see Installing Scout Enterprise Management Suite.
-
Fresh installation: By default, the UniconOS Management Board is part of the installation. Upgrading a previous version without UniconOS Management Board: Activate the UniconOS Management Board component.
-
Then configure your UniconOS Management Board settings.
| Information | |
|---|---|
| 1 | Number of the port on which the Scout Board service should run |
| 2 | Computer name (FQDN) of the machine on which the database layer is to run |
| 3 | With HTTPS, a secure connection to the interface is used. |
| Initially, a self-signed certificate is created. To configure an individual SSL certificate instead, see below. |
-
Follow the further instructions.
Note:
From 15.2609, an update to UniconOS Management Board keeps hand-made changes to the
.env file. Before 15.2609, every update rewrote .env using only the installer's own values, so any manual change — for example the settings described in the following sections — had to be reapplied after each update.
Every update still rewrites
USEHTTPS, DBLAYER_TIMEOUT and ZERO_MQ_IS_CURVE_ACTIVATED, regardless of your own values. The settings of a sign-in method you aren't using are also removed. Comment lines in the file are not kept. Setup never changes the file .env.custom, which UniconOS Management Board reads after .env.
From 15.2611, a repair of the installation keeps the
.env file as it is.
From 15.2611, an update also keeps your list of sign-in domains in
DOMAINS, see Configuring AD domains for UniconOS Management Board.
From 15.2611, an update keeps your own value of
JWT_EXPIRATION, except 4h, the value that earlier versions wrote, which it changes to 30m. JWT_EXPIRATION is now the time without activity after which a UniconOS Management Board session ends, see Configuring session limits for UniconOS Management Board.
Installing Software Management
Software Management is the image management in UniconOS Management Board, see Software. The installer has two components for it. A new installation selects both by default, also an unattended one:
| Component | What it installs |
|---|---|
| Software Management | The Software section of UniconOS Management Board. You can select it only together with UniconOS Management Board. |
| Software Management backend | The Windows service Software Management backend, which stores the containers and builds the images |
An update from an earlier version adds the two components only if you select them. To add them later, run setup again, choose Modify, and select both components, see Installing additional features or uninstalling unneeded features.
On the page Please configure the Software Management backend, you set the port of the backend (default
22170) and the Directory for the Software Management backend data (default C:\ProgramData\Unicon\Software). The containers are in its containers subfolder, and the log files of the backend in its logs subfolder. Don't use the port of another Scout component, for example 22150 of the Database Layer. Setup then shows "This port is already used by another Scout component. The backend will not start on it."
The data grows with every UniconOS version that you import, to 20 GB and more. Choose a drive with enough space, ideally a disk or partition of its own, so that a full system drive can't affect the operating system. Setup warns if the drive has less than 20 GB free. It refuses a drive root, a folder with a link or junction on the way, a folder that doesn't belong to Administrators, and a folder that already holds other data. Make sure that no unauthorized person can change the data in this folder.
Back up the data folder together with the Scout database, because the database holds the list of your containers, packages and images.
UniconOS Management Board reaches the backend at the address in
ELIAS_TARGET in its .env file. To change this address, run setup again, and enter the new address in Software Management backend URL on the Scout Board page. The backend always uses HTTPS. Next to UniconOS Management Board, setup gives it a self-signed certificate that UniconOS Management Board trusts. This certificate is valid for 10 years, and an upgrade in its last year renews it. A backend next to UniconOS Management Board accepts connections only from its own computer, so setup opens no firewall port for it.
So that the Firmware settings of an image show the full address that devices download from, set
DEVICE_DOWNLOAD_URL in the file config\.env of the backend, see Configuring the devices.
If administrators reach UniconOS Management Board through reverse proxies, Software Management records the address of the last proxy instead of the address of the administrator. To record the address of the administrator, set
ELIAS_PROXY_TRUSTED_HOPS in the file .env.custom of UniconOS Management Board to the number of proxies that add an address to the header X-Forwarded-For, and restart UniconOS Management Board. The default is 0. Don't set a higher number than you have proxies, because a browser could then choose the address that Software Management records.
Software Management backend on another computer
The installer can also install only the Software Management backend, on a computer of its own. Install UniconOS Management Board first, because the backend needs the public keys of UniconOS Management Board and the certificate authority (CA) of its client certificate.
-
When you install UniconOS Management Board, select Software Management, clear Software Management backend, and enter the address of the backend in Software Management backend URL, in the form
https://<host>:<port>.Setup accepts only this form. For anhttp://address or an address with a path, Next stays disabled, and setup shows "Use https://host:port for a backend on another machine, without a path or credentials."UniconOS Management Board creates its client certificate authority (CA) when it starts for the first time. Then copy the fileelias-client\ca.crtfrom the Scout Board folder to the backend computer; the last setup page names the file. The backend setup asks for it. If the backend is installed already, add the content ofca.crttoconfig\tls\client-ca.pemin the program folder of the backend instead, and restart the service Software Management backend. -
On the backend computer, start the installer and select only Software Management backend.
-
On the page Please connect the backend to Scout, enter the name or IPv4 address of the Scout server and the port of its Database Layer, by default
22150, under Scout Server DBLayer, and the DBLayer server key. Under UniconOS Management Board keys, enter Session and Grant. Under UniconOS Management Board client CA, select your copy ofca.crt.On the UniconOS Management Board computer, the DBLayer server key isZERO_MQ_PUBLIC_KEYin<install folder>\scoutboard\.env. The public keys of UniconOS Management Board are the registry valuesSessionPublicKeysandGrantPublicKeysunderHKLM\SOFTWARE\Unicon\Scout\ScoutBoard. To show the registry values, runreg query HKLM\SOFTWARE\Unicon\Scout\ScoutBoard. Copy the registry values, not a key from the.envfile. -
Under Certificate, choose Self-signed, PEM files or PFX file.
-
On the Firewall page, choose Automatically, so that setup opens the port of the backend in the Windows Firewall.
-
On the Scout Server, open
dblayer.iniin an editor that runs as administrator. Add the IPv4 address of the backend computer toDBLayerAllowedClients, see Configuring the Database Layer client check. -
Then register the backend on the Scout Server: in a command prompt that runs as administrator, run the command line that the last setup page on the backend computer shows, for example
ScoutInstaller.exe /s /v"DBLAYERELIASKEYS=<key>". Setup adds the key toDBLayerEliasKeysindblayer.iniand restarts the Database Layer, which then also reads the new list of allowed hosts. -
With a self-signed certificate, copy
config\tls\certificate.pemof the backend to the UniconOS Management Board computer. Then name the copy inELIAS_CA_PATHinscoutboard\.env.custom, and restart the Scout Board service.System Status in UniconOS Management Board then shows The ELIAS backend is responding normally. Until UniconOS Management Board trusts the certificate of the backend, it shows The ELIAS backend cannot be reached.
UniconOS Management Board uses a backend on another computer only over HTTPS. If
ELIAS_TARGET holds an http:// address, for example after a change by hand, Software isn't available, and System Status shows No valid ELIAS backend address is configured.
The clocks of the two computers must not differ by more than one minute.
An upgrade in the last year of the self-signed certificate renews it. After this upgrade, copy the new
config\tls\certificate.pem to the UniconOS Management Board computer again, over the file that ELIAS_CA_PATH names. UniconOS Management Board takes over the new certificate without a restart.
Replacing the certificate of the backend
-
Copy the new certificate and its private key, both in PEM format, over
certificate.pemandprivate-key.pemin theconfig\tlsfolder of the backend's program folder. By default, the program folder isC:\Program Files\Unicon\Scout\SoftwareManagement. To find the program folder, run(Get-CimInstance Win32_Service -Filter "Name='ScoutSoftwareManagement'").PathNamein PowerShell.The certificate file starts with the certificate, followed by its intermediates. The key has no password. To use a PFX file instead, run the installer again with this file. -
Restart the service Software Management backend (
ScoutSoftwareManagement). -
On the UniconOS Management Board computer, check
ELIAS_CA_PATHinscoutboard\.env.custom. If it names the old certificate, copy the new certificate over this file. UniconOS Management Board takes it over without a restart. For a certificate from a CA that this computer trusts, remove the line instead, and then restart UniconOS Management Board.
Don't set the certificate in the file
config\.env of the backend yourself. Setup manages the settings TLS_CERT_FILE and TLS_KEY_FILE there and resets changes to them at the next update or repair. If you add TLS_PFX_FILE next to them, the backend doesn't start.
Uninstalling the backend
An uninstallation removes the backend, but it keeps the data folder with the containers and the log files. The Scout database keeps the list of your containers, packages and images. If you install the backend again on the same Scout database, your containers are back.
The uninstallation also removes the secret that protects the private keys of your signing certificates. After a new installation, signing an image then fails with the message "Failed to decrypt signing key". To keep your signing certificates usable, note the registry value
CertificateKeySecret under HKLM\SOFTWARE\Unicon\ScoutEliasBackend\Secrets before you uninstall. Then install again unattended, and add /v"ELIAS_CERTIFICATE_KEY_SECRET=<value>" to the command line, see Unattended installation. Keep the value as safe as the private keys themselves.
Installing again on a new Scout database
Containers that are already in the data folder show up in UniconOS Management Board only after the backend has started once with
FORCE_RESCAN=true in its config\.env file. Set it back to false afterwards, because a full rescan takes long.
Configuring an individual HTTPS certificate for UniconOS Management Board
Self-signed certificates are not accepted as secure by the browser. To provide the browser with a valid SSL certificate for UniconOS Management Board perform the following steps:
-
Rename your certificate file to
certificate.crtand the private key file toprivate.key -
Copy both files into the UniconOS Management Board program directory. By default, this is
C:\Program Files\Unicon\Scout\Scout Board -
Still in the UniconOS Management Board program directory, edit the
.envfile and change the entryCERTIFICATE=SELFSIGNtoCERTIFICATE=SIGN -
Restart the Scout Board service.
For further information and detailed certificate configuration, see HTTPS Certificate Setup.
Configuring authentication options for UniconOS Management Board
During installation, you can choose which authentication method should be used for UniconOS Management Board.
The following authentication methods are supported:
-
AD (Active Directory)
-
Entra ID (SAML or OIDC)
-
OKTA (SAML or OIDC)
With AD, users sign in on the logon screen of UniconOS Management Board, see Logging in. With Entra ID or Okta, UniconOS Management Board opens the sign-in page of the identity provider instead.
After an authentication method has been configured during the installation, you can change or reconfigure it in the
.env file. As a reference and an example, the template file .env.example can be used.
| Authentication method | Parameter | Value |
|---|---|---|
| AD | AUTH_TYPE |
AD |
| OIDC | AUTH_TYPE |
OKTA_OIDC or ENTRAID_OIDC |
OIDC_ISSUER |
your-issuer-url |
|
OIDC_CLIENT_ID |
your-client-id |
|
OIDC_CLIENT_SECRET |
your-client-secret |
|
| SAML | AUTH_TYPE |
OKTA_SAML or ENTRAID_SAML |
SAML_SSO_ENTRY |
your-sso-entry-url |
|
SAML_LOGOUT_URL |
your-logout-url |
|
SAML_SERVICE_PROVIDER_ISSUER |
https://scoutboard.com/47d899fb-3002-4692-b741-8068b8f7fbb4 Only replace, if you are not using the UniconOS Management Board default issuer |
|
SAML_CERT_PATH |
your-certificate-path |
|
SAML_PRIVATE_KEY_PATH |
your-provate-key-path |
|
SAML_ACS_URL |
The externally visible assertion consumer service address, for example https://scoutboard.example.com/api/v1/auth/login-saml/callback. Set this only when UniconOS Management Board is published under a different address or port than it sees itself, for example behind a reverse proxy — by default, UniconOS Management Board builds this address from HOST_NAME, USEHTTPS and PORT. |
With Microsoft Entra ID and OpenID Connect (
ENTRAID_OIDC), add the optional claim auth_time to the ID token in the app registration of UniconOS Management Board. Without this claim, UniconOS Management Board can't check how recently an administrator signed in, and it refuses to grant Software rights with the message "Your identity provider does not report when you signed in, so Software rights cannot be granted." SAML sign-in needs no change, see Software rights.
Note:
From 15.2609, a SAML sign-in must be one UniconOS Management Board itself started: it rejects a response sent straight from the identity provider, for example by launching UniconOS Management Board from an Okta app tile or a Microsoft Entra My Apps tile. Each rejected response is logged as a Login rejected event. When UniconOS Management Board is reached over HTTPS, it reacts by discarding the response and immediately starting a fresh sign-in of its own, so the tile still reaches UniconOS Management Board, just through an extra round trip. To avoid that round trip, point the tile at
https://<Scout Board address>/api/v1/auth/login-saml instead, or set SAML_ALLOW_IDP_INITIATED=true (default false) to accept the tile's response directly.
A SAML response is also single-use from 15.2609 on — UniconOS Management Board refuses a replay of the same response, whether or not
SAML_ALLOW_IDP_INITIATED is set. GET /login-saml no longer accepts SAMLRequest as a query parameter.
UniconOS Management Board also applies three timing limits to a SAML sign-in:
-
Up to 30 seconds of clock difference between the identity provider and UniconOS Management Board is tolerated.
-
A response is accepted for at most 10 minutes after the identity provider issued it.
-
The user has 45 minutes to finish signing in at the identity provider, once they start.
A refused sign-in shows Sign-in could not be completed with the reason, a reference code and a Sign in again link.
Configuring session limits for UniconOS Management Board
UniconOS Management Board ends a session after 30 minutes without activity, and 12 hours after the sign-in at the latest. The administrator then signs in again. A token of the REST API is valid for 4 hours. To change these limits, set the following values in the file
.env.custom of UniconOS Management Board, for example JWT_EXPIRATION=1h, and then restart the Scout Board service:
| Setting | Default | What it limits |
|---|---|---|
JWT_EXPIRATION |
30 minutes | The time without activity after which a session ends |
SESSION_MAX_LIFETIME |
12 hours | The time from the sign-in after which a session ends at the latest |
REST_TOKEN_LIFETIME |
4 hours | The time for which a token of the REST API is valid, see Token lifetime |
Setup never changes
.env.custom, so your values stay after an update.
Configuring AD domains for UniconOS Management Board
The AD domain for the logon process is being used from the provided data during the installation process.
In the
.env file, the configuration is available. If the domain changes or additional domains need to be added, these can be added manually.
On the UniconOS Management Board logon screen, users select one of these domains in the Domain field.
Example:
| Domain option | Domain configuration |
|---|---|
| One domain | DOMAINS=["production.mydomain.com"] |
| Multiple domains | DOMAINS=["production.mydomain.com", "test.mydomain.com"] |
Note:
From 15.2611, an update keeps your list in
DOMAINS, in its order, and a repair doesn't change it. If the list doesn't contain the domain of the UniconOS Management Board server, the update adds this domain at the end. If LDAPS_SERVERS already names a domain controller at that position, or if DOMAINS isn't a list, the update keeps DOMAINS unchanged and writes a warning to the setup log. Earlier versions replaced the list with the domain of the server at every update. If an earlier update reset your list, enter your domains again once. If the UniconOS Management Board server moved to another domain, the old domains stay at the start of the list, so remove the domains that you no longer need.
Note:
From 15.2609, UniconOS Management Board resolves the domain controller for a sign-in only from its own configuration —
DOMAINS together with LDAPS_SERVERS, or AUTH_DOMAIN_MAP — instead of from a domain-controller address sent with the sign-in request or listed on the sign-in page. This applies to 15.2609 only; 15.2603 and 15.2607.x still use an address sent this way.
A sign-in for a domain that is neither in
DOMAINS nor in AUTH_DOMAIN_MAP, and is not a subdomain of one of them, is refused with HTTP 412 and the message Unable to resolve domain. Please contact your administrator. The single-tenant sign-in page only ever offers a DOMAINS entry, so this mostly affects REST API callers and multi-tenant installations (TENANT_MODE=multi-tenant) that take the domain from the user name. A subdomain of a configured domain, for example child.corp.example.com under corp.example.com, signs in with no extra configuration.
To add a domain for REST API or multi-tenant sign-in without exposing it on the sign-in page, add it to
AUTH_DOMAIN_MAP instead of to DOMAINS: AUTH_DOMAIN_MAP={"CORP":{"domain":"corp.example.com","ldapServer":"ldaps://dc01.corp.example.com"}}. The key (CORP above) is the short domain name used in CORP\user. ldapServer is optional; a plain string value names the domain only. An update keeps AUTH_DOMAIN_MAP.
If neither
LDAPS_SERVERS nor a domain's AUTH_DOMAIN_MAP entry names a domain controller, UniconOS Management Board finds the domain controllers through DNS from 15.2611 on, see Domain controllers found through DNS.
If you are using LDAPS,in the
.env file, you can configure them: LDAPS_SERVERS=["ldaps://my.ldaps.server", "ldaps://my.other.ldaps.server"]
Note
UniconOS Management Board now uses
ldaps:// only and validates the DC certificate chain (chain + hostname/SAN). Previously, this validation was turned off. LDAPS silently failed and used plaintext ldap://.
Affected: On-Premises
AUTH_TYPE=AD deployments with an untrusted, expired or SAN-mismatched DC certificate, or a plaintext ldap:// entry in LDAPS_SERVERS / AUTH_DOMAIN_MAP.
Logins that worked in UniconOS Management version 15 2605 will fail. SSO modes and UniconOS Management Cloud deployments are not affected. The login screen will provide information on the cause, and the details will be in the
backend.log log file.
Action required:
Untrusted certificate: From 15.2611, UniconOS Management Board checks the LDAPS certificate against its built-in root certificates and the certificates in the Windows certificate store of its server. On a domain-joined server, the certificate authority of your Active Directory is usually in this store already, so a domain controller certificate from your internal certificate authority works without further configuration. If the certificate authority is missing, import its root certificate with
certutil -addstore Root <root.cer>. If the domain controller sends only its own certificate, also import the issuing certificate with certutil -addstore CA <issuing.cer>. Then restart UniconOS Management Board. Instead, you can set LDAP_CA_PATH=<PEM CA bundle> in the UniconOS Management Board .env file. LDAP_CA_PATH replaces the built-in root certificates and the Windows certificate store. It doesn't add to them.
Name mismatch: In the UniconOS Management Board
.env file, use the DC FQDN in LDAPS_SERVERS / AUTH_DOMAIN_MAP, or LDAP_TLS_MODE=verify-ca
Temporary workaround only: In the UniconOS Management Board
.env file, use LDAP_TLS_MODE=insecure.
This is not supported in production environments, and it does not restore plaintext. (
ldap:// is refused in every mode)
The default is
LDAP_TLS_MODE=verify-full
After you change the
.env file, restart the Windows service UniconOS Management Board.
For how scripts sign in through the REST API and how long their token stays valid, see Using the REST API.
Domain controllers found through DNS
From 15.2611, if neither
LDAPS_SERVERS nor the domain's AUTH_DOMAIN_MAP entry names a domain controller, Scout Board looks up the domain controllers of the domain in DNS, in the record _ldap._tcp.dc._msdcs.<domain>. It connects to each domain controller by its own name, so the certificate check of the default LDAP_TLS_MODE=verify-full passes. If a domain controller doesn't answer, UniconOS Management Board tries the next one. If none of them works, UniconOS Management Board connects to ldaps://<domain>, as earlier versions do. With verify-full, this connection fails if the domain controller's certificate names only its own host name.
A DNS answer isn't authenticated, so a forged answer could send the sign-in, including the password, to another computer of the domain that has a valid certificate. Therefore, UniconOS Management Board accepts a domain controller found through DNS only if its certificate shows that it is a domain controller of this domain. The certificate must have the KDC Authentication usage, as the Kerberos Authentication certificates of Active Directory Certificate Services have, or it must name the domain itself. UniconOS Management Board skips a domain controller whose certificate shows neither, for example one with a certificate from the legacy Domain Controller template, and
backend.log names the reason. This check is always on with verify-full. With LDAP_TLS_MODE=verify-ca or LDAP_TLS_MODE=insecure, it doesn't apply.
To skip the DNS lookup and this check, name the domain controller: set
ldapServer in the domain's AUTH_DOMAIN_MAP entry to an ldaps:// address with the domain controller's FQDN, for example ldaps://dc01.corp.example.com. For the server's own domain only, the first LDAPS_SERVERS entry also works.
Configuring the Database Layer key for UniconOS Management Board
UniconOS Management Board no longer fetches the Database Layer's public key at startup. Instead, it reads
ZERO_MQ_PUBLIC_KEY from its .env file, which the installer writes.
-
UniconOS Management Board on the same server as the Database Layer: no action needed. If
ZERO_MQ_PUBLIC_KEYis missing or outdated, UniconOS Management Board takes the key from the localdblayer.iniinstead. -
UniconOS Management Board on a separate server from the Database Layer:
-
On the Database Layer server, copy the value of
[Certificates] DBLayerPublicKeyfrom%PUBLIC%\Documents\Unicon\Scout\ScoutBoard\dblayer.ini. -
On the UniconOS Management Board server, set
ZERO_MQ_PUBLIC_KEY=<key>in the.envfile and restart the Scout Board service. On a new installation, you can instead passUCPROP_SCOUTBOARD_REMOTE_DBLAYER_PUBLIC_KEY=<key>to the installer; an upgrade keeps whichever key is already in.env. -
Repeat these steps whenever the Database Layer's key changes, for example after the Scout database is restored or UniconOS Management Board is re-pointed at a different Database Layer.
-
Without a usable key, UniconOS Management Board still starts, but cannot reach the Database Layer; its log names
ZERO_MQ_PUBLIC_KEY as the setting to check.
UniconOS Management Board connects to the Database Layer only with encryption. It doesn't start if
ZERO_MQ_IS_CURVE_ACTIVATED is set to false, and the error message names this setting.
If several Scout Servers share the Scout database, their Database Layers use the same key. Where
ZERO_MQ_PUBLIC_KEY is set, it has the same value on every server.
From 15.2611, the Database Layer also needs to allow a UniconOS Management Board on a separate server, see Allowing a UniconOS Management Board on another computer.
Configuring the Database Layer client check
The Database Layer, the Windows service Scout Board Database Layer, connects UniconOS Management Board with the Scout database. UniconOS Management Board sends its requests to the Database Layer on port 22150 and receives events from it on port 22151. From 15.2611, the Database Layer checks the IPv4 address of every computer that connects to these ports. With the client check set to
Enforce, the Database Layer accepts only the computers in its list of allowed hosts.
Setup turns the client check on as follows:
-
New installation: setup sets the client check to
Enforceand allows this computer (self). It allows other hosts only if you add them on the Firewall page or pass them inDBLAYERALLOWEDCLIENTS. -
Update from 15.2609 or earlier: setup sets the client check to
Enforce. It allows this computer and the hosts that it finds when the update starts.
On an update, setup finds the computers that are connected to the Database Layer at that moment, and the addresses that the firewall rules of the Database Layer are limited to. The update page of the setup wizard shows the list, so that you can add computers that aren't running at that moment. A silent update uses the list as found. Afterwards, the Windows Application log contains a warning from setup that names the list.
If
dblayer.ini already contains a client check setting, setup keeps it, also on an update.
Setup creates firewall rules for ports 22150 and 22151 only if you let it configure the firewall. With
Enforce, setup limits these rules to the hosts in the list. With only self in the list, no other computer can reach the ports. An update never changes the firewall rules. If you use setup to switch the client check from Enforce to Off or Audit, setup opens these firewall rules to every address again. For the setup options, see Installing Scout Enterprise Management Suite and Unattended installation.
Client check settings
The client check settings are in the
[Network] section of dblayer.ini on the Database Layer server, by default in %PUBLIC%\Documents\Unicon\Scout\ScoutBoard\. Edit the file in an editor that runs as administrator. The Database Layer reads the settings only when it starts, so restart the Scout Board Database Layer service after each change.
DBLayerClientCheck decides what the Database Layer does with a computer that isn't in the list:
| Value | What the Database Layer does |
|---|---|
Enforce |
Refuses the computer before it can send a request. |
Audit |
Accepts the computer and logs it. Use this value to find out which computers connect before you switch to Enforce. |
Off |
Accepts every computer without a check. An empty value or a missing setting also means Off. |
Any other value works like
Audit and is logged as a warning at every start. Windows reads everything after the = as the value, so don't put a comment on the same line.
DBLayerAllowedClients holds the list of allowed hosts, separated by commas. The list can contain these entries:
-
selfstands for this computer: its loopback address and all its own IPv4 addresses. Keepselfin the list. Without it, the Database Layer also refuses the UniconOS Management Board on this computer. -
IPv4 addresses, for example
10.0.0.20. -
IPv4 address ranges, for example
10.0.0.0/24.
Add every other computer that connects to the Database Layer, for example a computer that runs UniconOS Management Board or a Software Management backend for this Scout database. Host names and IPv6 addresses don't work: the Database Layer skips such an entry and logs it. Give the allowed computers static IPv4 addresses.
This example allows this computer and one UniconOS Management Board computer:
[Network]
DBLayerClientCheck=Enforce
DBLayerAllowedClients=self,10.0.0.20
If several Scout Servers use the same Scout database, the UniconOS Management Board of every server receives the events of all servers on port 22151. On each server, add the IPv4 addresses of all other servers to
DBLayerAllowedClients. A new installation allows only the server itself, and an upgrade adds only the servers that it finds connected. If a server refuses the UniconOS Management Board of another server, Node health in that UniconOS Management Board names the refusing server and DBLayerAllowedClients. For this setup, see Connections between the servers.
Allowing a UniconOS Management Board on another computer
A UniconOS Management Board on another computer can use the Database Layer only if the Database Layer server knows its key and, with the client check on, its IPv4 address. Setup registers the UniconOS Management Board that it installs on the Database Layer server itself. For a UniconOS Management Board on another computer, the last page of its setup shows the setting with its key, for example
/v"DBLAYERSCOUTBOARDKEYS=<key>".
To register the UniconOS Management Board:
-
On the Database Layer server, open
dblayer.iniin an editor that runs as administrator. -
In the
[Network]section, add the IPv4 address of the UniconOS Management Board computer toDBLayerAllowedClients, for exampleDBLayerAllowedClients=self,10.0.0.20. -
Add the key of the UniconOS Management Board to
DBLayerScoutBoardKeys. If the setting holds keys already, separate the new key from them with a comma. -
Save the file, and then restart the Scout Board Database Layer service.
UniconOS Management Board connects again by itself as soon as the Database Layer accepts it. You don't need to restart UniconOS Management Board.
Instead of editing
dblayer.ini, you can run setup on the Database Layer server with the new values, in a command prompt that runs as administrator:
ScoutInstaller.exe /s /v"DBLAYERALLOWEDCLIENTS=self,10.0.0.20" /v"DBLAYERSCOUTBOARDKEYS=<key>"
DBLAYERSCOUTBOARDKEYS adds the key to the keys that are registered already. DBLAYERALLOWEDCLIENTS replaces the whole list, so include self and every other allowed host. Setup adds the values, keeps the other settings and restarts the Scout Board Database Layer and Scout Server services, so plan a short interruption.
If you have limited the firewall rules Scout DBLayer and Scout DBLayer Publish to certain addresses, add the UniconOS Management Board computer to these rules as well.
Keep these points in mind:
-
A UniconOS Management Board older than 15.2611 can't connect to the Database Layer of 15.2611. Upgrade UniconOS Management Board on the other computer first, and then register its key.
-
Until its key is registered, the sign-in page of the UniconOS Management Board on the other computer shows "This UniconOS Management Board is not registered with the Scout server, so it cannot read any data. Ask your administrator to register its key; the UniconOS Management Board log names the key and the setting."
-
If you don't have the key anymore, look in
backend.log, the log file of UniconOS Management Board on the other computer. While the Database Layer refuses UniconOS Management Board, this log names the key to add. -
If you uninstall UniconOS Management Board on the other computer and install it again, it gets a new key. Register the new key.
Checking which computers connect
At every start, the Database Layer writes the mode and the list of allowed hosts to its log file
dblayer.log and to the Windows Event Log, for example DBLayer client check: Enforce, allowed clients: self, 10.0.0.20/32. By default, dblayer.log is in the same folder as dblayer.ini.
-
A refused computer appears in
dblayer.logwith the lineRefused a DBLayer client at <address>. The Database Layer logs each address at most once an hour, and again after each of its restarts. -
With
AuditorEnforce, the filedblayer-clients.ininext todblayer.inilists every computer that has connected. A computer that isn't in the list is marked asunlisted.
The client check doesn't hide the ports. The Database Layer still listens on all network interfaces, and a refused computer can still open a connection. Therefore, limit the firewall rules for ports 22150 and 22151 to the same hosts.