Dell EMC Unity is a mid-range storage array product line from Dell EMC. It was developed as the next-generation unified storage array, succeeding the EMC VNX and VNXe series, which themselves evolved from the EMC Clariion SAN disk array.
Dell EMC Unity can be managed and monitored using CLI and GUI. However, in this article we will review the commands required to configure and manage Dell EMC Unity.
There are two ways to access Dell EMC Unity CLI:
- Using an UEMCLI program available for download from DellEMC site.
- Through SSH.
In order to make contact with the Unity primary SP and issue commands, you need the syntax to be as follows:
uemcli.exe -d <management IP> -u <user> -p <password> <object path> <action>
Unity UEMCLI SYSTEM MANAGEMENT COMMANDS
Displays the general settings for a physical system | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/general show -detail |
Displays the general settings for a virtual system | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/general show |
Disable automatic failback | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/general set โautoFailback off |
Fail back all NAS servers that have failed over | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/general failback |
Perform a health check of the system | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/general healthcheck |
Displays the general setting information for the system | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/info show |
Change System Information | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/info set -contactFirstName Zach -contactLastName Arnold -contactEmail [email protected] -contactPhone 5559999 -location here -contactMobilePhone 987654321 |
Create a session to upgrade the system software | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/upgrade create โtype software |
creates a session to upgrade the storage processor | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/upgrade create โtype sp โnewSPModel SP500 |
Display details about the hardware upgrade session | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/upgrade show |
Displays details about the software upgrade session | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/upgrade show |
Resume upgrade | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/upgrade resume |
Cancel upgrade session | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/upgrade cancel |
Display security settings for the system | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/security show |
Changes system security settings | uemcli /sys/security set -fips140Enabled yes |
Display system time | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/time show |
System reboot | uemcli /sys/time set -utc โ2018-01-17 12:16:30โ -force allowreboot |
Display support configuration | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/support/config show |
Display detailed support configuration | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/support/config show -detail |
Specifies the support services proxy server parameters | uemcli /sys/support/config set -supportProxyAddr 10.1.55.1 -supportProxyPort 8080 -supportProxyUser user1 -supportProxyPasswd password123 โsupportProxyProtocol http |
Displays support contracts | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/support/contract show |
Refresh support conracts | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/support/contract refresh |
Display Centralized ESRS configuration | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/support/esrsc show -detail |
Check network connectivity from Centralized ESRS to EMC | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/support/esrsc checkNetwork -address 10.10.96.97 |
Displays the Integrated ESRS configuration | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/support/esrsi show -detail |
Specifies the Integrated ESRS parameters | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/support/esrsi set -acceptEula yes |
Displays network connectivity for Integrated ESRS | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/support/esrsi checkNetwork |
Display Integrated ESRS policy Manager server config | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/support/esrsi/policymgr show -detail |
Change the Policy Manager and proxy server attributes | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/support/esrsi/policymgr set -enable no |
Show configuration details for Connect Home | uemcli -d 10.1.55.1 -u admin -p Password /sys/support/connecthome show -detail |
Enable Connect Home and specify SMTP server | uemcli -d 10.1.55.1 -u local/username -p Password /sys/support/connecthome set โenable yes โsmtpServer 10.10.99.99 |
Test email alert | uemcli -d 10.1.55.1 -u local/username -p Password /sys/support/connecthome test |
Displays a list of user roles on the system | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /user/role show -detail |
Create user account with operator role | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /user/account create โname user1 โtype local โpasswd Password โrole operator |
Displays a list of all user accounts on the system | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /user/account show |
Change password for user account user_user1 | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /user/account โid user_user1 set โpasswd NewPassword โoldpasswd OldPassword |
Delete user account user_user1 | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /user/account -id user_user1 delete |
Display support credentials | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/support/account show |
Display list of all feature licenses on the system | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/limit show -detail |
Display list of all feature licenses on the system | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/lic show |
This command accepts the EULA | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/eula set -agree yes |
Create remote manager configuration | uemcli /sys/ur create -addr 10.10.0.1 -certificate 2fd4e1c67a2d28fced849ee1bb76e7391b93eb12 -passphrase password |
Display Unisphere Central manager configuration | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/ur show |
Display settings for remote system logging | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/rlog show |
Configure remote system logging with these settings | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/rlog set โenabled yes โhost 10.64.74.12 โport 500 โprotocol UDP -facility chicago |
Delete X509 certificate | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/cert -id vasa_http-vc1-servercert-1 delete |
Display details about all schedules | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/task/sched show |
Delete schedule MySchedID | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/task/sched -id MySchedID delete |
List details for all task rules assigned to protection schedule | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/task/rule โsched SCHD_3 show |
Delete a task rule | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/task/rule โid RULE_1 delete |
Display list of all jobs | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/task/job show {-detail} |
Resume an existing job | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/task/job -id N-23564 resume |
Display list of steps of the specified job | uemcli /sys/task/job/step -jobId N-23654 show {-detail} |
Unity UEMCLI NETWORK MANAGEMENT COMMANDS
Create a NAS server | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/server create -name NasSanguy_1 -sp spa -pool pool_0 -enablePacketReflect yes |
Displayl details for a list of all configured NAS servers | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/server show -detail |
Uses LDAP as the Unix Directory Service | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/server -id nas_1 set -mpSharingEnabled yes -unixDirectoryService ldap |
Change replication settings for NAS server nas_1 | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/server -id nas_1 set -replDest yes |
Change storage processor to SPB for NAS server nas_1 | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/server -id nas_1 set -sp spb |
Delete NAS server nas_1 | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/server โid nas_1 delete |
Create user mapping report for NAS server nas_1 | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/server -id nas_1 update -async -userMapping |
View FTP or SFTP server settings for a NAS server | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/ftp show |
View LDAP settings of a NAS server | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/ldap -server nas_1 show -detail |
Create a new NAS interface | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/if create -server nas_1 -port eth0_SPA -addr 10.1.55.1 -netmask 255.255.255.0 |
Display all NAS interfaces on the system | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/if show |
Change the gateway address for interface IF_1 | uemcli -d 10.1.55.1 -u Local/username -p passwd123/net/nas/if โid IF_1 set -gateway 2001:db8:0:170:a:0:2:70 |
Delete interface IF_1 | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/if โid IF_1 delete |
Create a network route for interface if_1 | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/route create -if if_1 -type net -target 10.64.200.10 โnetmask 255.255.255.0 -gateway 10.64.74.1 |
Display all NAS routes on the system | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/route show -detail |
Delete route โroute_1โ | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/route -id route_1 delete |
Configure a custom Kerberos realm for NAS server nas_1 | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/kerberos -server nas_1 set -addr master.thesanguy.com,slave.thesanguy.com -realm domain.thesanguy.com |
Show Kerberos settings for all NAS Servers | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/kerberos show |
Display information for VLANs that are in use | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/vlan show -from 100 -inUse yes |
Create a CIFS server | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/cifs create -server nas_0 -name CIFSserver1 -description โCIFS descriptionโ -domain domain.thesanguy.com -username user1 -passwd password1 |
Displays CIFS server settings | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/cifs show |
Delete a CIFS server | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/cifs -id CIFS_0 delete |
Create an NFS server on NAS server nas_1 with ID nfs_1 | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/nfs create -server nas_1 -v4 yes -secure yes |
Display NFS server settings | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/nfs show -detail |
Change credit cache retention period for an NFS server | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/nfs -id nfs_1 set -credCacheRetention 20 |
Delete an existing NFS server | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/nfs -id nfs_1 delete |
View details about CAVA settings | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/cava show |
Modify CAVA settings | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/cava -server nas_1 set -enabled yes |
View details about CEPA configuration settings | uemcli /net/nas/event/config -server nas_1 show -detail |
Enable Event Publishing and set the post-event policy | uemcli /net/nas/event/config -server nas_1 set -enabled yes -postEventPolicy accumulate |
Create a CEPA pool and a list of post events to be notified on | uemcli /net/nas/event/pool create -server nas_1 -name mypool1 -addr 10.1.2.100 -postEvents CreateFile,DeleteFile |
View details about a CEPA pool | uemcli /net/nas/event/pool -server nas_1 show |
Change the name for a CEPA pool | uemcli /net/nas/event/pool -id cepa_pool_1 set -name TestCepaPool |
Delete a CEPA pool | uemcli /net/nas/event/pool โid cepa_pool_1 delete |
Create VMware protocol endpoints servers for File Vvols | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/vmwarepe create -server nas_1 -if if_ 1 |
View VMware protocol endpoints servers for File Vvols | uemcli -d 10.1.55.1 -u Local/username -p passwd123/net/nas/vmwarepe show -detail |
Delete a VMware protocol endpoints server | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/vmwarepe โid PES_0 delete |
View details about the iSCSI configuration | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/iscsi/config show |
List all iSCSI nodes on the system | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/iscsi/node show |
Change the network interface alias assigned to the node | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/iscsi/node -id ISCSIN_1 set -alias โSample iSCSI nodeโ |
View details about the network ports | uemcli /net/port/eth show |
sets the MTU size for Ethernet port 0 (eth0) on SP A to 9000b | uemcli /net/port/eth โid spa_eth0 set โmtuSize 9000 |
View details about the FC ports | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/port/fc show -detail |
Change the speed for FC port fc1 on SP A to 1 Gbps | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/port/fc โid spa_fc1 set โspeed 1Gbps |
View details about uncommited ports | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/port/unc show -detail |
View a list of interfaces on the system | uemcli /net/if/mgmt show |
Change the settings for an interface | uemcli /net/if/mgmt set -ipv4 static -addr 192.168.1.199 -netmask 255.255.255.0 -gateway 192.168.1.254 |
Create a replication interface | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/if create -type replication -port eth1_spb -addr 10.1.55.1 -netmask 255.255.255.0 -gateway 10.1.55.1 |
View a list of interfaces on the system | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/if show -detail |
Change the gateway address for interface IF_1 | uemcli -d 10.1.55.1 -u Local/username -p passwd123/net/if โid IF_1 set -gateway 2001:ac8:0:253:c:0:2:50 |
Delete an interface | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/if โid IF_1 delete |
Create an IP route | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/route create โif IF_1 โtype net โtarget 10.55.99.10 netmask 255.255.255.0 โgateway 10.55.99.254 |
View details about IP routes | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/route show -detail |
Modify an existing IP route | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/route -id RT_1 set -target 10.55.99.99 โnetmask 255.255.255.0 -gateway 10.55.99.254 |
Delete an IP route | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/route โid RT_1 delete |
Create a link aggregation | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/la create -ports โeth0_SPA,eth1_SPAโ |
Show the link aggregations on the system | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/la show |
Change the settings of a link aggregation | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/la โid la0_SPA set โmtuSize 9000 |
Delete a link aggregation | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/la โid la0_SPA delete |
Configure the DNS settings for the storage system | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/dns/config set -nameServer โ10.55.13.9,10.55.13.10โ |
View the DNS server addresses designated as a default | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/dns/config show |
View details about configured DNS server domains | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/dns -server nas_1 show -detail |
Configure a DNS server domain | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/dns โserver nas_1 set -name โstorage.thesanguy.comโ |
Create an NTP server to specify an IP address of each NTP server | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/ntp/server create โserver ntp.thesanguy.com |
View details about the NTP server | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/ntp/server show |
Configure the NTP server setting | uemcli -d 10.1.55.1 -u Local/username -p 12345 /net/ntp/server set โaddr โ10.55.9.1,10.55.9.2โ |
Delete an NTP server record to remove the NTP settings | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/ntp/server โid NTP_10.5.1.207 delete |
View details about NIS server domains | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/nis show -detail |
Add NIS server addresses to an NIS server domain | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/nis โid nis.thesanguy.com set โip โ10.55.1.38โณ |
View the IP addresses of the SMTP servers | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/smtp show |
Specify the IP addresses for the SMTP server setting | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/smtp -id default set -addr 10.55.1.36 |
View whether NDMP is enabled or disabled | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/ndmp show |
Enable NDMP | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/ndmp -server nas_0 set โenabled yes โpasswd โpasswd123โ |
View details for configured LDAP settings | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/ldap show |
Update a configured LDAP setting | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/ldap -id lDAP_1 set โserver webhost.thesanguy.com โport 389 |
Verify the connection to the LDAP server | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/ldap โid LDAP_1 verify |
Delete an LDAP setting | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/ldap โid LDAP_1 delete |
Ping a remote host from the specified NAS server interface | uemcli /net/util ping -srcIf if_0 -addr 10.1.55.1 |
Display the route from the specified interface to a remote host | uemcli /net/util/traceroute -srcIf if_0 -addr 10.1.55.1 |
Displays DHSM settings | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/dhsm show |
Modify Distributed Hierarchical Storage Management settings | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/dhsm โserver nas_0 set โstate Enabled โusername newname โpasswd newpassword |
Create an HTTP connection | uemcli /net/nas/dhsmconn create -filesystem fs_1 -secondaryUrl http://10.1.0.115/export/dhsm1 |
View details for DHSM connections | uemcli /net/nas/dhsmconn โfs fs_1 show |
Modify settings for an existing DHSM connection | uemcli /net/nas/dhsmconn โid dhsmconn_1 modify -mode recallOnly |
Deletes an existing HTTP connection | uemcli /net/nas/dhsmconn โid dhsmconn_1 delete -recallPolicy no |
Unity UEMCLI HOST MANAGEMENT COMMANDS
Create a host configuration | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /remote/host create โname MyHost โdescr โaccountingโ -type host โaddr 10.64.74.10 -osType winxp |
View details about a host configuration | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /remote/host show -brief |
Change the settings for a host configuration | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /remote/host โid 1014 set -descr โStorage Teamโ โosType winxp |
Delete a host configuration | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /remote/host โid 999 delete |
Lists all host LUNs on host Host_3 | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /remote/host/hlu -host Host_3 show -detail |
Change the host LUN ID | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /remote/host/hlu -id Host_3_sv_2_prod set โlunid 0 |
Create an FC or iSCSI initiator and assign it to a host configuration | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /remote/initiator create -host 1014 -uid โ20:00:00:00:A9:19:0A:CD:10:00:00:00:A9:19:CD:FDโ -type fc |
View a list of all initiators | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /remote/initiator show |
Modify an already created initiator | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /remote/initiator -id 1058 set -host 1099 |
List all initiator paths on the system | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /remote/initiator/path show |
Configures a remote system configuration for local access | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /remote/sys create โaddr 10.55.1.98 โtype VNX -dstUsername admin1 -dstPassword password12134 |
Verify the configuration settings for a remote system | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /remote/sys โid RS_1 verify |
View the configuration for a remote system on the local system | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /remote/sys show -detail |
Changes the configuration settings for a remote system | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /remote/sys โid RS_1 set โaddr โ10.55.2.98โ -dstUsername Local/username -dstPassword password1234 |
Deletes the configuration for a remote system | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /remote/sys โid RS_1 delete |
Add virtual center credentials | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /virt/vmw/vc create -addr 10.55.11.109 -username [email protected] -passwd xxx -descr โAdd vCenterโ |
Specify a new description for the VMware vCenter server | uemcli /virt/vmw/vc -id VC_1 set -descr โThis vCenter manages 5 Executive hostsโ |
Remove an existing VMware vCenter server and its ESXi hosts | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /virt/vmw/vc -id VC_1 delete |
Displays a list of configured VMware vCenter servers | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /virt/vmw/vc show |
Rescan details of all configured VMware vCenter servers. | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /virt/vmw/vc refresh -scanHardware |
Adds a VMware ESXi host | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /virt/vmw/esx create -addr 10.1.1.1 -username root -passwd xxx -descr โProd ESXโ |
Change ESXi host credentials and/or description. | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /virt/vmw/esx -id ESX_1 set -descr โNew Descriptionโ |
Delete ESXi host credentials | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /virt/vmw/esx -id ESX_1 delete |
Display a list of all configured VMware ESXi hosts | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /virt/vmw/esx -vc VC_1 show |
List all VMware ESXi hosts on the specified VMware vCenter server | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /virt/vmw/esx discover -vc VC_1 |
Rescan details of a VMware ESXi host | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /virt/vmw/esx refresh -scanHardware |
Display a list of all existing virtual machines on existing ESXi hosts | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /virt/vmw/vm -esx ESX_1 show |
Manage hard disk properties for VMware virtual machines | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /virt/vmw/vmdevice -vm VM_1 show |
UNITY UEMCLI HARDWARE MANAGEMENT COMMANDS
View existing Storage Processors (SPs) | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /env/sp show |
View existing drives | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /env/disk show |
Display the details of all drives on the system | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /env/disk show -detail |
Rescan the system for available virtual disks | uemcli -d 10.0.0.2 -u Local/username -p passwd123 /env/disk rescan |
Change settings of an existing disk | uemcli -d 10.0.0.2 -u Local/username -p passwd123 /env/disk -id vdisk_1 set -name โextreme perf storageโ |
Display a list of system batteries | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /env/bat show |
View a list of system power supplies | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /env/ps show |
View a list of LCCs | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /env/lcc show |
View a list of system SSDs | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /env/ssd show |
View a list of system DAEs | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /env/dae show |
View details of the system DPE | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /env/dpe show |
View a list of system memory modules | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /env/mm show |
View a list of System Status Cards (SSC) | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /env/ssc show -detail |
View a list of system fan modules | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /env/fan show |
View details about I/O modules in the system | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /env/iomodule show |
UNITY UEMCLI STORAGE MANAGEMENT COMMANDS
Create a dynamic pool | uemcli -d 10.1.55.1 -u Local/username -p passwd123 uemcli /stor/config/pool create -name MyPool -descr โdynamic poolโ -diskGroup dg_2,dg_28 -drivesNumber 6,10 -storProfile profile_1,profile_2 |
Create a traditional pool in a model that support dynamic pools | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/pool create -name MyPool -descr โtraditional poolโ -diskGroup dg_3,dg_28 -drivesNumber 5,9 -storProfile tprofile_1,tprofile_2 -type traditional |
Create a traditional pool that does not support dynamic pools | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/pool create -name MyPool -descr โmy large poolโ -storProfile profile_19,profile_20 -diskGroup dg_15,dg_16 -drivesNumber 5,9 -FASTCacheEnabled yes |
Create a traditional pool with two virtual disks | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/pool create -name vPool -descr โmy virtual poolโ -disk vdisk_0,vdisk_2 |
Set the subscription alert threshold for pool_1 | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/pool -id pool_1 -set -alertThreshold 70 -FASTCacheEnabled no |
Add new drives to a pool to increase its storage capacity | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/pool โid pool_1 extend โdiskGroup dg_1 โdrivesNumber 7 -storProfile profile_99 |
View a list of pools | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/pool show -detail |
Show all pools for a model that supports dynamic pools | uemcli -d 10.0.0.2 -u Local/username -p passwd123 /stor/config/pool show -detail |
Shows details for all pools on a virtual system | uemcli -d 10.0.0.2 -u Local/username -p passwd123 /stor/config/pool show -detail |
Delete a pool | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/pool โid pool_1 delete |
Modify FAST VP settings on an existing pool | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/pool/fastvp -pool pool_1 set -schedEnabled yes |
View FAST VP settings on a pool | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/pool/fastvp โshow -detail |
Start data relocation on a pool | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/pool/fastvp -pool pool_1 start -endTime 09:00 |
Stop data relocation on a pool | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/pool/fastvp โpool pool_1 stop |
Show tier details about the specified pool | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/pool/tier -pool pool_1 show -detail |
shows details for all storage resources associated with the pool | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/pool/sr -pool pool_1 show -detail |
Change FAST VP general settings | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/fastvp set -schedEnabled yes -days โMon,Friโ -at 23:00 -until 09:00 |
View the FAST VP general settings | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/fastvp show -detail |
Configure FAST Cache | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/fastcache create -diskGroup dg9 -drivesNumber 6 -enableOnExistingPools |
View the FAST Cache parameters | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/fastcache show -detail |
Extend the FAST Cache by adding more drives | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/fastcache extend -diskGroup dg9 -drivesNumber 6 |
Shrink the FAST Cache by removing storage objects | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/fastcache shrink โso rg_1 |
Delete the FAST Cache configuration | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/fastcache delete |
View a list of all storage objects, including RAID groups and drives | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/fastcache/so show |
Show details for storage profiles | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/profile -configurable show |
View details about drive groups on the system | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/dg show -detail |
View the current storage system capacity settings | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/general/system show |
View the current system tier capacity settings | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/general/tier show |
View details about a file system | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/fs -id res_99 show |
Specify Event Publishing protocols | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/fs -id res_99 set -eventProtocols nfs,cifs |
Delete a file system | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/fs -id res_99 delete |
creates a user quota (for user 201 on file system res_1) | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /quota/user create -fs res_1 -path /qtree_1 -userId 201 -softLimit 20G -hardLimit 50G |
Change the user quota | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /quota/user -fs res_1 -path /qtree_1 unixName nasadmin show -detail |
Create quota tree /qtree_1 on file system res_1 | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /quota/tree create -fs res_1 -path /qtree_1 -softLimit 500G -hardLimit 999G |
Display space usage information for all quota trees (on res_1) | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /quota/tree -fs res_1 show -detail |
Refresh quota information for all quota trees on res_1 fs | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /quota/tree -fs res_1 refresh / |
Delete quota tree /qtree_1 on file system res_1 | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /quota/tree -fs res_1 -path /qtree_1 delete |
List config info for quota tree /quota/config on res_1 fs | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /quota/config -fs res_1 show -detail |
Create an NFS share to export a file system through NFS | uemcli -u admin -p Password123! /stor/prov/fs/nfs create -name testnfs112 -fs res_26 -path โmypathโ |
View details of an NFS share | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/fs/nfs show -detail |
Delete an NFS share | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/fs/nfs โid NFSShare_1 delete |
Creates a CIFS share | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/fs/cifs create โname CIFSshare -descr โa shareโ โfs fs1 -path โ/cifsshareโ -enableContinuousAvailability yes -enableCIFSEncryption yes |
List details for all CIFS network shares | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/fs/cifs show |
Set the description of CIFS share | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/fs/cifs โid SMBShare_1 set -descr โa shareโ |
Delete a CIFS (SMB) share | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/fs/cifs โid CIFSShare_1 delete |
Create a LUN | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/luns/lun create -name โTheLUNโ -descr โThe LUNโ -type primary -group group1 -pool pool_1 -size 999M |
Display the list of existing LUNs | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/luns/lun show |
Change the settings of a LUN | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/luns/lun -id lun_1 set -name NewName -descr โMy new descriptionโ -size 150M |
Delete a LUN | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/luns/lun -id lun_1 delete |
Refresh a LUNโs thin clone | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/luns/lun -id lun_5_tc refresh -source SNAP_2 -copyName Backup1 |
Create a consistency group | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/luns/group create -name GenericStorage01 -descr โMyStorageโ -sched SCHD_1 |
Display the list of existing consistency groups | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/luns/group show -detail |
Change the settings for a consistency group | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/luns/group -id group_1 set -name NewName -descr โNew Descrโ -sched SCHD_2 -schedPaused yes -fastvpPolicy startHighThenAuto |
Delete a consistency group | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/luns/group -id group_1 delete |
Create an NFS datastore | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/vmware/nfs create โname Executive โdescr โExecutive VMsโ โserver nas_1 โpool capacity โsize 100G -rwHosts host1 -esxMountProtocol NFSv4 -minSecurity krb5 -nfsOwner john -defAccess na |
View details about an NFS datastore | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/vmware/nfs show |
Change the settings for an NFS datastore | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/vmware/nfs โid NFSDS_1 set โroHosts โHOST_1,HOST_2โ -naHosts โHOST_3โ |
Delete an NFS datastore | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/vmware/nfs -id NFSDS_1 delete |
Create a VMFS datastore | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/vmware/vmfs create โname โBanking 3โ โdescr โBanking Grp 3โ โpool capacity -size 100G โthin yes โvdiskHosts โ1166,1167โ |
Display the list of existing VMFS datastores | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/vmware/vmfs show |
Change the settings for a VMFS datastore | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/vmware/vmfs โid VMFS1 set โname engineering2 โdescr โEng Grp 2โ |
Delete a VMFS datastore | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/vmware/vmfs โid VMFS_1 delete |
Refresh the thin clone of a VMFS datastore | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/vmware/vmfs -id vmware_2_tc refresh -source snapshot2 -copyName Backup1 |
Display a list of existing protocol endpoints and their characteristics | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/vmware/pe show detail |
Changes the settings for a VMware protocol endpoint (iSCSI) | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/vmware/pe set โid rfc9999.e53a24f1-3324-9999-80a3-c2cabb322a1c set โlunid 5 |
Create a datastore for VMware Vvols | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/vmware/vvolds create โname โHRโ โcp cp_1,cp_2 โsize 10G, 12G โtype file โhosts โHostA,HostBโ |
Display a list of existing VVol datastores and their characteristics | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/vmware/vvolds show -detail |
Modify an existing VVol datastore | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/vmware/vvolds -id res_1 set -name MyNewName -descr โDescrโ -addCp cp_1 -size 10G |
Delete VVol datastores and their associated virtual volumes | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/vmware/vvolds -id res_1 delete -force yes |
Display existing VVol datastore allocations | uemcli /stor/prov/vmware/vvolds/alloc -vvolds vvolds_1 -pool pool_1 show -detail |
Display a list of existing VVol datastores and their characteristics | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/vmware/vvol โvm VM_1 show -detail |
Deletes the specified existing VVol objects | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/vmware/vvol โid naa.6006016005603c009370093e194fca3f delete |
Create a capability profile for VVol datastores | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/cp create -name โCapabilityProfile1โ -pool pool_1 -usageTag โProdโ |
Display a list of existing capability profiles and their characteristics | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/cp show -detail |
Modify an existing capability profile | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/cp -id cp_1 set -name โCapabilityProfile2โ |
Deletes specified capability profiles | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/cp -id cp_1 delete |
Create an I/O limit policy | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/iolimit create -name โSALESโ -descr โfor Sales Deptโ -shared yes -type absolute -maxIOPS 500 -maxKBPS 1000 |
Delete an I/O limit policy | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/iolimit -id IOL_1 delete |
Change the settings of an existing I/O limit policy | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/iolimit -id IOL_1 set -name โHRโ -maxIOPS 1000 -noKBPS |
Display the settings for the specified I/O limit policy | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/iolimit show -detail |
Display the settings for the existing I/O limit configuration setting | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/iolimit/config show |
Enforces the use of I/O limits on the system | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/iolimit/config set -paused no |
UNITY UEMCLI DATA PROTECTION MANAGEMENT COMMANDS
Create a snapshot of a storage resource | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/snap create โname accounting โsource FS_1 -keepFor 1d |
View details about snapshots on the system | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/snap show -detail |
Attach snapshot SNAP_1 | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/snap โid SNAP1 attach โtype dynamic โroHosts HostA,HostB โrwHosts HostC,HostD |
Refresh a block snapshot | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/snap โid 38654705680 refresh โcopyName copy1 |
Replicate snapshots after they have been created | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/snap โid 38654705680 replicate -keepRemotelyFor 1d |
Detaches snapshot SNAP_1 | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/snap โid SNAP_1 detach |
Restore Snapshot | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/snap โid SNAP_1 restore |
Delete Snapshot | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/snap โid SNAP_1 delete |
Copy a snapshot | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/snap -id SNAP_1 copy โcopyName SNAP_Copy |
Change the settings of a snapshot | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/snap -id SNAP_1 set -newName MySnap |
Create a snapshot NFS share | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/snap/nfs create โname NFSshare -descr โSHARENAMEโ โsnap SNAP1 -path / -roHosts โHostA, HostBโ -rwHosts โHostCโ |
Lists the existing snapshot NFS shares | uemcli /prot/snap/nfs show -detail |
Modifies an existing snapshot NFS share | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/snap/nfs -id nfs_1 set -descr โSHARENAMEโ |
Delete (destroy) a snapshot NFS share | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/snap/nfs โid nfs_1 delete |
Create a snapshot CIFS (SMB) share | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/snap/cifs create โname CIFSshare -descr โSHARENAMEโ -path / |
Lists the existing snapshot CIFS (SMB) shares | uemcli /prot/snap/cifs show |
Modifies an existing snapshot CIFS (SMB) share | uemcli /prot/snap/cifs -id cifs_1 set -descr โMy shareโ |
Delete (destroy) a snapshot CIFS (SMB) share | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/snap/cifs โid smb_1 delete |
Create a replication session | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/rep/session create -name REP1 -srcRes RS_1 โdstType remote -dstSys RS_2 โdstRes LUN_2 โsyncType auto โrpo 02h30m |
View details about replication sessions | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/rep/session show {-detail} |
Change the settings for a replication session | uemcli /prot/rep/session โid 64518754321_AFCDEF34234A3B_0000_35674324567_ADCDF154321341_0000 set โsrcSPAInterface if_1 โsrcSPBInterface if_2 โdstSPAInterface if_3 โdstSPBInterface if_4 |
Manually synchronize a replication session | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/rep/session โid REPS_1 sync |
Delete a replication session | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/rep/session โid 64518754321_AFCDEF34234A3B_0000_35674324567_ADCDF154321341_0000 delete |
Fail over of a replication session | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/rep/session โid 64518754321_AFCDEF34234A3B_0000_35674324567_ADCDF154321341_0000 failover |
Fail back of a replication session | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/rep/session โid 64518754321_AFCDEF34234A3B_0000_35674324567_ADCDF154321341_0000 failback |
View the RPA CHAP account | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /remote/rpa/chap show |
Modify the RPA CHAP account | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /remote/rpa/chap set -outUsername admin -outSecret abcdef123456 |
View Data at Rest Encryption settings | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/encrypt show -detail |
Enable encryption setting for KMIP support | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/encrypt set -kmipEnabled yes |
View settings for KMIP support | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/encrypt/kmip show |
Change key management server parameters for KMIP support | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/encrypt/kmip set -username skoobee -passwd doobee -port 5696 -timeout 20 -addr 10.1.1.1 |
Verify the current connection to the KMIP server | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/encrypt/kmip verify |
UNITY UEMCLI DATA MOBILITY COMMANDS
Displays all existing import sessions on the system | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /import/session show -detail |
Create a block import session | uemcli -d 10.1.55.1 -u Local/username -p passwd123 import/session/block create -name lun_17_import -srcSys RS_65596 -srcRes 17 -lunPoolPairs 17:pool_1 -importAsVMwareDatastore yes |
Change the settings for a block import session | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /import/session/block โid import_1 set -name newName -throttle no -cutoverThreshold 5 |
Cut over block import session to the target system | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /import/session/block -id import_1 cutover |
Cancel an existing block import session | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /import/session/block -id import_1 cancel |
View details about import sessions for block | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /import/session/block show -detail |
Create a NAS import session | uemcli -d 10.1.55.1 -u Local/username -p passwd123 import/session/nas create -name MyName1 -srcSys RS_1 -srcRes src_vdm_to_migrate -targetResPool pool_1 -targetImportIf if_3 -productionIfPortPairs fsPoolPairs 100~200:pool_2,255:pool_3 -srcFsImportedAsVMWareDatastore 13,20~25,30 -skipServerParamCheckdefaultProductionPort spa_iom_0_eth0 -flrImport yes -unixDirectoryService directMatch -source_interface_1:spa_iom_0_eth1,source_interface_2:spa_iom_0_eth0 โ |
Change the settings for a NAS import session | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /import/session/nas โid import_1 set -name newName -targetResPool pool_2 -targetImportIf if_3 -productionIfPortPairs source_interface_1:spa_iom_0_eth1,source_interface_2:spa_iom_0_eth0 -fsPoolPairs 100~200:pool_2,255:pool_3 -srcFsImportedAsVMWareDatastore 17~20 โ srcFsImportedWithCompressionEnabled 31,40~45 |
Cut over a NAS import session | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /import/session/nas -id import_1 cutover |
Commit an existing NAS import session | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /import/session/nas -id import_1 commit |
Cancel an existing NAS import session | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /import/session/nas -id import_1 cancel |
View details about import sessions for NAS | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /import/session/nas show -detail |
Display import status for the specified import session | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /import/session/element -importId import_2 show -detail |
Create a LUN move session | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /move/session create -srcRes sv_1 โtargetPool pool_1 -priority above โthin yes โcompressed no |
Display details for a LUN move session | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /move/session show -detail |
Modify the settings of a move session | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /move/session โid MoveSession_1 set -priority below |
Delete a LUN move session | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /move/session โid movesession_1 delete |
Cancel a LUN move session that is in progress | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /move/session โid movesession_1 cancel |
UNITY UEMCLI EVENT AND ALERTS COMMANDS
View a detailed log of system events | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /event/log show -fromTime โ2017-01-05 00:00:00.000โ โto โ2017-01-05 23:59:59.999โ |
View a detailed list of all system alerts | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /event/alert/hist show |
Acknowledge specific alerts | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /event/alert/hist -id alert_2 ack |
Delete specific alerts | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /event/alert/hist -id alert_3 delete |
View the settings for how the system handles alerts | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /event/alert/conf show |
Configure the settings for how the system handles alerts | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /event/alert/conf set -emailFromAddr โ[email protected]โ -emailToAddrs โ[email protected],[email protected]โ โemailSeverity info -snmpSeverity error |
Create an SNMP trap destination for system alerts | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /event/alert/snmp create โhost 10.64.75.1 โport 333 โuserName user1 authProto md5 -authPassword authpassword1234 โprivProto des โprivPassword passwd123 |
View details about SNMP destinations | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /event/alert/snmp show |
Change the settings for an SNMP destination | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /event/alert/snmp โid Host1_323 set -authProto md5 -authPassword newauthpassword โprivProto des โprivPassword newpasswd |
Delete an SNMP destination | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /event/alert/snmp -id Host1_323 delete |
UNITY UEMCLI SYSTEM MAINTENANCE COMMANDS
Changes the service password | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /service/user set โpasswd NewPassword456! โoldpasswd OldPassword456! |
Restarts management software on the system | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /service/system restart |
Shuts down the system | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /service/system shutdown |
Reinitialize the storage system | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /service/system reinit |
Collect service information | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /service/system collect -serviceInfo {-type perfAssessment} |
Show a list of the system core dumps | uemcli -d 10.1.55.1 -u local/serviceuser -p Password /service/system/dump โid โmspb:logDaemon_:2017-12-25_01_33_22_473_logDaemon.xโ show |
Delete a core dump | uemcli -d 10.1.55.1 -u local/serviceuser -p Password /service/system/dump -id mspa:CP_:2018-01-22_15_11_39_13422_ECOM delete |
Enable SSH access to the system | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /service/ssh set -enabled yes |
Display SSH settings | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /service/ssh show |
Switch the storage processor to the service mode | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /service/sp -id spa service |
Reboot the storage processor | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /service/sp -id spa reboot |
Reimage the storage processor | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /service/sp -id spa reimage |
UNITY UEMCLI MANAGE METRICS COMMANDS
View the current metrics service settings | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /metrics/service show |
Enable historical metrics collection | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /metrics/service set -historyEnabled yes |
View information about supported metrics | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /metrics/metric show {-detail} |
Displays all available real-time metric service settings | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /metrics/metric -availability real-time show |
Displays metrics service settings for a specific path | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /metrics/metric -path sp.*.storage.lun.*.avgReadSize,sp.*.storage.filesystem.*.writesRate,sp.*.cifs.smb2.basic.readsRate show -detail |
View historical metrics settings | uemcli -d 10.1.55.1 -u Local/username -p passwd123 /metrics/value/hist -path sp.spa.storage.lun.sv_1.readsRate show -interval 60 -from 2017-01-24 01:42:00 -to โ2017-01-24 04:1 4 :00โ |
View real-time metrics settings | uemcli -d 10.1.55.1 -u Local/username -p passwd123 uemcli /metrics/value/rt -path sp.*.storage.lun.*.readsRate show -interval 10 |