Tag Archives: guide

Dell EMC Unity Unisphere CLI Command Reference Guide (UEMCLI)

This is a list of syntax examples for using uemcli on a Unity array.  It covers system management, networking, host management, hardware,  storage management, data protection and mobility, events and alerts, andsystem maintenance.  Install the UEMCLI on your client machine or open an ssh session to the unity array as uemcli is already accessible there.

This post is designed to help quickly find the general syntax of uemcli commands and be short enough to print out a copy.  For details on all of the specific options for each of these commands I recommend downloading the (612 page long) Dell EMC CLI Reference Guide.

System Management
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 x@mail.com -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}
Network
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
Host Management
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 administrator@vsphere.local -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
Hardware
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
Storage Management
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
Data Protection
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
Data Mobility
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
Events and Alerts
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 “from@mail.com” -emailToAddrs “x@mail.com,z@mail.com” –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
System Maintenance
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
Manage Metrics
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
Advertisements

Adding/Removing modules from a datamover

I recently had an issue where a brand new datamover installed by EMC would not allow me to make it a standby for the existing datamovers.  It turns out that the hardware (specifically the number of FC and ethernet interfaces) must match PRECISELY, the number of ports and the slots the modules are installed in have to match across all datamovers.

The new datamover that was installed had an extra 4 port ethernet module installed in it.  Below is the procedure I used to remove the module, including all the commands to take it down, reconfigure it, and bring it back up successfully.  Removing the extra module solved the problem, it matched the config of the others and allowed me to configure it as a standby.

First, log in to the CLI on the control station with root priviliges.  Next, just run the commands below in order.

Turn off connecthome and emails to avoid false alarms.
 /nas/sbin/nas_connecthome -service stop
 /nas/bin/nas_emailuser -modify -enabled no
 /nas/bin/nas_emailuser -info

Copy and paste this to save, it will list the current datamover config.
 nas_server -i -a

Run this to shut the datamover down.  Run getreason to verify when it’s down.
 server_cpu server_<x> -halt now
 /nasmcd/sbin/getreason

Remove/replace the module now.

Power the datamover back on.
 /nasmcd/sbin/t2reset pwron -s <slot number>

Watch getreason for status
 /nasmcd/sbin/getreason
(Wait for it to reboot and say ‘Hardware Misconfigured’)

Once it is in a ‘misconfigured’ state, run setup_slot to configure it:
 /nasmcd/sbin/setup_slot -i 4

Run this command to view the current hardware config, verify that your change was made:
 server_sysconfig server_4 -p

Restart connecthome and email services.
 /nas/sbin/nas_connecthome -service start -clear
 /nas/sbin/nas_connecthome -i
 /nas/bin/nas_emailuser -modify -enabled yes
 /nas/bin/nas_emailuser -info

That’s it!  your datamover has been updated and reconfigured.

VNX NAS CLI Command Reference Guide

vnx1.jpg

Other CLI Reference Guides:
Isilon CLI  |  EMC ECS CLI  |  VNX NAS CLI  |  ViPR Controller CLI  NetApp Clustered ONTAP CLI  |  Data Domain CLI  |  Brocade FOS CLI

This VNX NAS CLI reference guide includes command syntax samples for more commonly used commands at the top, and a list of available commands at the bottom with a brief description of their function.  Here are some other posts on my blog that provide more specific examples of using some CLI commands, with additional detail and some scripting examples:

Undocumented VNX CLI Commands
Using the Database Query option with the VNX NAS CLI
Celerra Health Check CLI Commands
Testing Disaster Recovery with VDM’s and CIFS Servers
Checking Replication Job Throughput with the CLI
Collecting info on Actives Shares, Clients, Protocols, & Authentication with the CLI
Listing and Counting Multiprotocol File Systems from the CLI

VNX NAS CLI Command Reference (Updated January 2018):

