Sample relay server configuration file for Apache on Linux

#
# This is a sample relay server configuration file defining a relay server 
# farm with 2 relay servers, 3 backend farms and 4 backend servers altogether.
#
# Relay servers:
#     rs1.rs.com
#     rs2.rs.com
#
# Assume load balanced address of the relay server farm is www.rs.com.
#
# Backend farms and servers and their corresponding rsoe command lines:
#     Company1.Sales.MLFarm
#         MLServer01   rsoe -cr host=www.rs.com -f Company1.Sales.MLFarm -id MLServer01 -t 7b2493b0-d0d4-464f-b0de-24643e1e0feb
#         MLServer02   rsoe -cr host=www.rs.com -f Company1.Sales.MLFarm -id MLServer02 -t de1aac83-a653-4e0f-8a6c-0a161a6ee407
#     Company1.Manufacturing.MLFarm
#         MLServer01   rsoe -cr host=www.rs.com -f Company1.Manufacturing.MLFarm -id MLServer01 -t 621ece03-9246-4da7-99e3-c07c7599031c
#     Company2.AFFarm
#         AFServer01   rsoe -cr host=www.rs.com -f Company2.AFFarm -id AFServer01 -t a688728f-1ae7-4438-969e-6f5e30a07882
#
# Note: The two instances of MLServer01 are different servers.
#
# Relay server configuration file usually contains authentication information. 
# Access to this file must be administered.
# 
# URL prefix for client applications:
#     https://www.rs.com/cli/iarelayserver/Company1.Sales.MLFarm
#     https://www.rs.com/cli/iarelayserver/Company1.Manufacturing.MLFarm
#     https://www.rs.com/cli/iarelayserver/Company2.AFFarm
#

#-------------------------------------
# Relay server with auto start option
#-------------------------------------
[options]
start = auto
verbosity = 1
# Note: When auto start is used, the default log file is 
#       %temp%\ias_relay_server.log while rshost is active and it
#       is renamed using YYMMDDNN.olg filename format upon shutdown.

#--------------------
# Relay server peers
#--------------------
[relay_server]
enable          = yes
host            = rs1.rs.com
http_port       = 80
https_port      = 443

description     = Machine #1 in RS farm

[relay_server]
enable          = yes
host            = rs2.rs.com
http_port       = 80
https_port      = 443
description     = Machine #2 in RS farm

#---------------
# Backend farms
#---------------
[backend_farm]
enable          = yes
id              = Company1.Sales.MLFarm
client_security = on
backend_security= on
description     = Company1's MobiLink farm in their Sales department

[backend_farm]
enable          = yes
id              = Company1.Manufacturing.MLFarm
client_security = on
backend_security= on
description     = Company1's MobiLink farm in their Manufacturing department

[backend_farm]
enable          = yes
id              = Company2.AFFarm
client_security = off
backend_security= off
description     = Company2's Afaria farm

#-----------------
# Backend servers
#-----------------
[backend_server]
enable   = yes
farm     = Company1.Sales.MLFarm
id       = MLServer01
mac      = 01-23-45-67-89-ab
token    = 7b2493b0-d0d4-464f-b0de-24643e1e0feb

[backend_server]
enable   = yes
farm     = Company1.Sales.MLFarm
id       = MLServer02
mac      = 01-23-45-67-89-ac
token    = de1aac83-a653-4e0f-8a6c-0a161a6ee407

[backend_server]
enable   = yes
farm     = Company1.Manufacturing.MLFarm
id       = MLServer01
mac      = 01-23-45-67-89-ad
token    = 621ece03-9246-4da7-99e3-c07c7599031c

[backend_server]
enable   = no
farm     = Company2.AFFarm
id       = AFServer01
mac      = 01-23-45-67-89-ae
token    = a688728f-1ae7-4438-969e-6f5e30a0788