Modified tnsnames managment to allow a balanced configuration