The rs.config file defines the configuration of individual Relay Servers, and Relay Server clusters (farms).
This property associates the back-end server with a back-end farm. This value must match the id value in a [backend_farm] section.
If this property is not specified, Relay Server does not check the MAC address on Outbound Enabler connections.
Specify a value and a unit (units are KB, MB, or GB); for example 2048 GB. If you do not specify a value, the default is 10MB. SAP recommends adding the unit to the value to clarify the configuration setting.
There are two Relay Servers in a Relay Server farm: RS1.sybase.com and RS2.sybase.com. There are also two back-end server types: Afaria and SAP Mobile Server. The Afaria system has two servers: Afaria1.sap.com and Afaria2.sap.com. There is one SAP Mobile Server: SMP.sap.com.
#---------------------------- # Relay server with auto start option #------------------------------------- [options] start = no verbosity = 1 |
Start State Manager as a Windows service. |
#-------------------- # Relay server peers #-------------------- [relay_server] enable = yes host = RS1.sap.com http_port = 80 https_port = 443 description = Machine #1 in RS farm [relay_server] enable = yes host = RS2.sap.com http_port = 80 https_port = 443 description = Machine #2 in RS farm |
Because there are two Relay Servers, both instances need to be defined in the peer list. This list is used by the RSOE to establish a connection with each Relay Server node in the farm. |
#--------------- # Backend farms #--------------- [backend_farm] enable = yes id = AfariaFarm client_security = on backend_security= on description = This is the definition for the Afaria farm. [backend_farm] enable = yes id = SMPFarm client_security = on backend_security= on description = This is the definition for the SMP farm. |
There are two types of back-end farms in this example. SAP Mobile Server and Afaria. Each farm requires an entry in the [backend_farms] section, and each must have a unique Farm ID. |
#----------------- # Backend servers #----------------- [backend_server] enable = yes farm = AfariaFarm id = for Afaria1.sap.com mac = 01-23-45-67-89-ab token = 7b2493b0-d0d4-464f-b0de-24643e1e0feb [backend_server] enable = yes farm = AfariaFarm id = for Afaria1.sap.com mac = 01-23-45-67-89-ac token = de1aac83-a653-4e0f-8a6c-0a161a6ee407 [backend_server] enable = yes farm = SMPFarm id = for SMP.sap.com mac = 01-23-45-67-89-ad token = 621ece03-9246-4da7-99e3-c07c7599031c |
There are three back-end server nodes in this scenario. Two are part of the AfariaFarm and the third is part of the SMPFarm. Afaria back-end servers use the Transmitter ID as the Server ID. SAP Mobile Platform typically uses the machine name as the Server ID. The Server ID must be unique for each back-end server entry. |
url_suffix=/ias_relay_server/client/rs_client.dll/AfariaFarm
url_suffix=/ias_relay_server/client/rs_client.dll/SMPFarm