NetApp Clustered Data ONTAP Command Line Reference Guide (CDOT CLI)

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

This is a comprehensive CLI command line reference guide for NetApp Clustered Data ONTAP.  The commands are based on Version 9.x.  It includes a list of commands for Autobalance, Cluster, Event, Job, LUN, Metrocluster, Network, QoS, Security, SnapLock, SnapMirror, Statistics, Storage, System, Volume, and Vcenter.  For complete documentation and additional options for each of these commands, I recommend you visit the official NetApp ONTAP 9 documentation page.

Autobalance Commands
autobalance aggregate show-aggregate-state -instance Display the Auto Balance Aggregate state for an aggregate
autobalance aggregate show-unbalanced-volume-state Display the Auto Balance Aggregate state for a volume
autobalance aggregate config modify Modify the Auto Balance Aggregate feature configuration
autobalance aggregate config show Display the Auto Balance Aggregate feature configuration
autobalance volume show rebalance -vserver vs1 -volume repo_vol -storage-service gold Display Auto Balance Volume progress for an Infinite Volume
autobalance volume rebalance start Start Auto Balance Volume for an Infinite Volume
autobalance volume rebalance stop Stop Auto Balance Volume for an Infinite Volume
Cluster Commands
cluster contact-info modify Manage contact information for the cluster.
cluster contact-info show Display contact information for the cluster
cluster ha modify -configured true Manage high-availability configuration
cluster ha show Show high-availability configuration status for the cluster
cluster date modify -date “01/01/2011 01:00:00” Modify the current date and time for the nodes in the cluster
cluster date show Display the current date and time for the nodes in the cluster
cluster image cancel-update Cancel an update
cluster image pause-update Pause an update
cluster image resume-update Resume an update
cluster image show-update-history Display the update history
cluster image show-update-log Display the update transaction log
cluster image show-update-log-detail Display detailed information about nondisruptive update events
cluster image show-update-progress Display the update progress
cluster time-service ntp server create Add an NTP Server
cluster time-service ntp server delete Delete a NTP Server
cluster time-service ntp server modify Modify NTP Server Options
cluster time-service ntp server reset Reset NTP server list to a default selection
cluster time-service ntp server show Display a list of NTP Servers
cluster image update Manage an update
cluster image validate Validates the cluster’s update eligibility
cluster image package delete Remove a package from the cluster image package repository
cluster image package get Fetch a package file from a URL into the cluster image package repository
cluster image package show-repository Display information about packages available in the cluster image package repository
cluster kernel-service show Display cluster service state in the kernel
cluster identity modify Modify the cluster’s attributes
cluster identity show Display the cluster’s attributes including Name, Serial Number, Cluster UUID, Location and Contact
cluster log-forwarding create Create a log forwarding destination
cluster log-forwarding delete Delete a log forwarding destination
cluster log-forwarding modify Modify log forwarding destination settings
cluster log-forwarding show Display log forwarding destinations
cluster peer create -peer-addrs cluster2-d2,10.10.1.1 -username admin Create a new cluster peer relationship
cluster peer delete -cluster cluster1 Delete a cluster peer relationship
cluster peer modify Modify cluster peer relationships
cluster peer show -instance Show cluster peer relationships
cluster peer modify-local-name -name cluster1 -new-name cluster1A Modify the local name for a cluster peer
cluster peer ping Initiate intercluster connectivity test
cluster peer show {-instance} Display peer cluster information
cluster peer connection show Show current peering connections for a cluster
cluster peer health show Check peer cluster health
cluster peer offer cancel -cluster cluster2 Cancel the outstanding offer to authenticate with a peer cluster
cluster peer offer show Display outstanding offers to authenticate with a peer cluster
cluster quorum-service options modify Modify the settings for cluster quorum-service
cluster quorum-service options show Display the settings for cluster quorum-service
cluster ring show Display cluster node member’s replication rings
cluster statistics show Display cluster-wide statistics
cluster add-node {-node-ip x.x.x.x | -node-count x} Expand the cluster by discovering and adding new nodes
cluster create -clustername cluster1 -node-count 4 Create a cluster
cluster join -clusteripaddr 192.0.1.1 Join an existing cluster using the specified member’s IP address or by cluster name
cluster modify -node node8 -eligibility true Modify cluster node membership attributes
cluster ping-cluster -node node1 Ping remote cluster interfaces and perform RPC server check
cluster setup Setup wizard
cluster show Display cluster node members
cluster unjoin -node node4  {-force} Unjoin or remove a node from the cluster
Event Commands
event config modify Modify log configuration parameters
event config set-proxy-password Modify password for proxy server
event config show Display log configuration parameters
event catalog show Display event definitions
event filter copy Copy an event filter
event filter show -filter-name filter1 Displays the event catalog
event filter create -filter-name filter1 Create a new event filter.
event filter delete Delete existing event filters
event filter rename Rename an event filter
event filter show Display the list of existing event filters.
event filter test Test an event filter
event filter rule add Add a rule for an event filter
event filter rule delete Delete a rule for an event filter
event filter rule reorder Modify the index of a rule for an event filter
event log show Display latest log events
event notification create Create an event notification
event notification delete Delete event notifications
event notification modify Modify event notifications
event notification show Display event notifications
event notification destination create Create an event notification destination
event notification destination delete Delete existing event destinations
event notification destination modify Modify an event notification destination
event notification destination show Display event notification destinations
event notification history show Display latest events sent to destination
event status show -node node1 Display event status
Job Commands
job schedule delete -name backup1 Delete a schedule
job schedule show {-type cron} Display a list of available schedules
job schedule show-jobs Display the list of jobs by schedule
job schedule cron create -name weekendcron -dayofweek “Saturday, Sunday” -hour 3 Create a cron schedule
job schedule cron delete -name dailycron Delete a cron schedule
job schedule cron modify -name dailycron -hour 7 -minute 20 Modify a cron schedule
job schedule cron show Show cron schedules
job schedule interval create Create a schedule that runs on an interval
job schedule interval delete -name daily Delete an interval schedule
job schedule interval show Show interval schedules
job delete -id 99 Delete a job
job pause -id 99 Pause a job
job resume -id 99 Resume a job
job show {-node node1} Display a list of jobs
job show-bynode Display a list of jobs by node
job show-cluster Display a list of cluster jobs
job show-completed Display a list of completed jobs
job stop -id 99 Stop a job
job unclaim Unclaim a cluster job
job watch-progress -vserver vs0 -id 99 -interval 3 Watch the progress of a job
job history show Display a history of jobs
job initstate show Display init state for job managers
job private delete -node node2 -id 99 Delete a job
jobs private pause -node node2 -id 99 Pause a job
job private resume -node node2 -id 99 Resume a job
job private show -node local Display a list of jobs
job private show-completed Display a list of completed jobs
job private stop -node node2 -id 99 Stop a job
job private watch-progress -node node1 -id 99 -interval 2 Watch the progress of a job
LUN Commands
lun copy cancel -vserver vs1 -destination-path /vol/vol2/lun3 Cancel a LUN copy operation before the new LUN has been created
lun copy modify -vserver vs1 -destination-path /vol/vol2/lun3 Modify an ongoing LUN copy operation
lun copy pause -vserver vs1 -destination-path /vol/vol2/lun3 Pause an ongoing LUN copy operation
lun copy resume -vserver vs1 -destination-path /vol/vol2/lun3 Resume a paused LUN copy operation
lun copy show Display a list of LUNs currently being copied
lun copy start -vserver vs1 -destination-path /vol/vol2/lun2 -source-path /vol/vol1/vol3 Start copying a LUN from one volume to another within a cluster
lun create -vserver vs1 -path /vol/vol1/lun1 -size 100M -ostype linux Create a new LUN
lun delete -vserver vs1 -path /vol/vol1/lun1 Delete the LUN
lun maxsize -volume vol0 -ostype netware Display the maximum possible size of a LUN on a given volume or qtree.
lun modify -path /vol/vol1/lun1 -comment “new comment” Modify a LUN
lun move-in-volume -vserver vs1 -volume vol1 -lun lun1 -new-lun newlun1 Move a LUN within a volume
lun resize -vserver vs1 -path /vol/vol2/lun3 -size 100M -force Changes the size of the LUN to the input value size.
lun show -vserver vs0 -path /vol/vol1/lun1 -instance Display a list of LUNs
lun bind create -vserver vs1 -protocol-endpoint-path /vol/VV1/PE1 -vvol-path /vol/VV1/vol3 Bind a VVol LUN to a protocol endpoint
lun bind destroy -protocol-endpoint-path /vol/VV/pe9 -vvol-path /vol/VV4/dir -vserver vs9 Unbind a VVol LUN from a protocol endpoint
lun bind show -vserver vs1 Show list of Vvol bindings
lun igroup add -vserver vs1 -igroup ig1 -initiator iqn.2018-01.com.thesanguy.mvinitiator Add initiators to an initiator group
lun igroup bind -vserver vs1 -igroup ig1 -portset-name ps1 Bind an existing initiator group to a given portset
lun igroup create Create a new initiator group
lun igroup delete -vserver vs1 -igroup ig1 Delete an initiator group
lun igroup disable-aix-support Disables SAN AIX support on the cluster
lun igroup modify -vserver vs1 -igroup ig1 -ostype windows Modify an existing initiator group
lun igroup remove -vserver vs1 -igroup ig1 -initiator iqn.2018-01.com.thesanguy.mvinitiator Remove initiators from an initiator group
lun igroup rename -vserver vs1 -igroup ig1 -new-name ignew1 Rename an existing initiator group
lun igroup show Display a list of initiator groups
lun igroup unbind Unbind an existing initiator group from a portset
lun import create Create an import relationship
lun import delete -vserver vs1 -path /vol/vol3/lun3 Deletes the import relationship of the specified LUN or the specified foreign disk
lun import pause Pause the import for the specified LUN
lun import prepare-to-downgrade Prepares LUN import to be downgraded
lun import resume Resume the import for the specified LUN
lun import show Display a list of import relationships
lun import start -vserver vs1 -path /vol/vol3/lun3 Start the import for the specified LUN
lun import stop -vserver vs1 -path /vol/vol3/lun3 Stop the import for the specified LUN
lun import throttle -vserver vs1 -path /vol/vol3/lun3 -max-throughput-limit 3M Modify the max throughput limit for the specified import relationship
lun import verify start -vserver vs1 -path /vol/vol3/lun3 Start the verification of the foreign disk and LUN data
lun import verify stop -vserver vs1 -path /vol/vol3/lun3 Stop the verify for the specified LUN
lun mapping add-reporting-nodes -vserver vs1 -path /vol/vol3/lun4 -igroup ig1 Add Reporting Nodes
lun mapping create -vserver vs1 -path /vol/vol8/lun9 -igroup ig9 -lun-id 11 Map a LUN to an initiator group
lun mapping delete -vserver vs1 -path /vol/vol5/lun8 -igroup ig3 Unmap a LUN from an initiator group
lun mapping remove-reporting-nodes -vserver vs1 -path /vol/vol4/lun7 -igroup ig5 Remove Reporting Nodes
lun mapping show Lists the mappings between LUNs and initiator groups.
lun move cancel -vserver vs1 -destination-path /vol/vol3/lun9 Cancel a LUN move operation before the new LUN has been created
lun move modify -vserver vs1 -destination-path /vol/vol6/lun8 Modify an ongoing LUN move operation
lun move pause -vserver vs1 -destination-path /vol/vol6/lun8 Pause an ongoing LUN move operation
lun move resume -vserver vs1 -destination-path /vol/vol6/lun8 Resume a paused LUN move operation
lun move show Display a list LUNs currently being moved
lun move start -vserver vs1 -destination-path /vol/vol3/lun4 -source-path /vol/vol5/lun6 Start moving a LUN from one volume to another within a Vserver
lun persistent-reservation clear -vserver vs1 -path /vol/vol3/lun5 Clear the SCSI-3 persistent reservation information for a given LUN
lun persistent-reservation show -vserver vs1 /vol/vol8/lun9 Display the current reservation information for a given LUN
lun portset add -vserver vs1 -portset ps1 -port-name lif1 Add iSCSI/FCP LIFs to a portset
lun portset create -vserver vs1 -portset ps1 -protocol mixed Creates a new portset
lun portset delete Delete the portset
lun portset remove Remove iSCSI/FCP LIFs from a portset
lun portset show -protocol iscsi Displays a list of portsets
lun transition show -vserver vs1 Display the status of LUN transition processing
lun transition start -vserver vs1 -volume thesanguyvol_1 Start LUN Transition Processing
Metrocluster Commands
metrocluster check disable-periodic-check Disable Periodic Check
metrocluster check enable-periodic-check Enable Periodic Check
metrocluster check run Check the MetroCluster setup
metrocluster check show Show the results of the last instance of MetroCluster check
metrocluster check cluster show Show results of MetroCluster check for the cluster components
metrocluster check aggregate show Show results of MetroCluster check for aggregates
metrocluster check config-replication show Display MetroCluster config-replication status information
metrocluster check config-replication show-aggregate-eligibility Displays the MetroCluster configuration replication aggregate eligibility.
metrocluster check config-replication show-capture-status Display MetroCluster capture status information
metrocluster check lif repair-placement Repair LIF placement for the sync-source Vserver LIFs in the destination cluster
metrocluster check lif show Show results of MetroCluster check results for the data LIFs
metrocluster check node show Show results of MetroCluster check for nodes
metrocluster config-replication cluster-storage-configuration modify Modify MetroCluster storage configuration information
metrocluster config-replication cluster-storage-configuration show Display MetroCluster storage configuration information
metrocluster config-replication resync-status show Display MetroCluster Configuration Resynchronization Status
metrocluster configure Configure MetroCluster and start DR mirroring for the node and its DR group
metrocluster heal -phase aggregates Heal DR data aggregates and DR root aggregates
metrocluster modify -node-name clusA-01 -node-object-limit on Modify MetroCluster configuration options
metrocluster show Display MetroCluster configuration information
metrocluster switchback Switch back storage and client access
metrocluster switchover -forced-on-disaster true Switch over storage and client access
metrocluster interconnect adapter modify Modify MetroCluster interconnect adapter settings
metrocluster interconnect adapter show Display MetroCluster interconnect adapter information
metrocluster interconnect mirror show Display MetroCluster interconnect mirror information
metrocluster interconnect mirror multipath show Display multipath information
metrocluster node show Display MetroCluster node configuration information
metrocluster operation show Display details of the last MetroCluster operation
metrocluster operation history show Display details of all MetroCluster operations
metrocluster vserver recover-from-partial-switchback Recover vservers from partial switchback
metrocluster vserver recover-from-partial-switchover Recover vservers from partial switchover
metrocluster vserver resync Resynchronize Vserver with it’s partner Vserver
metrocluster vserver show Display MetroCluster Vserver relationships
Network Commands
network ping -node thesanguy -destination 10.1.1.22 Ping
network ping6 -node node1 -destination ipv6.thesanguy.com Ping an IPv6 address
network test-path -source-node node1 -destination-cluster cluster1 -destination-node node2 Test path performance between two nodes
network raceroute -node node1 -destination 10.1.1.1 -maxttl 8 Traceroute
network traceroute6 -node node1 -vserver vs1 Traceroute an IPv6 address
network cloud routing-table create -route-table-id eni-999 Create a new external routing table
network cloud routing-table delete -route-table-id eni-999 Delete an existing external routing table
network arp create -vserver vs1 -remotehost 10.1.1.1 -mac 80:45:32:14:39:f1 Create static ARP entry
network arp delete -vserver vs1 -remotehost 10.1.1.1 Delete static ARP entry
network arp show -vserver vs1 Display static ARP entries
network arp active-entry delete Delete active ARP entry
network arp active-entry show -vserver vs1 Display active ARP entries
network connections active show Show the active connections in this cluster
network connections active show-clients Show a count of the active connections by client
network connections active show-lifs Show a count of the active connections by logical interface
network connections active show-protocols Show a count of the active connections by protocol
network connections active show-services Show a count of the active connections by service
network connections listening show Show the listening connections in this cluster
network fcp adapter modify -node node1 -adapter 0d -speed 2 Modify the fcp adapter settings
network fcp adapter show -instance -node thesanguy1 -adapter 0b Display FCP adapters
network device-discovery show Display device discovery information
network interface create Create a logical interface
network interface delete Delete a logical interface
network interface migrate Migrate a logical interface to a different port
network interface migrate-all -node local Migrate all data logical interfaces away from the specified node
network interface modify -vserver vs0 -lif lif1 -netmask 255.255.255.0 Modify a logical interface
network interface rename -vserver vs0 -lif clusterlif0 -newname clusterlif1 Rename a logical interface
network interface revert -vserver * -lif * Revert a logical interface to its home port
network interface show Display logical interfaces
network interface start-cluster-check Start the cluster check function
network interface capacity show Display the number of IP data LIFs capable of being configured on the cluster.
network interface capacity details show Display details about the IP data LIFs capable of being configured on each node.
network interface check failover show Discover if any LIFs might become inaccessible during a node outage, due to over-provisioning
network interface dns-lb-stats show Show the DNS load-balancer stats for this node
network interface lif-weights show Show the load-balancer LIF weights
network interface failover-groups add-targets Add failover targets to a failover group
network interface failover-groups create Create a new failover group
network interface failover-groups delete Delete a failover group
network interface failover-groups modify Modify a failover group
network interface failover-groups remove-targets Remove failover targets from a failover group
network interface failover-groups rename Rename a logical interface failover Group
network interface failover-groups show Display logical interface failover groups
network ipspace create -name ipspace1 Create a new IPspace
network ipspace delete -ipspace ipspace1 Delete an IPspace
network ipspace rename -ipspace ipsA -new-name ipsB Rename an IPspace
network ipspace show Display IPspace information
network ndp neighbor create Create a static NDP neighbor entry
network ndp neighbor delete -vserver vs_1 -neighbor 10:10::10 Delete a static NDP neighbor entry
network ndp neighbor show Display static NDP neighbor entries
network ndp neighbor active-entry delete Delete active neighbor entry
network ndp neighbor active-entry show Display active neighbor entries
network ndp default-router delete-all -ipspace ipspace1 Delete default routers on a given IPspace
network ndp default-router show -port a0d -node local Display default routers
network ndp prefix delete-all -ipspace ips1 Delete IPv6 prefixes on a given IPspace
network ndp prefix show Display IPv6 prefixes
network options cluster-health-notifications modify cluster health notification options
network options cluster-health-notifications show {-node node1} Display cluster health notification options
network options ipv6 modify Modify IPv6 options
network options ipv6 show Display IPv6 options
network options load-balancing modify Modify load balancing algorithm
network options port-health-monitor disable-monitors Disable one or more port health monitors
network options port-health-monitor enable-monitors Enable one or more port health monitors
network options port-health-monitor modify Modify port health monitors configuration
network options port-health-monitor show Display port health monitors configuration
network options send-soa modify Modify Send SOA settings
network options send-soa show Display Send SOA settings
network options switchless-cluster modify Modify switchless cluster network options
network port delete Delete a network port
network port modify Modify network port attributes
network port show Display network port attributes
network port show-address-filter-info Print the port’s address filter information
network port broadcast-domain add-ports Add ports to a layer 2 broadcast domain
network port broadcast-domain create Create a new layer 2 broadcast domain
network port broadcast-domain delete Delete a layer 2 broadcast domain
network port broadcast-domain merge Merges two layer 2 broadcast domains
network port broadcast-domain modify Modify a layer 2 broadcast domain
network port broadcast-domain remove-ports Remove ports from a layer 2 broadcast domain
network port broadcast-domain rename Rename a layer 2 broadcast domain
network port broadcast-domain show Display layer 2 broadcast domain information
network port broadcast-domain split Splits a layer 2 broadcast domain into two layer 2 broadcast domains.
network port ifgrp add-port Add a port to an interface group
network port ifgrp create Create a port interface group
network port ifgrp delete Destroy a port interface group
network port ifgrp remove-port Remove a port from an interface group
network port ifgrp show Display port interface groups
network port vlan create -node node1 -vlan-name f1d-90 Create a virtual LAN
network port vlan delete -node node1 -vlan-name f1d-90 Delete a virtual LAN
network port vlan show Display virtual LANs
network qos-marking modify Modify the QoS marking values
network qos-marking show -ipspace thesanguy Display the QoS marking values
network route create -vserver vserver0 -destination 10.0.0.0/0 -gateway 10.1.9.100 Create a static route
network route delete -vserver vserver0 -destination 0.0.0.0/0 Delete a static route
network route show Display static routes
network route show-lifs Show the Logical Interfaces for each route entry
network route active-entry show Display active routes
network subnet add-ranges -ipspace thesanguy -subnet-name s1 -ip-ranges “10.1.1.10-10.1.1.50” Add new address ranges to a subnet
network subnet create Create a new layer 3 subnet
network subnet delete -ipspace thesanguy -subnet-name sub3 Delete an existing subnet object
network subnet modify Modify a layer 3 subnet
network subnet remove-ranges Remove address ranges from a subnet
network subnet rename -ipspace thesanguy -subnet sub9 -new-name sub5 Rename a layer 3 subnet
network subnet show Display subnet information
network test-link run-test Test link bandwidth
network test-link show Display test results
network test-link start-server -node node1 Start server for bandwidth test
network test-link stop-server -node node1 Stop server for bandwidth test
QoS Commands
qos settings cache modify -default true -cache-setting random_read_write-random_write Cache QoS settings
qos settings cache show Display list of cache policies
qos statistics latency show -iterations 50 -rows 3 Display latency breakdown data per QoS policy group
qos statistics characteristics show -iterations 50 -rows 4 Display QoS policy group characterization
qos statistics resource cpu show -node sanguyA -iterations 50 -rows 3 Display CPU resource utilization data per QoS policy group
qos statistics resource disk show Display disk resource utilization data per QoS policy group
qos statistics performance show -iterations 50 -rows 3 Display system performance data per QoS policy group
qos statistics volume latency show -iterations 50 -rows 3 Display latency breakdown data per volume
qos statistics volume resource cpu show -node thesanguy -iterations 50 -rows 3 Display CPU resource utilization data per volume
qos statistics volume resource disk show Display disk resource utilization data per volume
qos statistics volume performance show -iterations 50 -rows 3 Display system performance data per volume
qos statistics volume characteristics show Display volume characteristics
qos statistics workload latency show -iterations 50 -rows 5 Display latency breakdown data per QoS workload
qos statistics workload characteristics show -iterations 50 -rows 4 Display QoS workload characterization
qos statistics workload performance show -iterations 50 -rows 3 Display system performance data per QoS workload
qos statistics workload resource cpu show -node thesanguy -iterations 80 -rows 4 Display CPU resource utilization data per QoS workload
qos statistics workload resource disk show Disk utilization
qos workload show -class user-defined Display a list of workloads
qos policy-group create p1 -vserver vserverA Create a policy group
qos policy-group delete p1 {-force} Delete a policy group
qos policy-group modify p1 -max-throughput 99IOPS Modify a policy group
qos policy-group rename -policy-group psanguy -new-name psanguy_new Rename a policy group
qos policy-group show Display a list of policy groups
Security Commands
security certificate create -vserver vs1 -common-name www.thesanguy.com -type server Create and Install a Self-Signed Digital Certificate
security certificate delete Delete an Installed Digital Certificate
security certificate generate-csr Generate a Digital Certificate Signing Request
security certificate install Install a Digital Certificate
security certificate prepare-to-downgrade Restore Certificate Management to releases earlier than Data ONTAP 8.3.1.
security certificate show Display Installed Digital Certificates
security certificate sign Sign a Digital Certificate using Self-Signed Root CA
security certificate ca-issued revoke Revoke a Digital Certificate
security certificate ca-issued show Display CA-Issued Digital Certificates
security audit modify Set administrative audit logging settings
security audit show Show administrative audit logging settings
security audit log show Display audit entries merged from multiple nodes in the cluster
security config modify Modify Security Configuration Options
security config show Display Security Configuration Options
security config status show Display Security Configuration Status
security key-manager add -address 10.10.1.250 Add a key management server
security key-manager create-key Create a new authentication key
security key-manager delete -address 10.10.1.250 Delete a key management server
security key-manager query Displays the key IDs stored in a key management server and whether restored
security key-manager restore Restore the authentication key and key ID pairs from the key management servers.
security key-manager setup Configure key manager connectivity
security key-manager show Display key management servers
security key-manager certificate update -type server -address 10.10.10.23 Update key manager SSL certificates
security key-manager backup show Show salt and wrapped keys as a hex dump
security key-manager key show Display Encryption Key IDs
security login create Add a login method
security login delete Delete a login method
security login expire-password Expire user’s password
security login lock Lock a user account with password authentication method
security login modify Modify a login method
security login password -username admin -vserver sanguy1 Modify a password for a user
security login password-prepare-to-downgrade Reset password features introduced in the Data ONTAP version
security login show Show user login methods
security login unlock Unlock a user account with password authentication method
security login whoami Show the current user and role of this session
security login domain-tunnel create Add authentication tunnel Vserver for administrative Vserver
security login domain-tunnel delete Delete authentication tunnel Vserver for administrative Vserver
security login domain-tunnel modify -vserver vs322 Modify authentication tunnel Vserver for administrative Vserver
security login domain-tunnel show Show authentication tunnel Vserver for administrative Vserver
security login banner modify Modify the login banner message
security login banner show Display the login banner message
security login ns-switch group-authentication commands The group-authentication directory
security login ns-switch group-authentication prepare-to-downgrade Remove Ns-switch Groups for Downgrade
security login motd modify Modify the message of the day
security login motd show Display the message of the day
security login publickey create Add a new public key
security login publickey delete Delete a public key
security login publickey load-from-uri Load one or more public keys from a URI
security login publickey modify Modify a public key
security login publickey prepare-to-downgrade Restore publickey features compatible with releases earlier than ONTAP 9.0.
security login publickey show Display public keys
security login role create Add an access control role
security login role delete Delete an access control role
security login role modify Modify an access control role
security login role prepare-to-downgrade Update role configurations so that they are compatible with earlier releases of Data ONTAP
security login role show Show access control roles
security login role show-ontapi Display the mapping between Data ONTAP APIs and CLI commands
security login role config modify Modify local user account restrictions
security login role config reset Reset RBAC characteristics supported on releases later than Data ONTAP 8.1.2
security login role config show Show local user account restrictions
security protocol modify -application rsh -enabled true Modify application configuration options
security protocol show Show application configuration options
security snmpusers Show SNMP users
security session kill-cli -node node1 -session-id 99 Kill an active CLI session
security session show -node node1 Show active CLI & ONTAPI sessions
security session limit create -interface ontapi -category application -max-active-limit 5 Create default session limit
security session limit delete -interface cli -category * Delete default session limit
security session limit modify -interface cli -category location -max-active-limit 4 Modify default session limit
security session limit show Show default session limits
security session limit application create Create per-application session limit
security session limit application delete Delete per-application session limit
security session limit application modify Modify per-application session limit
security session limit application show Show per-application session limits
security session limit location create -interface cli -location 10.1.1.1 -max-active-limit 1 Create per-location session limit
security session limit location delete Delete per-location session limit
security session limit location modify Modify per-location session limit
security session limit location show Show per-location session limits
security session limit request create Create per-request session limit
security session limit request delete Delete per-request session limit
security session limit request modify Modify per-request session limit
security session limit request show Show per-request session limits
security session limit user create Create per-user session limit
security session limit user delete Delete per-user session limit
security session limit user modify Modify per-user session limit
security session limit user show Show per-user session limits
security session limit vserver create Create per-vserver session limit
security session limit vserver delete Delete per-vserver session limit
security session limit vserver modify Modify per-vserver session limit
security session limit vserver show Show per-vserver session limits
security session request-statistics show-by-application Show session request statistics by application
security session request-statistics show-by-location Show session request statistics by location
security session request-statistics show-by-request Show session request statistics by request name
security session request-statistics show-by-user Show session request statistics by username
security session request-statistics show-by-vserver Show session request statistics by Vserver
security ssh add Add SSH configuration options
security ssh modify Modify SSH configuration options
security ssh prepare-to-downgrade Restore SSH configuration to releases earlier than Data ONTAP 9.0.0.
security ssh remove Remove SSH configuration options
security ssh show Display SSH configuration options
security ssl modify Modify the SSL configuration for HTTP servers
security ssl show Display the SSL configuration for HTTP servers
SnapLock Commands
snaplock log create Create audit log configuration for a Vserver.
snaplock log delete Delete audit log configuration for a Vserver.
snaplock log modify Modify audit log configuration for a Vserver.
snaplock log show Display audit log configuration.
snaplock log file archive Archive Active Log Files in Log Volume
snaplock log file show Display audit log file information.
snaplock compliance-clock initialize Initializes the node ComplianceClock
snaplock compliance-clock show Displays the node ComplianceClock
SnapMirror Commands
snapmirror config-replication commands The config-replication directory
snapmirror config-replication cluster-storage-configuration show Display SnapMirror storage configuration information
snapmirror config-replication status show SnapMirror configuration replication status information
snapmirror config-replication status show-aggregate-eligibility Display the SnapMirror configuration replication aggregate eligibility
snapmirror config-replication status show-communication Display SnapMirror configuration replication communication status information
snapmirror abort Abort an active transfer
snapmirror break Make SnapMirror destination writable
snapmirror create Create a new SnapMirror relationship
snapmirror delete Delete a SnapMirror relationship
snapmirror initialize Start a baseline transfer
snapmirror initialize-ls-set Start a baseline load-sharing set transfer
snapmirror list-destinations Display a list of destinations for SnapMirror sources
snapmirror modify Modify a SnapMirror relationship
snapmirror promote Promote the destination to read-write
snapmirror quiesce Disable future transfers
snapmirror release Remove source information for a SnapMirror relationship
snapmirror restore Restore a Snapshot copy from a source volume to a destination volume
snapmirror resume Enable future transfers
snapmirror resync Start a resynchronize operation
snapmirror set-options Display/Set SnapMirror options
snapmirror show Display a list of SnapMirror relationships
snapmirror show-history Displays history of SnapMirror operations.
snapmirror update Start an incremental transfer
snapmirror update-ls-set Start an incremental load-sharing set transfer
snapmirror policy add-rule Add a new rule to SnapMirror policy
snapmirror policy create Create a new SnapMirror policy
snapmirror policy delete Delete a SnapMirror policy
snapmirror policy modify Modify a SnapMirror policy
snapmirror policy modify-rule Modify an existing rule in SnapMirror policy
snapmirror policy remove-rule Remove a rule from SnapMirror policy
snapmirror policy show Show SnapMirror policies
snapmirror snapshot-owner create Add an owner to preserve a Snapshot copy for a SnapMirror mirror-to-vault cascade configuration
snapmirror snapshot-owner delete Delete an owner used to preserve a Snapshot copy for a SnapMirror mirror-to-vault cascade configuration
snapmirror snapshot-owner show Display Snapshot Copies with Owners
Statistics-v1 Commands
statistics-v1 nfs show-mount -node node1 Display mount statistics
statistics-v1 nfs show-statusmon Display status monitor statistics
statistics-v1 nfs show-v3 Display NFSv3 statistics
statistics-v1 nfs show-v4 -node node1 Display NFSv3 statistics
statistics-v1 protocol-request-size show -stat-type nfs3_* -node sanguy_n2 Display size statistics for CIFS and NFS protocol read and write requests
Statistics Commands
statistics disk show Disk throughput and latency metrics
statistics nfs show-mount Display mount statistics
statistics nfs show-statusmon Display status monitor statistics
statistics nfs show-v3 Display NFSv3 statistics
statistics nfs show-v4 Display NFSv4 statistics
statistics start -object system -counter avg_processor_busy|cpu_busy -sample-id smpl_1 Display performance data for a time interval
statistics show-periodic Continuously display current performance data at regular interval
statistics start -object system -sample-id smpl_1 Start data collection for a sample
statistics stop -sample-id smpl_1 Stop data collection for a sample
statistics aggregate show Aggregate throughput and latency metrics
statistics cache flash-pool show Flash pool throughput metrics
statistics catalog counter show -object processor Display the list of counters in an object
statistics catalog instance show Display the list of instances associated with an object
statistics lif show Logical network interface throughput and latency metrics
statistics lun show LUN throughput and latency metrics
statistics node show System utilization metrics for each node in the cluster
statistics oncrpc show-rpc-calls Display ONC RPC Call Statistics
statistics port fcp show FCP port interface throughput and latency metrics
statistics preset delete Delete an existing Performance Preset
statistics preset import Import Performance Preset configuration from source URI
statistics preset modify Modify an existing Performance Preset
statistics preset show Display information about Performance Presets
statistics preset detail show Display information about Performance Preset Details
statistics samples delete Delete statistics samples
statistics samples show Display statistics samples
statistics settings modify Modify settings for the statistics commands
statistics settings show Display settings for the statistics commands
statistics system show System utilization metrics for the cluster
statistics top client show Most active clients
statistics top file show Most actively accessed files
statistics volume show Volume throughput and latency metrics
statistics vserver show Vserver throughput and latency metrics
statistics workload show QoS workload throughput and latency metrics
Storage Commands
storage automated-working-set-analyzer show Display running instances
storage automated-working-set-analyzer start Command to start Automated Working Set Analyzer on node or aggregate
storage automated-working-set-analyzer stop -node vsim21 -aggregate aggr233 Command to stop Automated Working Set Analyzer on node or aggregate
storage automated-working-set-analyzer volume show Displays the Automated Working Set Analyzer volume table
storage aggregate add-disks -aggregate aggr0 -diskcount 6 -raidgroup rg1 Add disks to an aggregate
storage aggregate create -aggregate aggr0 -mirror Create an aggregate
storage aggregate delete -aggregate aggr1 Delete an aggregate
storage aggregate mirror Mirror an existing aggregate
storage aggregate modify -aggregate aggr0 -raidtype raid_dp Modify aggregate attributes
storage aggregate offline Offline an aggregate
storage aggregate online -aggregate aggr1 Online an aggregate
storage aggregate remove-stale-record Remove a stale aggregate record
storage aggregate rename -aggregate aggr0 -newname thesanguy-aggr Rename an aggregate
storage aggregate restrict -aggregate aggr2 -unmount-volumes true Restrict an aggregate
storage aggregate scrub Aggregate parity scrubbing
storage aggregate show Display a list of aggregates
storage aggregate show-efficiency Display aggregate storage efficiency details
storage aggregate show-resync-status Display aggregate resynchronization status
storage aggregate show-scrub-status Display aggregate scrubbing status
storage aggregate show-space Display details of space utilization within an aggregate.
storage aggregate show-spare-disks -owner-name thesanguy_node1 Display spare disks
storage aggregate show-status -aggregate node1_flashpool_0 Display aggregate configuration
storage aggregate verify Verify an aggregate
storage aggregate inode-upgrade resume -aggregate aggr1 Resume suspended inode upgrade
storage aggregate inode-upgrade show Display inode upgrade progress
storage aggregate resynchronization modify -aggregate aggr1 -resync-priority high Modify aggregate resynchronization priorities
storage aggregate resynchronization options show Display node specific aggregate resynchronization options
storage aggregate plex delete -aggregate aggr1 -plex plex1 Delete a plex
storage aggregate plex offline Offline a plex
storage aggregate plex online -aggregate aggr1 -plex plex1 Online a plex
storage aggregate plex show Show plex details
storage aggregate reallocation quiesce Quiesce reallocate job on aggregate
storage aggregate reallocation restart Restart reallocate job on aggregate
storage aggregate reallocation schedule Modify schedule of reallocate job on aggregate
storage aggregate reallocation show Show reallocate job status for improving free space layout
storage aggregate reallocation start Start reallocate job on aggregate
storage aggregate reallocation stop Stop reallocate job on aggregate
storage aggregate relocation show Display relocation status of an aggregate
storage aggregate relocation start Relocate aggregates to the specified destination
storage array modify -name hardware1 -model FastTier Make changes to an array’s profile.
storage array remove Remove a storage array record from the array profile database.
storage array rename -name NetAppClus1 -new-name THESANGUY_Array1 Change the name of a storage array in the array profile database.
storage array show Display information about SAN-attached storage arrays.
storage array config show Display connectivity to back-end storage arrays.
storage array disk paths show Display a list of LUNs on the given array
storage array port modify Make changes to a target port record.
storage array port remove Remove a port record from an array profile.
storage array port show Display information about a storage array’s target ports.
storage bridge add -address 10.1.1.33 Add a bridge for monitoring
storage bridge modify Modify a bridge’s configuration information
storage bridge refresh Refresh storage bridge info
storage bridge remove Remove a bridge from monitoring
storage bridge show Display bridge information
storage encryption disk destroy 1.8.4 Cryptographically destroy a self-encrypting disk
storage encryption disk modify Modify self-encrypting disk parameters
storage encryption disk revert-to-original-state Revert a self-encrypting disk to its original, as-manufactured state
storage encryption disk sanitize 1.8.4 Cryptographically sanitize a self-encrypting disk
storage encryption disk show Display self-encrypting disk attributes
storage encryption disk show-status Display status of disk encryption operation
storage errors show Display storage configuration errors.
storage disk assign -all -node node1 Assign ownership of a disk to a system
storage disk fail -disk 2.3.36 -i true Fail the file system disk
storage disk refresh-ownership Refresh the disk ownership information on a node
storage disk remove -disk 2.3.36 Remove a spare disk
storage disk remove-reservation Removes reservation from an array LUN marked as foreign.
storage disk removeowner -disk 3.8.15 Remove disk ownership
storage disk replace -disk 2.3.36 -replacement 3.2.24 -action start Initiate or stop replacing a file-system disk
storage disk set-foreign-lun -disk EMC-2.3 -is-foreign-lun true Sets or Unsets an array LUN as foreign
storage disk set-led Identify disks by turning on their LEDs
storage disk show Display a list of disk drives and array LUNs
storage disk unfail -disk 1.5.11 -spare Unfail a broken disk
storage disk zerospares Zero non-zeroed spare disks
storage disk error show Display disk component and array LUN configuration errors.
storage disk firmware revert Revert disk firmware
storage disk firmware show-update-status Display disk firmware update status.
storage disk firmware update Update disk firmware
storage disk show -fields firmware-revision Show disk firmware
storage disk option modify Modify disk options
storage disk option show Display a list of disk options
storage failover giveback -fromnode node1 Return failed-over storage to its home node
storage failover modify -node node0 -enabled true Modify storage failover attributes
storage failover show Display storage failover status
storage failover show-giveback Display giveback status
storage failover show-takeover Display takeover status
storage failover takeover -bynode node0 -option immediate Take over the storage of a node’s partner
storage failover hwassist show Display hwassist status
storage failover hwassist test Test the hwassist functionality
storage failover hwassist stats clear -node cluster1-02 Clear the hwassist statistics
storage failover hwassist stats show -node ha1 Display hwassist statistics
storage failover internal-options show Display the internal options for storage failover
storage failover mailbox-disk show Display information about storage failover mailbox disks
storage failover progress-table show Display status information about storage failover operations
storage firmware download Download disk, ACP processor and shelf firmware
storage iscsi-initiator add-target Add an iSCSI target
storage iscsi-initiator connect Connect to an iSCSI target
storage iscsi-initiator disconnect Disconnect from an iSCSI target
storage iscsi-initiator remove-target Remove the iSCSI targets
storage iscsi-initiator show Display the iSCSI targets
storage load balance Balance storage I/O across controller’s initiator ports
storage load show Display I/O statistics to array LUNs, grouped by initiator port.
storage path quiesce Quiesce I/O on a path to array
storage path resume Resume I/O on a path to array
storage path show Display a list of paths to attached arrays.
storage path show-by-initiator Display a list of paths to attached arrays from the initiator’s perspective
storage pool add -storage-pool SP1 -disk-list 2.1.13 -simulate Add disks to a storage pool
storage pool create -storage-pool SP1 -disk-count 6 Create a new storage pool
storage pool delete Delete an existing storage pool
storage pool reassign Reassign capacity from one node to another node in storage pool
storage pool show Display details of storage pools
storage pool show-aggregate -storage-pool SP1 -instance Display aggregates provisioned from storage pools
storage pool show-available-capacity Display available capacity of storage pools
storage pool show-disks Display disks in storage pools
storage port disable -node thesanguy_node1a -port 0b Disable a storage port
storage port enable Enable a storage port
storage port rescan -node nodeB -port 0b Rescan a storage port
storage port reset Reset a storage port
storage port reset-device -node node1 -port 1a -loop-id 10 Reset a device behind a storage port
storage port show Show storage port information
storage raid-options modify Modify a RAID option
storage raid-options show Display RAID options
storage shelf show Display a list of storage shelves
storage shelf acp configure Configure alternate control path (ACP)
storage shelf acp show Show connectivity information
storage shelf acp module show Show modules connected to the cluster
storage shelf firmware show-update-status Display the Shelf Firmware Update (SFU) Status.
storage shelf firmware update Update Shelf Firmware
storage shelf location-led modify Modify the state of the shelf Location LED
storage shelf location-led show Display the Location LED status
storage switch add -address 10.1.1.4 -snmp-community public Add a switch for monitoring
storage switch modify Modify information about a switch’s configuration
storage switch refresh Refresh storage switch info
storage switch remove Remove a switch from monitoring
storage switch show Display switch information
storage tape offline -node cluster1-01 -name thesanguy99 Take a tape drive offline
storage tape online Bring a tape drive online
storage tape position -node thesanguy1-01 -name tape1 -operation rewind Modify a tape drive cartridge position
storage tape reset Reset a tape drive
storage tape show Display information about tape drives and media changers
storage tape show-errors Display tape drive errors
storage tape show-media-changer Display information about media changers
storage tape show-supported-status Displays the qualification and supported status of tape drives
storage tape show-tape-drive Display information about tape drives
storage tape trace -node thesanguy1-01 -is-trace-enabled true Enable/disable tape trace operations
storage tape alias clear -node thesanguy1-01 -name st0 Clear alias names
storage tape alias set Set an alias name for tape drive or media changer
storage tape alias show Displays aliases of all tape drives and media changers
storage tape library config show Display connectivity to back-end storage tape libraries.
storage tape library path show Display a list of Tape Libraries on the given path
storage tape library path show-by-initiator Display a list of LUNs on the given tape library
storage tape config-file delete -filename thesanguy_LTO-6.TCF Delete a tape config file
storage tape config-file get Get a tape drive configuration file
storage tape config-file show Display the list of tape drive configuration files on the given node
storage tape load-balance modify Modify the tape load balance configuration
storage tape load-balance show Displays the tape load balance configuration
System Commands
system controller show Display the controller information
system controller bootmedia show Display the Boot Media Device Health Status
system controller bootmedia serial show Display the Boot Media Device serial number
system controller clus-flap-threshold show Display the controller cluster port flap threshold
system controller config show-errors Display configuration errors
system controller config pci show-add-on-devices Display PCI devices in expansion slots
system controller config pci show-hierarchy Display PCI hierarchy
system controller environment show Display the FRUs in the controller
system controller fru show Display Information About the FRUs in the Controller
system controller fru led disable-all Turn off all the LEDs Data Ontap has lit
system controller fru led enable-all Light all the LEDs
system controller fru led modify Modify the status of FRU LEDs
system controller fru led show Display the status of FRU LEDs
system controller ioxm show Displays IOXM Device Health Status
system controller memory dimm show Display the Memory DIMM Table
system controller pci show Display the PCI Device Table
system controller pcicerr threshold modify Modify the Node PCIe error alert threshold
system controller pcicerr threshold show Display the Node PCIe error alert threshold
system controller sp config show Display the Service Processor Config Table
system controller sp upgrade show Display the Service Processor Upgrade Table
system chassis show Display all the chassis in the cluster
system chassis fru show Display the FRUs in the cluster
system cluster-switch create Add information about a cluster switch or management switch
system cluster-switch delete -device SwitchA Delete information about a cluster switch or management switch
system cluster-switch modify Modify information about a switch’s configuration
system cluster-switch prepare-to-downgrade Changes the model number of manually created switches based on the switch support provided in the Data ONTAP releases prior to 8.2.1
system cluster-switch show Display the configuration for cluster and management switches
system cluster-switch show-all Displays the list of switches that were added and deleted
system cluster-switch polling-interval modify -polling-interval 99 Modify the polling interval for monitoring cluster and management switch health
system cluster-switch polling-interval show Display the polling interval for monitoring cluster and management switch health
system cluster-switch threshold show Display the cluster switch health monitor alert thresholds
system configuration recovery node restore Restore node configuration from a backup
system configuration recovery cluster modify -recovery-status complete Modify cluster recovery status
system configuration recovery cluster recreate Recreate cluster
system configuration recovery cluster rejoin Rejoin a cluster
system configuration recovery cluster show Show cluster recovery status
system configuration recovery cluster sync Sync a node with cluster configuration
system configuration backup copy Copy a configuration backup
system configuration backup create Create a configuration backup
system configuration backup delete Delete a configuration backup
system configuration backup download Download a configuration backup
system configuration backup rename Rename a configuration backup
system configuration backup show Show configuration backup information
system configuration backup upload Upload a configuration backup
system configuration backup settings modify Modify configuration backup settings
system configuration backup settings set-password Modify password for destination URL
system configuration backup settings show Show configuration backup settings
system feature-usage show-history Display Feature Usage History
system feature-usage show-summary Display Feature Usage Summary
system ha interconnect config show Display the high-availability interconnect configuration information
system ha interconnect link off Turn off the interconnect link
system ha interconnect link on Turn on the interconnect link
system ha interconnect port show Display the high-availability interconnect device port information
system ha interconnect ood clear-error-statistics -node ic-f33270-05 Clear error statistics
system ha interconnect ood clear-performance-statistics Clear performance statistics
system ha interconnect ood disable-optimization Disable coalescing work requests
system ha interconnect ood disable-statistics Disable detailed statistics collection
system ha interconnect ood enable-optimization Enable coalescing work requests
system ha interconnect ood enable-statistics Enable detailed statistics collection
system ha interconnect ood send-diagnostic-buffer Send diagnostic buffer to partner
system ha interconnect ood status show Display the high-availability interconnect device out-of-order delivery (OOD) information
system ha interconnect statistics clear-port Clear the high-availability interconnect port counters
system ha interconnect statistics clear-port-symbol-error Clear the high-availability interconnect port symbol errors
system ha interconnect statistics show-scatter-gather-list Display the high-availability interconnect scatter-gather list entry statistics
system ha interconnect statistics performance show Display the high-availability interconnect device performance statistics
system ha interconnect status show Display the high-availability interconnect connection status
system health alert delete Delete system health alert
system health alert modify Modify system health alert
system health alert show View system health alerts
system health alert definition show Display system health alert definition
system health config show Display system health configuration
system health autosupport trigger history show View system health alert history
system health policy definition modify Modify system health policy definition
system health policy definition show Display system health policy definitions
system health status show Display system health monitoring status
system health subsystem show Display the health of subsystems
system license add Add one or more licenses
system license clean-up Remove unnecessary licenses
system license delete -serial-number 1-61-0000000000000000000999999 -package NFS Delete a license
system license show Display licenses
system license capacity show displays the information about the licenses in the system related to capacity
system license entitlement-risk show Display Cluster License Entitlement Risk
system license status show Display license status
system halt -node cluster1 -reason ‘hardware maintenance’ Shut down a node
system node migrate-root Start the root aggregate migration on a node
system node modify Modify node attributes
system node reboot Reboot a node
system node rename Rename a node
system node restore-backup Restore the original backup configuration to the HA target node
system node revert-to Revert a node to a previous release of Data ONTAP
system node run Run interactive or non-interactive commands in the nodeshell
system node run-console Access the console of a node
system node show Display the list of nodes in the cluster
system node show-discovered Display all nodes discovered on the local network
system node show-memory-errors Display Memory Errors on DIMMs
system node autosupport invoke Generate and send an AutoSupport message
system node autosupport invoke-core-upload Generate and send an AutoSupport message with an existing core file.
system node autosupport invoke-performance-archive Generate and send an AutoSupport message with performance archives.
system node autosupport invoke-splog Generate and send an AutoSupport message with collected service-processor log files
system node autosupport modify Modify AutoSupport configuration
system node autosupport show Display AutoSupport configuration
system node autosupport check show Display overall status of AutoSupport subsystem
system node autosupport check show-details Display detailed status of AutoSupport subsystem
system node autosupport destinations show Display a summary of the current AutoSupport destinations
system node autosupport history cancel Cancel an AutoSupport Transmission.
system node autosupport history retransmit Selectively retransmit a previously collected AutoSupport.
system node autosupport history show Display recent AutoSupport messages
system node autosupport history show-upload-details Display upload details of recent AutoSupport messages
system node autosupport manifest show Display AutoSupport content manifest
system node autosupport trigger modify Modify AutoSupport trigger configuration
system node autosupport trigger show Display AutoSupport trigger configuration
system node coredump delete -node node0 -corename core.101689.2018-01-12.12_34_32.nz Delete a coredump
system node coredump delete-all Delete all coredumps owned by a node
system node coredump save Save an unsaved kernel coredump
system node coredump save-all Save all unsaved kernel coredumps owned by a node
system node coredump show Display a list of coredumps
system node coredump status Display kernel coredump status
system node coredump trigger Make the node dump system core and reset
system node coredump config modify Modify coredump configuration
system node coredump config show Display coredump configuration
system node coredump reports delete Delete an application core report
system node coredump reports show Display a list of application core reports
system node coredump segment delete Delete a core segment
system node coredump segment delete-all -node node1 Delete all core segments on a node
system node coredump segment show Display a list of core segments
system node environment sensors show Display the sensor table
system node hardware tape library show Display information about tape libraries
system node hardware tape drive show Displays information about tape drives
system node hardware unified-connect modify Modify the Fibre Channel and converged networking adapter configuration
system node hardware unified-connect show Displays information about Fibre Channel and converged networking adapters
system node external-cache modify -node node1 -is-enabled true Modify external cache settings.
system node external-cache show -node node1 Display external cache settings.
system node image abort-operation Abort software image ‘update’ or ‘get’ operation
system node image get Fetch a file from a URL
system node image modify Modify software image configuration
system node image show Display software image information
system node image show-update-progress Show progress information for a currently running update
system node image update Perform software image upgrade/downgrade
system node image package delete Delete a software package
system node image package show Display software package information
system node firmware download Download motherboard firmware and system diagnostics
system node internal-switch show Display onboard switch attributes
system node internal-switch dump eeprom Display onboard switch eeprom config
system node internal-switch dump port-mapping -node Node1 -switch-id 0 Display onboard switch port mapping
system node internal-switch dump stat Display onboard switch port statistics counter
system node power on Power nodes on
system node power show Display the current power status of the nodes
system node root-mount create Create a mount from one node to another node’s root volume.
system node root-mount delete Delete a mount from one node to another node’s root volume.
system node root-mount show Show the existing mounts from any node to another node’s root volume.
system node upgrade-revert show Display upgrade/revert node status.
system node upgrade-revert upgrade Run the upgrade at a specific phase.
system node virtual-machine instance show Display virtual machine instance information per node
system node virtual-machine instance show-system-disks Display information about Data ONTAP-v system disks
system node virtual-machine hypervisor modify-credentials Modify hypervisor IP address and its credentials
system node virtual-machine hypervisor show Display hypervisor information about Data ONTAP-v nodes
system node virtual-machine hypervisor show-credentials Display hypervisor IP address and its credentials
system node virtual-machine provider credential create Add provider credentials
system node virtual-machine provider credential delete Remove provider credentials
system node virtual-machine provider credential modify Modify provider credentials
system node virtual-machine provider credential show Display the provider credentials
system node virtual-machine provider proxy create Add a proxy server
system node virtual-machine provider proxy delete Remove the proxy server
system node virtual-machine provider proxy modify Modify the proxy server
system node virtual-machine provider proxy show Display the proxy server
system script delete Delete saved CLI session logs
system script show Display saved CLI session logs
system script start Start logging all CLI I/O to session log
system script stop Stops logging CLI I/O
system script upload Upload the selected CLI session log
system service-processor reboot-sp -node node1 -image primary Reboot the Service Processor on a node
system service-processor show Display the Service Processor information
system service-processor api-service modify -port 82001 Modify service processor API service configuration
system service-processor api-service renew-certificates Renew SSL and SSH certificates used for secure communication with Service Processor API service
system service-processor api-service show Display service processor API service configuration
system service-processor image modify -node local -autoupdate true Enable/Disable automatic firmware update
system service-processor image show Display the details of currently installed Service Processor firmware image
system service-processor image update Update Service Processor firmware
system service-processor image update-progress show Display status for the latest Service Processor firmware update
system service-processor log show-allocations Display the Service Processor log allocation map
system service-processor network modify Modify the network configuration
system service-processor network show Display the network configuration
system service-processor network auto-configuration disable Disable Service Processor Auto-Configuration
system service-processor network auto-configuration enable Enable Service Processor Auto-Configuration
system service-processor network auto-configuration show Display Service Processor Auto-Configuration Setup
system service-processor ssh add-allowed-addresses Add IP addresses to the list that is allowed to access the Service Processor
system service-processor ssh remove-allowed-addresses Remove IP addresses from the list that is allowed to access the Service Processor
system service-processor ssh show Display SSH security information about the Service Processor
system services firewall modify Modify firewall status
system services firewall show Show firewall status
system services firewall policy clone Clone an existing firewall policy
system services firewall policy create Create a firewall policy entry for a network service
system services firewall policy delete Remove a service from a firewall policy
system services firewall policy modify Modify a firewall policy entry for a network service
system services firewall policy show Show firewall policies
system services manager install show Display a list of installed services
system services manager policy add -service diagnosis -version 1.0 Add a new service policy
system services manager policy remove Remove a service policy
system services manager policy setstate -service diagnosis -version 1.0 -state off Enable/disable a service policy
system services manager policy show Display service policies
system services manager status show Display the status of a service
system services ndmp kill Kill the specified NDMP session
system services ndmp kill-all -node node1 Kill all NDMP sessions
system services ndmp probe Display list of NDMP sessions
system services ndmp status Display list of NDMP sessions
system services ndmp modify -node node1 Modify NDMP service configuration
system services ndmp service show Display NDMP service configuration
system services ndmp service start Start the NDMP service
system services ndmp service stop -node node0 Stop the NDMP service
system services ndmp service terminate Terminate all NDMP sessions
system services web modify -wait-queue-capacity 256 Modify the cluster-level configuration of web protocols
system services web show Display the cluster-level configuration of web protocols
system services web node show Display the status of the web servers at the node level
system smtape abort -session 99 Abort an active SMTape session
system smtape backup Backup a volume to tape devices
system smtape break Make a restored volume read-write
system smtape continue Continue SMTape session waiting at the end of tape
system smtape restore Restore a volume from tape devices
system smtape showheader Display SMTape header
system smtape status clear Clear SMTape sessions
system smtape status show Show status of SMTape sessions
system timeout modify -timeout 10 Set the CLI inactivity timeout value
system timeout show Display the CLI inactivity timeout value
system snmp authtrap Enables or disables SNMP authentication traps
system snmp contact Displays or modifies contact details
system snmp init Enables or disables SNMP traps
system snmp location Displays or modifies location information
system snmp show Displays SNMP settings
system snmp community add Adds a new community with the specified access control type
system snmp community delete Deletes community with the specified access control type
system snmp community show Displays communities
system snmp traphost add Add a new traphost
system snmp traphost delete Delete a traphost
system snmp traphost showDisplays traphosts Displays traphosts
Volume Commands
vol autosize vol1 -maximum-size 1t -mode grow Set/Display the autosize settings of the flexible volume.
volume create -vserver vs0 -volume vol_cached -aggregate aggr1 -state online -caching-policy auto Create a new volume
volume delete -vserver vs0 -volume vol1_old Delete an existing volume
volume make-vsroot -vserver vs0 -volume root_vs0_backup Designate a non-root volume as a root volume of the Vserver
volume modify -volume vol2 -autosize-mode grow -max-autosize 500g Modify volume attributes
volume mount -vserver vs0 -volume sanguy1 -junction-path /user/sanguy -active true -policy-override false Mount a volume on another volume with a junction-path
volume offline vol23 Take an existing volume offline
volume online vol1 Bring an existing volume online
volume rehost -vserver vs1 -volume vol0 -destination-vserver thesanguy2 Rehost a volume from one Vserver into another Vserver
volume rename -vserver vs0 -volume vol3_bckp -newname vol3_new Rename an existing volume
volume restrict vol1 Restrict an existing volume
volume show -vserver vs1 Display a list of volumes
volume show-footprint Display a list of volumes and their data and metadata footprints in their associated aggregate.
volume show-space Display space usage for volume(s)
volume size Set/Display the size of the volume.
volume transition-prepare-to-downgrade Verifies that there are no volumes actively transitioning from 7-mode to clustered Data ONTAP
volume unmount -vserver vs0 -volume vol2 Unmount a volume
volume efficiency check -vserver vs1 -volume vol1 -delete-checkpoint true Scrub efficiency metadata of a volume
volume efficiency modify -vserver vs1 -volume vol1 -policy policy1 Modify the efficiency configuration of a volume
volume efficiency on Enable efficiency on a volume
volume efficiency prepare-to-downgrade Identify any incompatable volumes or Snapshot copies before downgrade
volume efficiency revert-to Reverts volume efficiency metadata
volume efficiency show -vserver vs1 Display a list of volumes with efficiency
volume efficiency start -volume vol1 -vserver vs1 Starts efficiency operation on a volume
volume efficiency stat -l -vserver vs1 -volume vol1 Show volume efficiency statistics
volume efficiency stop Stop efficiency operation on a volume
volume efficiency undo Undo efficiency on a volume
volume efficiency policy create Create an efficiency policy
volume efficiency policy delete Delete an efficiency policy
volume efficiency policy modify -policy policy1 -schedule hourly Modify an efficiency policy
volume efficiency policy show Show efficiency policies
volume clone create Create a FlexClone volume
volume clone show Display a list of FlexClones
volume clone split commands Commands to manage FlexClone split
volume clone split show Show the status of FlexClone split operations in-progress
volume clone split start Split a FlexClone from the parent volume
volume clone split stop Stop an ongoing FlexClone split job
volume aggregate vacate Move all Infinite Volume constituents from one aggregate to another.
volume file compact-data Apply Adaptive Data Compaction to a Snapshot copy of a file
volume file modify Manage the association of a QoS policy group with a file
volume file privileged-delete Perform a privileged-delete operation on unexpired WORM files on a SnapLock enterprise volume
volume file reservation Get/Set the space reservation info for the named file.
volume file show-disk-usage Show disk usage of file
volume file show-filehandle Show the file handle of a file
volume file show-inode Display file paths for a given inode
volume file clone autodelete Enable/Disable autodelete
volume file clone create Create file or LUN full or sub file clone
volume file clone show-autodelete Show the autodelete status for a file or LUN clone
volume file clone deletion add-extension Add new supported file extensions to be deleted with clone delete
volume file clone deletion modify -volume vol1 -vserver vs1 -minimum-size 100M Used to change the required minimum clone file size of a volume for clone delete
volume file clone deletion remove-extension Remove unsupported file extensions for clone delete
volume file clone deletion show Show the supported file extensions for clone delete
volume file clone split load*> modify -node clone-01 -max-split-load 100KB Modify maximum split load on a node
volume file clone split load show Show split load on a node
volume file fingerprint abort Abort a file fingerprint operation
volume file fingerprint dump Display fingerprint of a file
volume file fingerprint show -vserver vs0 -volume nfs_slc Display fingerprint operation status
volume file fingerprint start Start a file fingerprint computation on a file
volume file retention show Display retention time of a WORM file.
volume inode-upgrade prepare-to-downgrade Prepare volume to downgrade to a release earlier than Data ONTAP 9.0.0
volume inode-upgrade resume -vserver vs0 -volume vol1 Resume suspended inode upgrade
volume inode-upgrade show Display Inode Upgrade Progress
volume move abort -vserver vs0 -volume vol1 Stop a running volume move operation
volume move modify Modify parameters for a running volume move operation
volume move show -vserver vs0 -volume vol2 Show status of a volume moving from one aggregate to another aggregate
volume move start Start moving a volume from one aggregate to another aggregate
volume move trigger-cutover Trigger cutover of a move job
volume move recommend show Display Move Recommendations
volume move target-aggr show List target aggregates compatible for volume move
volume qtree create -vserver vs0 -volume vol1 -qtree qtree1 -security-style mixed Create a new qtree
volume qtree delete -vserver vs0 -volume vol1 -qtree qtree4 Delete a qtree
volume qtree modify Modify qtree attributes
volume qtree oplocks Modify qtree oplock mode
volume qtree rename Rename an existing qtree
volume qtree security Modify qtree security style
volume qtree show Display a list of qtrees
volume qtree statistics -vserver vs0 Display qtree statistics
volume qtree statistics-reset -vserver vs0 -volume vol1 Reset qtree statistics in a volume
volume quota modify Modify quota state for volumes
volume quota off -vserver vs0 -volume vol1 Turn off quotas for volumes
volume quota on -vserver vs0 -volume vol1 Turn on quotas for volumes
volume quota report Display the quota report for volumes
volume quota resize -vserver vs0 -volume vol1 Resize quotas for volumes
volume quota show -vserver vs0 Display quota state for volumes
volume quota policy copy Copy a quota policy
volume quota policy create -vserver vs0 -policy-name quota_policy_0 Create a quota policy
volume quota policy delete -vserver vs0 -policy-name quota_sanguy_2 Delete a quota policy
volume quota policy rename Rename a quota policy
volume quota policy show Display the quota policies
volume quota policy rule create Create a new quota rule
volume quota policy rule delete Delete an existing quota rule
volume quota policy rule modify Modify an existing quota rule
volume quota policy rule show Display the quota rules
volume quota policy rule count show -vserver vs0 -policy-name default Display count of quota rules
volume reallocation measure Start reallocate measure job
volume reallocation off Disable reallocate jobs
volume reallocation on Enable reallocate jobs
volume reallocation quiesce Quiesce reallocate job
volume reallocation restart Restart reallocate job
volume reallocation schedule Modify schedule of reallocate job
volume reallocation show Show reallocate job status
volume reallocation start Start reallocate job
volume reallocation stop Stop reallocate job
volume schedule-style prepare-to-downgrade Disables volume schedule style feature and sets schedule style to default
volume snaplock modify -volume vol_slc -maximum-retention-period infinite Modify SnapLock attributes of a SnapLock volume
volume snaplock show Display SnapLock attributes of a SnapLock volume
volume snapshot compute-reclaimable Calculate the reclaimable space if specified snapshots are deleted
volume snapshot create -vserver vs0 -volume vol3 -snapshot vol3_snap -comment “snapme” -foreground false Create a snapshot
volume snapshot delete -vserver vs0 -volume vol3 -snapshot vol3_daily Delete a snapshot
volume snapshot modify Modify snapshot attributes
volume snapshot modify-snaplock-expiry-time Modify expiry time of a SnapLock Snapshot copy
volume snapshot partial-restore-file Restore part of a file from a snapshot
volume snapshot prepare-for-revert -node node1 Deletes multiple Snapshot copies of the current File System version.
volume snapshot rename Rename a snapshot
volume snapshot restore -vserver vs0 -volume vol3 -snapshot vol3_snap_archive Restore the volume to a snapshot.
volume snapshot restore-file Restore a file from a snapshot
volume snapshot show Display a list of snapshots
volume snapshot show-delta Computes delta between two Snapshot copies
volume snapshot autodelete modify Modify autodelete settings
volume snapshot autodelete show Display autodelete settings
volume snapshot policy add-schedule Add a schedule to snapshot policy
volume snapshot policy create Create a new snapshot policy
volume snapshot policy delete Delete a snapshot policy
volume snapshot policy modify Modify a snapshot policy
volume snapshot policy modify-schedule Modify a schedule within snapshot policy
volume snapshot policy remove-schedule Remove a schedule from snapshot policy
volume snapshot policy show Show snapshot policies
volume transition-convert-dir show Display 7-Mode directories being converted
volume transition-convert-dir start Start converting a 7-Mode directory to Cluster-mode
Vserver Commands
vserver add-aggregates -vserver vs.thesanguy.com -aggregates aggr1,aggr2 Add aggregates to the Vserver
vserver add-protocols -vserver vs0.thesanguy.com -protocols cifs Add protocols to the Vserver
vserver context -vserver vs0.thesanguy.com Set Vserver context
vserver create -vserver vs0.thesanguy.com -ipspace ipspace1 -rootvolume root_vs0 -aggregate aggr0 -language en_US.UTF-8 -rootvolume-security-style mixed Create a Vserver
vserver delete -vserver vs2.thesanguy.com Delete an existing Vserver
vserver modify Modify a Vserver
vserver prepare-for-revert Prepares Vservers to be reverted
vserver remove-aggregates -vserver vs.example.com -aggregates aggr1,aggr2 Remove aggregates from the Vserver
vserver remove-protocols -vserver vs0.example.com -protocols cifs Remove protocols from the Vserver
vserver rename Rename a Vserver
vserver show Display Vservers
vserver show-aggregates -vserver vs Show details of aggregates in a Vserver
vserver show-protocols -vserver vs1 Show protocols for Vserver
vserver start -vserver vs0.thesanguy.com -foreground false Start a Vserver
vserver stop -vserver vs0.thesanguy.com -foreground false Stop a Vserver
vserver unlock -vserver vs1.thesanguy.com -force true Unlock Vserver configuration
vserver active-directory create -vserver vs1 -account-name ADSERVER1 -domain www.thesanguy.com Create an Active Directory account.
vserver active-directory delete Delete an Active Directory account
vserver active-directory modify Modify the domain of an Active Directory account.
vserver active-directory password-change -vserver vs1 Change the domain account password for an Active Directory account
vserver active-directory password-reset Reset the domain account password for an Active Directory account
vserver active-directory show Display Active Directory accounts
vserver check lif-multitenancy run -vserver vs0 Run check for LIF multitenancy
vserver check lif-multitenancy show Show the summary of the latest multitenancy network run
vserver check lif-multitenancy show-results -vserver vs0 Show the results of the latest multitenancy network run
vserver audit create Create an audit configuration
vserver audit delete Delete audit configuration
vserver audit disable Disable auditing
vserver audit enable Enable auditing
vserver audit modify -vserver vs1 -rotate-size 10MB -rotate-limit 3 Modify the audit configuration
vserver audit rotate-log -vserver vs1 Rotate audit log
vserver audit show Display the audit configuration
vserver cifs add-netbios-aliases Add NetBIOS aliases for the CIFS server name
vserver cifs create -vserver vs1 -cifs-server CIFSSERVER1 -domain sample.com Create a CIFS server
vserver cifs delete -vserver vs1 Delete a CIFS server
vserver cifs modify -vserver vs1 -default-site default -status-admin up Modify a CIFS server
vserver cifs nbtstat Display NetBIOS information over TCP connection
vserver cifs prepare-to-downgrade Restore the CIFS Configurations to Earlier Release of Data ONTAP Version
vserver cifs remove-netbios-aliases Remove NetBIOS aliases
vserver cifs repair-modify Repair a partially-failed Vserver CIFS server modify operation
vserver cifs show Display CIFS servers
vserver cifs start Start a CIFS server
cifs stop -vserver vs1 Stop a CIFS server
vserver cifs branchcache create -vserver vs1 -hash-store-path /vs1_hash_store Create the CIFS BranchCache service
vserver cifs branchcache delete -flush-hashes true -vserver vs1 Stop and remove the CIFS BranchCache service
vserver cifs branchcache hash-create Force CIFS BranchCache hash generation for the specified path or file
vserver cifs branchcache hash-flush -vserver vs1 Flush all generated BranchCache hashes
vserver cifs branchcache modify Modify the CIFS BranchCache service settings
vserver cifs branchcache show Display the CIFS BranchCache service status and settings
vserver cifs character-mapping create Create character mapping on a volume
vserver cifs character-mapping delete Delete character mapping on a volume
vserver cifs character-mapping modify Modify character mapping on a volume
vserver cifs character-mapping show Display character mapping on volumes
vserver cifs connection show Displays established CIFS connections
vserver cifs domain discovered-servers reset-servers Reset and rediscover servers for a Vserver
vserver cifs domain discovered-servers show Display discovered server information
vserver cifs domain name-mapping-search add Add to the list of trusted domains for name-mapping
vserver cifs domain name-mapping-search modify Modify the list of trusted domains for name-mapping search
vserver cifs domain name-mapping-search remove Remove from the list of trusted domains for name-mapping search
vserver cifs domain name-mapping-search show Display the list of trusted domains for name-mapping searches
vserver cifs domain password change -vserver vs1 Generate a new password for the CIFS server’s machine account and change it in the Windows Active Directory domain.
vserver cifs domain password reset Reset the CIFS server’s machine account password in the Windows Active Directory domain.
vserver cifs domain password schedule modify Modify the domain account password change schedule
vserver cifs domain preferred-dc add -vserver vs1 -domain example.com -preferred-dc 10.1.1.1 Add to a list of preferred domain controllers
vserver cifs domain preferred-dc remove Remove from a list of preferred domain controllers
vserver cifs domain preferred-dc show Display a list of preferred domain controllers
vserver cifs domain trusts rediscover Reset and rediscover trusted domains for a Vserver
vserver cifs domain trusts show Display discovered trusted domain information
vserver cifs group-policy modify -vserver vs1 -status enabled Change group policy configuration
vserver cifs group-policy show Show group policy configuration
vserver cifs group-policy show-applied Show currently applied group policy setting
vserver cifs group-policy show-defined Show applicable group policy settings defined in Active Directory
vserver cifs group-policy update -vserver vs1 -force-reapply-all-settings true Apply group policy settings defined in Active Directory
vserver cifs group-policy central-access-policy show-applied Show currently applied central access policies
vserver cifs group-policy central-access-policy show-defined Show applicable central access policies defined in the Active Directory
vserver cifs group-policy central-access-rule show-applied Show currently applied central access rules
vserver cifs group-policy central-access-rule show-defined Show applicable central access rules defined in the Active Directory
vserver cifs group-policy restricted-group show-applied Show the applied restricted-group settings.
vserver cifs group-policy restricted-group show-defined Show the defined restricted-group settings.
vserver cifs home-directory modify Modify attributes of CIFS home directories
vserver cifs home-directory show Display home directory configurations
vserver cifs home-directory show-user Display the Home Directory Path for a User
vserver cifs home-directory search-path add -vserver vs1 -path /home1 Add a home directory search path
vserver cifs home-directory search-path remove Remove a home directory search path
vserver cifs home-directory search-path reorder -vserver vs1 -path /home1 -to-position 1 Change the search path order used to find a match
vserver cifs home-directory search-path show Display home directory search paths
vserver cifs options modify Modify CIFS options
vserver cifs options show Display CIFS options
vserver cifs security modify Modify CIFS security settings
vserver cifs security show Display CIFS security settings
vserver cifs session close -node * -protocol-version SMB2 Close an open CIFS session
vserver cifs session show Display established CIFS sessions
vserver cifs session file close Close an open CIFS file
vserver cifs session file show Display opened CIFS files
vserver cifs share create -vserver vs1 -share-name SALES_SHARE -path /sales -symlink properties enable Create a CIFS share
vserver cifs share delete -vserver vs1 -share-name share1 Delete a CIFS share
vserver cifs share modify Modify a CIFS share
vserver cifs share show Display CIFS shares
vserver cifs share properties add Add to the list of share properties
vserver cifs share properties remove Remove from the list of share properties
vserver cifs share properties show Display share properties
vserver cifs share access-control create Create an access control list
vserver cifs share access-control delete Delete an access control list
vserver cifs share access-control modify Modify an access control list
vserver cifs share access-control show Display access control lists on CIFS shares
vserver cifs superuser create -domain thesanguy.com -accountname username -vserver vs1 Adds superuser permissions to a CIFS account
vserver cifs superuser delete Deletes superuser permissions from a CIFS account
vserver cifs superuser show Display superuser permissions for CIFS accounts
vserver cifs symlink create Create a symlink path mapping
vserver cifs symlink delete Delete a symlink path mapping
vserver cifs symlink modify Modify a symlink path mapping
vserver cifs symlink show Show symlink path mappings
vserver cifs users-and-groups update-names Update the names of Active Directory users and groups
vserver cifs users-and-groups local-group add-members Add members to a local group
vserver cifs users-and-groups local-group create Create a local group
server cifs users-and-groups local-group delete -vserver vs1 -group-name CIFS_SERVER Delete a local group
vserver cifs users-and-groups local-group modify Modify a local group
vserver cifs users-and-groups local-group remove-members Remove members from a local group
vserver cifs users-and-groups local-group rename Rename a local group
vserver cifs users-and-groups local-group show -vserver vs1 Display local groups
vserver cifs users-and-groups local-group show-members -vserver vs1 Display local groups’ members
vserver cifs users-and-groups privilege add-privilege Add local privileges to a user or group
vserver cifs users-and-groups privilege remove-privilege Remove privileges from a user or group
vserver cifs users-and-groups privilege reset-privilege Reset local privileges for a user or group
vserver cifs users-and-groups privilege show Display privileges
vserver cifs users-and-groups local-user create Create a local user
vserver cifs users-and-groups local-user delete Delete a local user
vserver cifs users-and-groups local-user modify Modify a local user
vserver cifs users-and-groups local-user rename Rename a local user
vserver cifs users-and-groups local-user set-password Set a password for a local user
vserver cifs users-and-groups local-user show Display local users
vserver cifs users-and-groups local-user show-membership Display local users’ membership information
vserver config-replication pause Temporarily pause Vserver configuration replication
vserver config-replication resume Resume Vserver configuration replication
vserver config-replication show Display Vserver configuration replication resume time
vserver data-policy export -vserver vs1 Display a data policy
vserver data-policy import Import a data policy
vserver data-policy validate Validate a data policy without import
vserver export-policy check-access Given a Volume And/or a Qtree, Check to See If the Client Is Allowed Access
vserver export-policy copy Copy an export policy
vserver export-policy create Create a rule set
vserver export-policy delete Delete a rule set
vserver export-policy rename Rename an export policy
vserver export-policy show Display a list of rule sets
vserver export-policy access-cache config modify -ttl-positive 36000 -ttl-negative 3600 -harvest-timeout 43200 Modify exports access cache configuration
vserver export-policy access-cache config modify-all-vservers -ttl-positive 36000 -ttl-negative 3600 -harvest-timeout 43200 Modify exports access cache configuration for all Vservers
vserver export-policy access-cache config show Display exports access cache configuration
vserver export-policy access-cache config show-all-vservers Display exports access cache configuration for all Vservers
vserver export-policy netgroup check-membership Check to see if the client is a member of the netgroup
vserver export-policy netgroup cache show -vserver vs1 -netgroup netgroup1 Show the Netgroup Cache
vserver export-policy netgroup queue show Show the Netgroup Processing Queue
vserver export-policy cache flush -vserver vs0 -cache access Flush the Export Caches
vserver export-policy rule add-clientmatches Add list of clientmatch strings to an existing rule
vserver export-policy rule create Create a rule
vserver export-policy rule delete Delete a rule
vserver export-policy rule modify Modify a rule
vserver export-policy rule remove-clientmatches -vserver vs1 -policyname default_expolicy -ruleindex 1 -clientmatches “1.1.1.1” Remove list of clientmatch strings from an existing rule
vserver export-policy rule setindex Move a rule to a specified index
vserver export-policy rule show Display a list of rules
vserver fcp create Create FCP service configuration
vserver fcp create -vserver vsanguy_1 Manage the FCP service on a Vserver
vserver fcp delete -vserver vsanguy_1 Delete FCP service configuration
vserver fcp modify -vserver vsanguy_1 -status-admin down Modify FCP service configuration
vserver fcp show Display FCP service configuration
vserver fcp start Starts the FCP service
vserver fcp stop Stops the FCP service
vserver fcp interface show Display configuration information for an FCP interface
vserver fcp ping-igroup show Ping FCP by Igroup
vserver fcp initiator show Display FCP initiators currently connected
vserver fcp ping-initiator show Ping FCP initiator
vserver fcp portname set -vserver vs_1 -lif vs_1.fcp -wwpn SA:NG:UY:B0:58:9b:F6:33 Assigns a new WWPN to a FCP adapter
vserver fcp portname show Display WWPN for FCP logical interfaces
vserver fcp wwn blacklist commands Manage blacklisted WWNs
vserver fcp wwn blacklist show Displays the blacklisted WWNs
vserver fcp wwpn-alias remove -vserver vs_1 -wwpn ff:b1:TH:ES:AN:GU:Ya:23 Removes an alias for a World Wide Port Name of an initiator.
vserver fcp wwpn-alias set Set an alias for a World Wide Port Name of an initiator that might login to the target.
vserver fcp wwpn-alias show Displays a list of the WWPN aliases configured for initiators
vserver fpolicy disable Disable a policy
vserver fpolicy enable Enable a policy
vserver fpolicy engine-connect Establish a connection to FPolicy server
vserver fpolicy engine-disconnect Terminate connection to FPolicy server
vserver fpolicy prepare-to-downgrade Restore the FPolicy configuration to Earlier Release of Data ONTAP
vserver fpolicy show Display all policies with status
vserver fpolicy show-enabled Display all enabled policies
vserver fpolicy show-engine Display FPolicy server status
vserver fpolicy show-passthrough-read-connection Display connection status for FPolicy passthrough-read
vserver fpolicy policy create Create a policy
vserver fpolicy policy delete Delete a policy
vserver fpolicy policy modify Modify a policy
vserver fpolicy policy show Display policy configuration
vserver fpolicy policy external-engine create Create an external engine
vserver fpolicy policy external-engine delete Delete an external engine
vserver fpolicy policy external-engine modify Modify an external engine
vserver fpolicy policy external-engine show Display external engines
vserver fpolicy policy scope create Create scope
vserver fpolicy policy scope delete Delete scope
vserver fpolicy policy scope modify Modify scope
vserver fpolicy policy scope show Display scope
vserver fpolicy policy event create Create an event
vserver fpolicy policy event delete -vserver vs1.example.com -event-name cifs_event Delete an event
vserver fpolicy policy event modify Modify an event
vserver fpolicy policy event show Display events
vserver group-mapping create Create a group mapping
vserver group-mapping delete Delete a group mapping
vserver group-mapping insert Create a group mapping at a specified position
vserver group-mapping modify Modify a group mapping’s pattern, replacement pattern, or both
vserver group-mapping show Display group mappings
vserver group-mapping swap Exchange the positions of two group mappings
vserver iscsi create -vserver vs_1 Create a Vserver’s iSCSI service
vserver iscsi delete Delete a Vserver’s iSCSI service
vserver iscsi modify Modify a Vserver’s iSCSI service
vserver iscsi show Display a Vserver’s iSCSI configuration
vserver iscsi start Starts the iSCSI service
vserver iscsi stop Stops the iSCSI service
vserver iscsi connection show Display active iSCSI connections
vserver iscsi connection shutdown Shut down a connection on a node
vserver iscsi command show Display active iSCSI commands
vserver iscsi initiator show Display iSCSI initiators currently connected
vserver iscsi interface disable Disable the specified interfaces for iSCSI service
vserver iscsi interface enable Enable the specified interfaces for iSCSI service
vserver iscsi interface modify Modify network interfaces used for iSCSI connectivity
vserver iscsi interface show -vserver vs_1 Show network interfaces used for iSCSI connectivity
vserver iscsi interface accesslist add Add the iSCSI LIFs to the accesslist of the specified initiator
vserver iscsi interface accesslist remove Remove the iSCSI LIFs from the accesslist of the specified initiator
vserver iscsi interface accesslist show Show accesslist of the initiators for iSCSI connectivity
vserver iscsi isns create Configure the iSNS service for the Vserver
vserver iscsi isns delete Remove the iSNS service for the Vserver
vserver iscsi isns modify Modify the iSNS service for the Vserver
vserver iscsi isns show Show iSNS service configuration
vserver iscsi isns start -vserver vs_1 Starts the iSNS service
vserver iscsi isns stop Stops the iSNS service
vserver iscsi isns update Force update of registered iSNS information
vserver iscsi session show Display iSCSI sessions
vserver iscsi session shutdown Shut down a session on a node
vserver iscsi session parameter show Display the parameters used to establish an iSCSI session
vserver iscsi security create Create an iSCSI authentication configuration for an initiator
vserver iscsi security delete -vserver vs_1 -initiator iqn.1992-08.com.thesanguy:abcdefg Delete the iSCSI authentication configuration for an initiator
vserver iscsi security modify Modify the iSCSI authentication configuration for an initiator
vserver iscsi security show Show the current iSCSI authentication configuration
vserver nfs create Create an NFS configuration for a Vserver
vserver nfs delete -vserver vs2 Delete the NFS configuration of a Vserver
vserver nfs modify -vserver vs0 -access true -v3 enabled -udp disabled -tcp enabled Modify the NFS configuration of a Vserver
vserver nfs off -vserver vs0 Disable the NFS service of a Vserver
vserver nfs on -vserver vs0 Enable the NFS service of a Vserver
vserver nfs prepare-for-v3-ms-dos-client-downgrade Disable NFSv3 MS-DOS Client Support
vserver nfs show Display the NFS configurations of Vservers
vserver nfs start -vserver vs0 Start the NFS service of a Vserver
vserver nfs status -vserver vs0 Display the status of the NFS service of a Vserver
vserver nfs stop Stop the NFS service of a Vserver
vserver nfs kerberos realm create Create a Kerberos realm configuration
vserver nfs kerberos realm delete -vserver AUTH -realm security.thesanguy.com Delete a Kerberos realm configuration
vserver nfs kerberos realm modify Modify a Kerberos realm configuration
vserver nfs kerberos realm show Display Kerberos realm configurations
vserver nfs kerberos interface disable -vserver vs0 -lif datalif1 Disable NFS Kerberos on a LIF
vserver nfs kerberos interface enable Enable NFS Kerberos on a LIF
vserver nfs kerberos interface modify Modify the Kerberos configuration of an NFS server
vserver nfs kerberos interface show Display the Kerberos configurations of NFS servers
vserver nfs pnfs devices create Create a new pNFS device and its mapping
vserver nfs pnfs delete -mid 2 Delete a pNFS device
vserver nfs pnfs devices show Display pNFS device information
vserver nfs pnfs devices cache show Display the device cache
vserver nfs pnfs devices mappings show Display the list of pNFS device mappings
vserver locks break Break file locks based on a set of criteria
vserver locks show Display current list of locks
vserver name-mapping create Create a name mapping
vserver name-mapping delete Delete a name mapping
vserver name-mapping insert Create a name mapping at a specified position
vserver name-mapping modify Modify a name mapping’s pattern, replacement pattern, or both
vserver name-mapping refresh-hostname-ip Refresh the IP addresses for configured hostnames
vserver name-mapping show Display name mappings
vserver name-mapping swap Exchange the positions of two name mappings
vserver peer accept -vserver pvs1.example.com -peer-vserver lvs1.thesanguy.com Accept a pending Vserver peer relationship
vserver peer create Create a new Vserver peer relationship
vserver peer delete Delete a Vserver peer relationship
vserver peer modify Modify a Vserver peer relationship
vserver peer modify-local-name Modify the local name for a peer Vserver
vserver peer reject Reject a Vserver peer relationship
vserver peer repair-peer-name -vserver vs1.thesanguy.com Repair the peer vserver name that was not updated during the last rename operation
vserver peer resume Resume a Vserver peer relationship
vserver peer show Display Vserver peer relationships
vserver peer suspend -vserver lvs1.thesanguy.com -peer-vserver pvs1.thesanguy.com Suspend a Vserver peer relationship
vserver peer transition create Create a new transition peer relationship between a 7-Mode system and a Vserver.
vserver peer transition delete Delete a transition peer relationship.
vserver peer transition modify Modify a transition peer relationship.
vserver peer transition show Display transition peer relationships.
vserver san prepare-to-downgrade Restore the SAN Configurations to Earlier Release of Data ONTAP Version.
vserver security file-directory apply -vserver vs0 -policy-name p1 Apply security descriptors on files and directories defined in a policy to a Vserver
vserver security file-directory remove-slag Removes Storage-Level Access Guard
vserver security file-directory show Display file/folder security information
vserver security file-directory ntfs create Create an NTFS security descriptor
vserver security file-directory ntfs delete -ntfs-sd sd1 -vserver vs1 Delete an NTFS security descriptor
vserver security file-directory ntfs modify Modify an NTFS security descriptor
vserver security file-directory ntfs show Display an NTFS security descriptors
vserver security file-directory ntfs dacl add Add a DACL entry to NTFS security descriptor
vserver security file-directory ntfs dacl modify Modify an NTFS security descriptor DACL entry
vserver security file-directory ntfs dacl remove Remove a DACL entry from NTFS security descriptor.
vserver security file-directory ntfs dacl show Display NTFS security descriptor DACL entries
vserver security file-directory ntfs sacl add Add a SACL entry to NTFS security descriptor
vserver security file-directory ntfs sacl modify Modify an NTFS security descriptor SACL entry
vserver security file-directory ntfs sacl remove Remove a SACL entry from NTFS security descriptor
vserver security file-directory ntfs sacl show Display NTFS security descriptor SACL entries
vserver security file-directory policy create -policy-name policy1 -vserver server1 Create a file security policy
vserver security file-directory policy delete Delete a file security policy
vserver security file-directory policy show Display file security policies
vserver security file-directory policy task add Add a policy task
vserver security file-directory policy task modify Modify policy tasks
vserver security file-directory policy task remove Remove a policy task
vserver security file-directory policy task show Display policy tasks
vserver security file-directory job show Display a list of file security jobs
vserver security trace trace-result delete -vserver vserver_1 -node Node_1 -seqnum 999 Delete trace results
vserver security trace trace-result show Show trace results
vserver security trace filter create Create a security trace entry
vserver security trace filter delete -vserver vs0 -index 1 Delete a security trace entry
vserver security trace filter modify Modify a security trace entry
vserver security trace filter show Display a security trace entry
vserver services name-service dns create Create a new DNS table entry
vserver services name-service dns delete -vserver vs0 Remove a DNS table entry
vserver services name-service dns modify Change a DNS table entry
vserver services name-service dns show Display DNS configuration
vserver services name-service dns hosts create Create a new host table entry
vserver services name-service dns hosts delete Remove a host table entry
vserver services name-service dns hosts modify -vserver -vs1 -address 10.0.0.57 -hostname www.thesanguy.com Modify hostname or aliases
vserver services name-service dns hosts show Display IP address to hostname mappings
vserver services name-service dns dynamic-update modify Modify a Dynamic DNS Update Configuration
vserver services name-service dns dynamic-update prepare-to-downgrade Disable the Dynamic DNS update feature to be compatible with releases earlier than Data ONTAP 8.3.1
vserver services name-service dns dynamic-update show Display Dynamic DNS Update Configuration
vserver services name-service getxxbyyy getaddrinfo Gets the IP address information by using the host name.
vserver services name-service getxxbyyy getgrbygid Gets the group members by using the group identifier or GID.
vserver services name-service getxxbyyy getgrbyname Gets the group members by using the group name.
vserver services name-service getxxbyyy getgrlist Gets the group list by using the user name.
vserver services name-service getxxbyyy gethostbyaddr Gets the host information from the IP address.
vserver services name-service getxxbyyy gethostbyname Gets the IP address information from host name.
vserver services name-service getxxbyyy getnameinfo Gets the name information by using the IP address.
vserver services name-service getxxbyyy getpwbyname Gets the password entry by using the user name.
vserver services name-service getxxbyyy getpwbyuid Gets the password entry by using the user identifier or UID.
vserver services name-service getxxbyyy netgrp Checks if a client is part of a netgroup.
vserver services name-service getxxbyyy netgrpbyhost Check if a client is part of a netgroup using netgroup-by-host query
vserver services name-service ldap create -vserver vs1 -client-config corp Create an LDAP configuration
vserver services name-service ldap delete -vserver vs1 Delete an LDAP configuration
vserver services name-service ldap modify -vserver vs1 -client-config corpnew Modify an LDAP configuration
vserver services name-service ldap show Display LDAP configurations
vserver services name-service ldap client create -vserver vs1 -client-config corp – servers 192.16.0.100,192.16.0.101 Create an LDAP client configuration
vserver services name-service ldap client delete -vserver vs1 -client-config corp Delete an LDAP client configuration
vserver services name-service ldap client modify Modify an LDAP client configuration
vserver services name-service ldap client modify-bind-password Modify Bind Password of an LDAP client configuration
vserver services name-service ldap client show Display LDAP client configurations
vserver services name-service ldap client schema show Display LDAP schema templates
vserver services name-service netgroup load Load netgroup definitions from a URI
vserver services name-service netgroup status Display local netgroup definitions status
vserver services name-service netgroup file delete -vserver vs1 Remove a local netgroup file
vserver services name-service netgroup file show Display a local netgroup file
vserver services name-service nis-domain create Create a NIS domain configuration
vserver services name-service nis-domain delete -vserver vs2 -domain testnisdomain Delete a NIS domain configuration
vserver services name-service nis-domain modify Modify a NIS domain configuration
vserver services name-service nis-domain show Display NIS domain configurations
vserver services name-service nis-domain show-bound Display binding status of a NIS domain configuration
vserver services name-service ns-switch commands Manage Name Services Switch ordering
vserver services name-service ns-switch create Create a new Name Service Switch table entry
vserver services name-service ns-switch delete -vserver vs0 -database hosts Remove a Name Service Switch table entry
vserver services name-service ns-switch modify Change a Name Service Switch table entry
vserver services name-service ns-switch show Display Name Service Switch configuration
vserver services name-service remote-admin-auth prepare-to-downgrade Disable remote admin authentication feature to be compatible with releases earlier than Data ONTAP 8.3.1
vserver services name-service unix-group adduser Add a user to a local UNIX group
vserver services name-service unix-group create -vserver vs0 -name sanguy -id 99 Create a local UNIX group
vserver services name-service unix-group delete Delete a local UNIX group
vserver services name-service unix-group deluser Delete a user from a local UNIX group
vserver services name-service unix-group load-from-uri Load one or more local UNIX groups from a URI
vserver services name-service unix-group modify vserver services name-service unix-group modify -vserver vs0 -group hr -id 65
vserver services name-service unix-group show Display local UNIX groups
vserver services name-service unix-group max-limit modify -limit 33792 Change Configuration Limits for UNIX-Group
vserver services name-service unix-group max-limit show Display Configuration Limits for UNIX-Group
vserver services name-service unix-user create Create a local UNIX user
vserver services name-service unix-user delete -vserver vs0 -user testuser Delete a local UNIX user
vserver services name-service unix-user load-from-uri Load one or more local UNIX users from a URI
vserver services name-service unix-user modify Modify a local UNIX user
vserver services name-service unix-user show Display local UNIX users
vserver services name-service unix-user max-limit modify Change Configuration Limits for UNIX-User
vserver services name-service ypbind start Start ypbind
vserver services name-service ypbind status Current ypbind status
vserver services name-service ypbind stop Stop ypbind
vserver services ndmp generate-password Generates NDMP password for a user
vserver services ndmp kill 1001:9022 -vserver vserverA Kill the specified NDMP session
vserver services ndmp kill-all This command terminates all NDMP sessions on a particular Vserver in the cluster.
vserver services ndmp modify Modify NDMP Properties
vserver services ndmp off -vserver vs1 Disable NDMP service
vserver services ndmp on -vserver vs1 Enable NDMP service
vserver services ndmp probe Display list of NDMP sessions
vserver services ndmp show Display NDMP Properties
vserver services ndmp status Display list of NDMP sessions
vserver services ndmp extension modify -is-extension-0x2050-enabled true Modify NDMP extension status
vserver services ndmp extensions show Display NDMP extension status
vserver services ndmp log start Start logging for the specified NDMP session
vserver services ndmp log stop Stop logging for the specified NDMP session
vserver services ndmp restartable-backup delete Delete an NDMP restartable backup context
vserver services ndmp restartable-backup show Display NDMP restartable backup contexts
vserver services web modify Modify the configuration of web services
vserver services web show Display the current configuration of web services
vserver services web access create -name ontapi -role auditor Authorize a new role for web service access
vserver services web access delete -name ontapi -role auditor Remove role authorization for web service access
vserver services web access show Display web service authorization for user roles
vserver smtape break -vserver vserver0 -volume datavol Make a restored volume read-write
vserver snapdiff-rpc-server off -vserver vs0 Stop the SnapDiff RPC server
vserver snapdiff-rpc-server on Start the SnapDiff RPC Server
vserver snapdiff-rpc-server show Display the SnapDiff RPC server configurations of Vservers
vserver vscan disable Disable Vscan on a Vserver
vserver vscan enable Enable Vscan on a Vserver
vserver vscan reset Discard cached scan information
vserver vscan show Display Vscan status
vserver vscan show-events Display Vscan events
vserver vscan connection-status show Display Vscan servers connection status summary
vserver vscan connection-status show-all Display Vscan servers connection status
vserver vscan connection-status show-connected Display connection status of connected Vscan servers
vserver vscan connection-status show-not-connected Display connection status of Vscan servers which are allowed to connect but not yet connected
vserver vscan on-access-policy create Create an On-Access policy
vserver vscan on-access-policy delete Delete an On-Access policy
vserver vscan on-access-policy disable Disable an On-Access policy
vserver vscan on-access-policy enable Enable an On-Access policy
vserver vscan on-access-policy modify Modify an On-Access policy
vserver vscan on-access-policy show Display On-Access policies
vserver vscan on-access-policy file-ext-to-include add Add to the list of file extensions to include
vserver vscan on-access-policy file-ext-to-include remove Remove from the list of file extensions to include
vserver vscan on-access-policy file-ext-to-include show Display list of file extensions to include
vserver vscan on-access-policy file-ext-to-exclude add Add to the list of file extensions to exclude
vserver vscan on-access-policy file-ext-to-exclude remove Remove from the list of file extensions to exclude
vserver vscan on-access-policy file-ext-to-exclude show Display list of file extensions to exclude
vserver vscan on-access-policy paths-to-exclude add Add to the list of paths to exclude
vserver vscan on-access-policy paths-to-exclude remove Remove from the list of paths to exclude
vserver vscan on-access-policy paths-to-exclude show Display list of paths to exclude
vserver vscan on-demand-task create Create an On-Demand task
vserver vscan on-demand-task delete -vserver vs1 -task-name t1 Delete an On-Demand task
vserver vscan on-demand-task modify Modify an On-Demand task
vserver vscan on-demand-task run -vserver vs1 -task-name t1 Run an On-Demand task
vserver vscan on-demand-task schedule Schedule an On-Demand task
vserver vscan on-demand-task show Display On-Demand tasks
vserver vscan on-demand-task unschedule -vserver vs1 -task-name t1 Unschedule an On-Demand task
vserver vscan on-demand-task report delete Delete an On-Demand report
vserver vscan on-demand-task report show Display On-Demand reports
vserver vscan scanner-pool apply-policy -vserver vs1 -scanner-pool p1 -scanner-policy primary -cluster cluster2 Apply scanner-policy to a scanner pool
vserver vscan scanner-pool create Create a scanner pool
vserver vscan scanner-pool delete Delete a scanner pool
vserver vscan scanner-pool modify Modify a scanner pool
vserver vscan scanner-pool show Display scanner pools
vserver vscan scanner-pool show-active Display active scanner pools
vserver vscan scanner-pool privileged-users add Add to the list of privileged users
vserver vscan scanner-pool privileged-users remove Remove from the list of privileged users
vserver vscan scanner-pool privileged-users show Display list of privileged users
vserver vscan scanner-pool servers add Add to the list of hostnames
vserver vscan scanner-pool servers remove Remove from the list of hostnames
vserver vscan scanner-pool servers show Display list of servers
Advertisements

