跳转到主内容

由于用户权限不足、无法在MetroCluster 中添加ONTAP 调解器

Views:
5
Visibility:
Public
Votes:
0
Category:
metrocluster
Specialty:
metrocluster<a>2009年143371</a>
Last Updated:

适用场景

  • MetroCluster IP
  • ONTAP 调解器
  • 第三方集中式sudo服务器

问题描述

  • 在MetroCluster 中添加ONTAP 调解器时遇到以下错误:

Cluster::> metrocluster configuration-settings mediator add -mediator-address 10.XX.XX.31
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.

  • ONTAP 调解器日志报告以下错误:

[root@user123 ~]# /opt/netapp/lib/ontap_mediator/log/ontap_mediator.log
[2022-05-04 15:45:43,610] [ERROR] [4] [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.60a2eXXXX-XXXXX-XXXX-XXXX-d039eaXXXXX:9dXXXX-XXXX-XXX-XXX-dXXXXXXXX:1 -driver iscsi -attributes 'MaxSessions=4,IncomingUser=mccadmin 567fdbbcf71ed363'

  STDOUT:


  STDERR:
Sorry, user netapp is not allowed to execute '/usr/local/sbin/scstadmin -noprompt -add_target iqn.2012-05.local:mailbox.target.60a2e875-b6a1-11ec-9873-d039ea385bf8:9d2251a0-b5ef-11ec-a19b-d039ea37483b:1 -driver iscsi -attributes MaxSessions=4,IncomingUser=mccadmin 567fdbbcf71ed363' as root on ServXXXXX

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.