Skip to main content
NetApp Knowledge Base

MetroCluster Mediator setup fails when using custom sudoers configuration

Last Updated:

Applies to

  • ONTAP 9 
  • Mediator 1.2 and earlier
  • MetroCluster IP


NetApp mediator configuration fails with the following error: 

ClusterA::*> mediator add -mediator-address XX.XX.XX.XX
  (metrocluster configuration-settings mediator add)
Adding the mediator and enabling Automatic Unplanned Switchover. It may take a few minutes to complete.
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: 

root@mediatorhost# tail /opt/netapp/lib/ontap_mediator/log/ontap_mediator.log
[ERROR] [24] [] scstadmin command FAILED: /usr/bin/sudo scstadmin -noprompt -add_target -driver iscsi -attributes MaxSessions=4,IncomingUser=###                                                                                                        


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.