Skip to main content
NetApp Knowledge Base

MetroCluster Mediator setup fails when using custom sudoers configuration

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

Applies to

  • ONTAP 9 
  • Mediator 1.2 and earlier
  • MetroCluster IP

Issue

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.py:84] scstadmin command FAILED: /usr/bin/sudo scstadmin -noprompt -add_target iqn.2012-05.local:mailbox.target.69642eae-bb75-11ea-8fa7-00a098ccf5d8:9a2a870d-baf0-11ea-a6df-00a098cbca9e:1 -driver iscsi -attributes MaxSessions=4,IncomingUser=###                                                                                                        

 

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