NAS Commands:
nas_disk   -list Lists the disk table
nas_checkup Runs a system health check.
nas_pool   -size -all Lists available space on each defined storage pool
nas_replicate  -info –all | grep <fs> Info about each filesystem’s replication status, grep to view just one.
nas_replicate  -list A list of all current replications
nas_server  -list Lists all datamovers. 1=primary,4=standby,6=rdf (remote data facility)
<watch> /nas/sbin/getreason Shows current status of each datamover. 5=up, 0=down or rebooting
nas_fs Creates, deletes, extends, modifies, and lists filesystems.
nas_config Control station configuration (requires root login)
nas_version View current nas revision
nas_ckpt_schedule Manage  checkpoint schedule
nas_storage -list List the attached backend storage systems (with ID’s)
nas_storage -failback id=<x> Fail back failed over SP’s or disks
nas_server  -vdm <vdm_name> -setstate loaded Loads a VDM
nas_server  -vdm <vdm_name> -setstate mounted Unloads a VDM
/nas/sbin/t2reset pwron -s Powers on a data mover that has been shut down.
Server commands:
server_cpu server_<x> -r now Reboots a datamover
server_ping <IP> Ping any IP from the control station
server_ifconfig server_2 –all View all configured interfaces
server_route server_2 {-list,flush,add,delete} Routing table commands
server_mount Mount a filesystem
server_export Export a filesystem
server_stats Provides realtime stats for a datamover, many different options.
server_sysconfig Modifies hardware config of the data movers.
server_devconfig Configures devices on the data movers.
server_sysstat Shows current Memory, CPU, and thread utilization
server_log server_2 Shows current log
vi /nas/jserver/logs/system_log Java System log
vi /var/log/messages System Messages
server_ifconfig server_2 <interface_name> up Bring up a specific interface
server_ifconfig server_2 <interface_name> down Take a specific interface down
server_date Sets system time and NTP server settings
server_date <server_X> timesvc start ntp Starts NTP on a data mover
server_date <server_X> timesvc stats ntp To view the status of NTP.
server_date <server_X> timesvc update ntp Forces an update of NTP
server_file FTP equivalent command
server_dns Configure DNS
server_cifssupport Support services for CIFS users
nas_ckpt_schedule -create <ckpt_fs_name> -filesystem -recurrence once To create a single Checkpoint
fs_ckpt <ckpt_fs_name> -name -Create -readonly n To create a Read/Write copy of a single Checkpoint
server_export [vdm] -P cifs -name [filesystem]_ckpt1 -option netbios=[cifserver] [filesystem]_ckpt1_writeable1 To export a Read/Write checkpoint copy to a CIFS Share
server_cifs server_2 -Join compname=SERVERNAME,domain=DOMAIN.COM,admin=ADMINID Join a CIFS Server to the domain
server_cifs server_2 -Unjoin compname=SERVERNAME,domain=DOMAIN.COM,admin=ADMINID Unjoin a CIFS Server to the domain
 .server_config server_2 -v “pdc dump” To view the current domain controllers visible on the data mover
