MetroCluster IP 调解器配置失败,并在 Mediatoror 日志上显示警告 "Target already exists"
适用场景
- ONTAP 调解器 1.3
- MetroCluster IP
- ONTAP 9
问题描述
- MetroCluster IP 调解器配置失败,并显示以下错误:
::*> metrocluster configuration-settings mediator add -mediator-address XX.XX.XX.XX
Adding the mediator and enabling Automatic Unplanned Switchover. It may take a few minutes to complete.
Please enter the username for the mediator:mediatoradmin
Please enter the password for the mediator:
Confirm the mediator password:
Creating mediator mailboxes...
Error: command failed: The request to reach the mediator failed during the add operation.
Check if the mediator is reachable and then try the operation again.
- 主机中的调解器日志显示以下错误:
[ERROR] [8] [restapi.py:105] ontap_mediator.controllers.targets.post_target() failed with an exception:
RAN: /usr/bin/sudo scstadmin -noprompt -add_target iqn.2012-05.local:mailbox.target.xxxxxxxx-f528-11eb-9a45-d039ea3015f7:xxxxxxxx-f51f-11eb-aa3c-xxxxxxxx:1 -driver iscsi -attributes 'MaxSessions=4,IncomingUser=mccadmin xxxxxxxxxxxxxxxx'
STDOUT:
Collecting current configuration: done.
-> Making requested changes.
-> Creating target 'iqn.2012-05.local:mailbox.target.xxxxxxxx-f528-11eb-9a45-d039ea3015f7:xxxxxxxx-f51f-11eb-aa3c-xxxxxxxx:1' for driver 'iscsi': done.
-> Done.
WARNING: Received the following error:
Target already exists.