NetWorker:远程存储节点未变为就绪状态
摘要: 远程存储节点未变为就绪状态,无法在 NetWorker 管理控制台上使用。
症状
远程存储节点未进入就绪状态以供使用。
从 NetWorker Management Console (NMC)--> 设备-> -左侧列上的“Devices”选项卡--> 右键单击该设备,然后单击 Mount。
设备装载失败。此时将显示错误,指出“存储节点未就绪”。
NetWorker 服务器和远程存储节点上的守护程序日志显示:
- Linux:
/nsr/logs/daemon.raw - Windows(默认值):
C:\Program Files\EMC NetWorker\nsr\logs\daemon.raw - NetWorker:如何使用nsr_render_log呈现.raw日志文件
nsrsnmd NSR notice 22 Shutting down snmd Unable to connect to server: Unable to authenticate with server nsrserver: Authentication error; why = Client credential too weak
在 NetWorker 服务器上:
从管理员提示符或 root shell 运行以下命令:
nsradmin -p nsrexec
NetWorker administration program.
Use the "help" command for help.
nsradmin> . type: nsrla
Current query set
nsradmin> show auth methods
nsradmin> print
auth methods: "0.0.0.0/0,nsrauth/oldauth";
在远程存储节点上:
nsradmin -p nsrexec NetWorker administration program. Use the "help" command for help. nsradmin> . type: nsrla Current query set nsradmin> show auth methods nsradmin> print auth methods: "0.0.0.0/0,nsrauth";
原因
而 auth method 上的 NetWorker 服务器与远程存储节点上的身份验证方法不匹配。
NetWorker 服务器:
auth methods: "0.0.0.0/0,nsrauth/oldauth";
远程存储节点:
auth methods: "0.0.0.0/0,nsrauth";
- 从 NetWorker 19.4 及更高版本中,
oldauth不再作为所有新安装的默认身份验证方法之一。执行升级时没有任何变化。执行 NetWorker 升级时,值oldauth在auth methods继续存在。 - 为了与早期 NetWorker 版本兼容,NetWorker 支持
oldauth认证。建议您使用nsrauth身份验证和仅启用oldauth当两个主机无法使用以下命令进行身份验证时进行身份验证:nsrauth。而oldauth身份验证方法不安全。
所有受支持的 NetWorker 版本都旨在使用 nsrauth 仅,所有版本都需要 oldauth 不再受支持。如上所述,oldauth 回退旨在允许支持旧版本;但是,这不再是必需的。因为 oldauth 被视为“不安全”,如果找到,则应将其删除。更新后清除 NetWorker 对等证书信息 auth methods。
解决方案
确保 NetWorker 服务器和存储节点均使用 nsrauth 只。
在每个主机上,从管理员提示符或 root shell 执行以下操作:
- 使用
nsradmin要访问客户端服务,请执行以下操作:nsradmin -p nsrexecd - 从
nsradmin提示符、运行:. type: nsrla - 输入:
show auth methods - 输入:
print - 如果它显示”
0.0.0.0/0,nsrauth/oldauth,“输入:update auth methods: "0.0.0.0/0,nsrauth" - 通过输入以下内容确认更改:
y - 退出
nsradmin管理此进程:quit
示例:
nsradmin -p nsrexec
NetWorker administration program.
Use the "help" command for help.
nsradmin> . type: nsrla
Current query set
nsradmin> show auth methods
nsradmin> print
auth methods: "0.0.0.0/0,nsrauth/oldauth";
nsradmin> update auth methods: "0.0.0.0/0,nsrauth"
auth methods: "0.0.0.0/0,nsrauth";
Update? y
- 在每个主机上重新启动 NetWorker 服务:
- Linux:
systemctl restart networker - Windows(PowerShell 语法):
net stop nsrexecd /y ; net start nsrexecd- 在 Windows NetWorker 服务器上,您还必须运行:
net start nsrd - 如果 Windows NetWorker 服务器也是 NetWorker Management Console (NMC) 服务器,则还必须运行:
net start gstd
- 在 Windows NetWorker 服务器上,您还必须运行:
- 清除有关每个主机的对等主机信息:
nsradmin -C -y -p nsrexecd "nsr peer information"
查看上述命令的输出,如果无法清除对等信息,则必须手动执行此操作。请参阅:NetWorker:修复不一致的 NSR 对等信息
- 完成上述步骤后,从 NMC 监视存储节点的就绪状态。
其他信息
在某些情况下”oldauth,“启用以绕过 nsrauth 相关的身份验证失败。这种做法涉及使用安全性较低的通信来绕过安全通信期间出现的问题。这不是最佳实践解决方案。如果 nsrauth 通信无法正常工作, oldauth 可以作为解决方法启用;然而,原因 nsrauth 必须调查并解决通信故障才能恢复安全通信。