EMC XTremIO CLI Reference Guide (XMSCLI)

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 is a quick reference guide for the EMC XTremIO CLI, including all of the commands for cluster monitoring, cluster operations, hardware management, volume operations, administration & configuration, and alerting & events.

Monitoring Clusters
show-clusters Displays the connected clusters’ information.
show-clusters-info Displays the connected clusters’ information.
show-clusters-upgrade Displays the clusters’ upgrade status.
show-clusters-upgrade-progress Displays indicators of the clusters’ software upgrade progress.
show-clusters-performance Displays clusters’ performance data.
show-clusters-performance-small Displays clusters’ performance data for small (under 4KB) blocks.
show-clusters-performance-unaligned Displays clusters’ performance data for unaligned blocks.
show-clusters-performance-latency Displays clusters’ performance latency data.
modify-clusters-parameters Displays the connected clusters iSCSI TCP port numbers.
show-clusters-savings Displays savings parameters of the selected cluster.
modify-cluster-thresholds Displays thin provisioning soft limits for the connected clusters.
show-clusters-data-protection-properties Displays clusters’ data protection properties.
Managing Multiple Clusters
add-cluster Adds a Cluster to the list of Clusters managed by the XMS.
remove-cluster Removes a Cluster from the list of Clusters managed by the XMS.
set-context Sets a cluster context in a multiple cluster environment and
Managing Tags
show-tags Displays the details of all defined Tags.
show-tag Displays the details of a specified Tag.
create-tag Creates a Tag for an entity.
tag-object Assigns a Tag to the specified object.
untag-object Removes a Tag from the specified object.
modify-tag Modifies the specified Tag caption.
remove-tag Deletes a Tag from the Tags list.
Monitoring Cluster Performance
show-most-active Displays the most active Volumes and Initiator Groups.
show-most-active-initiator-groups Displays performance data of the most active Initiator Groups.
show-most-active-volumes Displays performance data of the most active Volumes.
Monitoring X-Bricks
show-bricks Displays a list of X-Bricks and their associated cluster.
show-clusters Displays the connected clusters information.
show-storage-controllers Displays the cluster’s Storage Controllers information and status.
show-ssds Displays a list of SSDs in the cluster and their properties.
show-bbus Displays the Battery Backup Units information.
Monitoring Storage Controllers
show-storage-controllers Displays the cluster’s Storage Controllers information and status.
show-storage-controllers-info Displays the cluster’s Storage Controllers information.
show-storage-controllers-fw-versions Displays the Storage Controllers firmware version information.
show-storage-controllers-psus Displays information on Storage Controllers power supply units.
show-storage-controllers-sensors Displays a list of sensors and their related information.
test-xms-storage-controller-connectivity Performs a connectivity check for the specified Storage Controller and its Managing XMS.
Monitoring SSDs
show-ssds Displays a list of SSDs in the cluster and their properties.
show-ssds-performance Displays the SSDs performance data.
show-slots Displays a list of SSD slots and their properties.
Monitoring InfiniBand Switches
show-infiniband-switches displays InfiniBand Switches’ information.
show-infiniband-switches-ports Displays InfiniBand Switches’ port information.
show-infiniband-switches-psus Displays a InfiniBand Switches’ PSU infomation.
Monitoring Data Protection Groups
show-data-protection-groups Displays XDP groups status and information.
show-clusters-data-protection-properties Displays the clusters’ data protection properties.
show-data-protection-groups-performance Displays XDP groups performance information.
Monitoring Local Disks
show-local-disks Displays the Storage Controller’s Local Disks information.
Monitoring BBUs
show-bbus Displays Battery Backup Units information.
Monitoring DAEs
show-daes Displays the cluster’s DAE information.
show-daes-psus Displays a list of DAE power supply units (PSUs) and their properties.
show-daes-controllers Displays a list of DAE LCCs (controllers) and their properties.
Monitoring Targets
show-targets Displays the cluster Targets information.
show-target-groups Displays a list of Target groups.
show-targets-fc-error-counters Displays Fibre Channel error counter per Target.
show-target-groups-fc-error-counters Displays Fibre Channel error counter per Target group.
show-targets-performance Displays Targets’ performance data.
show-targets-performance-small Displays Targets’ performance data for small (under 4KB) blocks.
show-targets-performance-unaligned Displays Targets’ performance data for unaligned blocks.
show-target-groups-performance Displays Target groups’ performance data.
show-target-groups-performance-small Displays Target groups’ performance data for small (under 4KB) blocks.
show-target-groups-performance-unaligned Displays Target groups’ performance data for unaligned blocks.
Monitoring Volumes
show-volume Displays the specified Volume’s information.
show-volumes Displays a list of Volumes and their information.
show-volume-snapshot-groups Displays the defined Snapshot groups and their parameters
show-volumes-performance Displays Volumes’ performance data.
show-volumes-performance-small Displays Volumes’ performance data for small (under 4KB) blocks.
show-volumes-performance-unaligned Displays Volumes’ performance data for unaligned blocks.
Monitoring Consistency Groups
show-consistency-group Displays the parameters of the specified Consistency Group.
show-consistency-groups Displays the parameters of all defined Consistency Groups.
Monitoring Initiators
show-initiators Displays Initiators’ data.
show-initiators-performance Displays Initiators’ performance data.
show-initiators-performance-small Displays Initiators’ performance data for small (under 4KB) blocks.
show-initiators-performance-unaligned Displays Initiators’ performance data for unaligned blocks.
show-initiators-connectivity Displays Initiators-Port connectivity and the number of the connected Targets. Specifying the Target-details input parameter, provides the Initiators-Targets connectivity map.
show-discovered-initiators-connectivity Displays the Initiators that are logged in to the cluster but not assigned to any Initiator Group.
Monitoring initiator groups
show-initiator-group Displays information for a specific Initiator Group.
show-initiator-groups Displays information for all Initiator Groups.
show-initiator-groups-performance Displays Initiator Groups’ performance data.
show-initiator-groups-performance-small Displays Initiator Groups’ performance data for small (under 4KB) blocks.
show-initiator-groups-performance-unaligned Displays Initiator Groups’ performance data for unaligned blocks.
Monitoring Snapshot Sets
show-snapshot-set displays the parameters of a specified Snapshot Set.
show-snapshot-sets Displays a list of Snapshot Sets and related information.
Monitoring Cluster Alerts
show-alerts Displays a list of active alerts and their details.
show-alert-definitions Displays a list of pre-defined alerts and their definitions.
Managing Reports
show-report Displays the details of a specified report.
show-reports Displays a list of defined reports.
show-reports-data displays a report’s data for a specified entity and category.
Managing Tags
show-tags Displays the details of all defined Tags.
show-tag Displays the details of a specified Tag.
create-tag Creates a Tag for an entity.
tag-object Assigns a Tag to a specified object.
untag-object Removes a Tag from a specified object.
modify-tag Modifies a specified Tag caption.
remove-tag Deletes a Tag from the Tags list.
Managing Volumes and Snapshots
add-volume Creates and adds a new Volume.
remove-volume Removes a Volume.
modify-volume Modifies a Volume’s parameters.
show-volume Displays the specified Volume’s information.
show-volumes Displays a list of Volumes/Snapshots (including properties of each), and the Volume Snapshot Group Index each Volume/Snapshot belongs to.
create-snapshot Creates a Snapshot from a specified Volume.
create-snapshot-and-reassign Creates a Snapshot from a specified Volume/Snapshot, Consistency Group, or Snapshot Set and reassigns the Volume identity characteristic to the created Snapshot.
show-volume-snapshot-groups Displays the Volume Snapshot Group and its members.
add-volume-to-consistency-group Adds a Volume to a Consistency Group.
create-scheduler Creates a new Snapshot Scheduler.
show-snapshots Displays a list of Snapshots and related information.
map-lun Maps a Volume to an Initiator Group and assigns a Logical Unit Number (LUN) to it.
Managing Consistency Groups
add-volume-to-consistency-group Adds a Volume to a Consistency Group.
create-consistency-group Creates a new Consistency Group.
create-snapshot-and-reassign Creates a Snapshot from a specified Volume/Snapshot, Consistency Group, or Snapshot set and reassigns the Volume identity characteristic to the created Snapshot.
remove-consistency-group Deletes a Consistency Group.
remove-volume-from-consistency-group Removes a Volume from a Consistency Group.
show-consistency-group Displays a specified Consistency Group’s parameters.
show-consistency-groups Displays all the defined Consistency Groups’ parameters.
create-scheduler Creates a new Snapshot scheduler.
Managing Snapshot Sets
create-snapshot Creates a Snapshot from a specified Volume.
create-snapshot-and-reassign Creates a Snapshot from a specified Volume/Snapshot, Consistency Group, or Snapshot Set and reassigns the Volume identity characteristic to the created Snapshot.
show-snapshot-sets Displays a list of Snapshot Sets and their data.
show-snapshot-set displays the parameters of a specified Snapshot Set.
remove-snapshot-set Removes a Snapshot Set
create-scheduler Creates a new Snapshot scheduler.
Managing Initiator Groups
add-initiator Adds an Initiator and associates it with an existing Initiator Group.
add-initiator-group Adds an Initiator Group and its associated Initiators to the XtreamIO cluster.
modify-initiator Modifies the properties of an existing Initiator.
remove-initiator Deletes an Initiator.
remove-initiator-group Deletes an Initiator Group.
show-initiators Displays Initiators’ data.
show-initiator-group Displays information for a specific Initiator Group.
show-initiator-groups Displays information for a all Initiator Groups.
show-targets Displays the cluster Targets’ interfaces (iSCSI or FC ports).
show-target-groups Displays a list of Target Groups.
show-discovered-initiators-connectivity Displays the Initiators-Targets connectivity map.
show-initiators-connectivity Displays Initiators-Port connectivity and the number of connected Targets.
map-lun Maps a Volume to an Initiator Group and assigns a Logical Unit Number (LUN) to it.
Managing Initiators
add-initiator Adds an Initiator and associates it with an existing Initiator Group.
modify-initiator Modifies the properties of an existing Initiator.
remove-initiator Deletes an Initiator.
show-initiators Displays Initiators’ data.
rename Renames a component of the XtremIO Storage Array.
show-chap Displays the cluster’s configured CHAP authentication and discovery modes.
modify-chap Modifies Chap configuration parameters.
Managing Schedulers
create-scheduler Creates a new Snapshot Scheduler.
modify-scheduler Modifies a Snapshot Scheduler’s parameters.
remove-scheduler Removes a Snapshot Scheduler.
show-scheduler Displays the parameters of the specified Scheduler.
show-schedulers Displays the defined Schedulers parameters.
suspend-scheduler Suspends the activity of an active Scheduler.
resume-scheduler Resumes the activity of a suspended Scheduler.
Managing alerts
acknowledge-alert Acknowledges an alert and removes it from the dashboard Active Alerts list. The alert remains in the Alert List window. Alerts with Clear Mode set to Acknowledge Required, remain on the Alert List until they are acknowledged.
modify-alert-definition Modifies the alert definition properties for a specified alert type.
show-alert-definitions Displays a list of pre-defined alerts and their definitions.
Managing events
add-event-handler-definition Adds a definition to an event handling rule.
remove-event-handler-definition Deletes the event handling rule definitions.
modify-event-handler-definition Modifies the definition of event handling rules.
show-event-handler-definitions Displays the event handling rule definitions.
Managing iSCSI portals and routes
add-iscsi-portal Maps a portal to a Target.
add-iscsi-route Adds and configures iSCSI route parameters.
remove-iscsi-portal Deletes a portal mapping from a Target.
remove-iscsi-route Deletes an iSCSI routing configuration.
show-iscsi-portals Displays a list of iSCSI portals and their properties.
show-iscsi-routes Displays a list of iSCSI routes and their properties.
Managing Cluster Limits
modify-cluster-thresholds Modifies the properties for thin provisioning soft limits for connected clusters.
modify-alert-definition Modifies the alert definition properties for a specified alert type.
Managing Cluster ODX mode
modify-clusters-parameters Modifies various cluster parameters.
show-clusters-parameters Displays various cluster parameters.
Configuring CHAP Parameters
modify-chap Modifies CHAP configuration parameters.
show-chap Displays the cluster’s configured CHAP authentication and discovery modes.
Managing User Accounts
add-user-account Adds a new user account.
remove-user-account Removes a user account.
modify-user-account Modifies the user account parameters.
modify-password Used to modify one’s own password, or for entitled users (Configuration and Admin) to modify others’ passwords.
show-user-accounts Displays the user accounts information.
LDAP server configuration
add-ldap-config Adds a new LDAP configuration profile to the LDAP configuration table.
modify-ldap-config Modifies an LDAP configuration profile.
remove-ldap-config Removes an LDAP configuration profile from the LDAP configuration table.
show-ldap-configs Displays the LDAP users’ authentication configuration data.
Configuring the Inactivity Timeout
show-xms Displays the XtremIO management System information.
modify-xms-parameters Modifies the XMS’s user inactivity timeout.
Managing Email settings
modify-email-notifier Modifies the email notification settings.
show-email-notifier Displays the Email notification settings.
Managing SNMP configuration
modify-snmp-notifier Modifies the SNMP notification settings.
show-snmp-notifier Shows the SNMP notification settings.
Managing Syslog notification configuration
show-syslog-notifier Displays the Syslog server notification status and data.
modify-syslog-notifier Enables Syslog configuration.
Cluster Operations
show-clusters Obtain the name and index of the cluster
stop-cluster cluster-id=<cluster name> To stop the cluster via the CLI
start-cluster cluster-id=<cluster name> To start the cluster via the CLI
power-off cluster-id=<cluster name> shut-down-reason=”reason” Power off the cluster via the CLI
show-storage-controllers cluster-id=<cluster-name> View all of the Storage Controllers in the cluster.
show-clusters-performance Verify that no I/O requests are sent from the host with this command prior to planned shutdown
show-targets-performance cluster-id=<cluster name> Verify that all output counters for the relevant cluster
show-email-notifier {enable | disable} Verify email notifications (may want to disable for planned maintenance)
modify-ip-addresses View the existing Storage Controllers and their respective index numbers.
modify-datetime Set the time zone.
refresh-xms-ssh-key Generate a new, unique SSH key for the cluster you are working with

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

