Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

VxRail:VxRM 的測試「saved_pw」執行狀況檢查失敗

Summary: 一個或多個 VxRM 節點檢查傳回事件代碼 1 或 2,分別表示警告 (黃色) 或失敗 (紅色) 警示。在升級叢集之前,必須先對這些進行調查。

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Symptoms

VxRail Manager (VxRM) 4.x 執行數項執行狀況檢查 (使用 VxVerify2),其中一個為「saved_pw」。

若為 VxRail 4.x,vCenter 的管理登入資料會加密並儲存在 VxRM 上的資料庫中。

如果存儲在資料庫中的憑據因表而異,則此運行狀況檢查會發出警報,如下所示:
測試結果 結果代碼 結果解釋
通票 0 vCenter 管理密碼交叉檢查並成功登入
Warning 1 資料庫項目已更正。
失敗 2 資料庫中保存的密碼不匹配。
嚴重 3 此測試沒有嚴重結果。

有時,如果啟用自動修正,VxVerify 可以修正資料庫表格間的不相符情形。

為了便於閱讀,每個通過的測試都不會在摘要報告中列出。

執行狀況檢查輸出的範例如下所示:

#========================#======#=========#====================================================================#==============#
|  Hostname / Category   |Status  Dell_KB |  Warnings or Failures, unless tests Passed                         ; Product S.N. |
#========================#======#=========#====================================================================#==============#
| VxRM                   | Warning 183455 | saved_pw: PSQL settings table password corrected                                  |
| VxRM                   | Failure 183455 | saved_pw: Runtime.properties user or password incorrect                           |
| VxRM                   | Failure 183455 | saved_pw: PSQL settings table password incorrect                                  |

Cause

此測試會比較儲存在以下 VxRM 位置的加密密碼:
PSQL mysticmanager: management_account

PSQL mysticmanager: settings

runtime.properties
發生衝突時使用的預設密碼是從 management_account 登入 PSC。

此測試也會驗證使用 vCenter API 的登入是否有效。如果不有效,可能會將 VxVerify 使用的密碼變更為上述其中一個來源。

設置表中的密碼條目的使用量少於其他兩個密碼條目。不過,如果此項目有誤 (與其他兩個項目不相符),則升級至 VxRail 7.x 可能會失敗。

Resolution

PSQL

可在 VxRM 上執行命令,以手動重現此測試:

/usr/bin/psql -U postgres mysticmanager -c "select id,host,component,username,password,status from management_account"

使用者與加密密碼應分別與執行階段中的 data.managementUsername 和 data.managementPassword 屬性相符。此 VxVerify 測試可協助您顯示錯誤和需要更新的項目。
 

PSC

  1. 使用系統管理員帳戶登入 vCenter,並依如下方式導覽:
    1. 功能表 >管理 >單一登入>使用者和群組
    2. 選取 使用者 標籤,然後將 網域 設為:
localos
  1. 尋找在上述輸出中列出的使用者 (在此案例中為 vxrailmgmt)。
  2. 選取 使用者 ,然後選取使用者名稱左側 的三個點 ,然後按一下 編輯
  3. 指定 新密碼
  4. 返回 VxRail Manager CLI (以 root 身分)。
  5. 編輯 並使用下列命令,其中使用者預設為 administrator@vsphere.local ,但管理員使用者可能不同。
curl -k --user administrator@vsphere.local -X POST "https://<IP Address VxRail Manager>/rest/vxm/v1/system/update-credential" -H "accept: application/json" -H "Content-Type: application/json" -d "[{\"component\": \"psc\",\"hostname\": \"hostname\",\"username\": \"username\",\"password\": \"xxxxx\"}]"

範例:

curl -k --user administrator@vsphere.local -X POST "https://172.19.4.201/rest/vxm/v1/system/update-credential"" -H "accept: application/json" -H "Content-Type: application/json" -d "[{\"component\": \"psc\",\"hostname\": \"lab01-PSC.cork.local\",\"username\": \"vxrailmgmt\",\"password\": \"VxR@il1234\"}]"

Article Properties


Affected Product

VxRail Appliance Series

Product

VxRail, VxRack SDDC, VxRail Appliance Family, VxRail Software

Last Published Date

29 Apr 2024

Version

7

Article Type

Solution