Replicating to multiple servers.

Cooper, Tom TCooper at fnb.co.za
Thu Sep 12 09:17:27 CEST 2013


Sorted.
I did this in my acct_users file:

DEFAULT Replicate-To-Realm := "ALLOT-SMP",Replicate-To-Realm += 
"Procera-SMP"

On 12/09/2013 08:29, Tom Cooper wrote:
> Hi all,
> How can I replicate to more than 1 server? I have set up replication to
> one host, but when I set up a second host it does not replicate to it.
> However the first host works perfectly. I am using freeradius-2.2.0-1
>
> This is what I have in my proxy.conf file.
>
> home_server ALOTT-SMP {
>          type = acct
>          ipaddr = 192.168.xx.xx
>          port = 1813
>          secret = xxxxxxxx
>          src_ipaddr = 192.168.xx.xx
>          require_message_authenticator = no
>          response_window = 4
>          zombie_period = 40
>          status_check = status-server
>          check_interval = 30
>          num_answers_to_alive = 3
>          max_outstanding = 65536
> }
>
> home_server_pool ALLOT-SMP {
> #       type = fail-over
>          home_server = ALOTT-SMP
> }
>
> home_server PROCERA-SMP {
>          type = acct
>          ipaddr = 192.168.xx.xx
>          port = 1813
>          secret = xxxxxxx
>          src_ipaddr = 192.168.xx.xx
>          require_message_authenticator = no
>          response_window = 4
>          zombie_period = 40
>          status_check = status-server
>          check_interval = 30
>          num_answers_to_alive = 3
>          max_outstanding = 65536
> }
>
> home_server_pool PROCERA-SMP {
>          type = fail-over
>          home_server = PROCERA-SMP
> }
>
> realm example.com {
>          authhost        = LOCAL
>          accthost        = LOCAL
>          type            = radius
>          preacct {
>                  update control {
>                          #Replicate-To-Realm := 'ALLOT-SMP'
>                          Proxy-To-Realm := 'ALLOT-SMP'
>                          Proxy-To-Realm += 'PROCERA-SMP'
>                  }
>          }
>          accounting {
>                  replicate
>          }
> }
To read FirstRand Bank's Disclaimer for this email click on the following address or copy into your Internet browser: 
https://www.fnb.co.za/disclaimer.html 

If you are unable to access the Disclaimer, send a blank e-mail to
firstrandbankdisclaimer at fnb.co.za and we will send you a copy of the Disclaimer.


More information about the Freeradius-Users mailing list