Data Domain CLI Command Reference Guide

Other CLI Reference Guides:
Isilon CLI  |  EMC ECS CLI  |  VNX NAS CLI | ViPR Controller CLINetApp Clustered ONTAP CLI  |  Brocade FOS CLI | EMC XTremIO CLI

This is a Data Domain CLI Command Reference Guide for the commands that are more commonly used.

If you’re looking to automate reports for your Data Domain, see my post Easy Reporting on Data Domain using the Autosupport Log.

Alerting
# alerts notify-list create <group-name> Creates a notification list and subscribes to events belonging to the specified list of classes and severity levels.
# alerts notify-list add <group-name> Adds to a notification list and subscribes to events belonging to the specified list of classes and severity levels.
# alerts notify-list del <group-name> Deletes members from a notification list, a list of classes, a list of email addresses.
# alerts notify-list destroy <group-name> Destroys a notification list
# alerts notify-list reset Resets all notification lists to factory default
# alerts notify-list show Shows notification lists’ configuration
# alerts notify-list test Sends a test notification to alerts notify-list
CIFS and NFS
# cifs share create share path {max-connections max connections | clients clients | users users | comment comment}
# cifs status Check CIFS Status
# cifs disable Disable CIFS Service
# cifs enable Enable CIFS Service
NFS
# nfs add path client-list [(option-list)] Add NFS clients to an Export
# nfs show active List clients active in the past 15 minutes and the mount path for each
# nfs show clients list NFS clients allowed to access the Data Domain system and the mount path and NFS options for each
# nfs show detailed-stats display NFS cache entries and status to facilitate troubleshooting
# NFS Status Display NFS Status
# NFS Enable Enable NFS Service
# NFS disable Disable NFS Service
DD Boost
# ddboost enable Enable DDBoost
# ddboost status show DDBoost status
# ddboost set user-name <user-name> Set DD Boost user
# ddboost access add clients <client-list> Add clients to DD Boost access list
# ddboost storage-unit create <storage-unit-name> Create storage-unit, setting quota limits
# ddboost storage-unit delete <storage-unit-name> Delete storage-unit
# ddboost storage-unit show [compression] [<storage-unit-name>] List the storage-units and images in a storage-unit:
# ddboost storage-unit create <storage-unit> user <user-name> Create a storage unit, assign tenant, and set quota and stream limits
# ddboost storage-unit delete <storage-unit> Delete a specified storage unit, its contents, and any DD Boost assocaitions
# ddboost storage-unit rename <storage-unit> <new-storage-unit> Rename a storage-unit
# ddboost storage-unit undelete <storage-unit> Recover a deleted storage unit
# ddboost option reset Reset DD Boost options
# ddboost option set distributed-segment-processing {enabled|disabled} Enable or disable distributed-segment-processing for DD Boost
# ddboost option set virtual-synthetics {enabled | disabled} Enable or disable virtual-synthetics for DD Boost
# ddboost option show Show DD Boost options
# ddboost option set fc {enabled | disabled} Enable or disable fibre-channel for DD Boost
# ddboost fc dfc-server-name set DDBoost Fibre-Channel set Server Name
# ddboost fc dfc-server-name show Show DDBoost Fibre-Channel Server Name
# ddboost fc status DDBoost Fibre Channel Status
# ddboost fc group show list [<group-spec>] [initiator<initiator-spec>] List configured DDBoost FC groups
# ddboost fc group create <group-name> Create a DDBoost FC group
# ddboost fc group add <group-name> initiator <initiator-spec> Add initiators to a DDBoost FC group
# ddboost fc group add <group-name> device-set Add DDBoost devices to a DDBoost FC group
Encryption and File system Locking
# filesys enable Enables the file system
# filesys disable Disables the file system
# filesys encryption enable Enables encryption. Enter a passphrase when prompted
# filesys encryption disable Disables encryption.
# filesys encryption show Checks the status of the encryption feature
# filesys encryption lock Locks the system by creating a new passphrase and destroying the cached copy of existing passphrase
# filesys encryption passphrase change Changes the passphrase for system encryption keys
# filesys encryption unlock Prepares the encrypted file system for use after it has arrived at its destination
Licensing
# license add <license-code> [<license-code> …] Adds one or more licenses for features and storage capacity.
# license show [local] Displays license codes currently installed.
# license del <license-code> Deletes one or more licenses.
# license reset Removes all licenses and requires confirmation before deletion.
Network
# net show settings Displays the interface’s network settings
# net show hardware Displays the interface’s hardware configuration
# net show config Displays the active network configuration
# net show domainname Displays the domain name associated with this device
# net show searchdomain Lists the domains that will be searched when only the host name is provided for a r command
# net show dns Lists the domain name servers used by this device.
# net show stats Provides a number of different networking statistics
# net show all Combines the output of several other net show CLI commands
Replication, Throttling, LBO, Encryption
# replication enable {<destination> | all} Enables replication
# replication disable {<destination> | all} Disables replication
# replication add source <source> destination <destination> Creates a replication pair
# replication break {<destination> | all} Removes the source or destination DD system from a replication pair
# replication initialize <destination> Initialize replication on the source (configure both source and destination first)
# replication modify <destination> {source-host | destination-host} <new-host-name> Modifies connection host, hostname
# replication modify <destination> connection-host <new-host-name> [port <port>] Modifies port
# replication add … low-bw-optim enabled Adds LBO
# replication modify … low-bw-optim enabled Modify LBO
# replication modify … low-bw-optim disabled Disable
# replication add … encryption enabled Add encryption over wire
# replication modify … encryption enabled Enable encryption over wire
# replication modify … encryption disabled Disable encryption over wire
# replication option set listen-port <port> Modify listening port  [context must be disabled before the connection port can be modified]
# replication option reset listen-port Reset listening port  [context must be disabled before the connection port can be modified]
# replication throttle add <sched-spec> <rate> Add a throttle schedule
# replication throttle add destination <host> <sched-spec> <rate> Add a destination specific throttle
# replication throttle del <sched-spec> Delete a throttle schedule
# replication throttle reset {current | override | schedule | all} Reset throttle configuration
# replication throttle set current <rate> Set a current override
# replication throttle set override <rate> Set a permanent override
# replication throttle show [KiB] Show throttle onfiguration
Retention Lock
# mtree retention-lock enable mtree_name Enables the retention-lock feature for the specified MTree
# mtree retention-lock disable mtree_name Disables the retention-lock feature for the specified MTree
# mtree retention-lock reset Resets the value of the retention period for the specified MTree to its default
# mtree retention-lock revert Reverts the retention lock for all files on a specified path
# mtree retention-lock set Sets the minimum or maximum retention period for the specified MTree
# mtree retention-lock show Shows the minimum or maximum retention period for the specified MTree
#mtree retention-lock status mtree_name Shows the retention-lock status for the specified MTree
Sanitization
#system sanitize abort Aborts the sanitization process
#system sanitize start Starts sanitization process immediately
#system sanitize status Shows current sanitization status
#system sanitize watch Monitors sanitization progress
SMT MTree stats
# mtree list List List the Mtrees on a Data Domain system
# mtree show stats Collect MTree real-time performance statistics
# mtree show performance Collect performance statistics for MTrees associated with a tenant-unit
# mtree show compression Collect compression statistics for MTrees associated with a tenant-unit
# quota capacity show List capacity quotas for MTrees and storage-units
# ddboost storage-unit modify Adjust or modify the quotas after the initial configuration
System Performance
# system show stats interval [interval in seconds] Shows system stats (Disk, IOs,…etc)
# system show performance [ {hr | min | sec} [ {hr | min | sec} ]] Show System Performance
NDMP
# ndmpd enable Enable the NDMP daemon
# ndmpd show devicenames Verify that the NDMP daemon sees the devices created in the TapeServer access group
# ndmpd user add ndmp Add an NDMP user
# ndmpd option show all Check the options for the ndmpd daemon
# ndmpd option set authentication md5 Set the ndmpd service authentication to MD5
# ndmpd option show all Verify the serivce authentication

