How to replicate users on controller nodes and backup data on Cinder or Swift nodes

asked 2019-06-18 04:45:18 -0500

shirak911 gravatar image

updated 2019-06-18 04:48:21 -0500

Hi everyone I've question please explain for me about this

  1. If i built Openstack with 3 nodes Controller. How to replicate users from Controller 1 to controller 2 and 3, i dont uderstand it, we're using memcached but it cached on local this. How to replicate all users between controller 1 2 3 or replicate on all rest nodes if i created on any nodes. Please explain for me and guide for install and configure.

  2. About Storage Node (Cinder) and Swift (or Ceph) how can backup data on this nodes, if one node is down, all data on this nodes cannot access, my customer asking me asnwer this question, what would it be like if one of nodes is down ? and data how to backup ?. I watched a thread on internet, backup in DB. It's meant using DB Client connect to this nodes and export all databases inside, but we will do manual. This way right or wrong ?

Thanks u so much.

edit retag flag offensive close merge delete


Question 1: You replicate the database across the three controllers in an active/active setup. I don’t fully understand what you mean by “rest nodes”; there are no OpenStack users on compute nodes.

Bernd Bausch gravatar imageBernd Bausch ( 2019-06-18 11:17:59 -0500 )edit

Question 2: What do you mean with “data”? I think volume data backup is cloud users’ responsibility. You can also set up volume replication. Swift object backup is not needed because of replication or erasure coding.

If you mean data in the MySQL database, back it up using your preferred tool.

Bernd Bausch gravatar imageBernd Bausch ( 2019-06-18 11:19:55 -0500 )edit

Hi Bernd Bausch Question 1 i want to configure replicate users, session on controller node. Example i created user U1 on controller 1, so in controller node 2 that user will also exist and similar controller node 3,so how to replicate between them. Please explain for me about that and use which too

shirak911 gravatar imageshirak911 ( 2019-06-19 02:04:00 -0500 )edit

Bernd Bausch Question 2: i want to say, how to HA for cinder storage, in this case, we are 5 nodes Cinder, and you created VM on Cinder storage node 1, so Cinder storage node 2, 3,4,5 whether to be synchronized or not . What would it be like if Cinder 1 down ?

shirak911 gravatar imageshirak911 ( 2019-06-19 02:07:27 -0500 )edit

Q1: Use Percona or Galera to replicate the database.

Q2: I am not sure whether Cinder HA is possible. It seems to me that cinder-volume can't be active/active. However, I suggest you study volume replication.

Bernd Bausch gravatar imageBernd Bausch ( 2019-06-19 16:05:23 -0500 )edit