Closed alec-drw closed 9 months ago
But you do not need to edit it at all, this file is managed by TeamCity. After migration it will be overwritten, afaik that will not cause any issues. You can always access the current node config in the admin interface.
If you would like, I can assist you and help write a template for it. AFAIK url is not needed or only needed for inter-node communication. But your mileage may differ.
I see - I just did a rolling restart of TC and found that nodes-config.xml was rewritten correctly and the headless services are properly referenced in the UI. Thanks for the clarification!
Hello! Appreciate the work you have done on this chart - something JetBrains should be providing themselves. I have used this to deploy JetBrains 2021.2 which has required a few tweaks, but overall a smooth process.
When migrating a backup over from a VM, the one piece that seems to be missing here is some sort of ownership over the
nodes-config.xml
file that lives in the data directory. Prior to the switch to HAProxy from Nginx there was no mention of node responsibilities, and I would have to edit that file manually. Abstracting responsibilities tovalues.yaml
has proven to be a very clean solution, however I do believe this should be taken a step further and use the provide values to generate anode-config.xml
that matches with theTEAMCITY_SERVER_OPTS
defined in the startup wrapper.Something similar to the following (although this is partially broken templating logic):