-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kea config tool and server configuration in database backend #81
base: master
Are you sure you want to change the base?
Kea config tool and server configuration in database backend #81
Conversation
Hi Razavan, What does this do? Can you give a 2 sentence description? Thank you! Vicky |
Hi, I will add more details and documentation to this PR as soon as possible. |
Thanks for the description - what I am interested in is some discussion about the design you are working towards. |
|
To answer some of your questions:
The server is pushed in the database, and the servers pull the configuration whenever they detect that the in ram configuration is different from the one in the database.
Yes, you are right. The servers pull the configuration.
Each server has a connection details to connect to the master database, and from there it gets the 'shard' database configuration details using it's 'instance-id', plus the 'interfaces-config' and 'Logging' own configuration (which might be different for each server).
The ultimate truth is in the database (Cassandra, MySql or PostgreSql).
I am not sure what you mean. The kea server does not have any configuration stored locally. It receives the configuration from the database backend. If you are referring to the 'config-get' and 'config-set' commands on the command socket, these do not download/update the configuration in the database, only in the file (ISC implementation). We could think of completely removing the kea config tool if using these commands to download/upload the configuration directly in the database, but we must think of a way to distinguish between file and database backend, and the different configuration scenarios (shard/master). |
|
For a smaller diff, please review and merge the PR#66 (#66) first. To separate between the kea config tool and the server implementation, you can review only the server implementation by ignoring the ./src/bin/kea_config_tool/ and ./doc/ folders |
No description provided.