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.