Storage Performance Benchmarking with FIO

Flexible IO tester (FIO) is an open-source synthetic benchmark tool first developed by Jens Axboe.  FIO can generate various IO workloads: sequential reads or random writes, synchronous or asynchronous, all based on the options provided by the user.  FIO provides various global options through which different type of workloads can be generated.  FIO is the easiest and versatile tool to quickly perform IO performance tests on storage system, and allows you to simulate different types of IO loads and tweak several parameters, among others, the write/read mix and the amount of processes.  I’ll likely make a few additional posts with some of the other storage benchmarking tools I’ve used, but I’m focusing on FIO for this post.  Why FIO?  It’s a great tool, and it’s pros outweigh it’s cons for me.

Pros

  • It has a batch mode and a very extensive set of parameters.
  • Unlike IOMeter, it is still being actively developed.
  • It has multi-OS support.
  • It’s free.

Cons

  • It is CLI only, there are no GUI or Graphics features.
  • It has a rather complex syntax and it takes some time to get the hang of it.

Download and Installation

FIO can be run from either Linux or Windows, although Windows will first require an installation of Cygwin.  FIO works on Linux, Solaris, AIX, HP-UX, OSX, NetBSD, OpenBSD, Windows, FreeBSD, and DragonFly.  Some features and options may only be available on some of the platforms, typically because those features only apply to that platform (like the solarisaio engine, or the splice engine on Linux).  Note that you can check github for the latest version before you get started.

