By: Sakit Atakishiyev user 07 Nov 2017 at 12:35 a.m. CST

8 Responses
Sakit Atakishiyev gravatar
Hi. Is there any documentation to configure cluster for version `3.1.1`

By Mohib Zico staff 07 Nov 2017 at 1:07 a.m. CST

Mohib Zico gravatar
'Gluu Cluster Manager' in https://gluu.org/docs/

By Sakit Atakishiyev user 07 Nov 2017 at 1:24 a.m. CST

Sakit Atakishiyev gravatar
Thanks mohib. I was searcing in version 3.1.1 so that I did not see this documentation

By William Lowe user 07 Nov 2017 at 5:11 p.m. CST

William Lowe gravatar
Oh.. Cluster manager is not ready for community use yet. The safest docs are [configuring replication](https://gluu.org/docs/ce/installation-guide/cluster/).

By Sakit Atakishiyev user 07 Nov 2017 at 11:34 p.m. CST

Sakit Atakishiyev gravatar
Hi William. I read already that document :). And tring to test. But I don't understand one point from that document. Docs said that you should choose one primary server and install gluu. After that just copy `setup.properties.last` to other cluster servers and just change `ip` address. Do I need change also `hostname` or not? because at the begining of the documentation shows that each server has own `hostname`. And after all installation docs suggest that download `keystore` pyhton script and change host name and execute to generating new certificates. Docs said that change `hostname` in script to `NGINX` server hostname but in example script wroted primary gluu server hostname. Now which is correct should I change that `hostname` to `NGINX` server hostname or my primary gluu server hostname?

By Mohib Zico staff 08 Nov 2017 at 12:59 a.m. CST

Mohib Zico gravatar
>> should I change that hostname to NGINX server hostname this one.

By Sakit Atakishiyev user 08 Nov 2017 at 1:01 a.m. CST

Sakit Atakishiyev gravatar
Thanks mohib. What about `hostname` in `setup.properties`? should all hostname must be same with the primary gluu server

By Chris Blanton user 08 Nov 2017 at 10:49 a.m. CST

Chris Blanton gravatar
Sakit, When you're running the initial setup.py on the "primary" server, you must use the hostname of another server that will be running NGINX. After that, the setup.properties.last will contain that hostname, so you don't need to adjust it on the other servers, as all of them need to point to that separate NGINX server for proxying between the systems. Now for the keystore_Config.py file, you have to change the hostname variable to the NGINX serer. For example: ``` nginx.gluu.org <--- my proxy which we configure near the end of the documentation. node1.gluu.org <---- Primary using nginx.gluu.org as the hostname with setup.py node2.gluu.org <---- Copy the setup.properties.last file here inside the Gluu chroot as /install/community-edition-setup/setup.properties and modify the ip address inside the file to node2.gluu.org's ip address. Now run setup.py and hit enter. ``` Then continue with step 2, removing the contents of main_db from node2.gluu.org (so node1 can replicate all it's data after we finish configuring everything) and making accesslog directories on all our servers. And so on...

By Sakit Atakishiyev user 10 Nov 2017 at 5:21 a.m. CST

Sakit Atakishiyev gravatar
Thanks Chris Blanton. It worked