def restart
        id = params[:id]
        server = Server.find id
        server.do_restart
        sleep 1