Unable to remove slave


I seem to have repeated an error of the past in which I changed DNS for a server migration before removing the slave from the master, now I seem to be unable to remove it from the master. What can I do?


Run the following command on the master server:

source /home/crossbox/app/pyenv/bin/activate cd /home/crossbox/app/backend/src && python -c "import setup_django;from master.models import Server; server = Server.objects.filter(host='slave.host.name').first(); server.delete();"

Replace "slave.host.name" with the real hostname of the slave server you're removing.

Page Navigation