Dear, we are in approach to migrate few ispconfig server (few slave server of a master-slave stack). In order to do that we want follows that guide: https://www.howtoforge.com/communit...fig3-from-ubuntu-to-debian.42579/#post-231658 But, as a title topic, we are in an master-slave enviroment that means some others trouble. The servers that we are going to migrate are all slave server. How we can modify the procedure of the previous topic, and what we need to pay more attention in order to let them fit into a slave server to upgrade? For the DNS daemon, on that server run a primary DNS. So how we can recreate the DNS-zone of the domains? By simple using the sync feature from the ispconfig control panel? Thank you
I would try this: 1) Install the new server but not ispconfig. ensure that you use the same mysql root password. 2) Move over the web* users and client* groups (files /etc/passwd etc.) 3) dump all MySQL databases on the old slave (incl. the "mysql" database) and import it on the new server. if you are on Debian, then don't forget to set the sys-maint password in /etc/mysql/debian.cf on the new server to the value of the old server. then restart MySQL. 4) copy over /usr/local/ispconfig* 5) run a ispconfig update with reconfigure services = yes and update permissiins in master database = yes. 6) copy over /var/www and/or /var/vmail, depending on the server type. 7) Use the resync tool to resync all websites etc. (this recreates the sites config files etc.) There is a backport of the resync tool from ispconfig 3.1 made by Florain Schaal that allows syncing by server in a multiserver setup. in case that the slave can't connect to the master afterwards, then check the IP of the ispcsrv* user in the master mysql database. But I guess it should have been corrected already by the ispconfig update step in 5.
Til, Any issues copying over the entire /etc/* to capture hostname info, hosts, apt sources.list etc.?
Was hoping to create a Perfect Server vm to use as a template in case I need to restore, but then you run into things like ssl cert name for ftp, host name, things I won't know until I need to use it. Probably better to just have a vm with base OS with the right size disk and then when I need to restore then use the Perfect Server guide to install needed services since I will then have all the info needed at that time and then proceed with all necessary steps to migrate. Thanks!
I have just see right now that exist some reply on that ticket. Thank you all. So the script of Florain Schaal permit so re-sync only one server on a multi enviroment. This would be great. Any chance to know where find that one? I'm looking on the github channel of him but i didn't see anything like that. ty
You could/should backup your configs anyway - you can add ssl certs to them, get to know where & what is and then just restore them to the prepared machine.
That's the resync function that is already build into ispconfig with some enhancements backported from 3.1 version.
Thank you man, my google-fu in these days didn't works as aspected. Sorry for bothering on that so...