Prepare sharing at DBN first.