You can run the following commands from a Linux server to download and install the FIO package:

cd /root

yum install -y make gcc libaio-devel || ( apt-get update && apt-get install -y make gcc libaio-dev  </dev/null )

wget https://github.com/Crowd9/Benchmark/raw/master/fio-2.0.9.tar.gz ; tar xf fio*

cd fio*

make

How to compile FIO on 64-bit Windows:

Install Cygwin (http://www.cygwin.com/). Install **make** and all     packages starting with **mingw64-i686** and **mingw64-x86_64**.

Open the Cygwin Terminal.

Go to the fio directory (source files).

Run ``make clean && make -j``.

To build fio on 32-bit Windows, run ``./configure --build-32bit-win`` before ``make``.

FIO Cheat sheet

With FIO compiled, we can now run some tests.  For reference, I’ll start off with some basic commands for simulating different types of workloads.

Sequential Reads – Async mode – 8K block size – Direct IO – 100% Reads

fio --name=seqread --rw=read --direct=1 --ioengine=libaio --bs=8k --numjobs=8 --size=1G --runtime=600  --group_reporting

Sequential Writes – Async mode – 32K block size – Direct IO – 100% Writes

fio --name=seqwrite --rw=write --direct=1 --ioengine=libaio --bs=32k --numjobs=4 --size=2G --runtime=600 --group_reporting

Random Reads – Async mode – 8K block size – Direct IO – 100% Reads

fio --name=randread --rw=randread --direct=1 --ioengine=libaio --bs=8k --numjobs=16 --size=1G --runtime=600 --group_reporting

Random Writes – Async mode – 64K block size – Direct IO – 100% Writes

fio --name=randwrite --rw=randwrite --direct=1 --ioengine=libaio --bs=64k --numjobs=8 --size=512m --runtime=600 --group_reporting

Random Read/Writes – Async mode – 16K block size – Direct IO – 90% Reads/10% Writes

fio --name=randrw --rw=randrw --direct=1 --ioengine=libaio --bs=16k --numjobs=8 --rwmixread=90 --size=1G --runtime=600 --group_reporting

Host Considerations

To avoid IOs reporting out of the host system cache, use the direct option which will directly read/write to the disk.  Use the Linux native asynchronous IO using the ioengine directive with libaio.  When FIO is launched, it will create the file with the name provided in –name to the size as provided in –size with block size as –bs.  If the –numjobs are provided, it will create the files in the format of name.n.0 where n will be between 0 and –numjobs.

–jobs = The more jobs, the higher the performance can be, based on the resource availability.  If your server is limited on the resources (TCP or FC), I’d recommend running FIO across multiple servers to push a higher workload to the storage array.

Block Size Matters

Many storage vendors will advertise performance benchmarks based on 4k block sizes, which can artificially inflate the total IO number that the array is capable of handling.  In my professional experience with the workloads I’ve supported, the most popular read size is between 32KB and 64KB and the most popular write size is between 8KB and 32KB.  VMWare-heavy environments may skew a bit lower in read block size.  Read IO is typically more common than Write IO, at a rate of around 3:1.  It’s important to know the characteristics of your workload before you begin testing, as we need to look at IO Size as a weight attached to the IO. An IO of size 64KB will have a weight 8 times higher than an IO of size 8KB since it will move 8 times as many bytes.  A 256K block has 64 times the payload of a 4K block.  Both examples take substantially more effort for every component of the storage stack to satisfy the IO request. Applications and the operating systems they run on generate a wide, ever-changing mix of block sizes based on the characteristics of the application and the workloads being serviced. Reads and writes are often delivered using different block sizes as well. Block size has a significant impact on the latency your applications see.

Try to understand the IO size distributions of your workload and use those IO size modalities when you develop your FIO test commands. If a single IO size is a requirement for a quick rule-of-thumb comparison, then 32KB has been a pretty reasonable number for me to use, as it is a logical convergence of the weighted IO size distribution of most of the shared workload arrays I’ve supported. Your mileage may vary, of course.

Because block sizes have different effects on different storage systems, visibility into this metric is critical. The storage fabric, the protocol, the processing overhead on the HBAs, the switches, the storage controllers, and the storage media are all affected by it.

General Tips on Testing

Work on large datasets.  Your dataset should be at least double the amount of RAM in the OS.  For example, if the OS RAM is 16GB, test 32GB datasets multiplied by the number of CPU cores.

The Rule of Thumb:  75/25.  Although it really depends on your workloads, typically the rule of thumb is that there are 25% writes and 75% reads on the dataset.

Test from small to large blocks of I/O.  Consider testing small blocks of I/O up to large blocks of I/O in the following order: 512 bytes, 4K, 16K, 64K, 1MB to get proper measurement that can be the visualized as a histogram. This makes it easier to interpret.

Test multiple workload patterns.  Not everything is sequential read/write. Test all scenarios: read / write, write only, read only, random read / random write, random read only, and random write only.

Sample Output

Here’s a sample command string for FIO that includes many of the command switches you’ll want to use.  Each parameter can be tweaked to your specific environment.  It creates 8 files (numjobs=8) each with size 512MB (size) at 64K block size (bs=64k) and will perform random read/write (rw=randrw) with the mixed workload of 70% reads and 30% writes. The job will run for full 5 minutes (runtime=300 & time_based) even if the files were created and read/written.

[root@server1 fio]# fio --name=randrw --ioengine=libaio --iodepth=1 --rw=randrw --bs=64k --direct=1 --size=512m --numjobs=8 --runtime=300 --group_reporting --time_based --rwmixread=70

Output:

 Starting 8 processes

 randrw: Laying out IO file(s) (1 file(s) / 512MB)
 randrw: Laying out IO file(s) (1 file(s) / 512MB)
 randrw: Laying out IO file(s) (1 file(s) / 512MB)
 randrw: Laying out IO file(s) (1 file(s) / 512MB)
 randrw: Laying out IO file(s) (1 file(s) / 512MB)
 randrw: Laying out IO file(s) (1 file(s) / 512MB)
 randrw: Laying out IO file(s) (1 file(s) / 512MB)
 randrw: Laying out IO file(s) (1 file(s) / 512MB)
 Jobs: 8 (f=8): [mmmmmmmm] [2.0% done] [252.0MB/121.3MB/0KB /s] [4032/1940/0 iops] [eta 04m:55s]
randrw: (groupid=0, jobs=8): err= 0: pid=31900: Mon Jun 13 01:01:08 2016
 read : io=78815MB, bw=269020KB/s, iops=4203, runt=300002msec
 slat (usec): min=6, max=173, avg= 9.99, stdev= 3.63
 clat (usec): min=430, max=23909, avg=1023.31, stdev=273.66
 lat (usec): min=447, max=23917, avg=1033.46, stdev=273.78
 clat percentiles (usec):
 | 1.00th=[ 684], 5.00th=[ 796], 10.00th=[ 836], 20.00th=[ 892],
 | 30.00th=[ 932], 40.00th=[ 964], 50.00th=[ 996], 60.00th=[ 1032],
 | 70.00th=[ 1080], 80.00th=[ 1128], 90.00th=[ 1208], 95.00th=[ 1288],
 | 99.00th=[ 1560], 99.50th=[ 2256], 99.90th=[ 3184], 99.95th=[ 3408],
 | 99.99th=[13888]
 bw (KB /s): min=28288, max=39217, per=12.49%, avg=33596.69, stdev=1709.09
 write: io=33899MB, bw=115709KB/s, iops=1807, runt=300002msec
 slat (usec): min=7, max=140, avg=11.42, stdev= 3.96
 clat (usec): min=1246, max=24744, avg=2004.11, stdev=333.23
 lat (usec): min=1256, max=24753, avg=2015.69, stdev=333.36
 clat percentiles (usec):
 | 1.00th=[ 1576], 5.00th=[ 1688], 10.00th=[ 1752], 20.00th=[ 1816],
 | 30.00th=[ 1880], 40.00th=[ 1928], 50.00th=[ 1976], 60.00th=[ 2040],
 | 70.00th=[ 2096], 80.00th=[ 2160], 90.00th=[ 2256], 95.00th=[ 2352],
 | 99.00th=[ 2576], 99.50th=[ 2736], 99.90th=[ 4256], 99.95th=[ 4832],
 | 99.99th=[16768]
 bw (KB /s): min=11776, max=16896, per=12.53%, avg=14499.30, stdev=907.78
 lat (usec) : 500=0.01%, 750=1.61%, 1000=33.71%
 lat (msec) : 2=50.35%, 4=14.27%, 10=0.04%, 20=0.02%, 50=0.01%
 cpu : usr=0.46%, sys=1.60%, ctx=1804510, majf=0, minf=196
 IO depths : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, &gt;=64=0.0%
 submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, &gt;=64=0.0%
 complete : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, &gt;=64=0.0%
 issued : total=r=1261042/w=542389/d=0, short=r=0/w=0/d=0
 latency : target=0, window=0, percentile=100.00%, depth=1
Run status group 0 (all jobs):
 READ: io=78815MB, aggrb=269020KB/s, minb=269020KB/s, maxb=269020KB/s, mint=300002msec, maxt=300002msec
 WRITE: io=33899MB, aggrb=115708KB/s, minb=115708KB/s, maxb=115708KB/s, mint=300002msec, maxt=300002msec

Additional Samples

I’ll run through an additional set of simple examples of using FIO as well using different workload patterns.

Random read/write performance

If you want to compare disk performance with a simple 3:1 4K read/write test, use the following command:

./fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=test --filename=test --bs=4k --iodepth=64 --size=4G --readwrite=randrw --rwmixread=75

This command string create a 4 GB file and perform 4KB reads and writes using a 75%/25% split within the file, with 64 operations running at a time. The 3:1 ratio represents a typical database.

The output is below, with the IO numbers highlighted in red.

Jobs: 1 (f=1): [m] [100.0% done] [43496K/14671K /s] [10.9K/3667 iops] [eta 00m:00s]
test: (groupid=0, jobs=1): err= 0: pid=31214: Fri May 9 16:01:53 2014
read : io=3071.1MB, bw=39492KB/s, iops=8993 , runt= 79653msec
write: io=1024.7MB, bw=13165KB/s, iops=2394 , runt= 79653msec
cpu : usr=16.26%, sys=71.94%, ctx=25916, majf=0, minf=25
IO depths : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=0.1%, 32=0.1%, >=64=100.0%
submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
complete : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.1%, >=64=0.0%
issued : total=r=786416/w=262160/d=0, short=r=0/w=0/d=0
Run status group 0 (all jobs):
READ: io=3071.1MB, aggrb=39492KB/s, minb=39492KB/s, maxb=39492KB/s, mint=79653msec, maxt=79653msec
WRITE: io=1024.7MB, aggrb=13165KB/s, minb=13165KB/s, maxb=13165KB/s, mint=79653msec, maxt=79653msec
Disk stats (read/write):
vda: ios=786003/262081, merge=0/22, ticks=3883392/667236, in_queue=4550412, util=99.97%

This tests shows the array performed 8993 read operations per second and 2394 write operations per second.

Random read performance

To measure random reads, we’ll change FIO command a bit:

./fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=test --filename=test --bs=4k --iodepth=64 --size=4G --readwrite=randread

Output:

Jobs: 1 (f=1): [r] [100.0% done] [62135K/0K /s] [15.6K/0 iops] [eta 00m:00s]
test: (groupid=0, jobs=1): err= 0: pid=31181: Fri May 9 15:38:57 2014
read : io=1024.0MB, bw=62748KB/s, iops=19932 , runt= 16711msec
cpu : usr=5.94%, sys=90.13%, ctx=1885, majf=0, minf=89
IO depths : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=0.1%, 32=0.1%, >=64=100.0%
submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
complete : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.1%, >=64=0.0%
issued : total=r=262144/w=0/d=0, short=r=0/w=0/d=0
Run status group 0 (all jobs):
READ: io=1024.0MB, aggrb=62747KB/s, minb=62747KB/s, maxb=62747KB/s, mint=16711msec, maxt=16711msec
Disk stats (read/write):
vda: ios=259063/2, merge=0/1, ticks=951356/20, in_queue=951308, util=96.83%

This test shows the storage array performing 19,932 read operations per second.

Random write performance

Modify the FIO command slightly to use randwrite instead of randread for the random write test.

./fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=test --filename=test --bs=4k --iodepth=64 --size=4G --readwrite=randwrite

Output:

Jobs: 1 (f=1): [w] [100.0% done] [0K/26326K /s] [0 /6581 iops] [eta 00m:00s]
test: (groupid=0, jobs=1): err= 0: pid=31235: Fri May 9 16:16:21 2014
write: io=1024.0MB, bw=29195KB/s, iops=5434, runt= 35916msec
cpu : usr=77.42%, sys=13.74%, ctx=2306, majf=0, minf=24
IO depths : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=0.1%, 32=0.1%, >=64=100.0%
submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
complete : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.1%
issued : total=r=0/w=262144/d=0, short=r=0/w=0/d=0
Run status group 0 (all jobs):
WRITE: io=1024.0MB, aggrb=29195KB/s, minb=29195KB/s, maxb=29195KB/s, mint=35916msec, maxt=35916msec
Disk stats (read/write):
vda: ios=0/260938, merge=0/11, ticks=0/2315104, in_queue=2316372, util=98.87%

This tests shows storage scoring 5,434 write operations per second.

Blockchain and Enterprise Storage

The biggest value of blockchain in enterprise storage will be what it enables, not what it is.  While it has yet to be fully embraced by the enterprise, blockchain is well poised to change enterprise IT much like open source software did 20+ years ago.  Interest is steadily rising, and there is evidence that businesses are starting to investigate how blockchain technology will integrate into their future business goals and objectives. In this post I’m going to dive in to what exactly blockchain is, how it works, how it may be applied in the enterprise storage space, and how it’s already starting to be used in various global industries.

What is Blockchain technology?

Blockchain is a distributed ledger that maintains a continuously growing number of data records and transactions. It is a chain of transaction blocks built in adherence to a defined set of rules. It allows organizations who don’t trust each other to agree on database updates. Rather than using a central third party or an offline reconciliation process, Blockchain uses peer-to-peer protocols. As a distributed database, Blockchain provides a near real-time, permanent record that’s replicated among the participants. Bitcoin, probably the most well-known cryptocurrency right now, was possible due to Blockchain. It’s the core of the Bitcoin payment system.

What are the main characteristics of Blockchain?

There are a defined set of characteristics that make blockchain what it is. It is both a network and a database. It has rules and built-in security and it maintains internal integrity and its own history. Let’s take a look at the main characteristics of blockchain.

1. Decentralized.  Blockchain is decentralized, there is no central authority required to approve transactions. It is a system of peer to peer validating nodes. Because there are no intermediaries, transactions are made directly and each node maintains the ledger of updates.

2. External clients manage changes.  Changes to the ledger are triggered by transactions proposed by external parties through clients. When triggered by transactions, blockchain participants execute business logic and follow consensus protocols to verify the results.

3. Shared and distributed publicity.  Participants in the ledger maintain the blocks. When consensus is reached under the network’s rules, transactions and their results are grouped into cryptographically secured, immutable data blocks that are appended to the ledger by each participant. All members of the blockchain network can see the same transaction history in the same order.

4. Trusted Transactions.  The nature of the network distribution requires nodes to come to a consensus that enables transactions to be carried out between unknown parties.

5. Secure Transactions.  Strong Cryptography is added to each block. In addition to all of its transactions and their results, each block includes a cryptographic hash of the previous block, which ensures that any tampering with a particular block is easily detected. Blockchain provides transaction and data security. The ledger is an unchangeable record. Posts to it cannot be revised or tampered with, even by database operators.

How Blockchain Works

Consensus in Blockchain

Consensus is at the heart of the blockchain. To keep the integrity of its database, a consensus protocol is used that considers that the longest chain is always the most trustworthy and nodes can only be allowed to blocks to the chain if they solve an arbitrary mathematical puzzle.   These rules define which changes are allowed to be made to the database, who may make them, and when they can be made. One of the most important aspects of the consensus protocol concerns the rules governing how and when blocks are added to the chain. This is vitally important as in order for blockchains to be useful, they must establish an unchangeable timeline of events which must be agreed upon by all nodes, so that all nodes can agree on the current state of the database.  The timeline cannot be subject to censorship, thus no single node may be entrusted with control over what enters it when.

Proof of Work is the original consensus protocol and is used by Bitcoin and Ethereum. Proof of Work is based on puzzles that are difficult to solve but have an easily verifiable solution.  It can be thought of like a jigsaw puzzle.  While many hours of effort may be required to piece a puzzle together, it takes only a momentary glance to see that it has been correctly assembled. With proof of work consensus, the effort required to solve a puzzle is the “work” and the solution is the “proof of work.”  The fact that the solution to the puzzle is known proves that someone did the work to find that solution.

Blockchains that utilize proof of work consensus require proof for each new block to be added to the chain, thus requiring work to be done to create new blocks. This work is frequently referred to as mining. Proof of Work consensus protocols state that the chain containing the most blocks is the correct chain because it contains the most work. Blockchains which use proof of work are regarded as secure timelines because if one node attempted to rewrite history by changing an old block, its change would invalidate the work on the block it changed and all blocks after it by making the proofs incorrect.   While experimentation with different consensus mechanisms continues,  proof of work is by far the most the widely adopted.  There are alternatives however, so let’s take a brief look at some of them.

Proof-of-Stake.  In proof of stake, participants are required to maintain stocks of the currency (or tokens) to use the system. Creators of a new block are chosen deterministically depending on their stake.

Proof-of-Activity.  In proof of activity,  proof of work and proof of stake are used at the same time to help alleviate the issue of hash rate escalation.  Hash Rate is the measuring unit that measures how much power Bitcoin network is consuming to be continuously functional.

Proof-of-Burn.   With proof of burn, instead of trying arbitrarily large numbers of hashes to answer a puzzle as done with the proof of work method, the system instead runs a lottery and the tokens are burned so a node can try to win a block.

Proof-of-Capacity.  Proof of capacity is similar to proof of stake, but it is measured in hardware capacity that is dedicated to the network.

Federated Byzantine Agreement.  This is designed for private, permissioned Blockchains (like Hyperledger) where good behavior is an expectation, it is designed with less resource intensive methods. This method offers more flexibility with trust because a fork can be agreed upon by its members.

How can Blockchain be used in Enterprise Storage?

Enterprises looking for data access speed, physical security of the files, and businesses that must adhere to strict regulatory requirements about access policies and in-country data location regulations may have trouble applying the technology. Blockchain doesn’t meet those requirements in a traditional sense, most notably because of the distributed nature of blockchain.  For enterprise environments with less stringent regulatory requirements, it could still be an attractive option. The main benefits relate to its redundancy and reduced cost. The cost savings could be the major driver toward this technology in the enterprise.  Let’s take a look at some of the primary benefits of adopting the technology in the enterprise.

The primary benefits of blockchain in the enterprise

1. Decentralization and Redundancy.  Amazon S3 achieves redundancy by spreading files through all of its regional data centers, which makes each data center a point of failure. On a decentralized blockchain where data is stored on many individual nodes across the globe, it is much more difficult to create disruptions.

2. Privacy.  No third party controls user data or has access to user files. Each node only stores encrypted fragments of user data and users control their own keys.

3. Huge cost reductions.  Blockchain storage costs around $2 per terabyte per month. In comparison, S3 hosting from Amazon can cost over $20 per month per terabyte.

4. The Bottom Line.  Companies are always looking to increase revenues, cut costs, and reduce risks. Blockchain technology has the potential to address those core, bottom line issues.

The Elements of Blockchain in the Enterprise

How can blockchain be implemented in an existing enterprise storage envinroment?  Steve Todd from Dell EMC started by defining the basic elements of blockchain and the questions that need to be asked, all of which need to be answered in order to implement blockchain solutions in the enterprise. I’ve copied his questions below. It’s very high level, but it’s a good start in establishing a baseline for an enterprise blockchain implementation.

1. New business logic.  What new business logic is being written, and what is it’s purpose? Will modern application development processes be used to develop the new logic? How will this code be deployed when compared against existing application deployment frameworks? Will your business logic be portable across blockchains?

2. Smart Contracts. How are smart contracts deployed compared to existing application deployment? Are these contracts secure (e.g. encrypted)? Are they well-written? How easy are they to consume? Do they lock-in application developers to a certain platform? Are metrics collected to measure usage? Are access attempts logged securely?

3. Cryptography. Given the liberal use of cryptography within blockchains, which libraries will be used within the underlying ledger? How are these libraries maintained and used across ledgers? what role does cryptography play in different consensus algorithms?

4. Identity / Key Management. The use of private and public keys in a blockchain is foundational. How are these keys managed in comparison to other corporate key management systems? How do corporate identities translate to shared identities with other nodes on a blockchain network?

5. Network Programmability.  How will the network between blockchain nodes be instantiated, tuned, and controlled? How will application SLAs for latency be translated into adequately-performing network operations? Will blockchain transactions be distributed as cleartext or encrypted?

6. Consensus Algorithms.  How will decisions be made to accept/reject transactions? What is the “speed to finality” of these decisions? What are the scalability limits of the consensus algorithm? How much fault tolerance is built into the consensus? How much does performance suffer when fault tolerance limits are reached?

7. Off-chain Storage.  What kind of data assets are recorded within the ledger? Are they consistently referenced? How are access permissions consistently enforced between the ledger and off-chain assets? Do all consensus nodes have the ability to verify all off-chain data assets?

8. Data Protection.  How is data consistency enforced within the ledger? Do corrupted transactions thrown an exception? How are corrupted transactions repaired? Does every consensus node always store every single transaction locally? Can deduplication or compression occur? Can snapshot copies of the ledger be created for analysis purposes?

9. Integration with Legacy.  Does the ledger and consensus engine exist on the same converged platform as other business logic? Will there be integration connectors that copy and/or transform the ledger for other purposes? Is the ledger accessible to corporate analytic workspaces?

10. Multi-chain.  how will the ledger interact with the reality of a multi-chain world (e.g. Quorum, Hyperledger, Ethereum, etc). How will the ledger interact with non-chain ledgers (e.g. Corda)? Will there be a common API to access different blockchains?

11. Cloud automation.  Can routine blockchain tasks be automated? Will cloud providers offer non-repudiation and/or blockchain governance? Can blockchain app developers execute test/dev processes in one cloud provider environment and then push to a (different) cloud production environment?

Blockchain Cloud Storage in the Marketplace

There are multiple blockchain powered distributed cloud storage offerings that I’m aware of, and there are likely more to come. These organizations are using blockchain technology to take advantage of the spare hard drive space it’s users to make decentralized competitors similar to Amazon Web Services and Dropbox.

• Storj
• Filecoin
• Sia
• MaidSafe
• Cryptyk

All of these options provide decentralized cloud-based storage. Customers who use their services allocate a portion of their local storage for cloud-based storage. It’s akin to a decentralized, blockchain-powered version of Amazon Web Services. They all show that a public ledger can be used to facilitate a distributed public cloud, but I think it’s unlikely to be used for mission critical enterprise storage in the near future, at least until some of the basic questions about the elements of blockchain in the enterprise are answered, as I detailed in the previous section.

As cloud based storage becomes more relevant over time, the number of blockchain solutions similar to these projects will surely increase. Blockchain’s decentralization, speed, and reliability give it an inherent advantage over centralized cloud services, as they require the storage of data in data centers with high costs and maintenance requirements. Blockchain technology will likely have an increasingly important role in decreasing costs and increasing the security and efficiency of the methods data storage is implemented.

Blockchain Storage Provider Operations

I thought it would be interesting to take a look at how these existing competitors implement blockchain and how they market their services.  In addition to the security benefits,  overall these decentralized cloud storage providers seem to be marketed as being inexpensive storage for general consumers. A terabyte of storage at Sia costs about $2 per month. Storj charges by gigabyte, starting at $0.015 per gigabyte per month.

Storj, Sia, MaidSafe and Filecoin are built with a proprietary storage marketplace where users can buy and sell storage space.  They all use mining to provide compute power for the network.

Filecoin miners are given token rewards for hosting files, but also must prove that they are continuously replicating the files for more secure storage. Miners are also rewarded for distributing content quickly as the miner that can do this the fastest ends up with the tokens. Filecoin and Sia both support smart contracts on the blockchain that set the consensus rules and requirements for storage, however Storj users pay only for what they consume.  Filecoin also aims to allow the exchange of its tokens with fiat currencies and other tokens via wallets and exchanges.

In Maidsafe’s network,  Safecoin is paid to the user as data is retrieved. It’s done in a lottery system where a miner is rewarded at random. The amount of Safecoin earned is directly linked to the resources they provide and how often their shared storage is available and online.  Maidsafe miners rent their unused compute resources to the SAFE network (capacity, CPU, and bandwidth) and are paid in Safecoin. The SAFE network also supports a marketplace in which Safecoin is used to access, with part of the payment going to the application’s developer.  Miners can also sell the coins that they earn for other digital currencies, and these transactions can happen either on the network or directly between individuals.

All of these service providers store data with erasure coding.  Files are split apart and distributed across many locations and servers, which eliminates the chance of a single point of failure causing catastrophic data loss. Filecoin uses the IPFS distributed web protocol, allowing nodes to continue to communicate even if the rest of the network goes down.

Business Benefits

Blockchain technology implementation can provide a lot of benefits, most notably that it provides for making interactions faster, safer and less expensive, ensuring data security.  Although blockchain technology is primarily associated with the financial industry, blockchain solutions have the potential to be a disruptive force in other businesses sectors as well.

At a high level, what are the main benefits of blockchain in a business environment?

Fewer Intermediaries.  Blockchain avoids centralized intermediaries by using a peer to peer business network.

Faster, More Automated Processes.  Businesses can automate their data exchange and the processes that depend on it and eliminate offline or batch reconciliation. Business can automatically trigger actions, events, and even payments based on preset conditions with the potential for dramatic performance improvements.

Reduced Costs.  Business can lower costs by accelerating transactions and eliminating settlement processes by using a trusted, shared fabric of common information instead of relying on centralized intermediaries or complex reconciliation processes.

Increased Visibility.  Businesses can gain near real-time visibility into their distributed transactions across their networks, and maintain a shared system of records.

Enhanced Security.  Businesses can reduce fraud while at the same time increase regulatory compliance with tamper-proof business-critical records. They can secure their data by using cryptographically linked blocks so that records cannot be altered without detection.

With that in mind, let’s consider the most likely scenarios for Blockchain implementation in business. How exactly is blockchain technology being used in the industry today, and how may it be used in the future?

Blockchain in the Energy industry

The German company Share&Charge and California based eMotorWerks announced they are testing the first phase of a peer-to-peer electric vehicle charging network with blockchain payments. The technology has been called an “AirBnB for EVs,” and will allow EV owners to rent out their charging stations, set their own prices and receive payments via Bitcoin. The technology aims to prove that blockchain technology can make sharing and payment easier and more efficient and at the same time decrease the range anxiety that EV drivers experience.

The companies say that the partnership is the first peer to peer charging network to use blockchain technology in North America. The new P2P network was made available in California starting in August 2017, and a planned expansion to other states is in the works.

Blockchain technology in Banking and Finance

Blockchain solutions are looking to revolutionize how we transfer funds in a business environment. As transactions within Blockchain occur without intermediaries or any kind of central authority, a direct payment flow between customers around the world is easily accomplished. Blockchain application development is booming as more and more startups attempt to innovate the payment chain. Abra, a good example of a recent Blockchain startup, offers a digital wallet mobile app using Bitcoin currency.   There is intense interest in Blockchain in the finanace sector.  A New York-based company that runs a consortium of banks (R3 CEV), has recently released a new version of its blockchain platform (Corda) that it hopes will make it easier for financial firms to use the technology.  Banks and other financial institutions have been investing in the technology for the past few years in the hope that it can be used to automate some of their back office processes such as securities settlement and regulatory reporting.

A report from Accenture claimed blockchain technology could potentially reduce infrastructure costs for eight of the world’s ten largest investment banks by an average of 30%, which would result in $8 to $12 billion in annual cost savings. The savings, according to Accenture, would come in replacing traditionally fragmented database systems that support transaction processing with blockchain’s distributed ledger system. That would allow banks to reduce or eliminate reconciliation costs and data quality.

In addition, Accenture, J.P. Morgan Chase and Microsoft were among 30 companies that announced the formation of the Enterprise Ethereum Alliance, aimed at creating a standard version of the platform for financial transaction processing and tracking.

Blockchain in the Insurance industry

Insurance interest in blockchain appears to be growing. Blockchain has the potential to vastly improve the nature of claims processing and fraud detection in the insurance industry.

Blockchain could reduce many of the typical issues involved with smart contracts. Insured individuals usually find insurance contracts long and confusing, and insurance companies are constantly battling fraud. Using blockchain and smart contracts, both sides could benefit from managing claims in a more responsive and transparent way, and recording and verifying contracts on the blockchain could be a great start. When claims are submitted, blockchain could ensure that only valid claims are paid as the network would know if there were multiple claims submitted for the same accident. When specific criteria are met, a blockchain could trigger payment of the claim without any human intervention, improving the time it takes to resolve claims.

Blockchain also has great potential to detect and prevent fraudulent activity as well. Because validation is at the core of blockchain technology’s decentralized repository, its historical record can independently verify the validity of customers, policies and all transactions.

In the summer of 2017, blockchain Firm Bitfury Teams with Insurance Broker Risk Cooperative. The Bitfury Risk Cooperative partnership seeks to leverage Bitfury’s expertise in blockchain applications across a range of sectors and Risk Cooperative’s insurance placement platform and partnership model with leading insurers to spur adoption of blockchain in the insurance space.

Blockchain perspectives in Supply Chain Management

Blockchain has the potential to transform the supply chain and disrupt the way we produce, market, purchase and consume goods. The added transparency and security to the supply chain will make huge improvments, making our economies safer and more reliable by promoting trust and preventing the implementation of questionable business practices.

Microsoft’s blockchain supply chain group, Project Manifest, is testing the ability to track inventory on cargo ships, trains and trucks using RFID tags that link back to blockchain technologies. Though Microsoft hasn’t shared many details about the project yet, it appears it is working with partners to track things like auto parts to address cross-industry supply chains, which are very complex.
IBM offers a service that allows customers to test blockchains in a secure cloud and track high-value items through complex supply chains. The service is being used by Everledger, a firm that is trying to use the blockchain to push transparency into the diamond supply chain. Finnish startup Kuovola Innovation is working on a blockchain solution that enables smart tendering across the supply chain.

Blockchain smart-contracts are being used to address everything from the shipment, to receipt of inventory between all parties in various supply chains. Doing so could reduce complexity and the number of counterfeit items that enter the supply chain.

Blockchain in the Healthcare Industry

There are plenty of opportunities to leverage blockchain technology in healthcare, from medical records to the pharmaceutical supply chain to smart contracts for payment distribution. While progress has been slow, there are innovations in the healthcare industry taking place.

MediLedger successfully brings pharmaceutical manufacturers and wholesalers who compete with each other to the same negotiating table. They designed and implemented a process for using blockchain technology to improve tracking and tracing capabilities for prescriptions. They also successfully developed a blockchain solution that allows full privacy with no leaking of business intelligence, while still allowing the capability of drug verification and provenance reporting.

Built to support the requirements of the U.S. Drug Supply Chain Security Act (DSCSA), MediLedger also outlines steps to build an electronic, interoperable system to identify and trace certain prescription drugs, meaning it successfully met not just the law, but the operational needs of industry.

Additional projects were kicked off by SimplyVitalHealth and Robomed, where they focused on developing an audit trail and smart contracts between healthcare providers and patients, respectively.

Blockchain solutions for Online Voting

Blockchain could be the missing link in the architecture of an effective and secure online voting system, and could resolve major issues related to the privacy, transparency, and security of online voting.

Using blockchain technology, we can make sure that those who are voting are who they say they are and are legally allowed to vote. We can also make voting online more accessible, as anyone who knows how to use a cell phone can understand the technology required for voting, all while making the election process more secure than it currently is and allowing greater participation for all legally-registered voters.

Sovereign was unveiled in September 2017 by Democracy Earth, a not-for-profit organisation in Palo Alto, California. It combines liquid democracy – which gives individuals more flexibility in how they use their votes – with blockchains, digital ledgers of transactions that keep cryptocurrencies like bitcoin secure. Sovereign’s developers hope it could signal the beginning of a democratic system that transcends national borders.

The basic concept of liquid democracy is that voters can express their wishes on an issue directly or delegate their vote to someone else they think is better-placed to decide on their behalf. In turn, those delegates can also pass those votes upwards through the chain. Crucially, users can see how their delegate voted and reclaim their vote to use themselves.  It sits on existing blockchain software platforms, such as Ethereum, but instead of producing units of cryptocurrency, it creates a finite number of tokens called “votes”. These are assigned to registered users who can vote as part of organisations who set themselves up on the network, whether that is a political party, a municipality, a country or even a co-operatively run company.

No knowledge of blockchains is required – voters simply use an app. Votes are then “dripped” into their accounts over time like a universal basic income of votes. Users can debate with each other before deciding which way to vote.

Blockchain usage in Stock Trading

Some of the most prominent stock exchanges are looking at ways to leverage blockchain to fundamentally overhaul traditional mechanisms. Blockchain could enable savings by reducing duplication of processes, settlement time, collateral requirements and operational overheads. This would minimize the need to set aside financial resources to cater to counterparty risks and achieve higher anti-money laundering standards and reduced risk exposure.

Nasdaq has been at the forefront of blockchain innovation. At the turn of 2015, Nasdaq unveiled the use of its Nasdaq Linq blockchain ledger technology to successfully complete and record private securities transactions for Chain.com—the inaugural Nasdaq Linq client. In May, Nasdaq and Citi announced an integrated payment solution using a distributed ledger to record and transmit payment instructions based on Chain’s blockchain technology. The technology overcomes challenges of liquidity in private securities by streamlining payment transactions between multiple parties.

The path to its adoption will require resolving issues such as scalability, common standards, regulation, and legislation. Blockchain could revolutionize the core infrastructure systems of capital markets around the globe, bringing in greater transparency and efficiency.

Diving in to Isilon SyncIQ and SnapshotIQ Management

In this post I’m going to review the most useful commands for managing SyncIQ replication jobs and SnapshotIQ snapshots on the Isilon.  While this will primarily be a CLI administration reference, I’ll look at some WebUI options as well when I get to Snapshots, as well as some additional notes and caveats regarding snapshot management.  I’d highly recommend reviewing EMC’s SnapshotIQ best practices page, as well as the SyncIQ best practices guide if you’re just starting a new implementation.  For a complete Isilon Command line reference you can reference this post.

Creating a Replication policy

# isi sync policies create sync –schedule “” –target-snapshot-archive on –target-snapshot-pattern “%{PolicyName}-%{SrcCluster}-%Y-%m-%d_%H-%M”

Viewing active replication jobs

# isi sync jobs list

Policy Name ID State Action Duration
 -----------------------------------------------
 Replica1 32375 running run 1M1W5D14H55m
 ------------------------------------------------
 Total: 1

# isi sync jobs view

Policy Name: Replica1
 ID: 32375
 State: running
 Action: run
 Duration: 1M1W5D14H55m9s
 Start Time: 2017-10-27T17:00:25

# isi_classic sync job rep

Name | Act | St | Duration | Transfer | Throughput
----------+------+---------+------------------+--------+-----------
 Replica1 | sync | Running | 42 days 14:59:23 | 3.0 TB | 6.8 Mb/s

# isi_classic sync job rep –v [Provides a more verbose report]

Creating a SyncIQ domain [Required for failback operations]

# isi job jobs start –root –dm-type SyncIQ

Reviewing a replication Job before starting it

Replication policy status can be reviewed with the ‘test’ option. It is useful for previewing the size of the data set that will be transferred if you run the policy.

# isi sync jobs start –test
# isi sync reports view 1

Replication policy Enable/Disable/Delete

# isi sync policies enable # isi sync policies disable # isi sync policies delete

Replication Job Management

# isi sync jobs start # isi sync jobs pause # isi sync jobs resume # isi sync jobs cancel

Replication Policy Management

# isi sync policies list
# isi sync policies view

Viewing replication policies that target the local cluster

# isi sync target list
# isi sync target view

Managing replication performance rules

# isi sync rules create

Create network traffic rules that limit replication bandwidth

# isi sync rules create bandwidth 00:00-23:59 Sun-Sat 19200 [Limit consumption to 19200 kbps per second, 24×7]
# isi sync rules create file_count 08:00-18:00 M-F 7 [Limit file-send rate to 7 files per second 8-6 on weekdays]

Managing replication performance rules

# isi sync rules list
# isi sync rules view –id bw-0
# isi sync rules modify bw-0 –enabled true
# isi sync rules modify bw-0 –enabled false

Managing replication reports

# isi sync reports list
# isi snapshots list | head -200 [list the first 200 snapshots]
# isi sync reports view 2
# isi sync reports subreports list 1 [view sub-reports]

Managing failed replication jobs

# isi sync policies resolve [Resolve a policy error]
# isi sync policies reset If the issue can’t be resolved, the job can be reset. Resetting a policy results in a full or differential replication the next time the policy is run.

Creating Snapshots

# isi snapshot snapshots create

# isi snapshot snapshots delete {|–schedule |–type {alias|real}|–all}
[{–force|-f}] [{–verbose|-v}]

Modifing Snapshots

# isi snapshot snapshots modify

Listing Snapshots

# isi snapshot snapshots list –state {all | active | deleting}
# isi snapshot snapshots list –limit | -l [Number of snapshots to display]
# isi snapshot snapshots list –descending | -d [Sort data in descending order]

Viewing Snapshots

# isi snapshot snapshots view

Deleting Snapshots

Deleting a snapshot from OneFS is an all-or-nothing event, an existing snapshot cannot be partially deleted. Snapshots are created at the directory level, not at the volume level, which allows for a higher degree of granularity. Because they are a point in time copy of a specific subset of OneFS data they can’t be changed, only fully deleted. When deleting a snapshot OneFS immediately modifies some of the tracking data and the snapshot dissappears from view. Despite the fact that the snap is no longer visible, the behind the scenes cleanup of the snapshot will still be pending. It is performed in the ‘SnapshotDelete’ job.

OneFS frees disk space occupied by deleted snapshots only when the snapshot delete job is run. If a snapshot is deleted that contains clones or cloned files, the data in a shadow store may no longer be referenced by files on the cluster. OneFS deletes unreferenced data in a shadow store when the shadow store delete job is run. OneFS automatically runs both the shadow store delete and snapshot delete jobs, but you can also run them manually any time. Follow the procedure below to force the snapshot delete job to more quickly reclaim array capacity.

Deleting Snapshots from the WebUI

Go to Data Protection > SnapshotIQ > Snapshots and specify the snapshots that you want to delete.

• For each snapshot you want to delete, in the Saved File System Snapshots table, in the row of a snapshot, select the check box.
• From the Select an action list, select Delete.
• In the confirmation dialog box, click Delete.
• Note that you can select more than one snapshot at a time, and clicking the delete button on any of the snapshots will result in the entire checked list being deleted.
• If you have a large number of snapshots and want to delete them all, you can run a command from the CLI that will delete all of them at once: isi snapshot snapshots delete –all.

Increasing the Speed of Snapshot Deletion from the WebUI

It’s important to note that the SnapshotDelete will only run if the cluster is in a fully available state. There can be no drives or nodes down and it cannot be in a degraded state. To increase the speed at which deleted snapshot data is freed on the cluster, run the snapshot delete job.

• Go to Cluster Management > Operations.
• In the Running Jobs area, click Start Job.
• From the Job list, select SnapshotDelete.
• Click Start.

Increasing the Speed of Cloned File deletion from the WebUI

Run the shadow store delete job only after you run the snapshot delete job.

• Go to Cluster Management > Operations.
• In the Running Jobs area, click Start Job.
• From the Job list, select ShadowStoreDelete.
• Click Start.

Reserved Space

There is no requirement for reserved space for snapshots in OneFS. Snapshots can use as much or little of the available file system space as desirable. The oldest snapshot can be deleted very quickly. An ordered deletion is the deletion of the oldest snapshot of a directory, and is a recommended best practice for snapshot management. An unordered deletion is the removal of a snapshot that is not the oldest in a directory, and can often take approximately twice as long to complete and consume more cluster resources than ordered deletions.

The Delete Sequence Matters

As I just mentioned, avoid deleting snapshots from the middle of a time range whenever possible. Newer snapshots are mostly pointers to older snapshots, and they look like they are consuming more capacity than they actually are. Removing the newer snapshots will not free up much space, while deleting the oldest snapshot will ensure you are actually freeing up the space. You can determine snapshot order by using the isi snapshot list -l command.

Watch for SyncIQ Snaps

Avoid deleting SyncIQ snapshots if possible. They are easily identifiable, as they will all be prefixed with SIQ. It is ok to delete them if they are the only remaining snapshots on the cluster, and the only way to free up space is to delete them. Be aware that deleting SyncIQ snapshots resets the SyncIQ policy state, which requires a reset of the policy and may result in either a full sync or initial differential sync. A full sync or initial diff sync could take many times longer than a regular snapshot-based incremental sync.

Using the InsightIQ iiq_data_export Utility

InsightIQ includes a very useful data export tool:  iiq_data_export. It can be used with any version of OneFS beginning with 7.x.  While the tool is compatible with older versions of the operating system, if you’re running OneFS v8.0 or higher it offers a much needed performance improvement.  The improvements allow this to be a much more functional tool that can be used daily, and for quick reports it’s much faster than relying on the web interface.

Applications of this tool could include daily reports for application teams to monitor their data consumption, charge-back reporting processes,  or administrative trending reports. The output is in csv format, so there are plenty of options for data manipulation and reporting in your favorite spreadsheet application.

The utility is a command line tool, so you will need to log in to the CLI with an ssh session to the Linux InsightIQ server.  I generally use putty for that purpose.  The utility works with either root or non-root users, so you won’t need elevated privileges – I log in with the standard administrator user account. The utility can be used to export both performance stats and file system analytics [fsa] data, but I’ll review some uses of iiq_data_export for file system analytics first, more specifically the directory data-module export option.

The default command line option for file system analytics include list, describe, and export:

iiq_data_export fsa [-h] {list,describe,export} ...

Options:
 -h, --help Show this help message and exit.

Sub-Commands:
 {list,describe,export}
 FSA Sub-Commands
 list List valid arguments for the different options.
 describe Describes the specified option.
 export Export FSA data to a specified .csv file.

Listing FSA results for a specific Cluster

First we’ll need to review the reports that are available on the server. Below is the command to list the available FSA results for the cluster:

iiq_data_export fsa list --reports IsilonCluster1

Here are the results of running that command on my InsightIQ Server:

[administrator@corporate_iq1 ~]$ iiq_data_export fsa list --reports IsilonCluster1

Available Reports for: IsilonCluster1 Time Zone: PST
 ====================================================================
 | ID    | FSA Job Start         | FSA Job End           | Size     |
 ====================================================================
 | 57430 | Jan 01 2018, 10:01 PM | Jan 01 2018, 10:03 PM | 115.49M  |
 --------------------------------------------------------------------
 | 57435 | Jan 02 2018, 10:01 PM | Jan 02 2018, 10:03 PM | 115.53M  |
 --------------------------------------------------------------------
 | 57440 | Jan 03 2018, 10:01 PM | Jan 03 2018, 10:03 PM | 114.99M  |
 --------------------------------------------------------------------
 | 57445 | Jan 04 2018, 10:01 PM | Jan 04 2018, 10:03 PM | 116.38M  |
 --------------------------------------------------------------------
 | 57450 | Jan 05 2018, 10:00 PM | Jan 05 2018, 10:03 PM | 115.74M  |
 --------------------------------------------------------------------
 | 57456 | Jan 06 2018, 10:00 PM | Jan 06 2018, 10:03 PM | 114.98M  |
 --------------------------------------------------------------------
 | 57462 | Jan 07 2018, 10:01 PM | Jan 07 2018, 10:03 PM | 113.34M  |
 --------------------------------------------------------------------
 | 57467 | Jan 08 2018, 10:00 PM | Jan 08 2018, 10:03 PM | 114.81M  |
 ====================================================================

The ID column is the job number that is associated with that particular FS Analyze job engine job.  We’ll use that ID number when we run the iiq_data_export to extract the capacity information.

Using iiq_data_export

Below is the command to export the first-level directories under /ifs from a specified cluster for a specific FSA job:

iiq_data_export fsa export -c <cluster_name> --data-module directories -o <jobID>

If I want to view the /ifs subdirectores from job 57467, here’s the command syntax and it’s output:

[administrator@corporate_iq1 ~]$ iiq_data_export fsa export -c IsilonCluster1 --data-module directories -o 57467

Successfully exported data to: directories_IsilonCluster1_57467_1515522398.csv

Below is the resulting file. The output shows the directory count, file counts, logical, and capacity consumption.

[administrator@corporate_iq1 ~]$ cat directories_IsilonCluster1_57467_1515522398.csv

path[directory:/ifs/],dir_cnt (count),file_cnt (count),ads_cnt,other_cnt (count),log_size_sum (bytes),phys_size_sum (bytes),log_size_sum_overflow,report_date: 1515470445
 /ifs/NFS_exports,138420,16067265,0,1659,335841902399477,383999799732224,0
 /ifs/data,95,2189,0,0,13303199652,15264802304,0
 /ifs/.isilon,3,22,0,0,647236,2284544,0
 /ifs/netlog,2,5,0,0,37615,208384,0
 /ifs/home,9,31,0,0,30070,950784,0
 /ifs/SITE,10,0,0,0,244,53248,0
 /ifs/PRODUCTION-CIFS,2,0,0,0,23,4096,0
 /ifs/WAREHOUSE,1,0,0,0,0,2048,0
 /ifs/upgrade_error_logs,1,0,0,0,0,2048,0

While that is a useful top level report, we may want to dive a bit deeper and report on 2nd or 3rd level directories as well. To gather that info, use the directory filter option, which is “-r”:

iiq_data_export fsa export -c <cluster_name> --data-module directories -o <jobID> -r directory:<directory_path_in_ifs>

As an example, if we wanted more detail on the subfolders under the /NFS_exports/warehouse/ directory, we’d run the following command:

[administrator@corporate_iq1 ~]$ iiq_data_export fsa export -c IsilonCluster1 --data-module directories -o 57467 -r directory:/NFS_exports/warehouse/warehouse_dec2017

Successfully exported data to: directories_IsilonCluster1_57467_1515524307.csv

Below is the output from the csv file that I generated:

[administrator@corporate_iq1 ~]$ cat directories_IsilonCluster1_57467_1515524307.csv

path[directory:/ifs/NFS_exports/warehouse/warehouse_dec2017/],dir_cnt (count),file_cnt (count),ads_cnt,other_cnt (count),log_size_sum (bytes),phys_size_sum (bytes),log_size_sum_overflow,report_date: 1515470445
 /ifs/NFS_exports/warehouse/warehouse_dec2017/dir_t01,44,458283,0,0,27298994838926,31275791237632,0
 /ifs/NFS_exports/warehouse/warehouse_dec2017/dir_cat,45,106854,0,0,14222018137340,16285929507840,0
 /ifs/NFS_exports/warehouse/warehouse_dec2017/dir_set,24,261564,0,0,11221057700000,12847989286912,0
 /ifs/NFS_exports/warehouse/warehouse_dec2017/dir_auth,17,96099,0,0,7402828037356,8471138941440,0
 /ifs/NFS_exports/warehouse/warehouse_dec2017/dir_mds,41,457984,0,0,5718188746729,6576121923584,0
 /ifs/NFS_exports/warehouse/warehouse_dec2017/dir_hsh,17,101969,0,0,4396244719797,5035400875520,0
 /ifs/NFS_exports/warehouse/warehouse_dec2017/dir_hop,17,115257,0,0,3148118026139,3608613813760,0
 /ifs/NFS_exports/warehouse/warehouse_dec2017/dir_brm,24,3434,0,0,2964319382819,3381774883840,0
 /ifs/NFS_exports/warehouse/warehouse_dec2017/dir_exe,9,22851,0,0,2917582971428,3317971597824,0
 /ifs/NFS_exports/warehouse/warehouse_dec2017/dir_com,21,33286,0,0,2548672643701,2907729505280,0
 /ifs/NFS_exports/warehouse/warehouse_dec2017/dir_mig,2,30,0,0,2255138307994,2586591986688,0
 /ifs/NFS_exports/warehouse/warehouse_dec2017/dir_cls,7,4994,0,0,1795466785597,2035911001088,0
 /ifs/NFS_exports/warehouse/warehouse_dec2017/dir_enc,45,106713,0,0,1768636398516,2032634691072,0
 <...truncated>

Diving Deeper into subdirectories

Note that how deep you can go down the /ifs subdirectory tree depends on the FSA configuration in InsightIQ. By default InsightIQ will configure the “directory filter maximum depth” option to 5, allowing directory information as low as
/ifs/dir1/dir2/dir3/dir4/dir5. If you need to dive deeper the FSA config will need to be updated. To do so, go to the Configuration Page, FSA Configuration, then the “Directory Filter path_squash) maximum depth setting. Note that the larger the maximum depth the more storage space an individual FSA result will use.

