IDPA:由于 iDRAC 本地配置设置中的设置不正确,PTAgent 无法连接到 iDRAC
Summary: 融合备份一体机 (IDPA) PTAgent 未运行且无法启动。 pta_debug日志显示无效的凭据。 dpacli -agentinfo 显示 idracConnection 错误。
Symptoms
1.在 ESXi 主机上, pta_call get agent/info 命令和 ACM dpacli -agentinfo 命令同时显示 idracConnection、代理程序、idraccache 错误:
# /opt/dell/DellPTAgent/tools/pta_call get agent/info
Request sent to DellPTAgent @ https://192.168.100.101:8086
{
"libstorelibit.so": "07.05",
"process_id": "2101904",
"idrac_ethernet_ip": "x.x.x.x",
"rest_endpoints": "https://127.0.0.1:8086,https://192.168.100.101:8086",
"api_blocking_enabled": "false",
"ptagentversion": "2.5.5-5",
"name": "hostname",
"host_epoch_time": "1720671327.376838 (secs.usecs)",
"servicetag": "servicetag",
"idrac_pass_thru_ip": "169.254.0.1",
"domain": "host FQDN",
"host_pass_thru_ip": "169.254.0.2",
"status": {
"idracConnection": "Error",
"iSM": "N/A",
"agent": "Error",
"idraccache": "Error"
},
"MarvellLibraryVersion": "5.0.13.1109",
"default_server_cert": "true",
"libstorelibir-3.so": "15.03-0",
"system_uuid": "6330c25e-942f-463a-797e-78ac449f4840",
"ism_version": "4.1.0.0",
"os_version": "6.7.0 build-15160138",
"uptime": "3890 seconds ( 1 hour 4 minutes 50 seconds )",
"mfr": "Dell Inc.",
"os": "VMWare ESXi",
"model": "DP4400",
"libstorelib.so": "07.07",
"TPM Present": "false"
}
2.在 ESXi 主机上,/scratch/log/pta_debug.log显示 PTAdmin 凭据问题:
"message": "A general error has occurred. See ExtendedInfo for more information.",
"@Message.ExtendedInfo": [
{
"@odata.type": "#Message.v1_1_0.Message",
"MessageId": "Base.1.8.AccessDenied",
"Message": "The authentication credentials included with this request are missing or invalid.",
"MessageArgs": [],
"MessageArgs@odata.count": 0,
"RelatedProperties":[],
"RelatedProperties@odata.count": 0,
"Severity": "Critical",
"Resolution": "Attempt to ensure that the URI is correct and that the service has the appropriate credentials."
}
]
3.请参阅知识库文章 PowerProtect DP 系列备份一体机 IDPA:由于 PTAgent 密码最小长度设置,iDRAC 高速缓存失败,无法重新创建 PTAdmin 帐户,但 iDRAC 页面未在 iDRAC 设置 ->用户 -> 本地用户中显示 PTAdmin 帐户。
Cause
此问题是由 iDRAC 上的设置不正确导致的。
iDRAC 设置 ->服务 ->本地配置
使用设置禁用 iDRAC 本地配置。
使用 RACADM 禁用 iDRAC 本地配置。
上述配置的默认设置为 已禁用。如果以上任何设置已 启用,PTAgent 可能无法正常工作。
Resolution
1.转至 iDRAC 页面:
iDRAC 设置 ->服务 ->本地配置
使用设置禁用 iDRAC 本地配置。
使用 RACADM 禁用 iDRAC 本地配置。
将上述设置更改为 Disabled ,然后单击 Apply 按钮。
2.从 ESXi 中,停止 PTAgent。
/etc/init.d/DellPTAgent stop
3.从 iDRAC WebGUI、iDRAC Settings - Users ->>Local Users中,删除 PTAdmin 用户。
4.在 ESXi 中,重新创建 iDRAC PTAdmin 用户。密码会自动同步。
/opt/dell/DellPTAgent/sbin/IDracUser
5.从 ESXi 中,启动 PTAgent。
/etc/init.d/DellPTAgent start
6.等待 5 分钟,以便 PTAgent 重建 idraccache。
7.在 ESXi 中,测试 PTAgent REST API 调用。
/opt/dell/DellPTAgent/tools/pta_call get agent/info /opt/dell/DellPTAgent/tools/pta_call post system/idraccheck