Replicate user Openstack

asked 2020-05-01 00:03:08 -0600

shirak911 gravatar image

Hi All I've a question about replicate users Openstack. I've Openstack system with 2 controllers node, with Loadbalancing using Keepalived, but if i created user U1 on Controller 1, login from Controller1 is OK. But how to login user U1 in Controller 2, and if i created user U1 on Controller 2 how to log in on Controller 1 ? I want to synchronize user and session on all controller nodes Openstack.Thank All.

edit retag flag offensive close merge delete

Comments

You need to create a database that is shared or distributed across the controllers such as Percona.

Bernd Bausch gravatar imageBernd Bausch ( 2020-05-01 02:55:14 -0600 )edit

Hi Bernd Bausch So i will install MariaDB and PerconaDB Cluster on both controllers 1 and 2, right? And it will be synchronized on both controller nodes, include sessions and users created?

shirak911 gravatar imageshirak911 ( 2020-05-01 23:50:22 -0600 )edit

Yes. You have a database on each controller, and Percona takes care of their synchronization. However it's not just a matter of installing, you also need to configure it.

MariaDB may have replication built-in, by the way.

Bernd Bausch gravatar imageBernd Bausch ( 2020-05-02 00:52:14 -0600 )edit

Thank for your reply I've questioned if I've 2 controllers include Controller-1 and 2, and I want to LoadBalancing it, but in Compute 1 - Compute 2 and Compute 3, Ceph Storage configured to point to IP Controller-1. How to LoadBalancing it if Controller 1 has down and the user still access is normal

shirak911 gravatar imageshirak911 ( 2020-05-02 09:32:35 -0600 )edit

Meanwhile, OpenStack still working although Controller-1 has down, Controller-2 working replace to Controller-1, Load Balancing between nodes, access to Dashboard, create tenant like normally and don't have downtimes. Thank you.

shirak911 gravatar imageshirak911 ( 2020-05-02 09:37:08 -0600 )edit