在 REST API 用戶端和 Embedded Unisphere 中出現的問題

Summary: 在 REST API 外部用戶端和 Embedded Unisphere 中出現的問題

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

此問題的症狀有所不同,

從 Rest API 用戶端呼叫過多可能會導致以下問題 

  • Unisphere 指標儀表板中效能資料的差距,
  • Unisphere 會定期顯示陣列已在 GUI 上取消註冊。
  • 嵌入式容器上的服務脫機,特別是PR_Storstpd。


若要針對這些症狀進行故障診斷,需要檢查 Rest API 記錄。

此選項預設為未啟用 若要啟用此選項,請前往 Unisphere > 支援>修改伺服器記錄>啟用 RestApi 記錄> 勾選此核取方塊。

這無法從陣列完成,必須由客戶從其嵌入式 Unisphere 啟用 請參閱下方的路徑






修改伺服器記錄畫面
Unisphere 主控台螢幕擷取畫面 啟用後,vapp 管理員或 smas.logs 的 emcgrab /server0 資料夾下的檔案將會產生名為 restapi 的檔案。

  



 

Cause

這些問題可能是因為未遵循 Unisphere for PowerMax 安裝指南中下列的最佳實務所造成。(請參閱解決方案)

另一個原因可能是未使用

版本化的端點,如下所示 支援:
/92/sloprovisioning/symmetrix/

不支援:
/sloprovisioning/symmetrix/

另一個需要考慮的因素是,與平均值相比,是否有具有 MS 計數的重複 API 調用,請參見下文: 

2021-06-30 11:10:55,510 INFO  [em.bp.RESTAPIUSAGE] (default task-46) /sloprovisioning/symmetrix/{symmetrixId}/volume/{volumeId}    UNKNOWN/10.xx.x.xxx    GET    314 ms    200    null    null    null
2021-06-30 11:11:35,937 INFO  [em.bp.RESTAPIUSAGE] (default task-43) /sloprovisioning/symmetrix/{symmetrixId}/volume/{volumeId}    UNKNOWN/10.xx.xx.xx    GET    299 ms    200    null    null    null
2021-06-30 11:11:35,938 INFO  [em.bp.RESTAPIUSAGE] (default task-37) /sloprovisioning/symmetrix/{symmetrixId}/volume/{volumeId}    UNKNOWN/10.x.xx.xx    GET    327 ms    200    null    null    null
2021-06-30 11:11:35,939 INFO  [em.bp.RESTAPIUSAGE] (default task-19) 2021-06-30 10:55:55,533 INFO  [em.bp.RESTAPIUSAGE] (default task-32) /sloprovisioning/symmetrix/{symmetrixId}/volume/{volumeId}    UNKNOWN/10.xx.xx.xx   GET    320 ms    200    null    null    null
2021-06-30 10:55:55,534 INFO  [em.bp.RESTAPIUSAGE] (default task-10) /sloprovisioning/symmetrix/{symmetrixId}/volume/{volumeId}    UNKNOWN/10.xx.xx.xx    GET    320 ms    200    null    null    null
2021-06-30 10:56:35,795 INFO  [em.bp.RESTAPIUSAGE] (default task-14) /sloprovisioning/symmetrix/{symmetrixId}/volume/{volumeId}    UNKNOWN/10.xx.xx.xx   GET    40584 ms    200    null    null    null
2021-06-30 10:56:35,795 INFO  [em.bp.RESTAPIUSAGE] (default task-15) /sloprovisioning/symmetrix/{symmetrixId}/volume/{volumeId}    UNKNOWN/10.xx.xx.xx   GET    40584 ms    200    null    null    null
2021-06-30 10:56:35,798 INFO  [em.bp.RESTAPIUSAGE] (default task-34) /sloprovisioning/symmetrix/{symmetrixId}/volume/{volumeId}    UNKNOWN/10.xx.xx.xx  GET    40454 ms    200    null    null


亦不支援上述範例,因為它不是版本化端點,請參閱/sloprovisioning/symmetrix/{symmetrixId}/volume/{volumeId}

這應該是 
92/sloprovisioning/symmetrix/{symmetrixId}/volume/{volumeId}

Resolution

請務必遵循 REST API 呼叫的最佳實務 - 請參閱 PowerMax 的 Unisphere 安裝指南 9.2.1 及更舊

版本 PowerMax 的 Unisphere 最多可支援 10 個併發使用者,如果超過 5
個儲存裝置管理員使用者,則會發生效能下降的情況。
請注意以下關於 REST API 用戶端限制的建議,必須遵守這些建議才能實現最佳
性能:
● 在 REST 調用運行時,每個 REST API 會話計為併發使用者。
● 最多 5 個 REST API 用戶端可以同時連接到 Unisphere 伺服器。
● 每秒最多可以對 Unisphere 伺服器進行 50 次 GET 調用。這些可以由性能 REST
API GET 調用和非性能 REST API GET 調用組成。
● 最多可以同時對 Unisphere 伺服器運行 5 次非性能 POST 或 PUT 調用。
● 建議您盡可能使用批量 REST API 調用。
注意:如果未遵循上述建議,可能會導致 PowerMax 伺服器的 Unisphere 效能下降

確保也正在使用版本化的端點 

Affected Products

Unisphere for PowerMax
Article Properties
Article Number: 000189251
Article Type: Solution
Last Modified: 12 Sep 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.