Installing Relay Server on Apache RedHat Enterprise

Install the Relay Server version 16.x executables and libraries on an Apache HTTP Server RedHat Enterprise (Linux) host.

Prerequisites
When installing the Linux operating system, choose to install Apache as the Web server. While you can manually install Apache after installing the operating system, these instructions do not apply in those cases.
Task
  1. Copy the Relay Server archive file to the Linux server, and extract the archive into a Relay Server installation directory.
    For example: /usr/local/relayserver/
  2. Copy dblgen16.res from /usr/local/relayserver/res to /usr/sbin and to /etc/httpd/modules.
  3. Copy dbfhide and dbsupport from /usr/local/relayserver/bin64 to /etc/httpd/modules.
  4. Copy rshost from /usr/local/relayserver/relayserver/bin64 to /etc/httpd/modules.
  5. Copy these files from /usr/local/relayserver/lib64 to /etc/httpd/modules:
    • libdbicu16_r.so
    • libdbicu16_r.so.1
    • libdblib16_r.so
    • libdblib16_r.so.1cp
    • libdbtasks16_r.so
    • libdbtasks16_r.so.1
  6. To activate the libraries, add the path to a file in /etc/ld.so.conf.d. For an Apache 2.2x 64-bit system, add the path /etc/httpd/modules to a file named relay.conf in /etc/ld.so.conf.d. Then run ldconfig as root to propagate the new library path to the system:
    1. Create a new relay.conf file in /etc/ld.so.conf.d.
    2. Add /etc/httpd/modules to the relay.conf file.
    3. Execute ldconfig from /etc/ld.so.conf.d.
  7. Copy these files from /usr/local/relayserver/relayserver/apache22/bin64 to /etc/httpd/modules:
    • mod_rs_ap_server.so
    • mod_rs_ap22_server.so.1
    • mod_rs_ap_client.so
    • mod_rs_ap22_client.so.1
    Add these additional files only for Server Monitor:
    • mod_rs_ap_monitor.so
    • mod_rs_ap22_monitor.so.1
    • mod_rs_ap_admin.so
    • mod_rs_ap22_admin.so.1
  8. Copy the preconfigured rs.config file to /etc/httpd/modules:
    [options]
    verbosity = 5
    # Relay server peers
    #--------------------
    [relay_server1]
    enable          = yes
    host            = 10.56.225.204
    http_port       = 80
    https_port      = 443
    description     = Cluster Test
    
    [relay_server2]
    enable          = yes
    host            = 10.56.225.241
    http_port       = 80
    https_port      = 443
    description     = Cluster Test
    
    #you can use relayserver1 and relayserver2 to create a multiple relayserver.
    
    #---------------
    # Backend farms - RBS
    #---------------
    #---------------
    # Backend farm - RBS 
    #---------------
    [backend_farm]
    enable          = yes
    id              = shuaqa-cluster6.SUPFarm
    #client_security = on
    #backend_security= on
    description     = 
    #-----------------
    # Backend servers - RBS 
    #-----------------
    [backend_server]
    enable   = yes
    farm     = shuaqa-cluster6.SUPFarm
    id       = shuaqa-ms1
    # uncomment mac if you want Relay Server to do MAC verification.
    # the value should have only the 1 MAC address RSOE sends to relay server.
    # Look in the RSOE.log file to see what that address is
    #mac      = 00-50-56-9c-00-0d
    token 	 = RBS
    
    [backend_server]
    enable   = yes
    farm     = shuaqa-cluster6.SUPFarm
    id       = shuaqa-ms2
    # uncomment mac if you want Relay Server to do MAC verification.
    # the value should have only the 1 MAC address RSOE sends to relay server.
    # Look in the RSOE.log file to see what that address is
    #mac      = 00-50-56-9c-00-0d
    token 	 = RBS
    
    #---------------
    # Backend farm - MBS 
    #---------------
    [backend_farm]
    enable          = yes
    id              = shuaqa-cluster6IMO.SUPFarm
    #client_security = on
    #backend_security= on
    description     = 
    #-----------------
    # Backend servers - MBS 
    #-----------------
    [backend_server]
    enable   = yes
    farm     = shuaqa-cluster6IMO.SUPFarm
    id       = shuaqa-ms1
    # uncomment mac if you want Relay Server to do MAC verification.
    # the value should have only the 1 MAC address RSOE sends to relay server.
    # Look in the RSOE.log file to see what that address is
    #mac      = 00-50-56-9c-00-0d
    token 	 = MBS
    
    [backend_server]
    enable   = yes
    farm     = shuaqa-cluster6IMO.SUPFarm
    id       = shuaqa-ms2
    # uncomment mac if you want Relay Server to do MAC verification.
    # the value should have only the 1 MAC address RSOE sends to relay server.
    # Look in the RSOE.log file to see what that address is
    #mac      = 00-50-56-9c-00-0d
    token 	 = MBS