switching server roles in deployment