ECS:尋找 VDC 或 StoragePool 相關信息的問題 - VDC 錯誤:找不到 VDC

摘要: 使用 xDoctor 列出 VDC 拓撲時,會回報「VDC 錯誤:找不到 VDC'

本文章適用於 本文章不適用於 本文無關於任何特定產品。 本文未識別所有產品版本。

症狀

使用 xDoctor 列出 VDC 拓撲時,會回報「VDC 錯誤:找不到 VDC」:
admin@lab-ecs01-n01:~> sudo xdoctor --top --vdc

ECS
|
|- CLOUD - ID:[77071b835bb4e0e7c85a1e55e1cxxxxx]
   |
   |- Local VDC - ID:[Unknown] Name:[Unknown]
   |- Local SP  - ID:[d714b08e-1a06-3483-a4ad-fc54f8xxxxx] Name:[LAB-CRK-SP01]
   |  |
   |  |- Local RACK - Name:[red] Master:[169.254.1.1] PSNT:[CKM001.....] SWID:[ELM.....]
   |  |  |
   |  |  |- Node  1, [   provo], NAN.IP:[    169.254.1.1], Public.IP:[  10.x.x.100]
   |  |  |- Node  2, [   sandy], NAN.IP:[    169.254.1.2], Public.IP:[  10.x.x.101]
   |  |  |- Node  3, [    orem], NAN.IP:[    169.254.1.3], Public.IP:[  10.x.x.102]
   |  |  |- Node  4, [   ogden], NAN.IP:[    169.254.1.4], Public.IP:[  10.x.x.103]
   |  |  |- Node  5, [  layton], NAN.IP:[    169.254.1.5], Public.IP:[  10.x.x.104]

Error: Problems in finding VDC -or StoragePool related information ...
VDC Error: No VDC Found.

原因

原因 1:
這表示有新的安裝,但尚未設定任何 VDC:
admin@lab-ecs01-n01:~> /opt/emc/xdoctor/tools/ee_scripts/svc_tools/svc_vdc list -detail
svc_vdc v1.0.20 (svc_tools v1.6.8)                 Started 2020-01-12 10:49:10

Name: Unknown
  Local VDC:                  True

  Serial #:                   CKM001.....
  ECS Release:                3.3.0.1 GA
  Object Version:             3.3.0.1-109311.635bd4c
  VDC ID:                     Unknown
  Short form VDC ID:          Unknown
  TSO Status:                 Healthy

  Storage pools (cos):
  LAB-CRK-SP01                urn:storageos:VirtualArray:d714b08e-1a06-3483-a4ad-fc54f8xxxxx

    managementEndPoints       interVdcCmdEndPoints      interVdcEndPoints
原因 2:
如果這是已安裝的 VDC,xDoctor 可能會在建立拓撲命令 (和其他功能) 使用的型號檔案時發生問題。

解析度

原因 1 的解決方法:
透過連線至 ECS 使用者介面確認這是否為新的安裝,並確認是否已

kA23a000000GHL1CAO_2_0
設定虛擬資料中心 (VDC):如果是這樣,則會顯示「VDC 錯誤:預期不會在 VDC 拓撲上使用 xDoctor 找到 VDC。

原因 2 的解決方法:
如果這是已安裝的 VDC,我們需要清除部分快取檔案,並成功重新建立。

此處未填入 model_cache.xml 檔案。
# cd /usr/local/xdoctor

# cat config/model_cache.xml
<model cloud="88183b946cc5f0e8c96b2e66e1c74a7e" id="ECS" name="Elastic Cloud Storage" ts="1680862358"><error>
    <code>10001</code>
    <description>An error occurred while encoding/decoding of tokens</description>
    <details>Unable to decode token.</details>
    <retryable>false</retryable>
</error><error>
    <code>10001</code>
    <description>An error occurred while encoding/decoding of tokens</description>
    <details>Unable to decode token.</details>
    <retryable>false</retryable>
</error><error>
    <code>10001</code>
    <description>An error occurred while encoding/decoding of tokens</description>
    <details>Unable to decode token.</details>
    <retryable>false</retryable>
</error></model>emc@belbchecs01:/usr/local/xdoctor> sudo rm config/model_cache.xml
如果是這樣,移除 model_cache.xml 和 xDoctor 令牌快取檔案就能解決問題:
# sudo rm config/model_cache.xml
# sudo rm .rest_token
# cat config/model_cache.xml
驗證如何使用 xDoctor 來列出 VDC 拓撲的運作方式:
# sudo xdoctor --top
# sudo xdoctor --top --vdc
# sudo xdoctor --top --details

受影響的產品

Elastic Cloud Storage

產品

Elastic Cloud Storage
文章屬性
文章編號: 000081945
文章類型: Solution
上次修改時間: 13 4月 2023
版本:  4
向其他 Dell 使用者尋求您問題的答案
支援服務
檢查您的裝置是否在支援服務的涵蓋範圍內。