... | ... | @@ -36,7 +36,7 @@ This section probably fits better into initial design page. |
|
|
|
|
|
Problem 1: How to push configuration. The whole configuration can be pushed with `config-set`. This is a reasonable initial approach and may work well for smaller deployments that do infrequent changes and the interruption is acceptable. For larger deployments, the service interruption during `config-set` becomes a problem, especially if there are many changes. For many other elements we have dedicated commands (reservation-add, subnetX-add, etc). However, depending on the deployment there may be alternatives (should subnetX-add or remote-subnetX-set be used?).
|
|
|
|
|
|
Problem 2: Storage. Once the configuration is pushed, the change should persist after crash, power failure and reboots. Likely `config-write` could be used to help. But there are some quirks. How to know where the config is supposed to be written? It depends on the startup scripts which config will be loaded. Also, what if the local system is read-only or Kea user doesn't have write permissions (which may be likely - kea running as user kea, but the configs were created and are owned by root).
|
|
|
Problem 2: Persistence. Once the configuration is pushed, the change should persist after crash, power failure and reboots. Likely `config-write` could be used to store the updated config locally. But there are some quirks. How to know where the config is supposed to be written? It depends on the startup scripts which config will be loaded. Also, what if the local system is read-only or Kea user doesn't have write permissions (which may be likely - kea running as user kea, but the configs were created and are owned by root).
|
|
|
|
|
|
Problem 3: Reverting changes. How many older versions should we keep? In many cases they will differ with only one or two elements. Also, if we revert from config B back to A, do we want to keep configuration B? One reason for reverting is that there's something wrong with the new configuration, so it may be tweaked a little bit and then applied.
|
|
|
|
... | ... | |