Dell EMC Unity UEMCLI Commands Cheat Sheet

Photo of author
Written By Amit Singh

I am a technology enthusiast with 15 years of experience in SAN and NAS Storage. 

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:

  1. Using an UEMCLI program available for download from DellEMC site.
  2. 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 systemuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/general show -detail
    Displays the general settings for a virtual systemuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/general show
    Disable automatic failbackuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/general set –autoFailback off
    Fail back all NAS servers that have failed overuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/general failback
    Perform a health check of the systemuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/general healthcheck
    Displays the general setting information for the systemuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/info show
    Change System Informationuemcli -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 softwareuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/upgrade create –type software
    creates a session to upgrade the storage processoruemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/upgrade create –type sp –newSPModel SP500
    Display details about the hardware upgrade sessionuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/upgrade show
    Displays details about the software upgrade sessionuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/upgrade show
    Resume upgradeuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/upgrade resume
    Cancel upgrade sessionuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/upgrade cancel
    Display security settings for the systemuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/security show
    Changes system security settingsuemcli /sys/security set -fips140Enabled yes
    Display system timeuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/time show
    System rebootuemcli /sys/time set -utc “2018-01-17 12:16:30” -force allowreboot
    Display support configurationuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/support/config show
    Display detailed support configurationuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/support/config show -detail
    Specifies the support services proxy server parametersuemcli /sys/support/config set -supportProxyAddr 10.1.55.1 -supportProxyPort 8080 -supportProxyUser user1 -supportProxyPasswd password123 –supportProxyProtocol http
    Displays support contractsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/support/contract show
    Refresh support conractsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/support/contract refresh
    Display Centralized ESRS configurationuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/support/esrsc show -detail
    Check network connectivity from Centralized ESRS to EMCuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/support/esrsc checkNetwork -address 10.10.96.97
    Displays the Integrated ESRS configurationuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/support/esrsi show -detail
    Specifies the Integrated ESRS parametersuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/support/esrsi set -acceptEula yes
    Displays network connectivity for Integrated ESRSuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/support/esrsi checkNetwork
    Display Integrated ESRS policy Manager server configuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/support/esrsi/policymgr show -detail
    Change the Policy Manager and proxy server attributesuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/support/esrsi/policymgr set -enable no
    Show configuration details for Connect Homeuemcli -d 10.1.55.1 -u admin -p Password /sys/support/connecthome show -detail
    Enable Connect Home and specify SMTP serveruemcli -d 10.1.55.1 -u local/username -p Password /sys/support/connecthome set –enable yes –smtpServer 10.10.99.99
    Test email alertuemcli -d 10.1.55.1 -u local/username -p Password /sys/support/connecthome test
    Displays a list of user roles on the systemuemcli -d 10.1.55.1 -u Local/username -p passwd123 /user/role show -detail
    Create user account with operator roleuemcli -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 systemuemcli -d 10.1.55.1 -u Local/username -p passwd123 /user/account show
    Change password for user account user_user1uemcli -d 10.1.55.1 -u Local/username -p passwd123 /user/account –id user_user1 set –passwd NewPassword –oldpasswd OldPassword
    Delete user account user_user1uemcli -d 10.1.55.1 -u Local/username -p passwd123 /user/account -id user_user1 delete
    Display support credentialsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/support/account show
    Display list of all feature licenses on the systemuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/limit show -detail
    Display list of all feature licenses on the systemuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/lic show
    This command accepts the EULAuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/eula set -agree yes
    Create remote manager configurationuemcli /sys/ur create -addr 10.10.0.1 -certificate 2fd4e1c67a2d28fced849ee1bb76e7391b93eb12 -passphrase password
    Display Unisphere Central manager configurationuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/ur show
    Display settings for remote system logginguemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/rlog show
    Configure remote system logging with these settingsuemcli -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 certificateuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/cert -id vasa_http-vc1-servercert-1 delete
    Display details about all schedulesuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/task/sched show
    Delete schedule MySchedIDuemcli -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 scheduleuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/task/rule –sched SCHD_3 show
    Delete a task ruleuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/task/rule –id RULE_1 delete
    Display list of all jobsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/task/job show {-detail}
    Resume an existing jobuemcli -d 10.1.55.1 -u Local/username -p passwd123 /sys/task/job -id N-23564 resume
    Display list of steps of the specified jobuemcli /sys/task/job/step -jobId N-23654 show {-detail}

    Unity UEMCLI NETWORK MANAGEMENT COMMANDS

    Create a NAS serveruemcli -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 serversuemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/server show -detail
    Uses LDAP as the Unix Directory Serviceuemcli -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_1uemcli -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_1uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/server -id nas_1 set -sp spb
    Delete NAS server nas_1uemcli -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_1uemcli -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 serveruemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/ftp show
    View LDAP settings of a NAS serveruemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/ldap -server nas_1 show -detail
    Create a new NAS interfaceuemcli -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 systemuemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/if show
    Change the gateway address for interface IF_1uemcli -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_1uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/if –id IF_1 delete
    Create a network route for interface if_1uemcli -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 systemuemcli -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_1uemcli -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 Serversuemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/kerberos show
    Display information for VLANs that are in useuemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/vlan show -from 100 -inUse yes
    Create a CIFS serveruemcli -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 settingsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/cifs show
    Delete a CIFS serveruemcli -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_1uemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/nfs create -server nas_1 -v4 yes -secure yes
    Display NFS server settingsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/nfs show -detail
    Change credit cache retention period for an NFS serveruemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/nfs -id nfs_1 set -credCacheRetention 20
    Delete an existing NFS serveruemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/nfs -id nfs_1 delete
    View details about CAVA settingsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/cava show
    Modify CAVA settingsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/cava -server nas_1 set -enabled yes
    View details about CEPA configuration settingsuemcli /net/nas/event/config -server nas_1 show -detail
    Enable Event Publishing and set the post-event policyuemcli /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 onuemcli /net/nas/event/pool create -server nas_1 -name mypool1 -addr 10.1.2.100 -postEvents CreateFile,DeleteFile
    View details about a CEPA pooluemcli /net/nas/event/pool -server nas_1 show
    Change the name for a CEPA pooluemcli /net/nas/event/pool -id cepa_pool_1 set -name TestCepaPool
    Delete a CEPA pooluemcli /net/nas/event/pool –id cepa_pool_1 delete
    Create VMware protocol endpoints servers for File Vvolsuemcli -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 Vvolsuemcli -d 10.1.55.1 -u Local/username -p passwd123/net/nas/vmwarepe show -detail
    Delete a VMware protocol endpoints serveruemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/vmwarepe –id PES_0 delete
    View details about the iSCSI configurationuemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/iscsi/config show
    List all iSCSI nodes on the systemuemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/iscsi/node show
    Change the network interface alias assigned to the nodeuemcli -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 portsuemcli /net/port/eth show
    sets the MTU size for Ethernet port 0 (eth0) on SP A to 9000buemcli /net/port/eth –id spa_eth0 set –mtuSize 9000
    View details about the FC portsuemcli -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 Gbpsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/port/fc –id spa_fc1 set –speed 1Gbps
    View details about uncommited portsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/port/unc show -detail
    View a list of interfaces on the systemuemcli /net/if/mgmt show
    Change the settings for an interfaceuemcli /net/if/mgmt set -ipv4 static -addr 192.168.1.199 -netmask 255.255.255.0 -gateway 192.168.1.254
    Create a replication interfaceuemcli -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 systemuemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/if show -detail
    Change the gateway address for interface IF_1uemcli -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 interfaceuemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/if –id IF_1 delete
    Create an IP routeuemcli -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 routesuemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/route show -detail
    Modify an existing IP routeuemcli -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 routeuemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/route –id RT_1 delete
    Create a link aggregationuemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/la create -ports “eth0_SPA,eth1_SPA”
    Show the link aggregations on the systemuemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/la show
    Change the settings of a link aggregationuemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/la –id la0_SPA set –mtuSize 9000
    Delete a link aggregationuemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/la –id la0_SPA delete
    Configure the DNS settings for the storage systemuemcli -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 defaultuemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/dns/config show
    View details about configured DNS server domainsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/dns -server nas_1 show -detail
    Configure a DNS server domainuemcli -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 serveruemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/ntp/server create –server ntp.thesanguy.com
    View details about the NTP serveruemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/ntp/server show
    Configure the NTP server settinguemcli -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 settingsuemcli -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 domainsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/nis show -detail
    Add NIS server addresses to an NIS server domainuemcli -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 serversuemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/smtp show
    Specify the IP addresses for the SMTP server settinguemcli -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 disableduemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/ndmp show
    Enable NDMPuemcli -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 settingsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/ldap show
    Update a configured LDAP settinguemcli -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 serveruemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/ldap –id LDAP_1 verify
    Delete an LDAP settinguemcli -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 interfaceuemcli /net/util ping -srcIf if_0 -addr 10.1.55.1
    Display the route from the specified interface to a remote hostuemcli /net/util/traceroute -srcIf if_0 -addr 10.1.55.1
    Displays DHSM settingsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /net/nas/dhsm show
    Modify Distributed Hierarchical Storage Management settingsuemcli -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 connectionuemcli /net/nas/dhsmconn create -filesystem fs_1 -secondaryUrl http://10.1.0.115/export/dhsm1
    View details for DHSM connectionsuemcli /net/nas/dhsmconn –fs fs_1 show
    Modify settings for an existing DHSM connectionuemcli /net/nas/dhsmconn –id dhsmconn_1 modify -mode recallOnly
    Deletes an existing HTTP connectionuemcli /net/nas/dhsmconn –id dhsmconn_1 delete -recallPolicy no

    Unity UEMCLI HOST MANAGEMENT COMMANDS

    Create a host configurationuemcli -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 configurationuemcli -d 10.1.55.1 -u Local/username -p passwd123 /remote/host show -brief
    Change the settings for a host configurationuemcli -d 10.1.55.1 -u Local/username -p passwd123 /remote/host –id 1014 set -descr “Storage Team” –osType winxp
    Delete a host configurationuemcli -d 10.1.55.1 -u Local/username -p passwd123 /remote/host –id 999 delete
    Lists all host LUNs on host Host_3uemcli -d 10.1.55.1 -u Local/username -p passwd123 /remote/host/hlu -host Host_3 show -detail
    Change the host LUN IDuemcli -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 configurationuemcli -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 initiatorsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /remote/initiator show
    Modify an already created initiatoruemcli -d 10.1.55.1 -u Local/username -p passwd123 /remote/initiator -id 1058 set -host 1099
    List all initiator paths on the systemuemcli -d 10.1.55.1 -u Local/username -p passwd123 /remote/initiator/path show
    Configures a remote system configuration for local accessuemcli -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 systemuemcli -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 systemuemcli -d 10.1.55.1 -u Local/username -p passwd123 /remote/sys show -detail
    Changes the configuration settings for a remote systemuemcli -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 systemuemcli -d 10.1.55.1 -u Local/username -p passwd123 /remote/sys –id RS_1 delete
    Add virtual center credentialsuemcli -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 serveruemcli /virt/vmw/vc -id VC_1 set -descr “This vCenter manages 5 Executive hosts”
    Remove an existing VMware vCenter server and its ESXi hostsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /virt/vmw/vc -id VC_1 delete
    Displays a list of configured VMware vCenter serversuemcli -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 hostuemcli -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 credentialsuemcli -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 hostsuemcli -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 serveruemcli -d 10.1.55.1 -u Local/username -p passwd123 /virt/vmw/esx discover -vc VC_1
    Rescan details of a VMware ESXi hostuemcli -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 hostsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /virt/vmw/vm -esx ESX_1 show
    Manage hard disk properties for VMware virtual machinesuemcli -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 drivesuemcli -d 10.1.55.1 -u Local/username -p passwd123 /env/disk show
    Display the details of all drives on the systemuemcli -d 10.1.55.1 -u Local/username -p passwd123 /env/disk show -detail
    Rescan the system for available virtual disksuemcli -d 10.0.0.2 -u Local/username -p passwd123 /env/disk rescan
    Change settings of an existing diskuemcli -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 batteriesuemcli -d 10.1.55.1 -u Local/username -p passwd123 /env/bat show
    View a list of system power suppliesuemcli -d 10.1.55.1 -u Local/username -p passwd123 /env/ps show
    View a list of LCCsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /env/lcc show
    View a list of system SSDsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /env/ssd show
    View a list of system DAEsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /env/dae show
    View details of the system DPEuemcli -d 10.1.55.1 -u Local/username -p passwd123 /env/dpe show
    View a list of system memory modulesuemcli -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 modulesuemcli -d 10.1.55.1 -u Local/username -p passwd123 /env/fan show
    View details about I/O modules in the systemuemcli -d 10.1.55.1 -u Local/username -p passwd123 /env/iomodule show

    UNITY UEMCLI STORAGE MANAGEMENT COMMANDS

    Create a dynamic pooluemcli -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 poolsuemcli -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 poolsuemcli -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 disksuemcli -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_1uemcli -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 capacityuemcli -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 poolsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/pool show -detail
    Show all pools for a model that supports dynamic poolsuemcli -d 10.0.0.2 -u Local/username -p passwd123 /stor/config/pool show -detail
    Shows details for all pools on a virtual systemuemcli -d 10.0.0.2 -u Local/username -p passwd123 /stor/config/pool show -detail
    Delete a pooluemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/pool –id pool_1 delete
    Modify FAST VP settings on an existing pooluemcli -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 pooluemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/pool/fastvp –show -detail
    Start data relocation on a pooluemcli -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 pooluemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/pool/fastvp –pool pool_1 stop
    Show tier details about the specified pooluemcli -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 pooluemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/pool/sr -pool pool_1 show -detail
    Change FAST VP general settingsuemcli -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 settingsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/fastvp show -detail
    Configure FAST Cacheuemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/fastcache create -diskGroup dg9 -drivesNumber 6 -enableOnExistingPools
    View the FAST Cache parametersuemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/fastcache show -detail
    Extend the FAST Cache by adding more drivesuemcli -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 objectsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/fastcache shrink –so rg_1
    Delete the FAST Cache configurationuemcli -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 drivesuemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/fastcache/so show
    Show details for storage profilesuemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/profile -configurable show
    View details about drive groups on the systemuemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/dg show -detail
    View the current storage system capacity settingsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/general/system show
    View the current system tier capacity settingsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/general/tier show
    View details about a file systemuemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/fs -id res_99 show
    Specify Event Publishing protocolsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/fs -id res_99 set -eventProtocols nfs,cifs
    Delete a file systemuemcli -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 quotauemcli -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_1uemcli -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 fsuemcli -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_1uemcli -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 fsuemcli -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 NFSuemcli -u admin -p Password123! /stor/prov/fs/nfs create -name testnfs112 -fs res_26 -path “mypath”
    View details of an NFS shareuemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/fs/nfs show -detail
    Delete an NFS shareuemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/fs/nfs –id NFSShare_1 delete
    Creates a CIFS shareuemcli -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 sharesuemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/fs/cifs show
    Set the description of CIFS shareuemcli -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) shareuemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/fs/cifs –id CIFSShare_1 delete
    Create a LUNuemcli -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 LUNsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/luns/lun show
    Change the settings of a LUNuemcli -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 LUNuemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/luns/lun -id lun_1 delete
    Refresh a LUN’s thin cloneuemcli -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 groupuemcli -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 groupsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/luns/group show -detail
    Change the settings for a consistency groupuemcli -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 groupuemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/luns/group -id group_1 delete
    Create an NFS datastoreuemcli -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 datastoreuemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/vmware/nfs show
    Change the settings for an NFS datastoreuemcli -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 datastoreuemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/vmware/nfs -id NFSDS_1 delete
    Create a VMFS datastoreuemcli -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 datastoresuemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/vmware/vmfs show
    Change the settings for a VMFS datastoreuemcli -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 datastoreuemcli -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 datastoreuemcli -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 characteristicsuemcli -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 Vvolsuemcli -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 characteristicsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/vmware/vvolds show -detail
    Modify an existing VVol datastoreuemcli -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 volumesuemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/vmware/vvolds -id res_1 delete -force yes
    Display existing VVol datastore allocationsuemcli /stor/prov/vmware/vvolds/alloc -vvolds vvolds_1 -pool pool_1 show -detail
    Display a list of existing VVol datastores and their characteristicsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/vmware/vvol –vm VM_1 show -detail
    Deletes the specified existing VVol objectsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/prov/vmware/vvol –id naa.6006016005603c009370093e194fca3f delete
    Create a capability profile for VVol datastoresuemcli -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 characteristicsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/cp show -detail
    Modify an existing capability profileuemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/cp -id cp_1 set -name “CapabilityProfile2”
    Deletes specified capability profilesuemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/cp -id cp_1 delete
    Create an I/O limit policyuemcli -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 policyuemcli -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 policyuemcli -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 policyuemcli -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 settinguemcli -d 10.1.55.1 -u Local/username -p passwd123 /stor/config/iolimit/config show
    Enforces the use of I/O limits on the systemuemcli -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 resourceuemcli -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 systemuemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/snap show -detail
    Attach snapshot SNAP_1uemcli -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 snapshotuemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/snap –id 38654705680 refresh –copyName copy1
    Replicate snapshots after they have been createduemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/snap –id 38654705680 replicate -keepRemotelyFor 1d
    Detaches snapshot SNAP_1uemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/snap –id SNAP_1 detach
    Restore Snapshotuemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/snap –id SNAP_1 restore
    Delete Snapshotuemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/snap –id SNAP_1 delete
    Copy a snapshotuemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/snap -id SNAP_1 copy –copyName SNAP_Copy
    Change the settings of a snapshotuemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/snap -id SNAP_1 set -newName MySnap
    Create a snapshot NFS shareuemcli -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 sharesuemcli /prot/snap/nfs show -detail
    Modifies an existing snapshot NFS shareuemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/snap/nfs -id nfs_1 set -descr “SHARENAME”
    Delete (destroy) a snapshot NFS shareuemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/snap/nfs –id nfs_1 delete
    Create a snapshot CIFS (SMB) shareuemcli -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) sharesuemcli /prot/snap/cifs show
    Modifies an existing snapshot CIFS (SMB) shareuemcli /prot/snap/cifs -id cifs_1 set -descr “My share”
    Delete (destroy) a snapshot CIFS (SMB) shareuemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/snap/cifs –id smb_1 delete
    Create a replication sessionuemcli -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 sessionsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/rep/session show {-detail}
    Change the settings for a replication sessionuemcli /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 sessionuemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/rep/session –id REPS_1 sync
    Delete a replication sessionuemcli -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 sessionuemcli -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 sessionuemcli -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 accountuemcli -d 10.1.55.1 -u Local/username -p passwd123 /remote/rpa/chap show
    Modify the RPA CHAP accountuemcli -d 10.1.55.1 -u Local/username -p passwd123 /remote/rpa/chap set -outUsername admin -outSecret abcdef123456
    View Data at Rest Encryption settingsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/encrypt show -detail
    Enable encryption setting for KMIP supportuemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/encrypt set -kmipEnabled yes
    View settings for KMIP supportuemcli -d 10.1.55.1 -u Local/username -p passwd123 /prot/encrypt/kmip show
    Change key management server parameters for KMIP supportuemcli -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 serveruemcli -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 systemuemcli -d 10.1.55.1 -u Local/username -p passwd123 /import/session show -detail
    Create a block import sessionuemcli -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 sessionuemcli -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 systemuemcli -d 10.1.55.1 -u Local/username -p passwd123 /import/session/block -id import_1 cutover
    Cancel an existing block import sessionuemcli -d 10.1.55.1 -u Local/username -p passwd123 /import/session/block -id import_1 cancel
    View details about import sessions for blockuemcli -d 10.1.55.1 -u Local/username -p passwd123 /import/session/block show -detail
    Create a NAS import sessionuemcli -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 sessionuemcli -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 sessionuemcli -d 10.1.55.1 -u Local/username -p passwd123 /import/session/nas -id import_1 cutover
    Commit an existing NAS import sessionuemcli -d 10.1.55.1 -u Local/username -p passwd123 /import/session/nas -id import_1 commit
    Cancel an existing NAS import sessionuemcli -d 10.1.55.1 -u Local/username -p passwd123 /import/session/nas -id import_1 cancel
    View details about import sessions for NASuemcli -d 10.1.55.1 -u Local/username -p passwd123 /import/session/nas show -detail
    Display import status for the specified import sessionuemcli -d 10.1.55.1 -u Local/username -p passwd123 /import/session/element -importId import_2 show -detail
    Create a LUN move sessionuemcli -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 sessionuemcli -d 10.1.55.1 -u Local/username -p passwd123 /move/session show -detail
    Modify the settings of a move sessionuemcli -d 10.1.55.1 -u Local/username -p passwd123 /move/session –id MoveSession_1 set -priority below
    Delete a LUN move sessionuemcli -d 10.1.55.1 -u Local/username -p passwd123 /move/session –id movesession_1 delete
    Cancel a LUN move session that is in progressuemcli -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 eventsuemcli -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 alertsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /event/alert/hist show
    Acknowledge specific alertsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /event/alert/hist -id alert_2 ack
    Delete specific alertsuemcli -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 alertsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /event/alert/conf show
    Configure the settings for how the system handles alertsuemcli -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 alertsuemcli -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 destinationsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /event/alert/snmp show
    Change the settings for an SNMP destinationuemcli -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 destinationuemcli -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 passworduemcli -d 10.1.55.1 -u Local/username -p passwd123 /service/user set –passwd NewPassword456! –oldpasswd OldPassword456!
    Restarts management software on the systemuemcli -d 10.1.55.1 -u Local/username -p passwd123 /service/system restart
    Shuts down the systemuemcli -d 10.1.55.1 -u Local/username -p passwd123 /service/system shutdown
    Reinitialize the storage systemuemcli -d 10.1.55.1 -u Local/username -p passwd123 /service/system reinit
    Collect service informationuemcli -d 10.1.55.1 -u Local/username -p passwd123 /service/system collect -serviceInfo {-type perfAssessment}
    Show a list of the system core dumpsuemcli -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 dumpuemcli -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 systemuemcli -d 10.1.55.1 -u Local/username -p passwd123 /service/ssh set -enabled yes
    Display SSH settingsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /service/ssh show
    Switch the storage processor to the service modeuemcli -d 10.1.55.1 -u Local/username -p passwd123 /service/sp -id spa service
    Reboot the storage processoruemcli -d 10.1.55.1 -u Local/username -p passwd123 /service/sp -id spa reboot
    Reimage the storage processoruemcli -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 settingsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /metrics/service show
    Enable historical metrics collectionuemcli -d 10.1.55.1 -u Local/username -p passwd123 /metrics/service set -historyEnabled yes
    View information about supported metricsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /metrics/metric show {-detail}
    Displays all available real-time metric service settingsuemcli -d 10.1.55.1 -u Local/username -p passwd123 /metrics/metric -availability real-time show
    Displays metrics service settings for a specific pathuemcli -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 settingsuemcli -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 settingsuemcli -d 10.1.55.1 -u Local/username -p passwd123 uemcli /metrics/value/rt -path sp.*.storage.lun.*.readsRate show -interval 10

    I am a technology enthusiast with 15 years of experience in SAN and NAS Storage. I work with one of the fortune 500 companies as SAN Storage Architect.

    Leave a Comment

    This site uses Akismet to reduce spam. Learn how your comment data is processed.