By: mihir bhusawalkar named 17 Sep 2022 at 6 a.m. CDT

23 Responses
mihir bhusawalkar gravatar
Hi Team, We are trying to upgrade Gluu server in clustered enviornment. We have been through the documentation, but we are not clear about how to upgrade Gluu in clustered enviornment, As how should we proceed for production with 2 servers or 3 servers and Gluu Cluster manager and REDIS. We want to know what all changes to be done on either sides on gluu server in opendj, cluster manager to proceed for smooth upgrade. Please provide if any steps or documentation there. Thank you.

By Mohib Zico staff 17 Sep 2022 at 12:01 p.m. CDT

Mohib Zico gravatar
Hello Mihir, Please allow me to ask a quick question before anything else. Are you "upgrading" or "migrating"? upgrade == Upgrade Gluu Server version migrate == From one platform to another or from segment ( CE ) to another ( CE cluster ).

By Mihir Bhusawalkar named 18 Sep 2022 at 11:22 p.m. CDT

Mihir Bhusawalkar gravatar
Hello Mohib, I am **upgrading** the Gluu server from 4.0 to 4.4.1 on the cluster environment. We have tried single node upgrade but we are not sure about the clustered environment on how to proceed for upgrade the clustered environment Gluu server's nodes by keeping the service Up and running. We are not **changing the CE** of the server, we want the nodes to be in same environment and upgrade the nodes to v4.4.1 . please let us know if any doc is there for the steps to be followed. Thank you.

By Mohib Zico staff 18 Sep 2022 at 11:48 p.m. CDT

Mohib Zico gravatar
Hello Mihir, Oh! You already have a 4.0 cluster which you build with Cluster Manager. Now you want to upgrade that whole cluster to 4.4.1 ? Is that so?

By Mihir Bhusawalkar named 19 Sep 2022 at 4:13 a.m. CDT

Mihir Bhusawalkar gravatar
Hi Mohib , Yes But not sure about it that servers created from cluster manager. And They can be individual nodes which were later added to cluster manager. Please let me know steps for both the approaches.

By Mohib Zico staff 19 Sep 2022 at 4:40 a.m. CDT

Mohib Zico gravatar
OK. I would go with individual upgrade procedure. But let me confirm from CM lead please.

By Mihir Bhusawalkar named 21 Sep 2022 at 4:01 a.m. CDT

Mihir Bhusawalkar gravatar
Hi Mohib, I am not able to access cluster manager GUI from my clustermanager server localhost:5000 Neither by taking ssh on gluu server and then trying gluu-server:5000 . Please help me to access GUI so that I can get the structure lead from CM.

By Mohib Zico staff 21 Sep 2022 at 4:06 a.m. CDT

Mohib Zico gravatar
>> I am not able to access cluster manager GUI from my clustermanager server localhost:5000 Neither by taking ssh on gluu server and then trying gluu-server:5000 . Please open a new ticket for that with informations: - iptables info of Cluster Manager - a recorded screencast of how you are trying to access / ssh.

By Mihir Bhusawalkar named 22 Sep 2022 at 6:05 a.m. CDT

Mihir Bhusawalkar gravatar
Hi Mohib, Do we have update on steps for gluu nodes to upgrade in clustered environment.

By Mohib Zico staff 22 Sep 2022 at 8:20 a.m. CDT

Mohib Zico gravatar
Yes, This is what I got: ``` Upgrade procedure 0) Make sure to backup all nodes ( VM snapshot ) properly. 1) break ldap replication 2) upgrade each node with upgrade script 3) enable replication ``` ``` To upgrade CM - `pip3 uninstall clustermgr4` - `pip3 install clustermgr4` ```

By Mihir Bhusawalkar named 23 Sep 2022 at 6:29 a.m. CDT

Mihir Bhusawalkar gravatar
Hi Mohib we want to upgrade Gluu server version from 4.0 to 4.4 and our cluster manager version is 4.0 so should we first upgrade cluster manager to proceed or cluster manager 4.0 supports Gluu server v4.4 ?

By Mohib Zico staff 23 Sep 2022 at 8:07 a.m. CDT

