convert sp to ap cluster