Skip to main content
NetApp Knowledge Base

MetroCluster IP Mediator configuration fails with warning"Target already exists" on Mediator log

Views:
433
Visibility:
Public
Votes:
0
Category:
metrocluster
Specialty:
metrocluster
Last Updated:

Applies to

  • ONTAP Mediator 1.3
  • MetroCluster IP
  • ONTAP 9

Issue

  • MetroCluster IP Mediator configuration fails with the following error: 

::*> 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.

  • Mediator log in the host machine shows the following errors:

[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.

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.