Tag Archives: navicli

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 a Celerra to a Clariion storage domain from the CLI

If you’re having trouble joining your Celerra to the storage domain from Unisphere, there is an EMC service Workaround for Joining it from the Navisphere CLI. When attempting it from Unisphere, it would appear to work and allow me to join but would never actually show up on the domain list.  Below is a workaround for the problem that worked for me. Run these commands from the Control Station.

Run this first:

curl -kv “hps://<Celerra_CS_IP>/cgi-bin/set_incomingmaster?master=<Clariion_SPA_DomainMaster_IP>,”

Next, run the following navicli command to the domain master in order to add the Celerra Control Station to the storage domain:

/nas/sbin/naviseccli -h 10.3.215.73 -user <userid> -password <password> -scope 0 domain -add 10.32.12.10

After a successful Join the /nas/http/domain folder should be populated with the domain_list, domain_master, and domain_users files.

Run this command to verify:

ls -l /nas/http/domain

You should see this output:

-rw-r–r– 1 apache apache 552 Aug  8  2011 domain_list
-rw-r–r– 1 apache apache  78 Feb 15  2011 domain_master
-rw-r–r– 1 apache apache 249 Oct  5  2011 domain_users
 

You can also check the domain list to make sure that an entry has been made.

Run this command to verify:

/nas/sbin/naviseccli -h <Clariion_SPA_DomainMaster_IP> domain -list

You should then see a list of all domain members.  The output will look like this:

Node:                     <DNS Name of Celerra>
IP Address:           <Celerra_CS_IP>
Name:                    <DNS Name of Celerra>
Port:                        80
Secure Port:          443
IP Address:           <Celerra_CS_IP>
Name:                    <DNS Name of Celerra>
Port:                        80
Secure Port:          443

Reporting on the state of VNX auto-tiering

 

To go along with my previous post (reporting on LUN tier distribution) I also include information on the same intranet page about the current state of the auto-tiering job.  We run auto-tiering from 10PM to 6AM in the morning to avoid the movement of data during business hours or our normal backup window in the evening.

Sometimes the auto-tiering job will get very backed up and would theoretically never finish in the time slot that we have for data movement.  I like to keep tabs on the amount of data that needs to move up or down, and the amount of time that the array estimates until it’s completion.  If needed, I will sometimes modify the schedule to run 24 hours a day over the weekend and change it back early on Monday morning.  Unfortunately, EMC did not design the auto-tiering scheduler to allow for creating different time windows on different days. It’s a manual process.

This is a relatively simple, one line CLI command, but it provides very useful info and it’s convenient to add it to a daily report to see it at a glance.

I run this script at 6AM every day, immediately following the end of the window for data to move:

naviseccli -h clariion1_hostname autotiering -info -state -rate -schedule -opStatus > c:\inetpub\wwwroot\clariion1_hostname.autotier.txt

naviseccli -h clariion2_hostname autotiering -info -state -rate -schedule -opStatus > c:\inetpub\wwwroot\clariion2_hostname.autotier.txt

naviseccli -h clariion3_hostname autotiering -info -state -rate -schedule -opStatus > c:\inetpub\wwwroot\clariion3_hostname.autotier.txt

naviseccli -h clariion4_hostname autotiering -info -state -rate -schedule -opStatus > c:\inetpub\wwwroot\clariion4_hostname.autotier.txt

 ....
 The output for each individual clariion looks like this:
Auto-Tiering State: Enabled
Relocation Rate: Medium

Schedule Name: Default Schedule
Schedule State: Enabled
Default Schedule: Yes
Schedule Days: Sun Mon Tue Wed Thu Fri Sat
Schedule Start Time: 22:00
Schedule Stop Time: 6:00
Schedule Duration: 8 hours
Storage Pools: Clariion1_SPB, Clariion2_SPA

Storage Pool Name: Clariion2_SPA
Storage Pool ID: 0
Relocation Start Time: 12/05/11 22:00
Relocation Stop Time: 12/06/11 6:00
Relocation Status: Inactive
Relocation Type: Scheduled
Relocation Rate: Medium
Data to Move Up (GBs): 1854.11
Data to Move Down (GBs): 909.06
Data Movement Completed (GBs): 2316.00
Estimated Time to Complete: 9 hours, 12 minutes
Schedule Duration Remaining: None

Storage Pool Name: Clariion1_SPB
Storage Pool ID: 1
Relocation Start Time: 12/05/11 22:00
Relocation Stop Time: 12/06/11 6:00
Relocation Status: Inactive
Relocation Type: Scheduled
Relocation Rate: Medium
Data to Move Up (GBs): 1757.11
Data to Move Down (GBs): 878.05
Data Movement Completed (GBs): 1726.00
Estimated Time to Complete: 11 hours, 42 minutes
Schedule Duration Remaining: None
 
 

Reporting on Trespassed LUNs

 

All of our production clariions are configured with two large tiered storage pools, one for LUNs on SPA and one for LUNs on SPB.  When storage is created on a server, two identical LUNs are created (one in each pool) and are striped at the host level.  I do it that way to more evenly balance the load on the storage processors.

