I have a ispconfig 3 multi server setup in production and I have plans to upgrade my servers. The problem is that mu ISP does not support migration etc so the question is: Can I switch a slave ispocnfig server to a master server? - can it be a standalone server and act as a master server for other ispconfig servers?
Theoretically, it should be possible. But I never tested it. The problem is as follows: A slave server contains only the data that is needed for this slave. It does not contain the data for the master or other slaves in its database. What might work is this: 1) Make a backup of the ispconfig database on the slave. 2) empty the ispconfig database on the slave. 3) copy the databse tables and contenst of the master server to the slave. 4) Edit the config.inc.php filees (there are 2 of them) on the slave and change the lines for the master server to: $conf["dbmaster_host"] = ''; $conf["dbmaster_database"] = ''; $conf["dbmaster_user"] = ''; $conf["dbmaster_password"] = ''; This will make your slave to a master, but if you had any websites or email accounts on the master, they will not be available on the slave as the records have a different server id. You might have to delete them in the ispconfig interface on the slave and recreate them (make sure that you select the slave server then as target for these domains). Another option might to change the server ID's of these records in the db directly if you dont want to recreate them.
Hi Till, assuming that I want to pick a slave server and make it standalone (and assuming that this server manages only websites), since you wrote "A slave server contains only the data that is needed for this slave", do you think I could just try to do your point #4 (edit the two config.inc.php files on the slave) and then perform this actions on the old master: http://www.howtoforge.com/forums/showthread.php?t=59685&highlight=multi+server+separate ? Thanks, Claudio
If you want to make a slave a standalone server, then the best way is to replace the content of the slave database with the one of the master and then delete all records of the other servers in ispconfig on that new standalone server.