.server_config server_2 -v “pdc enable=<ip_address>” Enable a domain controller
.server_config server_2 -v “pdc disable=<ip_address>” Disable a domain controller
server_setup server_2 -P cifs -o stop Stop CIFS Service
server_setup server_2 -P cifs -o start Start CIFS Service
server_iscsi server_2 -service -start Start iSCSI service
server_iscsi server_2 -service -stop Stop iSCSI service
server_iscsi server_2 -service -status Check the status of the iSCSI service
.server_config  server_x  “logsys set  severity  NDMP=LOG_DBG2” Enable NDMP Logging [run both of these commands]
.server_config  server_x  “logsys set  severity  PAX=LOG_DBG2” Enable NDMP Logging [run both of these commands]
.server_config  server_x  “logsys  set severity  NDMP=LOG_ERR” Disable NDMP Logging [run both of these commands]
.server_config  server_x  “logsys set severity   PAX=LOG_ERR” Disable NDMP Logging [run both of these commands]
server_netstat server_x -i               Interface statistics Gather interface performance statistics
server_sysconfig server_x -v         Lists virtual devices List Virtual Devices
server_sysconfig server_x -v -i vdevice_name  Informational stats on the virtual device Informational stats on the virtual device
server_netstat server_x -s -a tcp  Retransmissions Retransmissions
server_nfsstat server_x                    NFS SRTs NFS SRTs
server_nfsstat server_x -zero        Reset NFS stats Reset NFS Stats
To view HBA Statistics:
.server_config server_2 -v “printstats fcp reset” View HBA Stats:  Toggles the service on/off
.server_config server_2 -v “printstats fcp full” View HBA Stats:  View stats table (must wait for some stats to collect before viewing)
Filesystem specific commands:
fs_ckpt Manage Checkpoints
fs_dhsm Manage File Mover
fs_group Manage filesystem groups
Complete List of  “nas_”  Commands:
nas_acl Creates, lists, and displays information for access control level entries within the table
nas_ckpt_schedule Manages SnapSure checkpoint scheduling for the VNX
nas_dbtable Displays the table records of the Control Station.
nas_emailuser Manages email notifications for serious system events
nas_inventory Provides detailed information about hardware components
nas_pool Manages the user-defined and system-defined storage pools
nas_slice Manage Slices
nas_task Manages in-progress or completed tasks
nas_automountmap Creates and displays an automount map containing all permanently exported file systems
nas_cmd nas_cmd
nas_devicegroup Manages an established MirrorView/Synchronous consistency group
nas_event Provides a user interface to system-wide events
nas_license Enables software packages.
nas_quotas Manages quotas for mounted file systems.
nas_stats Manages Statistics Groups.
nas_version Displays the software version running on the Control Station.
nas_cel Performs management of remotely linked VNX or a linked pair of Data Movers.
nas_copy Creates a replication session for a one-time copy of a file system.
nas_disk Manages the disk table.
nas_fs Manages local file systems for the VNX.
nas_logviewer Displays the content of nas_eventlog generated log files.
nas_replicate Manages loopback, local, and remote VNX Replicator sessions.
nas_storage Controls storage system access and performs some management tasks
nas_volume Manages the volume table.
nas_checkup Provides a system health checkup for the VNX.
nas_cs Manages the configuration properties of the Control Station.
nas_diskmark Queries the system, manages and lists the SCSI devices configuration.
nas_fsck Manages fsck and aclchk utilities on specified file systems.
nas_message Displays message description.
nas_server Manages the Data Mover (server) table.
nas_symm nas_symm
nas_xml nas_xml
Complete list of  “server_”  Commands:
server_archive Reads and writes file archives, and copies directory hierarchies.
server_cifssupport Provides support services for CIFS users.
server_file Copies files between the Control Station and the specified Data Movers.
server_log Displays the log generated by the specified Data Mover.
server_name Manages the name for the specified Data Movers.
server_ping6 Checks the IPv6 network connectivity for the specified Data Movers.
server_sysconfig Manages the hardware configuration for the specified Data Mover(s).
server_vtlu Configures a virtual tape library unit (VTLU) on the specified Data Movers
server_arp Manages the Address Resolution Protocol (ARP) table for the Data Movers.
server_cpu Performs an orderly, timed, or immediate halt or reboot of a Data Mover.
server_ftp Configures the FTP server configuration for the specified Data Movers.
server_mgr server_mgr (deprecated?)
server_netstat Displays the network statistics for the specified Data Mover.
server_rip Manages the Routing Information Protocol (RIP) configuration
server_sysstat Displays the operating system statistics for the specified Data Movers.
server_cdms Provides File Migration Service for VNX functionality
server_date Displays or sets the date and time for a Data Mover, and synchronizes time
server_http Configures the HTTP configuration file for independent services
server_mount Mounts file systems and manages mount options
server_nfs Manages the NFS service, including secure NFS and NVSv4
server_route Manages the routing table for the specified Data Movers.
server_tftp Manages the Trivial File Transfer Protocol (TFTP)
server_cepp Manages the Common Event Publishing Agent (CEPA) service
server_dbms Enables backup and restore of databases, displays database environment statistics.
server_ifconfig Manages the network interface configuration
server_mountpoint Manages mount points for the specified Data Movers.
server_nfsstat server_nfsstat (deprecated?)
server_security Manages GPO Policy settings for CIFS Servers
server_umount Unmounts file systems
server_certificate Manages VNX for file system’s Public Key Infrastructure (PKI)
server_devconfig Queries, saves, and displays the SCSI over Fibre Channel device configuration
server_ip Manages the IPv6 neighbor cache and route table for VNX.
server_mpfs Sets up and configures MPFS protocol.
server_nis Manages the Network Information Service (NIS) configuration
server_setup Manages the type and protocol component for the specified Data Movers.
server_uptime Displays the length of time that a specified Data Mover has been running since the last reboot
server_checkup Checks the configuration parameters, and state of a Data Mover and its dependencies
server_df Reports free and used disk space and inodes for mounted file systems
server_iscsi server_iscsi (deprecated?)
server_mpfsstat server_mpfsstat (deprecated?)
server_param Manages parameter information for the specified Data Movers.
server_snmpd Manages the Simple Network Management Protocol (SNMP) config values
server_usermapper Provides an interface to manage the Internal Usermapper service.
server_cifs Manages the CIFS configuration for the specified Data Movers or VDMs
server_dns Manages the Domain Name System (DNS) lookup server config
server_kerberos Manages the Kerberos configuration within the specified Data Movers.
server_mt Manages the magnetic tape drive for the specified Data Mover.
server_pax Displays and resets backup and restore statistics and file system information for a backup session already in progress.
server_standby Manages the standby and RDF relationships for the specified Data Movers.
server_version Displays the software version running on the specified Data Movers.
server_cifsstat server_cifsstat (deprecated?)
server_export Exports file systems and manages access on the specified Data Movers for NFS/CIFS clients
server_ldap Manages the LDAP-based directory client configuration and LDAP over SSL
server_muxconfig server_muxconfig (deprecated?)
server_ping Checks the network connectivity for the specified Data Movers.
server_stats Displays sets of statistics that are running on the specified Data Mover.
server_viruschk Manages the virus checker configuration for the specified Data Movers.
Complete list of  “fs_” Commands:
fs_ckpt Manages checkpoints using the EMCSnapSure functionality.
fs_dedupe Manages filesystem deduplication state.
fs_dhsm Manages the VNX FileMover file system connections.
fs_group Creates a file system group from the specified file systems or a single file system
fs_rdf Manages the Remote Data Facility (RDF) functionality for a file system residing on RDF drives.
fs_timefinder Manages the TimeFinderTM/FS functionality for the specified filesystem

A Roundup of Storage Startups

Blockchain and Enterprise Storage