Scripting Reports

For specific subdirectory reports it’s fairly easy to script the output.

First, let’s create a text file with a list of the subdirectories under /ifs that we want to report on. I’ll create a file named “directories.txt” in the /home/administrator folder on the InsightIQ server. You can use vi to create and save the file.

[administrator@corporate_iq1 ~]$ vi directories.txt

[add the following in the vi editor...]

NFS_exports/warehouse/warehouse_dec2017/dir_t01
 NFS_exports/warehouse/warehouse_dec2017/dir_cat
 NFS_exports/warehouse/warehouse_dec2017/dir_set

I’ll then use vi again to create the script itself.   You will need to substitute the cluster name and the job ID to match your environment.

[administrator@corporate_iq1 ~]$ vi direxport.sh

[add the following in the vi editor...]

for i in `cat directories.txt`
 do
 echo "Processing Directory $i..."
 j=`basename $i`;
 echo "Base Folder Name is $j"
 date_time="`date +%Y_%m_%d_%H%M%S_`";
 iiq_data_export fsa export -c IsilonCluster1 --data-module directories -o 57467 -r directory:$i -n direxport_$date_time$j.csv
 done

We can now change the permissions and set the file to executable, then run the script.  An output example is below.

[administrator@corporate_iq1 ~]$ chmod 777 direxport.sh
 [administrator@corporate_iq1 ~]$ chmod +X direxport.sh
 [administrator@corporate_iq1 ~]$ ./direxport.sh

