I am currently trying to set up a test environment for learning how to manage a highly available distributed system, but am struggling a bit how to manage the configuration files (zones.conf and zones.d)
The test environment will look something like this:
- 2 Masters (HA)
- 2 Satellites
- 2 Agents
The 2 masters are supposed to be in a Master zone with HA enabled.
Then we have 2 satellites beneath that which is parent to 1 agent each.
I will also be using Director to manage configuration files where this is possible.
What i am struggling most with i think is the configuration files, and which to use and how to manage it best.
For example, first of all you are supposed to disable the use of the conf.d folder and all the (example) configuration files inside that folder?
Do i use the zones.conf file, the zones.d folder or should i use them both?
I read somewhere that you use the folder zones.d to make subfolders for each of your zones.
Does this mean i have to make 3 folders inside zones.d in a flat structure (master, satellite1, satellite2), or should i have one folder master that contains two folders (satellite1 and satellite2) inside.
Also have some configuration related questions:
- Should i use Director only for modifying config files, or can i combine it with manual editing?
- If i modify config files manually, do i then have to run Kickstart inside Director afterwards?
- If i mess up something, what is the best way to reset and try again? (which files should i delete)
Hope this is understandable and that someone can help me in the right direction to sort this out