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 <address>] [-port <number>] [-silent] -u <user_name> { -p <password> | -securePassword} -saveUser
示例:使用 UEMCLI
创建 LUN12:29:35 service@(none) 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 connection
Operation failed.Error code:
0x6000001 您没有执行请求的作的访问权限。请检查用户名和密码。(错误代码:0x6000001)
12:30:12 service@(none) spb:~> uemcli -d 10.x.x.x -u admin -p Password123!-saveUser
已保存存储系统 10.x.x.x:443的用户名和密码凭据。
现在,在存储凭据后运行相同的命令:
12:30:51 service@(none) spb:~> uemcli /stor/prov/luns/lun create -name lunn1 -pool Ram_Pool -size 10000 -thin no
存储系统地址:10.x.x.x
Storage system port:443
HTTPS connection
ID = sv_508
Operation completed successfully.
[本地保存目标系统的访问凭据]
uemcli [-d <address>] [-port <number>] [-silent] -u <user_name> { -p <password> | -securePassword} -saveUser
示例:使用 UEMCLI
创建 LUN12:29:35 service@(none) 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 connection
Operation failed.Error code:
0x6000001 您没有执行请求的作的访问权限。请检查用户名和密码。(错误代码:0x6000001)
12:30:12 service@(none) spb:~> uemcli -d 10.x.x.x -u admin -p Password123!-saveUser
已保存存储系统 10.x.x.x:443的用户名和密码凭据。
现在,在存储凭据后运行相同的命令:
12:30:51 service@(none) spb:~> uemcli /stor/prov/luns/lun create -name lunn1 -pool Ram_Pool -size 10000 -thin no
存储系统地址:10.x.x.x
Storage system port:443
HTTPS connection
ID = sv_508
Operation completed successfully.
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.