Initial configuration
Initial configuration of your gateway cluster involves setting up the gateway server to handle client requests, manage resources, and communicate with Gateway Manager and runner nodes. Different sections of the configuration file apply to specific nodes and communication scenarios.
Configuration file structure
For RPM/DEB installations, the configuration file is located at /etc/gateway/gateway.conf by default, or in your relocated configuration directory if you relocated it during an RPM installation. For containerized deployments, configuration is managed through environment variables. Each configuration section serves specific node types and communication requirements:
[application]: Global settings applied to all node types[server]: Settings specific to gateway server nodes[client]: Settings specific to gateway client nodes[connect]: Settings for Gateway Manager connectivity (applies to server nodes)[runner]: Settings specific to gateway runner nodes[store]: Database backend configuration (applies to server and runner nodes in distributed execution deployment models)[log],[features],[secrets]: Shared settings across node types
Essential configuration settings
After installing Gateway Manager and Gateway, configure each node by updating the appropriate configuration variables. The following tabs provide examples of the most common settings you need to configure before starting your gateway cluster. To view an example configuration file, see Configuration variables.
Application mode
Server
Gateway Manager connection
Logging
Features
Applies to: All nodes
Set the application mode to server to manage gateway resources:
For more information, see Application modes.
Applies to: Server nodes only
Configure server listening parameters:
For more information, see Server variables.
Applies to: Server nodes only
Prerequisites
Before you copy the following example [connect] configuration to your server host machine, complete the following prerequisites.
Create and upload certificates
Create certificates for secure communication between your gateway cluster and Gateway Manager. Gateway Manager supports self-signed certificates, CA-issued certificates, and CA-issued wildcard certificates.
For detailed procedures, see Create certificates.
Identify your Itential Platform server
The GATEWAY_CONNECT_HOSTS value identifies your Itential Platform server. How you identify your the server varies based on your Itential Platform deployment type:
Cloud
On-prem deployment
- Identify your Itential Platform server’s URL, for example:
acme-dev-iap01.iap-prod.itential.io - Add
-gwmto the server name before the first period (.):acme-dev-iap01-gwm.iap-prod.itential.io - Add
:443to the end:acme-dev-iap01-gwm.iap-prod.itential.io:443
Final result: GATEWAY_CONNECT_HOSTS: "acme-dev-iap01-gwm.iap-prod.itential.io:443"
Update the GATEWAY_CONNECT_HOSTS value to match the hostname or IP address of the server where you installed your Gateway Manager instance, including the port (e.g., 10.0.0.1:8080).
By default, Gateway Manager uses port 8080 for gateway connections.
Example: GATEWAY_CONNECT_HOSTS: "10.0.0.1:8080"
Configure connection to Gateway Manager:
For more information, see Connection variables.
Applies to: All nodes
Enable or disable specific features:
For more information, see Feature variables.
Server startup and management
Once your configuration is complete, start your gateway server to begin accepting client connections. The startup process differs between RPM/DEB installations and container deployments.
RPM/DEB installations
Container deployments
Initial admin setup
On first startup, Gateway creates a temporary admin account for initial configuration. Gateway clients use this account to connect to the server and configure services and resources. Find the credentials in the logs:
Learn more
- For detailed descriptions on all configuration variables, see Configuration variables.
- For procedures on configuring gateway clients, see Configure gateway client.
- For more information on configuring runner nodes, see Configure distributed execution clusters.
- For more information on configuring multiple server nodes, see Configure high availability clusters.
- For more information on configuring your database backend, see: