跳转到主内容

NetApp_Insight_2020.png 

错误: 13303866 :不支持将指定的 SnapMirror 策略与此 SnapMirror 关系相关联

Views:
4
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

适用于

  • ONTAP 9.7p1.
  • REST API

问题

  • 在尝试在创建期间尝试应用 SnapMirror 策略的同时、通过 REST API 创建新的 SnapMirror 关系时遇到错误:

DEBUG: SnapmirrorRelationship({'destination': {'path': 'volume1:misc1'}, 'source': {'path': 'vserver_dr:misc1'}, 'policy': {'name': 'volume1'}})
ERROR: 13303866: Associating the specified SnapMirror policy with this SnapMirror relationship is not supported.

  • 使用的 REST API 代码:

snapmirror_dict = {
 'source': {'path': f'{svmname}_dr:{volname}'},
    'destination': {'path': f'{svmname}_vault:{volname}'},
    'policy': {'name': f'{svmname}_vault'},
    #'state': 'snapmirror',
    }
snapmirror = SnapmirrorRelationship.from_dict(snapmirror_dict)
snapmirror.set_connection(connection=vault_connection)
debug(snapmirror)
snapmirror.post()

 

CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support