I’ve noticed that LUNs will occassionally trespass to the other SP.  In order to keep the SP’s balanced how I want them, I will routinely check and trespass them back to their default owner.  Our naming convention for LUNs includes the SP that the LUN was initially configured to use, as well as the pool ID, server name, filesystem/drive letter, last four digits of serial number, and size.  Having all of this information in the LUN name makes for very easy reporting.  Having the default SP in the LUN name is required for this script to work as written.

Here’s what our LUN names looks like:     P1_LUN100_SPA_0000_servername_filesystem_150G

To quickly check on the status of any mismatched LUNs every morning, I created a script that generates a daily report.  The script first creates output files that list all of the LUNs on each SP, then uses simple grep commands to output only the LUNs whose SP designation in the name does not match the current owner.   The csv output files are then parsed by the csv2html perl script, which converts the csv into easy to read HTML files that are automatically posted on our intranet web site.  The csv2html perl script is from http://www.jpsdomain.org/source/perl.html and is under a GNU General Public License.  Note that this script is designed to run in unix.  It can be run using cygwin installed on a Windows server if you don’t have access to a unix based server.

Here’s the shell script (I have one for each clariion/VNX):

naviseccli -h clariion_hostname getlun -name -owner |grep -i name > /reports/sp/lunname.out

sleep 5

naviseccli -h clariion_hostname getlun -name -owner |grep -i current >  /reports/sp/currentsp.out

sleep 5

paste -d , /reports/sp/lunname.out /reports/sp/currentsp.out >  /reports/sp/clariion_hostname.spowner.csv

./csv2htm.pl -e -T -i /reports/sp/clariion_hostname.spowner.csv -o /reports/sp/clariion_hostname.spowner.html

#Determine SP mismatches between LUNs and SPs, output to separate files

cat /reports/sp/clariion_hostname.spowner.csv | grep 'SP B' > /reports/sp/clariion_hostname_spb.csv

grep SPA /reports/sp/clariion_hostname_spb.csv > /reports/sp/clariion_hostname_spb_mismatch.csv

cat /reports/sp/clariion_hostname.spowner.csv | grep 'SP A' > /reports/sp/clariion_hostname_spa.csv

grep SPB /reports/sp/clariion_hostname_spa.csv > /reports/sp/clariion_hostname_spa_mismatch.csv

#Convert csv output files to HTML for intranet site

./csv2htm.pl -e -d -T -i /reports/sp/clariion_hostname_spa_mismatch.csv -o /reports/sp/clariion_hostname_spa_mismatch.html

./csv2htm.pl -e -d -T -i /reports/sp/clariion_hostname_spb_mismatch.csv -o /reports/sp/clariion_hostname_spb_mismatch.html
 The output files look like this (clariion_hostname_spa_mismatch.html from the script):
Name: P1_LUN100_SPA_0000_servername_filesystem1_150G       Current Owner: SPB

Name: P1_LUN101_SPA_0000_servername_filesystem2_250G      Current Owner: SPB

Name: P1_LUN102_SPA_0000_servername_filesystem3_350G      Current Owner: SPB

Name: P1_LUN103_SPA_0000_servername_filesystem4_450G
Current Owner: SPB

Name: P1_LUN104_SPA_0000_servername_filesystem5_550G      
Current Owner: SPB
 The 0000 represents the last four digits of the serial number of the Clariion.

That’s it, a quick and easy way to report on trespassed LUNs in our environment.

How to scrub/zero out data on a decommissioned VNX or Clariion

datawipe

Our audit team needed to ensure that we were properly scrubbing the old disks before sending our old Clariion back to EMC on a trade in.  EMC of course offers scrubbing services that run upwards of $4,000 for an array.  They also have a built in command that will do the same job:

navicli -h zerodisk -messner B E D
B Bus
E Enclosure
D Disk

usage: zerodisk disk-names [start|stop|status|getzeromark]

sample: navicli -h 10.10.10.10 zerodisk -messner 1_1_12

This command will write all zero’s to the disk, making any data recovery from the disk impossible.  Add this command to a windows batch file for every disk in your array, and you’ve got a quick and easy way to zero out all the disks.

So, once the disks are zeroed out, how do you prove to the audit department that the work was done? I searched everywhere and could not find any documentation from emc on this command, which is no big surprise since you need the engineering mode switch (-messner) to run it.  Here were my observations after running it:

This is the zeromark status on 1_0_4 before running navicli -h 10.10.10.10 zerodisk -messner 1_0_4 start:

 Bus 1 Enclosure 0  Disk 4

 Zero Mark: 9223372036854775807

 This is the zeromark status on 1_0_4 after the zerodisk process is complete:

(I ran navicli -h 10.10.10.10 zerodisk -messner 1_0_4 getzeromark to get this status)

 Bus 1 Enclosure 0  Disk 4

Zero Mark: 69704

 The 69704 number indicates that the disk has been successfully scrubbed.  Prior to running the command, all disks will have an extremely long zero mark (18+ digits), after the zerodisk command completes the disks will return either a 69704 or 69760 depending on the type of disk (FC/SATA).  That’s be best I could come up with to prove that the zeroing was successful.  Running the getzeromark option on all the disks before and after the zerodisk command should be sufficient to prove that the disks were scrubbed.