使用自定义 sudoers 配置时, MetroCluster 调解器设置失败
适用于
- ONTAP 9
- 调解器 1.1
- MetroCluster IP
问题
NetApp 调解器配置失败,并显示以下错误:
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.
主机中的调解器日志显示以下错误:
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=###