跳转到主内容

ONTAP 调解器添加因NetApp用户缺少sudo权限而失败

Views:
11
Visibility:
Internal
Votes:
0
Category:
metrocluster
Specialty:
metrocluster<a>用于</a><a>翻译</a><a>的2009-222464 </a>
Last Updated:

适用场景

  • ONTAP 9
  • MetroCluster IP
  • ONTAP 调解器

问题描述

  • 向MetroCluster 添加调解器失败、并显示以下错误:

cluster1::> metrocluster configuration-settings mediator add -mediator-address 172.xx.xx.64
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_mediator"服务状态显示错误:

[root@unixuser ~]# systemctl status ontap_mediator.service
● ontap_mediator.service - ONTAP Mediator
   Loaded: loaded (/etc/systemd/system/ontap_mediator.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2022-06-29 16:04:13 +08; 1 weeks 0 days ago
 Main PID: 1384 (uwsgi)
   Status: "uWSGI is ready"
    Tasks: 3 (limit: 49341)
   Memory: 148.7M
   CGroup: /system.slice/ontap_mediator.service
           ├─1384 /opt/netapp/lib/ontap_mediator/pyenv/bin/uwsgi --ini /opt/netapp/lib/ontap_mediator/uwsgi/ontap_mediator.ini
           ├─3332 /opt/netapp/lib/ontap_mediator/pyenv/bin/uwsgi --ini /opt/netapp/lib/ontap_mediator/uwsgi/ontap_mediator.ini
           └─3334 /opt/netapp/lib/ontap_mediator/pyenv/bin/uwsgi --ini /opt/netapp/lib/ontap_mediator/uwsgi/ontap_mediator.ini

Jun 29 16:04:11 unixuser.domain.com systemd[1]: Starting ONTAP Mediator...
Jun 29 16:04:11 unixuser.domain.com ontap_mediator[1384]: [uWSGI] getting INI configuration from /opt/netapp/lib/ontap_mediator/uwsgi/ontap_mediator.ini
Jun 29 16:04:13 unixuser.domain.com systemd[1]: Started ONTAP Mediator.
Jun 29 16:06:44 unixuser.domain.com sudo[4511]: pam_access(sudo:account): access denied for user `netapp' from `'
Jun 29 16:06:44 unixuser.domain.com sudo[4511]:   netapp : PAM account management error: Permission denied ; TTY=unknown ; PWD=/opt/netapp/lib/ontap_mediator ; USER=root ; COMMAN>

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

New to NetApp?

Learn more about our award-winning Support

This is an internal KB article and its content should not be copy/pasted and shared with people outside of NetApp. Always seek Duty Manager authentication of caller for password reset requests. If you need further assistance post a question in Knowledge Xchange