SnapCenter SCO 插件无法添加 Linux 主机
适用场景
适用于Oracle (SCO)的SnapCenter插件4.x及更高版本
问题描述
尝试通过PowerShell命令将Oracle Linux主机添加到SnapCenter时发生错误:
PS H:\> Add-SmHost -HostType Linux -HostName cidora04 -CredentialName <non_root_user>
Add-SmHost : Could not find a Credential with name <non_root_user>
At line:1 char:1
+ Add-SmHost -HostType Linux -HostName cidora04 -CredentialName <non_root_user>
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : AuthenticationError: (SmPSSnapin.PSAddHost:PSAddHost) [Add-SmHost], Exception
+ FullyQualifiedErrorId : Invalid input parameters,SmPSSnapin.PSAddHost
备注:
non_root_user
是您创建的非root用户的名称