Mohib Zico gravatar
Mihir, I guess you need to do the QA part here for us. :-) I haven't done "upgrade" in CM based cluster yet so... - CM has no part in upgrading. That's point number one. - Follow above rules I shared. - I would upgrade CM as the last step of upgrade process. - When I would re-create the ldap replication ( after finishing all upgrade ), I would use CM to build that replication [ it would confirm that... all upgraded properly and CM can do it's part properly ].

By Mihir Bhusawalkar named 26 Sep 2022 at 8:17 a.m. CDT

Mihir Bhusawalkar gravatar
One thing I would like to confirm, as I have upgraded server from 4.0 to 4.4.0. I am not able to see Sector Identifiers under section - OpenID Connect. Please confirm, how to get it back.

By Mohib Zico staff 26 Sep 2022 at 8:54 a.m. CDT

Mohib Zico gravatar
Sector Identifier is gone from 4.x system. I'll ask @Mobarak Hosen.Shakil to share some insights from that feature.

By Mobarak Hosen Shakil staff 26 Sep 2022 at 8:42 p.m. CDT

Mobarak Hosen Shakil gravatar
Hi, Mihir, Does the old `sector identifiers` work after migration? I think it should work. In 4.3 to later, no option to add any new sector identifier from gluu server. Instead, you can create a `JSON URI` at SP side or anywhere which should consist the list of `redirect uri` and add that `JSON URI` to the **Sector URI** box of the OpenID Connect section. That's how it works now. An example of `Sector URI`: [https://raw.githubusercontent.com/imShakil/test/master/uri](https://raw.githubusercontent.com/imShakil/test/master/uri) For more details you can read [this](https://docs.google.com/document/d/1-IDB572uzHjFdBiSpr79gApm1SpidC_MjU99--OkIs8) note which is curated from our Developers. Thanks, Regards ~ Shakil

By Mihir Bhusawalkar named 29 Sep 2022 at 3:53 a.m. CDT

Mihir Bhusawalkar gravatar
Hi Mohib, Please provide the steps to upgrade gluu server in the enviornment in which servers were created with help of cluster manager.

By Mohib Zico staff 29 Sep 2022 at 3:56 a.m. CDT

Mohib Zico gravatar
Read[above](https://support.gluu.org/upgrade/10797/to-upgrade-gluu-server-in-clustered-enviornment/#at78919) please.

By Mihir Bhusawalkar named 29 Sep 2022 at 5:16 a.m. CDT

Mihir Bhusawalkar gravatar
Actually I thought, we were discussing about two approach, either node by node and other by cluster manager. So there maybe someway to upgrade nodes from cluster manager like upgrade primary and copy required files and start replication on other nodes.

By Mohib Zico staff 29 Sep 2022 at 10 a.m. CDT

Mohib Zico gravatar
There isn't any feature to "upgrade cluster" from Cluster Manager yet. You have to follow above method I mentioned. Thanks!

By Mihir Bhusawalkar named 30 Sep 2022 at 1:28 a.m. CDT

Mihir Bhusawalkar gravatar
Hi Mohib, Thank you for your help. One more question is how do we create user in cluster manager? Regards, Mihir

By Mohib Zico staff 02 Oct 2022 at 3:14 a.m. CDT

Mohib Zico gravatar
Hello Mihir, >> One more question is how do we create user in cluster manager? You mean, users more than existing admin user?

By Mihir Bhusawalkar named 03 Oct 2022 at 1:21 a.m. CDT

Mihir Bhusawalkar gravatar
Hello Mohib, Yes thats correct. We wan't to know how to create users which has features related to admin user.

By Mohib Zico staff 03 Oct 2022 at 7:42 a.m. CDT

Mohib Zico gravatar
Unfortunately, that's not possible in Cluster Manager. There is one and will be one 'admin' user to use Cluster Manager features from it's control panel.

By Mihir Bhusawalkar named 04 Oct 2022 at 5:53 a.m. CDT

Mihir Bhusawalkar gravatar
Hello Mohib, Thank you for your kind response. One thing I would like to ask you. As Gluu LDAP Schema has not changed form v4.0 to 4.4, if in a Cluster that has gluu 4.0 as primary node if a secondary node having gluu 4.4 is added and only LDAP Replication is in started form CM will any of the upgraded Gluu configuration will get over-written? What does gluu recommend in this case where one want to upgrade only the Gluu nodes to latest version in the CM v4.0? Regards, Mihir