Configure gateway client
Client configuration enables interaction with gateway servers for resource management and service execution. The client configuration section specifically applies to client nodes connecting to gateway servers.
You can connect to your gateway server from a local client on the same machine as your server, or, you can install the gateway client on a separate machine.
Local client (same machine as server)
For RPM/DEB installations, the client functionality is included with the server installation.
The gateway application mode enables you to configure whether iagctl acts as a server, client, or other modes when executed. By default, the application mode is set to server to manage connections to Gateway Manager. To send requests to your server, set the application mode to client.
Install and configure a separate client
Install gateway client
Install a gateway client on a separate machine to manage the resources on your gateway server.
Download the IAG binary executable for your particular operating system from the Itential software repository.
Linux installation
Mac installation
- Navigate to your Downloads folder and extract the archive. Before running the following command, update
x.y.zandarchto reflect the version you downloaded.
- Run the extracted executable:
- Copy the file to your bin directory:
Configure client
Create a client configuration file at ~/.gateway.d/gateway.conf.
The configuration sections relevant to client nodes include [application], [client], and [log]. See Configuration variables for more information.
Example client configuration
The host value should match the server where your IAG server is running.
Client authentication
Initial login
Log in using the admin account created during server startup:
Follow the prompts to:
- Enter
adminwhen prompted for the initial password. - Create a new password when prompted. Your password must be longer than 8 characters.
- Follow the remaining prompts to finish logging in.
Subsequent logins
Verify configuration
Verify your client configuration:
The expected output shows your active terminal configuration, including values from the configuration file and overriding environment variables.
Client operations
Once configured and authenticated, you can perform various client operations:
For more information, see Command reference.
Troubleshooting client configuration
Connection Issues:
- Verify server hostname/IP accessibility
- Check firewall rules for port 50051
- Confirm TLS configuration matches server settings
- Ensure mutual TLS certificates are properly configured on both client and server
Authentication Issues:
- Ensure correct username and password
- Check API key expiration (default 24 hours)
- Verify client has necessary permissions
- Confirm mutual TLS certificate validation is working
Configuration Issues:
- Use
iagctl --verbosefor detailed logging - Check configuration file syntax
- Verify certificate file paths and permissions
- Ensure the correct configuration sections are being applied to the appropriate node types