An implementation for saving server info to DB.