Processing NFS_exports/warehouse/warehouse_dec2017/dir_t01...
 Base Folder Name is dir_t01

Successfully exported data to: direxport_2017_01_19_085528_dir_t01.csv

Processing NFS_exports/warehouse/warehouse_dec2017/dir_cat...
 Base Folder Name is dir_cat

Successfully exported data to: direxport_2017_01_19_0855430_dir_cat.csv

Processing NFS_exports/warehouse/warehouse_dec2017/dir_set...
 Base Folder Name is dir_set

Successfully exported data to: direxport_2017_01_19_085532_dir_set.csv

Performance Reporting

As I mentioned at the beginning of this post, this command can also provide performance related information. Below are the default command line options.

usage: iiq_data_export perf list [-h] [--breakouts] [--clusters] [--data-modules]

Options:
 -h, --help Show this help message and exit.

Mutually Exclusive Options:
 --breakouts Displays the names of all breakouts that InsightIQ supports for
 performance data modules. Each data module supports a subset of
 breakouts.
 --clusters Displays the names of all clusters that InsightIQ is monitoring.
 --data-modules Displays the names of all available performance data modules.
 iiq_data_export perf list: error: One of the mutually exclusive arguments are
 required.

Here are the data modules you can export:

 iiq_data_export perf list --data-modules
 ====================================================================
 | Data Module Label                       | Key 
 ====================================================================
 | Active Clients                          | client_active 
 --------------------------------------------------------------------
 | Average Cached Data Age                 | cache_oldest_page_age 
 --------------------------------------------------------------------
 | Average Disk Hardware Latency           | disk_adv_access_latency 
 --------------------------------------------------------------------
 | Average Disk Operation Size             | disk_adv_op_size 
 --------------------------------------------------------------------
 | Average Pending Disk Operations Count   | disk_adv_io_queue 
 --------------------------------------------------------------------
 | Blocking File System Events Rate        | ifs_blocked
 --------------------------------------------------------------------
 | CPU % Use                               | cpu_use 
 --------------------------------------------------------------------
 | CPU Usage Rate                          | cpu_usage_rate 
 --------------------------------------------------------------------
 | Cache Hits                              | cache_hits 
 --------------------------------------------------------------------
 | Cluster Capacity                        | ifs_cluster_capacity 
 --------------------------------------------------------------------
 | Connected Clients                       | client_connected 
 --------------------------------------------------------------------
 | Contended File System Events Rate       | ifs_contended 
 --------------------------------------------------------------------
 | Deadlocked File System Events Rate      | ifs_deadlocked 
 --------------------------------------------------------------------
 | Deduplication Summary (Logical)         | dedupe_logical 
 --------------------------------------------------------------------
 | Deduplication Summary (Physical)        | dedupe_physical 
 --------------------------------------------------------------------
 | Disk Activity                           | disk_adv_busy 
 --------------------------------------------------------------------
 | Disk IOPS                               | disk_iops 
 --------------------------------------------------------------------
 | Disk Operations Rate                    | disk_adv_op_rate 
 --------------------------------------------------------------------
 | Disk Throughput Rate                    | disk_adv_bytes 
 --------------------------------------------------------------------
 | External Network Errors                 | ext_error 
 --------------------------------------------------------------------
 | External Network Packets Rate           | ext_packet 
 --------------------------------------------------------------------
 | External Network Throughput Rate        | ext_net_bytes 
 --------------------------------------------------------------------
 | File System Events Rate                 | ifs_heat 
 --------------------------------------------------------------------
 | File System Throughput Rate             | ifs_total_rate 
 --------------------------------------------------------------------
 | Job Workers                             | worker 
 --------------------------------------------------------------------
 | Jobs                                    | job 
 --------------------------------------------------------------------
 | L1 Cache Throughput Rate                | cache_l1_read 
 --------------------------------------------------------------------
 | L1 and L2 Cache Prefetch Throughput Rate| cache_all_prefetch 
 --------------------------------------------------------------------
 | L2 Cache Throughput Rate                | cache_l2_read 
 --------------------------------------------------------------------
 | L3 Cache Throughput Rate                | cache_l3_read 
 --------------------------------------------------------------------
 | Locked File System Events Rate          | ifs_lock 
 --------------------------------------------------------------------
 | Overall Cache Hit Rate                  | cache_all_read_hitrate 
 --------------------------------------------------------------------
 | Overall Cache Throughput Rate           | cache_all_read 
 --------------------------------------------------------------------
 | Pending Disk Operations Latency         | disk_adv_io_latency
 --------------------------------------------------------------------
 | Protocol Operations Average Latency     | proto_latency 
 --------------------------------------------------------------------
 | Protocol Operations Rate                | proto_op_rate 
 --------------------------------------------------------------------
 | Slow Disk Access Rate                   | disk_adv_access_slow 
 ====================================================================

As an example, if I want to review the CPU utilization for the cluster, I’d type in the command below.   It will show all of the CPU performance information for the specified cluster name.  Once I’ve had more time to dive in to the performance reporting aspect of InsightIQ I’ll revisit and add to this post.

[administrator@corporate_iq1~]$ iiq_data_export perf export -c IsilonCluster1 -d cpu_use

Successfully exported data to: cpu_IsilonCluster1_1515527709.csv

Below is what the output looks like:

[administrator@corporate_iq1 ~]$ cat cpu_STL-Isi0091_1515527709.csv
 Time (Unix) (America/Chicago),cpu (percent)
 1515524100.0,3.77435898780823
 1515524130.0,4.13846158981323
 1515524160.0,3.27435898780823
 1515524190.0,2.34871792793274
 1515524220.0,2.68974351882935
 1515524250.0,3.33333349227905
 1515524280.0,3.02051281929016
 1515524310.0,2.78974366188049
 1515524340.0,2.98717951774597
 <...truncated>