1. Home
  2. FlexRule Server
  3. Utilities
  4. Create FlexRule Server Configuration File

Create FlexRule Server Configuration File

◷ Reading Time: 3 minutes

This page is under construction ?

FlexRule Server requires configuration files for each agent and master instance. These configuration files contain settings to run the server such as database credentials, master/agent host data, and encryption keys.

There are two types of configuration files:

  • Agent Configuration File: FlexRule.Server.ExecAgent.exe.config
  • Master Configuration File: FlexRule.Server.Master.exe.config

The default locations of these files:

  • Agent Configuration File:
    C:\Program Files (x86)\FlexRule\Server\ <server version> \ExecAgent\FlexRule.Server.ExecAgent.exe.config
  • Master Configuration File:
    C:\Program Files (x86)\FlexRule\Server\<server version>\Master\FlexRule.Server.Master.exe.config

How to create the configuration files

Configuration files can be created using the CLI commands or using the command generator.

You should create the configuration files separately for each master/agent instance.

Create the Configuration Files using the CLI Commands

  • Open a command prompt in administrator mode.
  • Navigate to the Master/ Agent folder
    e.g. cd C:\Program Files (x86)\FlexRule\Server\9.0.103\Master
  • Run the following command to create the configuration file.
    FRS.exe config --new [master | agent]

    e.g. To create a config file in master, FRS.exe config --new master
  • Once you create the configuration file, you can run the commands to update the file with your server settings.

The CLI Commands to Set the Configuration Settings of FlexRule Server

Most of the commands are applicable to both nodes. However, note that some of the commands are applicable either to the master node or agent node only.

The complete set of commands are available in this article.
CLI Commands for FlexRule Server Configuration

Create the Configuration Files using the Command Generator

<update once the online generator is ready>

Updated on November 15, 2021

Was this article helpful?

Related Articles