More comments
authoraland <aland>
Mon, 28 Apr 2008 14:53:17 +0000 (14:53 +0000)
committeraland <aland>
Mon, 28 Apr 2008 14:53:17 +0000 (14:53 +0000)
raddb/sites-available/robust-proxy-accounting

index 9f3a7cb..0e0cb9f 100644 (file)
 #      home servers when they're up, AND to avoid writing to the
 #      detail file in most situations.
 #
+#      In most situations, proxying of accounting messages is done
+#      in a "pass-through" fashion.  If the home server does not
+#      respond, then the proxy server does not respond to the NAS.
+#      That means that the NAS must retransmit packets, sometimes
+#      forever.  This example shows how the proxy server can still
+#      respond to the NAS, even if all home servers are down.
+#
 #      This configuration could be done MUCH more simply if ALL
 #      packets were written to the detail file.  But that would
 #      involve a lot more disk writes, which may not be a good idea.
@@ -68,6 +75,8 @@ home_server_pool acct_pool.example.com {
        home_server = home2.example.com
        # add more home_server's here.
 
+       # If all home servers are down, try a home server that
+       # is a local virtual server.
        fallback = acct_detail.example.com
 
        # for pre/post-proxy policies