AuthForce如何配置缩放?

时间:2017-12-12 13:38:30

标签: oauth-2.0 fiware fiware-wilma

我们正在构建一个场景,我们只需要1个IdM就需要超过1个AuthForce。任何人都可以帮助我们如何配置这种情况吗?

1 个答案:

答案 0 :(得分:0)

You would set up a cluster of AuthzForce servers as described in the High Availability section of AuthzForce Server documentation. In short, configuration directories must be identical and data directories must be kept synchronized (using file sync solutions such as csync2 or distributed file systems such as NFS). Then you set up a HTTP or generic TCP load-balancing (e.g. HAProxy, apache+mod_proxy, nginx, etc.) with one or more load-balancers (sharing a virtual IP) in front of the cluster. Finally, in the IdM configuration, set the AuthzForce base URL (before the path info) to the URL of the load balancer(s), using the virtual IP or associated hostname if you use multiple load-balancers.