在 ACM 中更新正确 ESX 主机密码的 IDPA 过程

Summary: 此过程将指导您在 IDPA ACM 计算机中更新正确的 ESX 主机密码。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

首先,应验证所有 ESX 主机上“root”用户的密码。

用户可以按照以下过程重置 ESXi 默认密码:

  1. 以 root 用户身份和当前已知密码使用 ssh 连接到 ESXi。
  2. 运行 dcui 命令。
  3. 按 F2 键执行 ESXi 自定义。
  4. 使用当前凭据登录。
  5. 选择配置密码以更改 root 用户密码。
  6. Ctrl + c 退出 DCUI 屏幕。
也可以使用“passwd root”命令手动更改密码。

您可以登录到 ESX 主机并运行以下命令:passwd root

它会要求您输入密码并确认相同内容。

如果 ESX 密码不同步,并且在所有 ESX 主机上都不匹配,则可能会导致升级、ACM 主页显示红色感叹号以及其他各种问题。

此知识库文章过程将指导您在 ACM 中更新此密码。

Cause

Resolution

验证 ESX 主机的密码后,在“InfrastructureComponents.xml”中进行相应更改。
这可以通过
ACM 上的“sync_Switch_Server_ESX_Passwords.sh”工具完成:

同步 ESX 服务器密码:

将目录更改为脚本的位置:


# cd /usr/local/dataprotection/customscripts/tools 

#./sync_Switch_Server_ESX_Passwords.sh -d -I <ESX-1-ip-address> -P “<password>” -I <ESX-2-ip-address> -P “<password>” -I <ESX-3-ip-address> -P “<password>”

示例:

#./sync_Switch_Server_ESX_Passwords.sh -d -I 192.168.1.10 -P “abc123” -I 192.168.1.11 -P “abc123” -I 192.168.1.12 -P “abc123”

 

其中:
ESXi 主机 1 为:192.168.1.10
新密码为 abc123

ESXi 主机 2 为:192.168.1.11
新密码为 abc123

请注意,如果所有 ESX 主机上的密码都不匹配,则可能会导致升级、ACM 主页显示红色感叹号以及其他各种问题。

这不会更改主机上的密码,但会使用已设置的新密码更新 ACM 上的配置文件。

 

./sync_Switch_Server_ESX_Passwords.sh [-h] #for 帮助

                                      [-d] #for 启用调试

                                      [-一世] <> SERVER_IP #for 将服务器 IP 设置为密钥

                                      [-p] <> SERVER_PASSWORD #for 设置服务器密码                               

                                      [-W] <> SWITCH_PASSWORD #for 设置交换机密码

                                      [-我] <> ESX_IP #for 将 esx IP 设置为密钥

                                      [-P] <> ESX_PASSWORD #for 设置 esx 密码
 

Additional Information

要在 ACM 中手动更新新 ESXi 密码,请以

“root”用户身份登录到 ACM。

1: 遍历到配置目录:cd /usr/local/dataprotection/var/configmgr/server_data/config

阿拉伯数字:打开“InfrastructureComponents.xml”文件进行编辑并进行相应的更改:vi InfrastructureComponents.xml
3:将 <密码 isEncrypted> 标记更改为 false:  <密码 isEncrypted=“false”>
4:以明文格式输入密码:
    <ESXiHosts>
        <ESXi>
            <ipAddress>10.60.37.61</ipAddress>
            <password isEncrypted=“false”>Enter_clear_text_password_here</password>
        </ESXi>
    </ESXiHosts>

对所有主机进行更改,然后重新启动 dataprotection_webapp 服务。

5: 运行: service dataprotection_webapp重新启动
这将以加密格式更改更新后的密码。

注意:如果您正处于部署或升级过程中,请勿重新启动此服务,因为它可能会导致问题。

此外,我们还可以更新此文件中的当前 vCenter 密码,然后运行 vCenter 密码同步脚本以在 componentcredentials.xml 中更新正确的 vCenter 密码。

如果用户想要更改 IDPA vCenter root 用户密码,则可以通过 vCenter CLI 执行此作。
用户还可以从 https://vcenterip:5480/ URL 更改 vCenter root 密码。
更改 vCenter root 密码后,用户必须按照以下过程在 ACM 中同步 vCenter 密码:

  1. 将 sync_vcenter_password.sh 脚本复制到 ACM。
  2. 将此脚本的权限更改为可执行文件: chmod +x sync_vcenter_password.sh
  3. 将此脚本的权限更改为可执行文件: chmod +x sync_vcenter_password.sh
  4. 等待脚本完成其作。
提醒:如果 vCenter 密码已更改,则应在 Avamar 中也进行更新,以避免内部 IDPA 备份出现问题。
 

在 Avamar 中更新 vCenter 凭据:

更改 vCenter root 密码后,登录 Avamar UI 并设置 vCenter Client 密码。
管理 -> 选择 vCenter 域 -> 右键单击客户端 -> 单击编辑 -> 更改密码。

Affected Products

Integrated Data Protection Appliance Family

Products

PowerProtect Data Protection Software, Integrated Data Protection Appliance Family, Integrated Data Protection Appliance Software
Article Properties
Article Number: 000168145
Article Type: Solution
Last Modified: 11 Feb 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.