跳转到主内容
NetApp Response to Russia-Ukraine Cyber Threat
In response to the recent rise in cyber threat due to the Russian-Ukraine crisis, NetApp is actively monitoring the global security intelligence and updating our cybersecurity measures. We follow U.S. Federal Government guidance and remain on high alert. Customers are encouraged to monitor the Cybersecurity and Infrastructure Security (CISA) website for new information as it develops and remain on high alert.

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

Views:
26
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()

 

Scan to view the article on your device
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