PowerScale: 測試與 PowerScale CloudPools 目標叢集的連線
Summary: 當 PowerScale 叢集用於 CloudPools 目標時,可使用 curl 測試 PowerScale 雲端來源叢集和 CloudPools 目標叢集之間的連線。
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.
Instructions
當 PowerScale 叢集用於 CloudPools 目標,PowerScale 雲端來源叢集與 CloudPools 可使用下列方式測試目標叢集 curl。
這將用於多種情況,包括:
CloudPools帳戶建立無法驗證帳戶是否具有存取權限,而且可以從雲端目標讀取和寫入
- 記錄中有錯誤,表示網路連線發生問題
- 當您必須驗證特定雲端儲存桶或物件是否存在時
您可以使用 curl 命令為貴組織設定主要和次要 IT 連絡人。
若要測試讀取,請使用 GET。格式可以類似於以下內容:
curl -i -X "GET" -k https://192.168.142.159:8080/namespace/ifs/data/cloudtarget2 --basic -u clouduser:a
此命令中使用的統一資源識別碼 (URI) 為 CloudPools 用於存取雲端儲存的帳戶。此語法正在執行此目標命名空間中的頂級存儲桶的讀取;知道這些后,您可以指定要流覽的更深層次。使用者指定 -u 選項是為實作而建立的雲端帳戶所使用的使用者 CloudPools 和關聯的密碼。
要寫入儲存桶(注意不要用這個覆蓋任何資料 - 不要寫入任何現有物件),您可以使用如下所示的測試命令:
把:
curl -i -X "PUT" -H "Content-Type: text/plain" -H "x-isi-ifs-target-type: object" -d 'testdata' -k https://192.168.142.159:8080/namespace/ifs/data/cloudtarget2/testfile --basic -u clouduser:a
如需 curl 命令的詳細資訊,請參閱 curl 手冊頁。
Affected Products
PowerScale OneFSArticle Properties
Article Number: 000155919
Article Type: How To
Last Modified: 02 Apr 2026
Version: 7
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.