Sentora Support Forums
Clustering Sentora - Printable Version

+- Sentora Support Forums (https://senforums.mach-hosting.com)
+-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5)
+--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32)
+---- Forum: General Support Forum v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=36)
+---- Thread: Clustering Sentora (/showthread.php?tid=1519)



Clustering Sentora - krisinho - 04-26-2015

Hey. I created a sentora cluster running on GlusterFS which is repliacting data between 2 nodes. Currently I am replicating the /var/sentora catalog and I did also set up a master-to-master mariadb replication. However, after creating a user on one node (and chaning his passwrd, created a ftp acctount, and a domain for him, upload files aswell) evertything got replicated very nice. I turned off this node, and the traffic went through the second node - the only thing that did not get are user credentials, I cant log in with those newly created credentials on node. How sentora stores users and its passwords in order to replicate this data?? (after coming back to node1 I can log in).


RE: Clustering Sentora - Me.B - 04-26-2015

You need to set same server hashing key...


RE: Clustering Sentora - krisinho - 04-26-2015

(04-26-2015, 06:59 PM)Me.B Wrote: You need to set same server hashing key...

Keys (from /etc/sentora/panel/cnf/security.php) are exactly the same across both nodes, but I still can't login fro the second node. What else should I check? Btw is Sentora shipped with an abillity to store sessions in database like redis or in memcache? Clear cookies are problematic when during a user session one of the nodes goes down.


RE: Clustering Sentora - Me.B - 04-26-2015

memcache is unsafe for storing session in shared environnement... same over redis.

Sentora was not designed for clustering/fail over and not even tested on our side. So no idea why you are facing such issue.

M B


RE: Clustering Sentora - krisinho - 04-26-2015

(04-26-2015, 10:01 PM)Me.B Wrote: memcache is unsafe for storing session in shared environnement... same over redis.

Sentora was not designed for clustering/fail over and not even tested on our side. So no idea why you are facing such issue.

M B

Does sentora "Prevents Key Collisions on INSERTs" like described here? http://scale-out-blog.blogspot.com/2012/04/if-you-must-deploy-multi-master.html <-> unscalable and unclusterable hosting solutions arent alright Tongue But still sentora is great Smile


RE: Clustering Sentora - Me.B - 04-27-2015

No as it was not designed for that.