create a helper function that converts a ctdb instance in daemon mode to become