Forum OpenACS Q&A: Re: Cluster of AOLServers?

Collapse
2: Re: Cluster of AOLServers? (response to 1)
Posted by Victor Guerra on
Hi Nima,

First take a look at this:
http://xarg.net/tools/cvs/change-set-details?key=22923
There was a problem with the dinamic definition
of util_memoize_flush.

As you mentioned, there are some parameter in ACS Kernel related to clustering.

Lets put an example of this.
I have to instances of Openacs ( both of them using
the same DB. ).
First one in : 10.0.0.45:8801
Sencond one in: 10.0.045:8802

So the configuration for clustering goes like this

CanonicalServer: 10.0.0.45:8801( Primary server in the cluster ).

ClusterAuthorizedIP: 10.0.0.45:8801 10.0.045:8802 ( List of Servers that can issue requests. All Servers listed here will execute the local flush requested from anyother Server in the cluster, take a look at /www/SYSTEM/flush-memoized-statement.tcl and you will get the idea of this parameter).

ClusterEnabledP: 1 ( This enables the cluster)

ClusterPeerIP: 10.0.0.45:8801 10.0.045:8802 ( List of Servers included in the cluster ).

EnableLoggingP: 1 ( Debbuging messages in your log files).

I hope this helps you.

Cheers,
Victor Guerra.