Dell EMC Unity:如何在 UEMCLI 中儲存認證 (使用者可修正)
Summary: 為避免在某些需要管理員認證的 UEMCLI 命令中輸入管理員認證,您可以使用「uemcli -saveUser」命令來儲存這些認證。
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
若要將認證儲存在本機,您可以發出下列命令:
[將目的地系統的存取憑證儲存在本機]
uemcli [-d 位址>] [-連接<埠<號碼>] [-silent] -u <user_name> { -p <password> | -securePassword } -saveUser
範例:使用 UEMCLI
建立 LUN12:29:35 service@(無) spb:~> uemcli /stor/prov/luns/lun create -name lunn1 -pool Ram_Pool -size 10000 -thin no
儲存系統位址:10.1.1.1
Storage system port: 443
HTTPS 連線
作業失敗。Error code:
0x6000001 您沒有權限執行所要求的操作。請檢查使用者名稱和密碼。(錯誤代碼:0x6000001)
12:30:12 service@(無) spb:~> uemcli -d 10.x.x.x -u admin -p 密碼123!-保存使用者
儲存系統 10.x.x.x:443 的使用者名稱和密碼登入資料。
儲存登入資料後,現在執行相同的命令:
12:30:51 service@(無) spb:~> uemcli /stor/prov/luns/lun create -name lunn1 -pool Ram_Pool -size 10000 -thin no
儲存系統位址:10.x.x.x
儲存系統連接埠:443
HTTPS 連線
ID = sv_508
作業已成功完成。
[將目的地系統的存取憑證儲存在本機]
uemcli [-d 位址>] [-連接<埠<號碼>] [-silent] -u <user_name> { -p <password> | -securePassword } -saveUser
範例:使用 UEMCLI
建立 LUN12:29:35 service@(無) spb:~> uemcli /stor/prov/luns/lun create -name lunn1 -pool Ram_Pool -size 10000 -thin no
儲存系統位址:10.1.1.1
Storage system port: 443
HTTPS 連線
作業失敗。Error code:
0x6000001 您沒有權限執行所要求的操作。請檢查使用者名稱和密碼。(錯誤代碼:0x6000001)
12:30:12 service@(無) spb:~> uemcli -d 10.x.x.x -u admin -p 密碼123!-保存使用者
儲存系統 10.x.x.x:443 的使用者名稱和密碼登入資料。
儲存登入資料後,現在執行相同的命令:
12:30:51 service@(無) spb:~> uemcli /stor/prov/luns/lun create -name lunn1 -pool Ram_Pool -size 10000 -thin no
儲存系統位址:10.x.x.x
儲存系統連接埠:443
HTTPS 連線
ID = sv_508
作業已成功完成。
Additional Information
若要反轉上述命令的效果,您可以執行下列
步驟:12:29:38 service@(none) spb:~> uemcli -removeUser
儲存系統 10.x.x.x:443 的使用者名稱和密碼認證已移除。
步驟:12:29:38 service@(none) spb:~> uemcli -removeUser
儲存系統 10.x.x.x:443 的使用者名稱和密碼認證已移除。
Affected Products
Dell EMC Unity FamilyProducts
Dell Unity 300, Dell EMC Unity 300F, Dell EMC Unity 400, Dell EMC Unity 400F, Dell EMC Unity 500, Dell EMC Unity 500F, Dell EMC Unity 600F, Dell EMC Unity Family |Dell EMC Unity All Flash, Dell EMC Unity Family, Dell EMC Unity Hybrid
, Dell EMC UnityVSA Professional Edition/Unity Cloud Edition
...
Article Properties
Article Number: 000022827
Article Type: How To
Last Modified: 16 Oct 2025
Version: 5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.