Hi Chris,
I'm not able to guess what went wrong with your once-before attempt.
No need to freeze zones before server shutdown. Zone freeze is there for
some cases you want to avoid shutting down a server.
I confirm that you can shutdown the server and move all the metadata
(zone files, journal, KASP db, timer db) and configuration to another
server.
Obviously, if you are moving a master server, you need to adjust the
configuration on slaves, so that they accept the new master.
However, merging two servers (each running some zones) is more
difficult, as you would need to merge all the databases (journal, KASP
db, timer db).
This operation is not supported. You might try following:
1) shutdown both servers
2) backup both data
3) merge each database along the lines of
https://www.knot-dns.cz/docs/2.9/singlehtml/index.html#export-import-kasp-db
4) copy zone files, .pem files, merge config file manually, ...
You might sacrifice timers and/or journal, depending on features you use
/ your configuration.
BR,
Libor
Dne 03.05.20 v 11:08 Chris napsal(a):
We're consolidating servers, and as a result. I
need to transfer
some the IPs, zones && keys to other servers.
I'm trying to find the least eventful way to accomplish this.
I attempted to transfer (signed) zones and IPs once before. But
the slaves wouldn't accept the zones and I ultimately had to
purge the journals on all the servers I had control of, and
re-key and re-sign the zones to make everything work as intended.
All the zones are written/kept on disk (except changes that haven't
already been flushed to disk from the DB).
I'm wondering if it's enough to freeze all the zones on their
current serves. Then shutdown the server(s), and transfer the
zones, keys, and merge the configs onto the new servers would
be the correct way to do this? If not. Please advise.
Thank you for all your time, and consideration.
--Chris