VNX e Unisphere Command Line Guide 302-000-194
VNX e Unisphere Command Line Guide 302-000-194
NOTE: A NOTE indicates important information that helps you make better use of your product.
CAUTION: A CAUTION indicates either potential damage to hardware or loss of data and tells you how to avoid
the problem.
WARNING: A WARNING indicates a potential for property damage, personal injury, or death.
© 2014 - 2021 Dell Inc. or its subsidiaries. All rights reserved. Dell, EMC, and other trademarks are trademarks of Dell Inc. or its subsidiaries.
Other trademarks may be trademarks of their respective owners.
Contents
Chapter 1: Introduction................................................................................................................ 12
Overview.............................................................................................................................................................................. 12
Storage types................................................................................................................................................................ 12
Use Unisphere CLI in scripts..................................................................................................................................... 12
Set up the Unisphere CLI client......................................................................................................................................12
Install the Unisphere CLI client................................................................................................................................. 13
Launch the Unisphere CLI client.............................................................................................................................. 13
Certificate verification................................................................................................................................................ 13
Unisphere CLI syntax........................................................................................................................................................ 14
Executable......................................................................................................................................................................14
Switches......................................................................................................................................................................... 14
Objects............................................................................................................................................................................14
Object qualifiers............................................................................................................................................................15
Actions............................................................................................................................................................................ 15
Action qualifiers............................................................................................................................................................ 15
Size qualifiers................................................................................................................................................................ 15
Speed qualifiers............................................................................................................................................................ 16
Action commands...............................................................................................................................................................16
The create action command......................................................................................................................................16
The set action command............................................................................................................................................ 17
The show action command........................................................................................................................................ 17
The delete action command...................................................................................................................................... 19
Get help................................................................................................................................................................................ 19
Help on the Unisphere CLI client..............................................................................................................................19
Help on parent object types..................................................................................................................................... 20
Help on child object types......................................................................................................................................... 20
Help on actions............................................................................................................................................................. 21
Contents 3
View support configuration........................................................................................................................................31
Change support configuration.................................................................................................................................. 31
Manage support credentials........................................................................................................................................... 32
View support credentials........................................................................................................................................... 32
Change support credentials...................................................................................................................................... 32
Delete support credentials........................................................................................................................................ 33
Manage support contracts..............................................................................................................................................33
View support contracts..............................................................................................................................................34
Refresh support contracts........................................................................................................................................ 34
Manage users..................................................................................................................................................................... 35
View user roles.............................................................................................................................................................35
Create user accounts................................................................................................................................................. 36
View user accounts..................................................................................................................................................... 37
Change user accounts................................................................................................................................................38
Delete user accounts.................................................................................................................................................. 39
View installed feature licenses....................................................................................................................................... 39
View licenses................................................................................................................................................................ 40
View and accept the End User License Agreement................................................................................................. 40
View the EULA............................................................................................................................................................. 40
Accept the EULA..........................................................................................................................................................41
Manage ESRS (if supported).......................................................................................................................................... 41
View ESRS configuration...........................................................................................................................................42
Change ESRS configuration......................................................................................................................................42
Manage Unisphere Central Management/Monitoring..............................................................................................43
Create the remote manager configuration............................................................................................................44
View remote manager configuration.......................................................................................................................44
Change remote manager configuration................................................................................................................. 45
Manage remote logging................................................................................................................................................... 46
View settings for remote logging............................................................................................................................ 46
Configure settings for remote logging................................................................................................................... 47
View system software versions..................................................................................................................................... 48
Upgrade the system software........................................................................................................................................49
Create upgrade sessions............................................................................................................................................49
View upgrade sessions............................................................................................................................................... 50
Manage snapshot protection schedules.......................................................................................................................51
View protection schedules.........................................................................................................................................51
Delete protection schedules..................................................................................................................................... 52
Manage task rules............................................................................................................................................................. 52
Create task rules......................................................................................................................................................... 53
View task rules............................................................................................................................................................. 56
Delete task rules.......................................................................................................................................................... 57
Manage jobs........................................................................................................................................................................57
View list of jobs............................................................................................................................................................58
Resume a job................................................................................................................................................................ 59
Cancel a job.................................................................................................................................................................. 59
Delete jobs.................................................................................................................................................................... 60
Manage job step................................................................................................................................................................ 60
View list of steps in a job............................................................................................................................................61
4 Contents
Manage NAS servers........................................................................................................................................................62
Create NAS servers.................................................................................................................................................... 64
View NAS servers........................................................................................................................................................65
Change NAS server settings.................................................................................................................................... 66
Delete NAS servers..................................................................................................................................................... 67
Manage FTP settings................................................................................................................................................. 68
Manage LDAP settings of a NAS server.................................................................................................................71
Manage CIFS Servers.......................................................................................................................................................74
Create CIFS server......................................................................................................................................................75
View CIFS server......................................................................................................................................................... 76
Change CIFS server settings.................................................................................................................................... 77
Delete CIFS server ..................................................................................................................................................... 78
Manage reverse CHAP for mutual CHAP authentication........................................................................................ 78
Specify reverse CHAP secret settings...................................................................................................................79
View reverse CHAP secret settings....................................................................................................................... 80
Set up iSNS for iSCSI storage....................................................................................................................................... 80
Create iSNS server records...................................................................................................................................... 80
View iSNS server records.......................................................................................................................................... 81
Delete iSNS server records....................................................................................................................................... 81
Change iSNS server record settings...................................................................................................................... 82
Manage iSCSI configuration........................................................................................................................................... 82
View iSCSI configuration........................................................................................................................................... 82
Change iSCSI configuration...................................................................................................................................... 83
Manage iSCSI nodes (servers)...................................................................................................................................... 83
View iSCSI nodes.........................................................................................................................................................84
Change iSCSI node settings..................................................................................................................................... 85
Manage Ethernet ports....................................................................................................................................................86
View Ethernet port settings......................................................................................................................................87
Change Ethernet port settings................................................................................................................................ 88
Manage SAS ports (physical deployments only)....................................................................................................... 88
View SAS settings....................................................................................................................................................... 89
Manage FC ports...............................................................................................................................................................90
View FC port settings................................................................................................................................................ 90
Change port settings...................................................................................................................................................91
Management network interfaces................................................................................................................................... 91
View management interfaces................................................................................................................................... 92
Change interface settings......................................................................................................................................... 92
Manage interfaces............................................................................................................................................................ 93
Create interfaces.........................................................................................................................................................94
View interfaces............................................................................................................................................................ 96
Change interface settings......................................................................................................................................... 97
Delete interfaces......................................................................................................................................................... 98
Manage static IP routes.................................................................................................................................................. 98
Create IP routes.......................................................................................................................................................... 99
View IP routes............................................................................................................................................................ 100
Delete IP routes......................................................................................................................................................... 100
Manage link aggregations...............................................................................................................................................101
Create link aggregations.......................................................................................................................................... 102
View link aggregations.............................................................................................................................................. 103
Change link aggregations.........................................................................................................................................103
Contents 5
Delete link aggregations........................................................................................................................................... 104
Manage DNS settings.....................................................................................................................................................105
Configure DNS settings........................................................................................................................................... 105
View default DNS addresses...................................................................................................................................106
View DNS server domains....................................................................................................................................... 106
Configure a DNS domain..........................................................................................................................................107
Manage NTP server settings........................................................................................................................................ 107
Create an NTP server record................................................................................................................................. 108
View NTP server settings........................................................................................................................................109
Configure NTP server settings...............................................................................................................................109
Delete NTP server settings......................................................................................................................................110
Manage NIS server domains.......................................................................................................................................... 110
View NIS server domains.......................................................................................................................................... 110
Change NIS server domains......................................................................................................................................111
Manage SMTP server settings......................................................................................................................................112
View SMTP server settings......................................................................................................................................112
Configure SMTP server settings............................................................................................................................ 113
Manage NDMP server settings.....................................................................................................................................113
View NDMP server settings.....................................................................................................................................114
Configure NDMP server settings............................................................................................................................114
Manage LDAP settings....................................................................................................................................................115
Configure LDAP settings.......................................................................................................................................... 116
View LDAP settings....................................................................................................................................................118
Change LDAP settings.............................................................................................................................................. 118
Verify LDAP settings.................................................................................................................................................120
Delete LDAP settings................................................................................................................................................120
Utility commands.............................................................................................................................................................. 121
Ping................................................................................................................................................................................ 121
Trace route...................................................................................................................................................................121
Manage advanced storage access.............................................................................................................................. 122
View Advanced storage access settings..............................................................................................................122
Change Advanced storage access settings.........................................................................................................123
6 Contents
View iSCSI CHAP accounts.....................................................................................................................................139
Change iSCSI CHAP account settings................................................................................................................. 140
Delete iSCSI CHAP accounts..................................................................................................................................140
Manage VMware virtual center.....................................................................................................................................141
Create VMware virtual center................................................................................................................................. 141
Set the credentials or description of an existing virtual center..................................................................... 142
Delete an existing virtual center.............................................................................................................................143
View all virtual centers..............................................................................................................................................143
Refresh all virtual centers........................................................................................................................................ 144
Manage ESX server.........................................................................................................................................................144
Create an ESX server............................................................................................................................................... 144
Change ESX server credentials.............................................................................................................................. 146
Delete ESX server credentials................................................................................................................................ 146
View all existing ESX servers.................................................................................................................................. 147
Discover all ESX Servers.......................................................................................................................................... 147
Refresh an ESX server............................................................................................................................................. 148
Virtual machine.................................................................................................................................................................149
View all existing virtual machines...........................................................................................................................149
VM hard disk.....................................................................................................................................................................150
View all hard disks..................................................................................................................................................... 150
Contents 7
Chapter 6: Manage Storage........................................................................................................167
Configure storage pools automatically (physical deployments only).................................................................. 167
Initiate automatic storage pool configuration..................................................................................................... 168
View configuration settings for automatic storage pool creation..................................................................169
Configure custom storage pools..................................................................................................................................169
Configure storage pools........................................................................................................................................... 172
View storage pools.....................................................................................................................................................174
Change storage pool settings................................................................................................................................. 175
Add disks or tiers to storage pools........................................................................................................................ 177
Delete storage pools..................................................................................................................................................178
Manage storage pool tiers............................................................................................................................................. 179
View storage tiers...................................................................................................................................................... 179
Manage FAST VP pool settings................................................................................................................................... 180
Change FAST VP pool settings.............................................................................................................................. 182
View FAST VP pool settings................................................................................................................................... 183
Start data relocation................................................................................................................................................. 183
Stop data relocation..................................................................................................................................................184
View storage pool resources.........................................................................................................................................185
Manage FAST VP general settings..............................................................................................................................186
Change FAST VP general settings.........................................................................................................................187
View FAST VP general settings..............................................................................................................................188
Manage FAST Cache (physical deployments only)................................................................................................. 189
Create FAST Cache...................................................................................................................................................189
View FAST Cache settings...................................................................................................................................... 190
Delete FAST Cache................................................................................................................................................... 190
View storage profiles (physical deployments only)..................................................................................................191
Manage disk groups (physical deployments only)................................................................................................... 192
View disk groups........................................................................................................................................................ 192
View recommended disk group configurations...................................................................................................193
Manage file systems....................................................................................................................................................... 194
Create file systems....................................................................................................................................................198
View file systems....................................................................................................................................................... 199
Change file system settings................................................................................................................................... 200
Delete file systems.................................................................................................................................................... 201
Manage NFS network shares.......................................................................................................................................202
Create NFS network shares................................................................................................................................... 203
View NFS share settings.........................................................................................................................................205
Change NFS share settings....................................................................................................................................206
Delete NFS network shares....................................................................................................................................207
Manage CIFS network shares......................................................................................................................................208
Create CIFS network shares.................................................................................................................................. 209
View CIFS share settings.........................................................................................................................................210
Change CIFS share settings.....................................................................................................................................211
Delete CIFS network shares....................................................................................................................................212
Manage LUNs................................................................................................................................................................... 213
Create LUNs................................................................................................................................................................214
View LUNs................................................................................................................................................................... 216
Change LUNs.............................................................................................................................................................. 217
Delete LUNs................................................................................................................................................................ 218
8 Contents
Manage LUN groups....................................................................................................................................................... 219
Create a LUN group................................................................................................................................................. 220
View LUN groups....................................................................................................................................................... 221
Change LUN groups................................................................................................................................................. 222
Delete LUN groups....................................................................................................................................................223
Manage VMware NFS datastores...............................................................................................................................224
Create NFS datastores............................................................................................................................................ 226
View NFS datastores................................................................................................................................................228
Change NFS datastore settings............................................................................................................................ 230
Delete NFS datastores............................................................................................................................................. 231
Manage VMware VMFS datastores........................................................................................................................... 232
Create VMware VMFS datastores........................................................................................................................234
View VMware VMFS datastores........................................................................................................................... 236
Change VMware VMFS datastore settings........................................................................................................ 237
Delete VMware VMFS datastores........................................................................................................................ 238
Manage data deduplication...........................................................................................................................................239
View deduplication settings....................................................................................................................................240
Configure deduplication settings...........................................................................................................................240
Force a rescan............................................................................................................................................................ 241
Contents 9
Manually synchronize replication sessions.......................................................................................................... 273
Delete replication sessions...................................................................................................................................... 273
Fail over replication sessions.................................................................................................................................. 274
Fail back replication sessions..................................................................................................................................275
Manage virtual RecoverPoint appliance CHAP accounts......................................................................................276
View the RPA CHAP account................................................................................................................................ 276
Change RPA CHAP account...................................................................................................................................276
Manage Common Anti Virus Agent (CAVA)............................................................................................................. 277
View CAVA settings..................................................................................................................................................277
Change CAVA settings.............................................................................................................................................278
10 Contents
Delete certificates.....................................................................................................................................................302
Clear all certificates..................................................................................................................................................302
Import certificates.................................................................................................................................................... 302
Save Unisphere CLI settings........................................................................................................................................ 302
Contents 11
1
Introduction
This chapter addresses the following topics:
Topics:
• Overview
• Set up the Unisphere CLI client
• Unisphere CLI syntax
• Action commands
• Get help
Overview
Unisphere CLI enables you to run commands on a system through a prompt from a Microsoft Windows or UNIX/Linux host. Use
Unisphere® for managing a system. Unisphere CLI is intended for advanced users who want to use commands in scripts for
automating routine tasks.
Use Unisphere CLI to manage a system. Tasks include:
● Configuring and monitoring the system.
● Managing users.
● Provisioning storage.
● Protecting data.
● Controlling host access to storage.
Storage types
Unisphere CLI supports provisioning and management of network block and file-based storage, including:
● File system storage, which contains one or more shares. Allows clients to store data and easily access file systems and
shares that integrate seamlessly into:
○ Windows environments that use the CIFS protocol for file sharing, Microsoft Active Directory for authentication, and
Windows directory access for folder permissions.
○ Linux/UNIX environments that use the NFS protocol for file sharing and POSIX access control lists for folder
permissions.
● LUN storage, over Fibre Channel (FC) or iSCSI protocol. You can have an individual LUN or a LUN group which can contains
one or more LUNs. Provides block-level storage to hosts and applications that use the FC or iSCSI protocol to access
storage in the form of LUNs.
● Storage for VMware virtual machines through datastores that are accessible through either the NFS (over NFS protocol) or
VMFS (over FC or iSCSI protocol) formats.
12 Introduction
Install the Unisphere CLI client
About this task
To install the Unisphere CLI client:
Steps
1. Go to your support website.
2. Download the Unisphere CLI client for your operating system.
3. Perform the following based on your operating system:
● On Windows, double-click the installer executable and follow the prompts. The default installation location is: C:
\Program Files\EMC\Unisphere CLI
NOTE: The installation directory is added to the PATH system variable.
● On UNIX/Linux, type: rpm -ihv <filename>,
where filename is the name of the installer executable. The default installation location is:/opt/emc/uemcli-
<version>/bin/,
where version is the version of the client installed.
Steps
1. If you have a Windows operating system, type:
uemcli.exe
2. If you have a UNIX/Linux operating system, type:
/usr/bin/uemcli
Certificate verification
In order to establish a secure connection between UEM CLI and its backend server, a Public Key infrastructure (PKI) is used. An
important component of PKI, is certificate verification. Certificate verification provides a way for a user to verify the backend
server being contacted.
When UEM CLI connects to a server requesting a secure connection, the server sends its identification in the form of a digital
certificate. The certificate usually contains the following:
● Server name
● Trusted certificate authority (CA)
● Server's public encryption key.
The UEM CLI client may contact the server that issued the certificate (the trusted CA) and confirm the validity of the
certificate before proceeding. When the certificate is verified, UEM CLI and its backend server will establish the connection and
begin to exchange data.
low The certificate verification process will not be used to access the array.
Introduction 13
medium The certificate verification process will be used to access the array.
NOTE: The default is medium.
Executable
All command lines begin with the executable uemcli. If you do not start each command line with uemcli, the command fails
and you must rerun the command. If you run only uemcli, without any switches or commands, the list of switches and their
descriptions appears.
Switches
Use local switches to configure Unisphere CLI and connect to a system. Type switches immediately after uemcli. When typing
more than one switch on the same line, separate each switch with a space. All switches start with a hyphen (-).
Use Switches on page 295 provides details on all available switches.
Objects
Objects identify the type of object on which to perform an action, such as a user, host, LDAP setting, or the system you are
managing. All objects are categorized into types and are nested, as parent/child, to form a path to the actual object on which to
perform an action, similar to locating a file in a file system. An object type can be a parent or a child of a parent. Not all parent
object types contain child objects. For example, the deduplication object type does not contain child objects.
All actions require the fully qualified path to the object. The one exception is the –help switch, which applies to an object at
any level in a path. Get help on page 19 explains how to use the -help switch.
The actual object on which you perform an action is identified by an ID called an object qualifier, as explained in Object qualifiers
on page 15.
Example 1
In the following example for creating a user account, the two object types are user and account:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /user/account create –name user1 –type
local –passwd Password789! –role operator
Example 2
In the following example for viewing all user accounts on the system, the object types are user and account. An object ID is
not specified, so the show action is performed on account, which displays a list of all user accounts:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /user/account show
14 Introduction
Object qualifiers
Object qualifiers are unique identifiers for objects on the system. The format is:
-<identifier> <value>
where:
● identifier — Type of object qualifier. The most common is -id.
● value — Actual object qualifier.
When you create an object, such as a user or network interface, it receives an ID, which is the object qualifier for that object.
When performing actions such as viewing, changing, or deleting an object, you specify its object qualifier. The most common
identifier is the -id parameter. The uniqueness of the qualifier is only guaranteed in the scope of the specified object type. All
object qualifiers start with a hyphen (-).
Example
In the following example for changing the password of a user account, the object qualifier is local_user:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /user/account –id local_user set –passwd
NewPassword456! –oldpasswd password123
Actions
Actions are the operations performed on an object or object type, including creating, changing, viewing, and deleting. Actions
are always required. Action commands on page 16 provides details on each of the action commands.
Example
In the following example for changing the password of a user account, the action is set:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /user/account –id local_user set –passwd
NewPassword456! –oldpasswd password123
Action qualifiers
Action qualifiers are parameters specific to actions, such as attributes or settings to modify when changing an object. All action
qualifiers start with a hyphen (-).
Example
In the following example for changing a role and password for a user account, the action qualifiers are -passwd, -oldpasswd,
and -role:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /user/account –id local_user set –passwd
newpassword –oldpasswd password123 -role administrator
Size qualifiers
Use size qualifiers to indicate a specific capacity-size value. To specify a fraction, use a period. For example, type 2.4T for 2.4
terabytes. The output for a size value displays the exact number of bytes and the specified size value:
Size = 1209462790557 (1.1TB)
The following table lists the size qualifiers. The qualifiers are case-sensitive.
Introduction 15
Table 1. Size qualifiers
Qualifier Measurement
K Kilobyte
M Megabyte
G Gigabyte
T Terabyte
P Petabyte
Speed qualifiers
The following qualifiers are defined for the speed values.
The following table lists the speed qualifiers. The qualifiers are case-insensitive.
Action commands
When using Unisphere CLI, there are four primary action commands that you can perform on object types or objects, including
creating, changing, viewing, and deleting. This section explains each of these four action commands. Unisphere CLI syntax on
page 14 explains the relationship between action commands, object types, and objects.
Format
<object> create [<action qualifiers>]
Example
The following example uses the create action command to create a local user account. The new user account receives the ID
local_user:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /user/account create –name local_user –
type local –passwd Password789! –role operator
16 Introduction
ID = local_user
Operation completed successfully.
Format
<object path> set <object qualifier> [<action qualifiers>]
Example
The following example uses the set action command to change the password for a user account. The path /user/account
specifies that the object type is a user account. The -id object qualifier identifies local_user as the user account to change:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /user/account –id local_user set –passwd
NewPassword456! –oldpasswd OldPassword456!
ID = local_user
Operation completed successfully.
Format
uemcli [<switches>] <object> [<object qualifier>] show [{-detail | -brief | -filter
<value>] [-output {nvp | table [-wrap] | csv}]
Action qualifier
Qualifier Description
-output|-o Specify the output format. Value is one of the following:
● nvp — The name-value pair (NVP) format displays output as name=value. Name-value pair format on
page 18 provides an example of the NVP format.
● table — The table format displays output as a table, with column headers and rows. By default, values
that are too long to fit in a column are cut off. Add -wrap after the table qualifier, separated by a space,
so that the values wrap. Table format on page 18 provides an example of the table format.
● csv — The comma-separated values (CSV) format is similar to the table format, but the names and values
are separated by commas. Comma-separated values format on page 18 provides an example of the CSV
format.
-detail Display all attributes.
-brief Display only the basic attributes (default).
Introduction 17
Qualifier Description
-filter Comma-separated list of attributes which are included into the command output.
1: ID = la0_SPA
SP = SPA
Ports = eth0_SPA,eth1_SPA
Health state = OK (5)
2: ID = la0_SPB
SP = SPB
Ports = eth0_SPB,eth1_SPB
Health state = OK (5)
Table format
ID,SP,Ports,Health state
la0_SPA,SPA,”eth0_SPA,eth1_SPA”,OK (5)
la0_SPB,SPB,”eth0_SPB,eth1_SPB”,OK (5)
Example
The following command modifies the set of attributes in the show action output. For example, if you add -filter "ID,ID,ID,ID"
to the command, in the output you will see four lines with the "ID" attribute for each listed instance:
1: ID = la_0
ID = la_0
ID = la_0
ID = la_0
uemcli /net/nas/server show -filter “ID, SP, Health state, ID, Name”
Filter format
1: ID = nas_1
SP = SPA
Health state = OK (5)
ID = nas_1
Name = Mynas1
2: ID = nas_2
SP = SPA
Health state = OK (5)
ID = nas_2
Name = Mynas2
18 Introduction
The delete action command
The delete action command removes an object from the system based on the specified object and object qualifier.
Format
<object path> <object qualifier> delete
Example
The following command deletes user account local_user1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /user/account –id local_user1 delete
Get help
For help with using the CLI, use the -help, -h, or -? switch for information about the syntax, an object type, or a specific
object or action command.
Example
The following command displays information about the syntax and switches:
uemcli -?
Introduction 19
[Remove access credentials for the destination system from this client]
uemcli [-d <address>] [-port <number>] [-silent] -removeUser
Example
The following command displays a list of DNS object types: /net /dns is the parent object type and [config] and
[domain] are the child object types. In the output, the items in brackets are the objects on which you perform actions, such as
creating and changing.
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/dns –help
+- /net/dns/
+- [config]
+- [domain]
NOTE: To get help on all object types, type only a forward slash (/). For example, / -help.
Example
The following command displays the action commands to set (change) and show a DNS server setting: /net /dns is the
parent object type and [config] is the child object type. In the output, the items in brackets are the actions, such as creating
and changing, you can perform on the specified object types:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/dns/config –?
[Show]
/net/dns/config show [-output {nvp|csv|table[-wrap]}] [{-brief|-detail}]
20 Introduction
Help on actions
For help on an action command, type the fully qualified object parameter and action command, followed by the -help action
qualifier.
Example
The following command displays the list of interface attributes that you can change:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/if set –?
/net/if -id <value> set [ -vlanId <value> ] [ -addr <value> ] [ -netmask <value> ] [
-gateway <value> ]
Modify an existing interface.
Where:
-id <value>
Specify the ID of an interface (eg. if_0, if_3)
Introduction 21
2
Manage the System
This chapter addresses the following topics:
Topics:
• Configure general system settings
• Configure system information
• Manage security settings
• Manage system time
• Manage support configuration
• Manage support credentials
• Manage support contracts
• Manage users
• View installed feature licenses
• View and accept the End User License Agreement
• Manage ESRS (if supported)
• Manage Unisphere Central Management/Monitoring
• Manage remote logging
• View system software versions
• Upgrade the system software
• Manage snapshot protection schedules
• Manage task rules
• Manage jobs
• Manage job step
NOTE: The show action command on page 17 explains how to change the output format.
Format
/sys/general show
Format
/sys/general set [-name <value>] [–autoFailback {on|off}]
Action qualifiers
Qualifier Description
-name Type a name for the system.
-autoFailback (physical deployments only) Enable or disable automatic failback. Valid values are:
● On
● Off
Example
The following command disables automatic failback:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /sys/general set –autoFailback off
Example
The following command fails back all NAS servers that have failed over:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /sys/general failback
Format
/sys/general healthcheck
Example
The following command performs a health check of the system:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /sys/general healthcheck
NOTE: The show action command on page 17 explains how to change the output format.
Format
/sys/info show
Example
The following command displays the general setting information for the system:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /sys/info show
Format
/sys/info set [-location <value>] [-rackLocation <value>] [-contactName <value>] [-
contactEmail <value>] [-contactPhone <value>] [-addr1 <value>] [-addr2 <value>] [-city
<value>] [-state <value>] [-country <value>] [ -postalCode <value>] [-comment <value>]
Example
The following command changes the system information attributes:
uemcli /sys/info set –location Headquarters –rackLocation “Lab 4” –contactName Joe –
contactEmail joe@somemail.com –contactPhone 123456789
TLS mode Indicates which version of the TLS protocol the system is
using. Valid values are:
● TLSv1.0
● TLSv1.1
● TLSv1.2
NOTE: Values are case-sensitive.
Format
/sys/security show
Example
The following command displays the security settings for the system:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /sys/security show
Format
/sys/security set {-fips140Enabled {yes | no} | -tlsMode TLSv1.0 | TLSv1.1 | TLSv1.2}}
Action qualifiers
Qualifier Description
-fips140Enabled Enables or disables FIPS 140 compliance mode. Valid values are:
● yes
● no
NOTE: Values are case-sensitive.
-tlsMode Indicates the lowest version of the TLS protocol the system supports for SSL communication.
● TLSv1.0: The system supports TLS protocol v1.0 and above
● TLSv1.1: The system supports TLS protocol v1.1 and above
● TLSv1.2: The system supports TLS protocol v1.2 and above
Example
The following command changes a system's FIPS 140 compliance mode setting:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /sys/security set -fips140Enabled yes
Format
/sys/time show
Example
The following command displays the system time:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /sys/time show
Format
/sys/time set {-clientTime | -utc <value>} [-force {noReboot | allowReboot | allowDU}]
-utc Specify time to set on the system (in UTC format). Format: <YYYY>-<MM>-<DD><hh>:<mm>:<ss>
NOTE: The difference between the requested time and the resulting time can be up to one minute due
to the command processing delay.
-force Specify whether to accept or decline the system reboot, which may be needed to complete the time change.
If the qualifier is not specified, you will be asked to confirm the reboot if it’s needed. Specify one of the
following (values are case-insensitive):
● noReboot
● allowReboot
● allowDU
NOTE: allowDU is used if the system is in a degraded state or has one SP (data will be unavailable
during its reboot). Otherwise allowReboot is used. In silent mode, system will be rebooted if needed.
Example
The following command accepts the system reboot:
uemcli /sys/time set -utc "2011-05-17 14:26:20" -force allowReboot
Format
/sys/support/config show
Example
The following command displays the support configuration:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /sys/support/config show
Format
/sys/support/config set { [ -supportProxyAddr <value> ] [ -supportProxyPort <value> ] [ -
supportProxyUser <value> { -supportProxyPasswd <value> | -supportProxyPasswdSecure } ] [ -
supportProxyProtocol { http | socks } ] | -noSupportProxy } [ -autoUpdateContracts { yes |
no } ]
Action qualifiers
Qualifier Description
-supportProxyAddr Specify the name or IP address of the support services proxy server.
-supportProxyPort Specify the port of the support services proxy server.
-supportProxyUser Specify the user name of an account on the support services proxy server.
-supportProxyPasswd Specify the password for the support services proxy server account.
-supportProxyPasswdSecure Specifies the password in secure mode - the user will be prompted to input the password.
-supportProxyProtocol Specify the protocol used for communications with the support proxy server. Valid values
are:
● http
● socks
NOTE: Values are case-sensitive.
Example
The following command specifies the support services proxy server parameters:
uemcli /sys/support/config set -supportProxyAddr 10.0.0.1 -supportProxyPort 8080
-supportProxyUser user1 -supportProxyPasswd password123
Format
/sys/support/account show
Example
The following command displays the support credentials:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /sys/support/account show
Action qualifiers
Qualifier Description
-user Specify the user name of the support account.
-passwd Specify the new password of the support account.
-passwdSecure Specifies the password in secure mode - the user will be prompted to input the password.
Example
The following command specifies the new password of the support account:
uemcli /sys/support/account set -user user1 -passwd Password123
Format
/sys/support/account delete
Example
The following command deletes support credentials:
uemcli /sys/support/account delete
Format
/sys/support/contract [-id <value>] show
Action qualifiers
Qualifier Description
-id Identifies the support contracts
Example
The following command displays the support contracts:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /sys/support/contract show
1: ID = contract1
Status = active
Service type = software
Expiration date = 2012/12/31
Format
/sys/support/contract refresh
Example
The following command displays the support contracts:
Manage users
Control user access to the system and functionality by creating user accounts for each manager or administrator who needs to
configure and monitor the system. The accounts combine a unique username and password with a specific role for each identity.
The specified role determines the types of actions that the user can perform after logging in. When users connect to the system
through Unisphere CLI or Unisphere, the system prompts them to type their username and password to gain access.
The following table lists the attributes for user roles:
NOTE: The show action command on page 17 explains how to change the output format.
Format
/user/role [–name <value>] show
Object qualifier
Qualifier Description
-name Type the name of the user role. Value is one of the following:
● administrator — Administrator role
● storageadmin — Storage Administrator role
● operator — Operator role (view only)
1: Name = administrator
Description = User is allowed to perform security tasks.
2: Name = storageadmin
Description = User has access to all administrative and management interfaces
and data.
3: Name = operator
Description = User is allowed to see all storage system data but not to perform
any storage management operations.
Format
/user/account create -name <value> -type {local {-passwd <value> | -passwdSecure} |
ldapuser | ldapgroup} -role <value>
Action qualifiers
Qualifier Description
-name Type a name for the account. For LDAP users and groups that are required to indicate the domain, use the
following format:
<domain>/<name>
where:
● domain — LDAP domain.
● name — Account name.
-type Type the type of user or user group. Value is one of the following:
● local — Local user.
● ldapuser — User has an LDAP account.
● ldapgroup — Group has an LDAP account.
-passwd For local users, type the user password. The following are the password requirements for user accounts:
● Passwords must be 8 to 40 characters in length and cannot contain spaces.
● Passwords must include mixed case, a number, and a special character from this list: ! , @ # $ % ^ * ?
_~
● When changing a password, do not reuse any of the last 3 passwords.
-passwdSecure Specifies the password in secure mode - the user will be prompted to input the password and the
password confirmation.
-role Type the name of the role for the account. Value is one of the following:
Example
The following command creates a user account that assigns user1 as local user to the operator role:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /user/account create –name user1 –type
local –passwd Password987! –role operator
ID = user_user1
Operation completed successfully.
NOTE: The show action command on page 17 explains how to change the output format.
Format
/user/account [-id <value>] show
Object qualifier
Qualifier Description
-id Type the ID of a user account.
Example
The following command displays a list of all user accounts on the system:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /user/account show
1: ID = user_user1
Name = user1
Role = administrator
Type = local
2: ID = ldapuser_ldapdomain.com/ldapUser
Name = ldapdomain.com/ldapUser
Role = operator
Type = ldapuser
3: ID = ldapgroup_ldapdomain.com/ldapGroup
Name = ldapdomain.com/ldapGroup
Format
/user/account -id <value> set [ {-passwd <value> | -passwdSecure} { {-oldpasswd <value> |
-oldpasswdSecure} | -force}] [ -role <value>]
Object qualifier
Qualifier Description
-id Type the ID of the user account to change.
Action qualifiers
Qualifier Description
-passwd Type a new password for a local user. The following are the password requirements for user accounts:
● Passwords must be 8 to 40 characters in length and cannot contain spaces.
● Passwords must include mixed case, a number, and a special character from this list: ! , @ # $ % ^
*?_~
● When changing a password, do not reuse any of the last 3 passwords.
-passwdSecure Specifies the password in secure mode - the user will be prompted to input the password and the
password confirmation.
-oldpasswd Type the old password to set the new password.
-oldpasswdSecure Specifies the password in secure mode - the user will be prompted to input the password.
-force Reset the password.
NOTE: You must be an administrator to use this qualifier.
-role Type the name of a new role for the account. Value is one of the following:
● administrator — Administrator
● storageadmin — Storage Administrator
● operator — Operator (view only)
User role attributes on page 35 provides a description of each user role.
Example
The following command changes the password for user account user_user1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /user/account –id user_user1 set –passwd
NewPassword456! –oldpasswd OldPassword456!
ID = user_user1
Operation completed successfully.
Format
/user/account –id <value> delete
Object qualifier
Qualifier Description
-id Type the ID of the user account to delete.
Example
The following command deletes user account user_user1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /user/account -id user_user1 delete
NOTE: The show action command on page 17 explains how to change the output format.
Format
/sys/lic show
Example
The following command displays a list of all feature licenses on the system:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /sys/lic show
1: Feature = ISCSI
Installed = yes
Version = 1.1
Issued = 2009-11-09
Expires = 2010-11-09
Health state = OK (5)
2: Feature = CIFS
Installed = yes
Version = 1.1
Issued = 2009-01-19
Expires = Never
Health state = OK (5)
NOTE: The show action command on page 17 explains how to change the output format.
Format
/sys/eula show
Example
The following command displays the agreement status of the EULA and a URL for viewing the EULA as a text file:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /sys/eula show
1: Agree = yes
URL = https:/10.0.0.1/eula.txt
Format
/sys/eula set -agree yes
Example
The following command accepts the EULA:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /sys/eula set -agree yes
Policy proxy server address Name or IP address of the proxy server used by the policy
manager.
Policy proxy server port Port of the proxy server used by the policy manager.
Policy proxy user name User name of the account on the policy proxy server.
Policy proxy user password Password of the account on the policy proxy server.
Format
/sys/support/esrs show
Example
The following command displays the ESRS configuration:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /sys/support/esrs show
Format
/sys/support/esrs set [-enable {yes | no}] { [-policyManagerAddr <value>] [ -
policyManagerProtocol {http | https}] [ -policyManagerPort <value>] [ -policyProxyAddr
<value>] [ -policyProxyProtocol { socks | http }] [ -policyProxyPort <value>] [-
policyProxyUser <value> {-policyProxyPasswd <value> | -policyProxyPasswdSecure} ] |
-noPolicyManager} [-pingRate high]
Action qualifiers
Qualifier Description
-enable Specifies whether to enable or disable the ESRS. Possible values include:
Example
The following command modifies the ESRS configuration:
uemcli /sys/support/esrs set -enable yes -policyManagerAddr 10.10.0.2 -policyManagerPort
8090 -policyManagerProtocol https -policyProxyAddr 10.0.0.3 -policyProxyPort 8080
-policyProxyUser user2 -policyProxyPasswd password456 -policyProxyProtocol http
Format
/sys/ur create -addr <value> { -certificate <value> -passphrase <value> | -unsecured }
Action qualifiers
Qualifier Description
-addr Specifies the Unisphere Central management server name or IP address.
-certificate Specifies the hash of the existing certificate.
-passphrase Specifies the challenge phrase for the Unisphere Central manager to sign the certificate.
-unsecured Skips certificate and challenge phrase.
Example
uemcli /sys/ur create -addr 10.10.0.1 -certificate 2fd4e1c67a2d28fced849ee1bb76e7391b93eb12
-passphrase password
ID = ur_0
Operation completed successfully.
Format
/sys/ur show
1: ID = ur_0
Address = 10.10.0.2
Format
/sys/ur [-id <value>] set [-addr <value>] [ {-certificate <value> {-passphrase <value> |
-passphraseSecure} | -unsecured} ] [-ssoEnabled {yes | no}]
Object qualifier
Qualifier Description
-id Identifies the Unisphere Central management server. Optional if there is only one remote manager configured.
Action qualifiers
Qualifier Description
-addr Specify the Unisphere Central management server name or IP address.
-certificate Specify the hash of existing certificate.
-passphrase Specify the challenge phrase for the remote manager to sign the certificate.
-passphraseSecure Specifies the challenge phrase in secure mode - the user will be prompted to input the challenge
phrase.
-unsecured Skip certificate and challenge phrase.
-ssoEnabled Specify whether you want to set the remote manager as the authentication server for the local
system. Valid values are yes or no. The default value is set to no, which indicates that the
authentication server is the local system.
Example
uemcli /sys/ur set -addr 10.10.0.2
NOTE: The show action command on page 17 explains how to change the output format.
Format
/sys/rlog show
Example
The following command displays the settings for remote system logging:
1: Enabled = yes
Host = 10.64.75.201
Port = 500
Protocol = UDP
Facility = Kernel messages
Format
/sys/rlog set [-enabled {yes|no}] [-host <value>] [-port <value>] [-protocol {UDP|TCP}] [-
facility {KERN|USER|MAIL|DAEMON|AUTH|Syslog|LPR|NEWS|UUCP|CRON|AUTHPRIV|FTP}]
Object qualifier
Qualifier Description
-enabled Specify to enable remote system logging. Value is yes or no. If you specify yes, include -host <value>, where
value is the IP address of the target remote host that will receive the logs.
-host Type the IP address or network name of the remote host that will receive the log files. Value is one of the
following:
● IPv4
● IPv6
● Network name
-port Type the port number on the remote host. Default is 515.
-protocol Type the protocol for transferring the log files. Value is TCP or UDP.
-facility Type the facility that will process the log files. Value is one of the following:
● KERN — Kernel messages.
● USER — User-level messages.
● MAIL — Mail system.
● DAEMON — System daemons.
● AUTH — Security/authorization messages.
● Syslog — Message generated internally by syslogd (default).
● LPR — Line printer subsystem.
● NEWS — Network news subsystem.
● UUCP — UNIX-to-UNIX copy.
● CRON — Clock daemon.
● AUTHPRIV — Security/authorization messages.
● FTP — FTP daemon.
Example
The following command configures remote system logging with these settings:
● Remote target host is 10.64.74.12
● Uses host port 500.
NOTE: The show action command on page 17 explains how to change the output format.
Format
/sys/soft/ver [{-id <value>|-type {installed|candidate}}] show
Object qualifier
Qualifier Description
-id Type the ID of the system software.
-type Type the software type. Value is one of the following:
● installed — View the version of the system software that is installed.
● candidate — View the version of the system software upgrade candidate that was uploaded to the system.
NOTE: Values are case-insensitive.
Example
The following command displays details about the installed system software and an uploaded upgrade candidate:
1: ID = INST_1
Type = installed
Version = 0.1.0.1487
Release date = 2009-04-30
2: ID = CAND_1
Type = candidate
Version = 0.1.0.2187
Release date = 2009-11-14
CAUTION: Do not use Unisphere or Unisphere CLI to manage or configure the system during a software upgrade.
Format
/sys/soft/upgrade create –candId <value>
Example
The following command creates a session to upgrade the system software to upgrade candidate CAND_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /sys/soft/upgrade create –candId CAND_1
ID = UPGSES_1
Operation completed successfully.
NOTE: All warning messages, if any, appear the first time you run the upgrade process. When a potential issue results in
a warning message, the upgrade process stops. Once you review the warning message, run the upgrade command again
to continue with the upgrade process. This time the upgrade process will run the checks again, but it will not stop for any
warnings. The upgrade process will only stop when an error occurs.
NOTE: The show action command on page 17 explains how to change the output format.
Format
/sys/soft/upgrade show
Example
The following command displays details about the system software upgrade session:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /sys/soft/upgrade show
1: Status = Running
Status message =
Creation time = 2009-11-09 19:43:08
Elapsed time = 01h 43m 08s
Estimated time left = 01h 10m 00s
Progress = Task 5 of 25 (Stopping c4 stack on SPA)
Percent complete = 15%
2: Status = Failed
Status message = Stopping c4 stack on SPA timeout expired
Creation time = 2009-11-09 18:04:12
Elapsed time = 00h 20m 08s
Estimated time left =
Progress = Task 5 of 25 (Stopping c4 stack on SPA)
Percent complete = 15%
NOTE: The show action command on page 17 explains how to change the output format.
Format
/sys/task/sched [-id <value>] show
Object qualifier
Qualifier Description
-id Type the ID of a schedule.
Example
The following command displays details about all schedules (user- and system-defined) on the system:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /sys/task/sched show
1: ID = LessProtectionID
Name = Less Protection
Type = System
Rules = RULE_1, RULE2
2: ID = DefaultProtectionID
Name = Default Protection
Type = System
Rules = RULE_3
NOTE: When you delete a schedule, all rules associated with the schedule are also deleted.
Format
/sys/task/sched [-id <value>] delete
Object qualifier
Qualifier Description
-id Type the ID of the schedule to delete.
Example
The following command deletes schedule MySchedID:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /sys/task/sched -id MySchedID delete
Format
/sys/task/rule create {–schedId <value>|-schedName <value>} -type {HoursInterval -every
<value> [-at <value>]|HoursList -hours <value> [-at <value>]|DaysInterval -every <value>
[-at <value>]|WeekDaysList -days <value> [-at <value>]|MonthDaysList -days <value> [-at
<value>]} [{-keepFor <value> |-allowAutoDelete {yes|no}}] [-access {ckpt|share}]
Action qualifiers
Qualifier Description
-schedId Type the ID of an existing protection schedule to which to assign the rule. View protection schedules
on page 51 explains viewing details about existing schedules, including their IDs.
-schedName Type a name for a new protection schedule to which to assign the rule.
-type Specify the type of rule, which indicates how often the task will execute. Value is one of the following:
● HoursInterval — Task executes on an interval of the specified number of hours or minutes
within an hour.
● HoursList — Task executes everyday on the specified hours and, optionally, on a specific
minute within the specified hour.
● DaysInterval — Task executes on an interval of the specified number of days and, optionally,
on a specific hour of each specified day.
● WeekDaysList — Task executes on the specified days of the week or on a specific hour of each
specified day.
● MonthDaysList — Task executes each month on a specified day and time.
-keepFor Type the number of days or hours the system will retain a snapshot before deleting it. Use the
following format: <value>[<qualifier>] where:
● value — Type the number of hours or days. Value is:
○ Hours — Number of hours within the range 1–24.
○ Days — Number of days within the range 1–31.
● qualifier — Type the value qualifier. Value is one of the following:
○ h — Indicates hours.
○ d — Indicates days.
Default value is 1h (1 hour).
-allowAutoDelete Specify whether the system can automatically delete the snapshot or snapshot set. Value is one of the
following:
● Yes (default)
● No
-access Specify whether the snapshot is a read-only checkpoint, or read/write for CIFs shares or NFS exports.
Value is one of the following:
● ckpt (default)
● share
Example 1
The following command creates a task rule with these settings:
● Assigns the rule to the new protection schedule MyScheduleID.
● Takes a snapshot every 12 hours and 30 minutes.
● Keeps the snapshot for 10 hours before deleting it:
ID = RULE_1
Schedule ID = MyScheduleID
Operation completed successfully.
Example 2
The following command creates a task rule with these settings:
● Assigns the rule to the existing protection schedule MySchedID.
● Takes a snapshot everyday at 12:30 a.m., 8:30 a.m., and 8:30 p.m.:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /sys/task/rule create –schedId MySchedID
-type HoursList –hours “0,8,20” –at 30
ID = RULE_2
Operation completed successfully.
Example 3
The following command creates a task rule with these settings:
● Assigns the rule to the existing protection schedule MySchedID.
● Takes a snapshot every 2 days at 1:20 p.m.
● Keeps the snapshot for 1 week (7 days) before deleting it:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /sys/task/rule create –schedId MySchedID
-type DaysInterval -every 2 –at 13:20 –keepFor 7d
ID = RULE_3
Operation completed successfully.
Example 4
The following command creates a task rule with these settings:
● Assigns the rule to the existing protection schedule MySchedID.
● Takes a snapshot every Monday, Wednesday, and Friday at 6 a.m.:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /sys/task/rule create –schedId MySchedID
-type WeekDaysList -days “Mon,Wed,Fri” –at 6
ID = RULE_4
Operation completed successfully.
ID = RULE_5
Operation completed successfully.
NOTE: The show action command on page 17 explains how to change the output format.
Format
/sys/task/rule [{-id <value> | -sched<value>}] show
Object qualifier
Qualifier Description
-id Type the ID of a rule.
-sched Type the ID of a protection schedule to view the rules associated with it.
Example
The following command lists details for all task rules assigned to protection schedule SCHD_3:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /sys/task/rule –sched SCHD_3 show
1: ID = RULE_1
Type = HoursInterval
Frequency = Every 12h at 30m after the hour
Keep for = 10h
2: ID = RULE_2
Type = HoursList
Frequency = Every day at 0:20, 8:20, 20:20
Keep for = 1h
3: ID = RULE_3
Type = DaysInterval
Frequency = Every 2d at 13:20
Keep for = 7d
4: ID = RULE_4
Type = WeekDaysList
5: ID = RULE_5
Type = MonthDaysList
Frequency = Every 1st, 2nd, 3rd day of month at 0:00
Keep for = 1h
Format
/sys/task/rule -id <value> delete
Object qualifier
Qualifier Description
-id Type the ID of the rule to delete.
Example
The following command deletes rule RULE_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /sys/task/rule –id RULE_1 delete
Manage jobs
Manage the operations that are running in the background.
The following table lists the attributes for jobs.
Format
sys/task/job [{ -id <value> | -active | -failed | -completed }] show
Object qualifier
Qualifier Description
-id Identifies the job.
-active Show only unfinished jobs (Queued, Running, Suspended, Rolling back).
-failed Show only failed jobs.
-completed Show only successfully completed and completed with problems jobs.
Example
The following command displays a list of all jobs:
uemcli /sys/task/job show
1: ID = N-26
Type = Provisioning
Title = Create or modify storage resource
State = Completed
Step = 2 of 2 (Apply iSCSI hosts)
Percent complete = 100%
Format
/sys/task/job -id <value> resume
Object qualifier
Qualifier Description
-id Identifies the job.
Example
The following command resumes an existing job.
uemcli /sys/task/job -id N-23564 resume
Cancel a job
Cancels an existing job without rolling back. Could be applied to the suspended or queued job only.
Format
sys/task/job -id <value> cancel
Object qualifier
Qualifier Description
-id Identifies the job.
Example
The following command resumes an existing job.
uemcli /sys/task/job -id N-23654 cancel
Format
sys/task/job { -id <value> | -failed | -completed } delete
Object qualifier
Qualifier Description
-id Identifies the job.
-failed Identifies jobs that have failed.
-completed Identifies jobs that have completed successfully or completed with problems.
Example
The following command deletes an existing job.
uemcli /sys/task/job -id N-23654 delete
Format
sys/task/job/step -jobId <value> show
Object qualifier
Qualifier Description
-jobId Identifies the job.
Example
The following command displays a list of steps of the specified job
uemcli /sys/task/job/step -jobId N-23654 show
NFS enabled Indicates whether NFSv3 file systems are enabled on the NAS
server. NFS file systems provide support for NFS network
shares. Valid values are:
● Yes (default)
● No
NFSv4 enabled Indicates whether NFS shares can be accessed using the
NFSv4 protocol. Valid values are:
● Yes
● No (default)
NOTE: A value of yes will enable both the NFSv3 and
NFSv4 protocols.
CIFS enabled Indicates whether CIFS file systems are enabled on the NAS
server. Value is yes or no. Default is no. CIFS file systems
provide support for CIFS network shares.
Multiprotocol sharing enabled Indicates whether multiprotocol sharing is enabled for all file
systems on the NAS server. Valid values are:
● Yes
● No
Unix directory service Directory service used for looking up identity information for
Unix such as UIDs, GIDs, net groups, and so on. Valid values
are:
● nis
● ldap
● none (default)
NOTE: A value other than the default is required for
accurate multiprotocol files sharing between Unix and
Windows users.
Default Unix username Default Unix user name that grants file access in the
multiprotocol sharing mode. This user name is used when
Format
/net/nas/server create -name <value> -sp <value> -pool <value> [{-enableNFS {yes | no} |
-enableNFSv4 {yes | no}}] [-mpSharingEnabled {no | yes [-unixDirectoryService {ldap | nis |
none}] [-defaultUnixUser <value>] [-defaultWindowsUser <value>]}] [-extendedUnixCredEnabled
{yes|no}] [-credCacheRetention <value>]
Action qualifiers
Qualifier Description
-name Type a name for the NAS server.
NOTE: Note: NAS server names can contain alphanumeric characters, a single dash,
and a single underscore. Server names cannot contain spaces or begin or end with a
dash. You can create NAS server names in four parts that are separated by periods
(example: aa.bb.cc.dd). Names can contain up to 255 characters, but the first part of
the name (before the first period) is limited to 15 characters.
-mpSharingEnabled Indicates whether multiprotocol sharing mode is enabled. Valid values are:
● yes
● no (default)
-unixDirectoryService Directory Service used for querying identity information for Unix (such as UIDs, GIDs, net
groups). Valid values are:
Example
The following command creates a NAS server with these settings:
● Name is nas_1.
● Associated to SP A.
● Associated to storage pool pool_0.
● Supports NFS file systems.
● The server receives the ID nas_1.
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/nas/server create -name nas_1 -sp
spa -pool pool_0 -enableNFS yes
ID = nas_1
Operation completed successfully.
NOTE: The show action command on page 17 explains how to change the output format.
Format
/net/nas/server [-id <value>] show
Object qualifier
Qualifier Description
-id Type the ID of a NAS server.
Example
The following command displays a list of all configured NAS servers:
1: ID = nas_1
Name = MyFS1
NetBIOS name = MyFS1
SP = spa
Storage pool = pool_0
Interface = if_0,if_1
NFS enabled = yes
NFSv4 enabled = no
CIFS enabled = no
Multiprotocol sharing enabled = no
Unix directory service = none
Health state enabled = OK_BUT (7)
2: ID = nas_2
Name = MyFS2
NetBIOS name = MyFS2
SP = spa
Storage pool = pool_1
Interface = if_3
NFS enabled = yes
NFSv4 enabled = no
CIFS enabled = yes
Multiprotocol sharing enabled = yes
Unix directory service = ldap
Health state = OK (5)
NOTE: Manage interfaces on page 93 explains how to modify the network interfaces associated with a NAS server.
Format
/net/nas/server -id <value> set [-name <value>] [{-enableNFS {yes | no}] [-enableNFSv4
{yes | no}] [-mpSharingEnabled {yes | no}] [-unixDirectoryService {ldap | nis | none}]
[{-defaultAccessDisabled | [-defaultUnixUser <value>] [-defaultWindowsUser <value>]}] [-
extendedUnixCredEnabled {no|yes}] [-credCacheRetention <value>]
Object qualifier
Qualifier Description
-id Type the ID of the NAS server to change.
Action qualifiers
Qualifier Description
-name Specifies the new NAS server name.
-enableNFS Enables NFSv3 file systems on the NAS server. Valid values are:
● yes (default)
● no
-mpSharingEnabled Indicates whether multiprotocol sharing mode is enabled. Valid values are:
● yes
● no
-unixDirectoryService Directory Service used for querying identity information for Unix (such as UIDs, GIDs, net
groups). Valid values are:
● nis
● ldap
● none (default)
-defaultAccessDisabled Disables file access when no user mapping mechanism is found.
-defaultUnixUser Default Unix user name that grants file access in the multiprotocol sharing mode. This user
name is used when the corresponding Unix/Linux user name is not found by the mapping
mechanism.
-defaultWindowsUser Default Windows user name that grants file access in the multiprotocol sharing mode.
This user name is used when the corresponding Windows user name is not found by the
mapping mechanism.
-extendedUnixCredEnabled Specifies whether there are more than 16 Unix groups. Valid values are yes or no.
-credCacheRetention Specifies the amount of time (in minutes) when the credential cache refreshes or times
out. Default value is 15 minutes.
Example
The following command updates NAS server nas_1 with these settings:
● Enable support for NFS file systems.
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/nas/server -id nas_1 set -enableNFS
yes
ID = nas_1
Operation completed successfully.
Prerequisites
Before you can delete a NAS server, you must first delete all storage resources associated with it.
CAUTION: Deleting a NAS server removes everything configured on the NAS server, but does not delete the
storage resources that use it. You cannot delete a NAS server while it has any associated storage resources.
After the storage resources are deleted, the files and folders inside them cannot be restored from snapshots.
Back up the data from the storage resources before deleting them from the system.
Object qualifier
Qualifier Description
-id Type the ID of the NAS server to delete.
Example
The following command deletes NAS server nas_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/nas/server –id nas_1 delete
Format
/net/nas/ftp [-server <value>] show
Object qualifier
Qualifier Description
-server Type the name of the NAS server.
Example
The following command displays the FTP server settings for a NAS server:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/nas/ftp show
Object qualifier
Qualifier Description
-server Type the name of the NAS server.
Action qualifier
Qualifier Description
-ftpEnabled Indicates whether the FTP server is enabled on the NAS server. Valid values are:
● yes
● no (default)
-sftpEnabled Indicates whether the SFTP server is enabled on the NAS server. Valid values are:
● yes
● no (default)
-cifsUserEnabled Indicates whether Windows (CIFS) users can be authenticated by the FTP or SFTP server.
Valid values are:
● yes (default)
● no
-unixUserEnabled Indicates whether Unix users can be authenticated by the FTP or SFTP server. Valid values are:
● yes (default)
● no
-anonymousUserEnabled Indicates whether the FTP server supports anonymous user authentication. Valid values are:
● yes (default)
● no
-homedirLimitEnabled Indicates whether authenticated FTP or SFTP users are limited to their home directories. Valid
values are:
● yes (default)
● no
-defaultHomedir Type the default home directory for the FTP or SFTP users with no defined or accessible home
directory.
-welcome Type the welcome message that appears to FTP or SFTP users before authentication.
-motd Type the message of the day that appears once the FTP or SFTP users log on.
Example
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/nas/ftp -server nas_1
set -ftpEnabled yes -sftpEnabled no -cifsUserEnabled yes -unixUserEnabled yes
-anonymousUserEnabled no -homedirLimitEnabled no -defaultHomedir /home/public -welcome
"Welcome to this awesome server"
Principal (applies to Kerberos authentication) Specifies the principal name for Kerberos authentication.
Realm (applies to Kerberos authentication) Specifies the realm name for Kerberos authentication.
Password (applies to Kerberos authentication) Specifies the associated password for Kerberos
authentication.
Bind DN (applies to Simple authentication) Specifies the Distinguished Name (DN) used when binding.
Bind password (applies to Simple authentication) Specifies the associated password used when binding.
Base DN Specifies the DN of the root level in the directory tree.
Profile DN For an iPlanet LDAP server, specifies the DN of the entry with
the configuration profile.
Format
/net/nas/ldap [-server <value>] show
Object qualifier
Qualifier Description
-server Name of the associated NAS server.
Example
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/nas/ldap -server nas_1 show -detail
Format
/net/nas/ldap -server <value> set {-enabled no | [ -ip <value>] [-port <value>] [-protocol
{ldap | ldaps}] [-verifyCert {yes | no}] [-authType {anonymous | kerberos {-useCifsAccount
| -principal <value> [-realm <value>] [{-password <value> | -passwordSecure }]} | simple
[-bindDn <value> {-bindPasswd <value> | -bindPasswdSecure}]}] [-baseDn <value>] [-profileDn
<value>]}
Object qualifier
Qualifier Description
-server Identifies the associated NAS server.
Action qualifier
Qualifier Description
-enabled Indicates whether the LDAP settings is enabled for the NAS server. Valid values is no.
NOTE: Setting the value to no removes the LDAP settings for an existing NAS server.
Example
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/nas/ldap -server nas_1
set -ip 10.64.74.64,10.64.74.74 -port 636 -authType simple -protocol ldaps -bindDn
"cn=administrator,cn=User,dc=emc,dc=com" -bindPasswd "Ldap123!" -baseDn "dc=mec,dc=com"
Example
uemcli -upload -f "LDAP_nas_1.conf" -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/nas/
ldap -server nas_1 -type config
Example
uemcli -download -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/nas/ldap -server nas_1
-type config
Example
uemcli –upload -f “MyCert.pem” -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/nas/ldap –
server nas_1 –type CACertificate
Example
uemcli –download -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/nas/ldap –server nas_1 –
type CACertificate
NOTE: Only one CIFS server per file server can be created.
Format
/net/nas/cifs create -server <value> [-name <value>] [-netbiosName <value>] {-domain
<value> -username <value> {-passwd <value> | -passwdSecure <value>} {-orgUnit <value>] |
-workgroup <value> {-adminPasswd <value> | -adminPasswdSecure} }
Action qualifiers
Qualifier Description
-server Specifies the NAS server identifier.
-name Specifies the CIFS server name. The default value is the name of the NAS server.
-netbiosName Specifies the CIFS server NetBIOS name. By default it is generated automatically based on the
CIFS server name.
-domain Specifies Windows server domain name.
-username Specifies the domain user.
-passwd Specifies the domain user password.
-passwdSecure Specifies the password in secure mode - the user will be prompted to input the password and the
password confirmation.
Example
The following command creates a CIFS server.
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/nas/cifs create -server FS_0 -name
CIFSserver1 -domain domain.one.com -username user1 -passwd password1
ID = CIFS_0
Operation completed successfully.
Format
/net/nas/cifs [{-id <value> | -server <value>}] show
Object qualifier
Qualifier Description
-id Identifies the CIFS server.
-server Identifies the associated NAS server.
Example
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/nas/cifs show
1: ID = CIFS_0
File server = FS_0
Name = CIFSserver1
NetBIOS name = CIFSserv
Windows domain = domain.one.com
Format
/net/nas/cifs -id <value> set [-name <value>] [-netbiosName <value>] [-currentUsername
<value> {-currentPasswd <value> | -currentPasswdSecure} ] { [-domain <value>] [-newUsername
<value> {-newPasswd <value> | -newPasswdSecure} ] | [-workgroup <value>] [ {-adminPasswd
<value> | -adminPasswdSecure} ] }
Object qualifier
Qualifier Description
-id Type the ID of the CIFS server to change.
Action qualifiers
Qualifier Description
-name Specifies the new CIFS server name.
-netbiosName Specifies the new CIFS server NetBIOS name.
-domain Specifies the new Windows server domain name.
-currentUsername Specifies the current domain user.
-currentPasswd Specifies the current domain user password.
-currentPasswdSecure Specifies the current password in secure mode - the user will be prompted to input the
password and the password confirmation.
-newUsername Specifies the new domain user.
-newPasswd Specifies the new domain user password.
-newPasswdSecure Specifies the new password in secure mode - the user will be prompted to input the password
and the password confirmation.
-workgroup Specifies the new workgroup of the standalone CIFS server.
-adminPasswd Specifies the new local admin password of the standalone CIFS server.
-adminPasswdSecure Specifies the password in secure mode - the user will be prompted to input the password and
the password confirmation.
Example
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/nas/cifs -id CIFS_0 set -workgroup
MyWorkgroup -adminPasswd MyPassword
ID = CIFS_0
Operation completed successfully.
Format
/net/nas/cifs -id <value> delete [ {-username <value> {-passwd <value> | -passwdSecure} |
-skipUnjoin} ]
Object qualifier
Qualifier Description
-id Type the ID of the CIFS server to delete.
Action qualifiers
Qualifier Description
-username Specifies the domain user. Not required for standalone CIFS servers.
NOTE: To unjoin the CIFS server from a domain, specify the username.
-passwd Specifies the domain user password. Not required for standalone CIFS servers.
NOTE: To unjoin the CIFS server from a domain, specify the password.
-passwdSecure Specifies the password in secure mode - the user will be prompted to input the password and the
password confirmation.
-skipUnjoin Delete the CIFS server without unjoining it from the domain.
Example
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/nas/cifs -id CIFS_0 delete
ID = CIFS_0
Operation completed successfully.
Format
/net/iscsi/reversechap set { [–username <value>] {-secret <value> | -secretSecure} [-
secretFormat { ascii | hex } ] | -noChap}
Action qualifiers
Qualifier Description
-username The reverse CHAP user name.
-secret Specifies the reverse CHAP secret (password).
NOTE: Restrictions: the CHAP secret is an ASCII string that is 12 to 16 characters. Hexadecimal
secrets are 12 to 16 pairs of data (24 to 32 characters).
-secretSecure Specifies the password in secure mode - the user will be prompted to input the password.
-secretFormat The reverse CHAP input format. Value is one of the following:
● ASCII -- ASCII format
● Hex -- Hexadecimal format
-noChap Remove the reverse CHAP credentials.
Example
uemcli /net/iscsi/reversechap set -secret xyz0123456789
NOTE: The show action command on page 17 explains how to change the output format.
Format
/net/iscsi/reversechap show
Example
The following command shows the current reverse CHAP setting:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/iscsi/reversechap show
1: Username = ReverseChapUser
Format
/net/iscsi/isns create -server <value>
Action qualifiers
Qualifier Description
-server Type the name or IP address of the iSNS server.
Example
The following command creates an iSNS server record for server IP address 10.5.2.128. The server record receives the ID
iSNS_10.5.2.128:
ID = isns_0
Operation completed successfully.
NOTE: The show action command on page 17 explains how to change the output format.
Format
/net/iscsi/isns show
Example
The following command shows details for the iSNS server record:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/iscsi/isns show
ID = isns_0
Operation completed successfully.
Format
/net/iscsi/isns -id <value> delete
Object qualifier
Qualifier Description
-id Type the ID of the iSNS server record to delete.
Example
The following command deletes the iSNS server record isns_0:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/iscsi/isns -id isns_0 delete
Format
/net/iscsi/isns -id <value> set -server <value>
Object qualifier
Qualifier Description
-id Type the ID of the iSNS server record to delete.
Action qualifiers
Qualifier Description
-server New IP address associated with the iSNS server.
Example
The following command modifies the iSNS server record:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/iscsi/isns -id isns_0 set -server
10.5.2.130
ID = isns_0
Operation completed successfully.
Format
/net/iscsi/config show
Format
/net/iscsi/config set -chapRequired {yes | no}
Object qualifier
Qualifier Description
-chapRequired Specify whether CHAP authentication is required. Values are case-sensitive. Valid values are:
● yes
● no
Example
The following command denies host access without CHAP authentication:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/iscsi/config set -chapRequired yes
NOTE: The show action command on page 17 explains how to change the output format.
Format
/net/iscsi/node [–id <value>] show
Object qualifier
Qualifier Description
-id Type the ID of an iSCSI node.
Example
The following command lists all iSCSI nodes on the system:
1: ID = ISCSIN_1
Alias = MyISCSIserver1
IQN = iqn.1992-05.com.emc:fcnch0821001340000-1
Health state = OK (5)
SP = SPA
Port = eth0_SPA
Interfaces = IF_1,IF_2
2: ID = ISCSIN_2
Name = MyISCSIserver2
IQN = iqn.1992-05.com.emc:fcnch0821001340001-1
Health state = OK (5)
SP = SPA
Port = eth1_SPA
Interfaces = IF_3
Format
/net/iscsi/node –id <value> set -alias <value>
Object qualifier
Qualifier Description
-id Type the ID of the iSCSI node to change.
Action qualifier
Qualifier Description
-alias User-friendly name that identifies the iSCSI node.
Example
The following command assigns an alias to the ISCSIN_1 node:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/iscsi/node -id ISCSIN_1 set -alias
“My iSCSI node”
ID = ISCSIN_1
Operation completed successfully.
NOTE: The show action command on page 17 explains how to change the output format.
Format
/net/port/eth [-id <value>] show
Object qualifier
Qualifier Description
-id Type the ID of the port.
Example
uemcli /net/port/eth show
1: ID = spa_mgmt
Name = mgmt
SP = spa
Protocols = mgmt
MTU size = 1500
Speed = 100 Mbps
Health state = OK (5)
Aggregated port ID =
2: ID = spa_eth0
Name = eth0
SP = spa
Protocols = file, iscsi
MTU size = 1500
Speed = 10 Gbps
Health state = OK (5)
Aggregated port ID = la0_SPA
3: ID = spa_eth1
Name = eth1
SP = spa
Protocols = file, iscsi
MTU size = 9000
Speed = 1 Gbps
Health state = OK (5)
Aggregated port ID = la0_SPA
4: ID = spa_iom_0_eth0
Name = eth2
SP = spa
Protocols = file, iscsi
MTU Size = 9000
Speed = 1 Gbps
Health state = OK (5)
Aggregated port ID = None
Change the maximum transmission unit size and port speed for an Ethernet port.
Format
/net/port/eth -id <value> set [-mtuSize <value>] [-speed <value>]
Object qualifier
Qualifier Description
-id Type the ID of the network port.
Action qualifier
Qualifier Description
-mtuSize Type the maximum transmission unit packet size (in bytes) for the port.
-speed Type the port speed.
Example
The following command sets the MTU size for Ethernet port 0 (eth0) on SP A to 9000 bytes:
uemcli /net/port/eth –id spa_eth0 set –mtuSize 9000
ID = spa_eth0
ID = spb_eth0
Operation completed successfully.
NOTE: The show action command on page 17 explains how to change the output format.
Format
/net/port/sas [-id <value>] show
Object qualifier
Qualifier Description
-id Type the ID of the port.
Example
uemcli /net/port/sas show
1: ID = spa_sas0
Name = SP A SAS Port 0
SP = spa
Speed =
Health state = OK_BUT (7)
2: ID = spa_sas1
Name = SP A SAS Port 1
SP = spa
Speed = 6 Gbps
Health state = OK (5)
NOTE: The show action command on page 17 explains how to change the output format.
Format
/net/port/fc [-id <value>] show
Object qualifier
Qualifier Description
-id Type the ID of the port.
1: ID = spa_fc1
Name = fc1
SP = spa
WWN = 50:06:BD:01:60:05:8E:50:06:01:64:3D:E0:05:8E
Speed = 1 Gbps
Requested speed = auto
Available speeds = auto, 1 Gbps, 2 Gbps, 4 Gbps
Health state = OK (5)
Health details = "The port is operating normally."
Format
/net/port/fc -id <value> set -speed <value>
Object qualifier
Qualifier Description
-id Type the ID of the FC port.
Action qualifier
Qualifier Description
-speed Type the port speed.
Example
The following command sets the speed for FC port fc1 on SP A to 1 Gbps:
uemcli /net/port/fc –id spa_fc1 set –speed 1Gbps
ID = spa_fc1
Operation completed successfully.
Format
/net/if/mgmt show
Example
The following command displays all management interfaces on the system:
uemcli /net/if/mgmt show
Action qualifier
Qualifier Description
-ipv4 Specifies the IPv4 origin. Value is one of the following:
● Disabled— Indicates the interface is disabled.
● Automatic — Indicates the IP attributes are set automatically by DHCP.
● Static — Indicates the IP attributes are set manually
-ipv6 Specifies the IPv6 origin. Value is one of the following:
● Disabled — Indicates the interface is disabled.
● Automatic — Indicates the IP attributes are set automatically by DHCP. or SLAAC.Multiple addresses are
possible
● Static — Indicates the IP attributes are set manually.
-addr Specifies the IPv4 or IPv6 address of the interface. Optionally, you can also specify the prefix length in the
following format: <IP address>/<prefix length>.
NOTE: The default prefix length for IPv6 is 64.
Example
The following command changes the IP address, the netmask, and the gateway for interface IF_1:
uemcli /net/if/mgmt set -ipv4 static -addr 192.168.1.1 -netmask 255.255.255.0 -gateway
192.168.1.2
Manage interfaces
Create interfaces to enable and control access between the system, the network, and configured hosts. Specify the IP address
for the interface as well as the IP addresses for the subnet mask and gateway.
You can create the following types of interfaces:
● iSCSI interfaces for controlling access to iSCSI storage. You assign the interface to an iSCSI node.
● Replication interfaces for replication-related data or management traffic.
Each interface is identified by an ID.
The following table lists the interface attributes with a description of each.
Health state A numerical value indicating the health of the system. Value is
one of the following:
● Unknown (0)
● OK (5)
● OK BUT (7)
● Degraded/Warning (10)
● Minor failure (15)
● Major failure (20)
Health details Additional health information.
Create interfaces
Create an interface.
Format
/net/if create [-vlanId <value>] -type { {file} -server <value> | iscsi} -port <value> |
mgmt | replication} -origin {dynamic | static -addr <value>] [-netmask <value>] [-gateway
<value>]
-preferred Specify this qualifier to set the network interface as the preferred source for outgoing traffic. For each NAS
server, you can choose an IPv4 interface and IPv6 interface as the preferred interfaces.
-port Type the ID of the SP port or link aggregation that will use the interface. Manage Ethernet ports on page 86
explains how to view the port IDs.
NOTE: For systems with two SPs, a file interface is created on a pair of symmetric Ethernet ports rather
than on a single specified port. Its current port is defined by NAS server SP and may differ from the
specified port. For example, if the user specifies port spa_eth2, but the NAS server is on SP B, the
interface is created on port spb_eth2.
-vlanId Type the virtual LAN (VLAN) ID for the interface. The interface uses the ID to accept packets that have VLAN
tags. The value range is 1–4095.
NOTE: If no VLAN ID is specified, which is the default, packets do not have VLAN tags. The Unisphere
online help provides more details about VLANs.
-addr Type the IP address for the interface. The prefix length should be appended to the IPv6 address and, if
omitted, will default to 64. For IPv4 addresses, the default length is 24. The IPv4 netmask may be specified in
address attribute after slash.
-netmask Type the subnet mask for the interface.
NOTE: This qualifier is not required if the prefix length is specified in the -addr attribute.
Example 1
The following command creates a replication interface. The interface receives the ID IF_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/if create -type replication -port
eth1_spb -addr 10.0.0.1 -netmask 255.255.255.0 -gateway 10.0.0.1
ID = IF_1
Operation completed successfully.
Example 2
The following command creates a network interface for file storage on SP A port eth0 with an IPv6 IP address. The interface
receives the ID IF_2:
ID = IF_2
Operation completed successfully.
View interfaces
View a list of interfaces on the system. You can filter on the interface ID.
NOTE: The show action command on page 17 explains how to change the output format.
Format
/net/if [ {-id <value> | -port <value> | -server <value> | -type <value>} ] show
Object qualifier
Qualifier Description
-id Type the ID of an interface.
-port Type the port the interface is associated with.
-server Type the NAS server the interface is associated with.
-type Specify the type of the interface. Value is one of the following:
● file
● iscsi
● replication
Example
The following command displays all interfaces on the system:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/if show
1: ID = if_0
Type = file
NAS server = nas_0
Preferred = yes
Port = eth0_spa
VLAN ID = 0
IP address = 3ffe:80c0:22c:4e:a:0:2:7f/64
Subnet mask =
Gateway = fe80::20a8bff:fe5a:967c
SP = SPA
2: ID = if_1
Type = file
NAS server = nas_1
Preferred = yes
Port = eth1_spa
VLAN ID = 1
IP address = 192.168.1.2
3: ID = if_2
Type = replication
NAS server =
Preferred = no
Port = eth1_spb
VLAN ID =
IP address = 10.103.75.56
Subnet mask = 255.255.248.0
Gateway = 10.103.72.1
SP = spb
Format
/net/if -id <value> set [-vlanId <value>] [-addr <value>] [-netmask <value>] [-gateway
<value>][-preferred]
Object qualifier
Qualifier Description
-id Type the ID of the interface to change.
Action qualifier
Qualifier Description
-vlanId Type the virtual LAN (VLAN) ID for the interface. The interface uses the ID to accept packets that have VLAN
tags. The value range is 1–4095.
NOTE: If no VLAN ID is specified, which is the default, packets do not have VLAN tags. The Unisphere
online help provides more details on VLANs.
-preferred Specify this qualifier to set the network interface as the preferred source for outgoing traffic. For each NAS
server, you can choose an IPv4 interface and IPv6 interface as the preferred interfaces.
NOTE: This attribute applies to file interfaces only.
Example
The following command changes the gateway address for interface IF_1:
ID = IF_1
Operation completed successfully.
Delete interfaces
Delete an interface.
CAUTION: Deleting an interface can break the connection between systems that use it, such as configured
hosts.
Format
/net/if –id <value> delete
Object qualifier
Qualifier Description
-id Type the ID of the interface to delete.
Example
The following command deletes interface IF_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/if –id IF_1 delete
Create IP routes
Create an IP route.
NOTE: To change a route, delete it and re-create it with the new settings.
Format
/net/route create -if <value> -type {default | host -target <value> | net -target <value>
[-netmask <value>]} [-gateway <value>]
Action qualifier
Qualifier Description
-if Type the ID of the interface that the route will use to reach the gateway. View interfaces on page 96 explains
how to view the network interface IDs.
NOTE: The system may not use the interface you type for the route. The system determines the best
interface for the route automatically.
ID = RT_1
Operation completed successfully.
View IP routes
View details about IP routes. You can filter on the route ID.
NOTE: The show action command on page 17 explains how to change the output format.
Format
/net/route [-id <value>] show
Object qualifier
Qualifier Description
-id Type the ID of a route.
Example
The following command displays details of the IP routes RT_1 and RT_2:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/route show -detail
1: ID = rt_0.0.0.0_SPA
Type = default
Target =
Netmask =
Gateway = 172.20.1.1
Interface = if_2
2: ID = rt_Default%fe80::20a:8bff:fe5a:967c_SPA
Type = default
Target =
Netmask =
Gateway = fe80::20a:8bff:fe5a:967c
Interface = if_6
Delete IP routes
Delete an IP route.
Object qualifier
Qualifier Description
-id Type the ID of the route to delete.
Example
The following command deletes route RT_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/route –id RT_1 delete
NOTE: The cabling on SP A must be identical to the cabling on SP B, or you cannot configure link aggregation.
NOTE: If your system has two SPs, the specified ports are automatically linked on both SPs for redundancy.
Format
/net/la create –ports <value> [-mtuSize <value>]
Action qualifier
Qualifier Description
-ports Type the IDs of the physical ports to link on the SP. Separate the IDs with a comma. For example, to link ports 0
and 1 on SPA, type: eth0_SPA,eth1_SPA.
-mtuSize Type the MTU size (in bytes) for the linked ports. Default value is 1500.
NOTE: If you want to support jumbo frames, type 9000.
Example
The following command links port 0 and port 1 on SPA with the default MTU size. The system has two SPs, so port 0 and port 1
on SPB are also linked, which results in two link aggregation IDs:
ID = la0_SPA
ID = la0_SPB
Operation completed successfully.
NOTE: If your system has two SPs, details about the link aggregation configured on each SP appear.
NOTE: The show action command on page 17 explains how to change the output format.
Format
/net/la [-id <value>] show
Object qualifier
Qualifier Description
-id Type the ID of the link aggregation.
Example
The following command shows the link aggregations on the system, in this case, for both SPA and SPB:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/la show
1: ID = la0_SPA
SP = SPA
Ports = eth0_SPA,eth1_SPA
Health state = OK (5)
2: ID = la0_SPB
SP = SPB
Ports = eth0_SPB,eth1_SPB
Health state = OK (5)
NOTE: If your system has two SPs, the specified link aggregation is updated on both SPs.
Format
/net/la -id <value> set [-ports <value>] [-mtuSize <value>]
Action qualifier
Qualifier Description
-ports Type the IDs of the physical ports to link on the SP. Separate the IDs with a comma. For example, to link ports 0
and 1 on SPA, type: eth0_SPA,eth1_SPA
-mtuSize Type the MTU size (in bytes) for the linked ports. Default is 1500 bytes per packet.
NOTE: If you want to support jumbo frames, type 9000.
Example
The following command changes the MTU size for link aggregation la0_SPA to 9000 bytes. The system has two SPs, so MTU
size is updated for both link aggregation IDs:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/la –id la0_SPA set –mtuSize 9000
ID = la0_SPA
ID = la0_SPB
Operation completed successfully.
NOTE: If your system has two SPs, the specified bond is deleted from both SPs.
Format
/net/la [-id <value>] delete
Object qualifier
Qualifier Description
-id Type the ID of the link aggregation to delete.
Example
The following command deletes link aggregation la0_SPA. The system has two SPs, so link aggregation la0_SPB is also deleted:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/la –id la0_SPA delete
Format
/net/dns/config set {-nameServer <value> | -auto | -noNameServer}
Action qualifier
Qualifier Description
-nameServer Type a list of DNS server addresses to designate as default addresses. Separate the addresses with a
comma. The system uses the addresses in the order in which you type them.
-auto Set DNS addresses dynamically.
-noNameServer Clear the list of IP addresses.
NOTE: The show action command on page 17 explains how to change the output format.
Format
/net/dns/config show
Example
The following command displays the DNS server addresses:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/dns/config show
1. Auto-configuration enabled = no
Name servers = 10.5.3.29,10.5.3.32,2001:db8:170:9400:212:3fff:fe2a:8812
NOTE: The show action command on page 17 explains how to change the output format.
Format
/net/nas/dns [-server <value>] show
Object qualifier
Qualifier Description
-server Type the ID of the associated NAS server.
Example
The following command lists all DNS server domains:
[Response]
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
Format
/net/nas/dns -server <value> set { [-name <value>] [-nameServer <value>]| -enabled no}
Object qualifier
Qualifier Description
-server Type the name of the associated NAS server.
Action qualifier
Qualifier Description
-name Type the name of the associated NAS server.
-nameServer Type the IP addresses of the DNS servers. Separate the addresses using a comma.
-enabled Set the value to no to remove DNS settings for the NAS server. Valid value is no.
Example
The following command deletes the DNS domain domain.two.com:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/nas/dns –server nas_1 set -name
“newdomain.one.com”
The system relies on the network time protocol (NTP) as a standard for synchronizing the system clock with other nodes on the
network. NTP provides a way of synchronizing clocks of distributed systems within approximately one millisecond of each other.
A Windows Active Directory domain controller can operate as a time server if the Windows Time Service is running on it.
Some applications will not operate correctly if the clock on the system is not synchronized with the clock on connected hosts.
Configure the system and any connected hosts to use the same time server. Doing so does the following:
NOTE: By default, the first NTP server address you specify will become the primary.
Format
/net/ntp/server create –server <value> [-force {noReboot | allowReboot | allowDU}]
Action qualifier
Qualifier Description
-server Type the name or IP address of an NTP server.
-force Accept or decline the system reboot, which may be needed to complete the time change. If the qualifier isn't
specified, you will be asked to confirm reboot if it's needed. Valid values are:
● noReboot
● allowReboot
● allowDU
NOTE: Note: allowDU is used if the system is in a degraded state or has one SP (data will be unavailable
during its reboot). Otherwise allowReboot is used. In silent mode, system will be rebooted if needed.
Example
The following creates an NTP server record that contains NTP server address 0.north-america.pool.ntp.org:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/ntp/server create –server 0.north-
america.pool.ntp.org
ID = NTP_0.north-america.pool.ntp.org
Operation completed successfully.
NOTE: The show action command on page 17 explains how to change the output format.
Format
/net/ntp/server [-id <value>] show
Object qualifier
Qualifier Description
-id Type the ID of the NTP server.
Example
The following command displays the NTP server record, which contains two NTP server addresses:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/ntp/server show
1: ID = NTP_0.north-america.pool.ntp.org
Server = 0.north-america.pool.ntp.org
2: ID = NTP_1.north-america.pool.ntp.org
Server = 1.north-america.pool.ntp.org
Format
/net/ntp/server set –addr <value>
Action qualifier
Qualifier Description
-addr Enter a list of one or more IP addresses or network names of each NTP server to include in the NTP server setting.
Separate the addresses with a comma.
Example
The following command adds two IP addresses to the NTP server setting:
uemcli -d 10.0.0.1 -u Local/joe -p 12345 /net/ntp/server set –addr
“10.64.75.55,10.64.75.44”
NOTE: If you delete the primary NTP server record, the system automatically determines the NTP server record to use.
Format
/net/ntp/server –id <value> delete
Action qualifier
Qualifier Description
-id Type the ID of the NTP server setting to delete.
Example
The following command deletes NTP server setting NTP_10.5.1.207:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/ntp/server –id NTP_10.5.1.207 delete
NOTE: The show action command on page 17 explains how to change the output format.
Format
/net/nas/nis [-server <value>] show
Example
The following command displays details about the NIS server domain:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/nas/nis show
Format
/net/nas/nis –server <value> set { [-domain <value>] [–ip <value>] | {-enabled no}}
Object qualifier
Qualifier Description
-server Type the ID of the associated NAS server
Action qualifier
Qualifier Description
-domain Type the NIS domain name.
-ip Type the IP addresses of the NIS servers to include in the domain. Separate the addresses with a comma.
-enabled Set the value to no to remove NIS settings for the NAS server. Valid value is no.
Example
The following command adds a new IP address to NIS server domain nis.two.com:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/nas/nis –id nis.two.com set –ip
“10.64.74.200”
Configure alert settings on page 282 explains how to specify the alert severity of which to e-mail alerts. All IP addresses are
grouped under a single SMTP server setting.
The following table lists the attributes for SMTP server settings.
NOTE: The show action command on page 17 explains how to change the output format.
Format
/net/smtp [-id <value>] show
Object qualifier
Qualifier Description
-id Type the ID of an SMTP server.
Example
The following command lists the IP addresses of the two SMTP servers in the setting:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/smtp show
1: ID = default
Address = 192.168.0.15
2: ID = connectEMC
Address = 10.64.74.15
Format
/net/smtp -id <value> set -addr <value>
Object qualifier
Qualifier Description
-id Type the ID of an SMTP server for which to specify an IP address.
Action qualifier
Qualifier Description
-addr Type the IP address for the SMTP server. Note that the address can be either IPv4 or IPv6.
Example
The following command sets the IP address for the default SMTP server that the system will use:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/smtp -id default set -addr
10.64.74.16
NOTE: The show action command on page 17 explains how to change the output format.
Format
/net/nas/ndmp [-server <value>] show
Object qualifier
Qualifier Description
-server Type the ID of the associated NAS server.
Example
The following command displays the NDMP settings, which show that NDMP is enabled:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/nas/ndmp show
Format
/net/nas/ndmp -server <value> set -enabled {yes {-passwd <value> | -passwdSecure} | no}
Object qualifier
Qualifier Description
-server Type the ID of the associated NAS server.
Action qualifier
Qualifier Description
-enabled Enable NDMP. Value is yes or no. For yes, type the NDMP server password.
-passwd Type the password for the NDMP server. You must specify the password when enabling NDMP.
Example
The following command enables NDMP:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/nas/ndmp -server nas_0 set –enabled
yes –passwd “Password0123”
Group search path Path to search for groups on the directory server. For
example: uid=<name>,ou=people,dc=<domaincomponent>,or
dc=<domain component>.
NOTE: On an Active Directory server, a default search
path is used.
User ID attribute Name of the LDAP attribute whose value indicates the user
ID. Default value is uid.
Group name attribute Name of the LDAP attribute whose value indicates the group
name. Default value is cn.
User object class LDAP object class for users. Default is user. In Active
Directory, groups and users are stored in the same hierarchical
directory path and the class is called group.
Group object class LDAP object class for groups. Default value is group. In Active
Directory, groups and users are stored in the same directory
path and the class is called group.
Group member class Name of the LDAP attribute whose value contains names of
group members within a group. Default value is member.
Certificate filepath Path to the trusted certificate file used for one-way LDAP
server authentication.
LDAP timeout Timeout for the LDAP server in milliseconds. If the system
does not receive a reply from the LDAP server after the
specified timeout, it stops sending requests. Default value is
30,000 milliseconds, or 30 seconds.
Format
/net/ldap create -name <value> –domain <value> [-port <value>] [-protocol {ldap|ldaps
-certFilePath <value>}] -bindDn <value> {-bindPasswd <value> | -bindPasswdSecure} [-
userSearchPath <value>] [-groupSearchPath <value>] [-userIdAttr <value>] [-groupNameAttr
<value>] [-userObjectClass <value>] [-groupObjectClass <value>] [-groupMemberAttr <value>]
[-timeout <value>]
-port Type the port number used by the directory server for LDAP communications. By default, LDAP uses
port 389, and LDAP over an SSL uses port 636.
-bindDn Type the base distinguished name (DN) of the root of the LDAP directory tree. The system uses the
DN to bind to the LDAP service and determine where in the LDAP directory tree to begin a search for
information. The base DN can be expressed as a fully qualified domain name or in X.509 format by using
the attribute dc=. For example, if the fully qualified domain name is mycompany.com, the base DN is
expressed as dc=mycompany,dc=com.
-bindPasswd Type the password to be used for binding to the LDAP server.
-bindPasswdSecure Specify the password in secure mode - the user will be prompted to input the password.
-userSearchPath Type the path to search for users on the directory server. For example:
ou=People,dc=lss,dc=emc,dc=com
NOTE: On an Active Directory server, a default search path is used.
-groupSearchPath Type the path to search for groups on the directory server. For example:
ai.uid=<name>,ou=people,dc=<domaincomponent>,or dc=<domain component>.
NOTE: On an Active Directory server, a default search path is used.
-userIdAttr Type the name of the LDAP attribute whose value indicates the user ID. Default value is uid.
-groupNameAttr Type the LDAP object class for users. Default value is user. In Active Directory, groups and users are
stored in the same hierarchical directory path and the class is called group.
-groupObjectClass Type the LDAP object class for groups. Default value is group. In Active Directory, groups and users are
stored in the same directory path and the class is called group.
-groupMemberAttr Type the name of the LDAP attribute whose value contains names of group members within a group.
Default value is member.
-timeout Type the timeout for the LDAP server in milliseconds. If the system does not receive a reply from the
LDAP server after the specified timeout, it stops sending requests. Default is 30,000 milliseconds, or 30
s.
Example
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/ldap create –name
lpso242.lss.emc.com –domain local –port 389 –protocol ldap –bindDn “cn=Directory Manager”
–bindPasswd Password0123 –userSearchPath “ou=People,dc=lss,dc=emc,dc=com” –groupSearchPath
“ou=Groups,dc=lss,dc=emc,dc=com” –userIdAttr “uid” –groupNameAttr “cn” –userObjectClass
ID = LDAP_1
Operation completed successfully.
NOTE: The show action command on page 17 explains how to change the output format.
Format
/net/ldap [-id <value>] show
Object qualifier
Qualifier Description
-id Type the ID of the LDAP setting.
Example
The following command displays the LDAP settings:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/ldap show
1: ID = LDAP_1
Server name = lpso242.lss.emc.com
Domain = local
Protocol = ldap
Port = 389
Format
/net/ldap –id <value> set [-name <value>] [-port <value>] [-protocol {ldap | ldaps [-
certFilePath <value>]}] [-bindDn <value>] [-bindPasswd <value> | -bindPasswdSecure] [-
userSearchPath <value>] [-groupSearchPath <value>] [-userIdAttr <value>] [-groupNameAttr
<value>] [-userObjectClass <value>] [-groupObjectClass <value>] [-groupMemberAttr <value>]
[-timeout <value>]
Action qualifier
Qualifier Description
-name Type the name for the LDAP server.
-domain Type the domain name for the LDAP server.
-port Type the port number used by the directory server for LDAP communications. By default, LDAP uses
port 389, and LDAP over an SSL uses port 636.
-protocol Type whether the LDAP protocol uses SSL for secure network communication. SSL provides encryption
and authentication capabilities. SSL encrypts data over the network and provides message and server
authentication. Value is one of the following:
● ldap(default)—LDAP without SSL.
● ldaps—LDAP with SSL, which is the default.
-certFilePath Type the path to the trusted certificate file used for one-way server authentication.
NOTE: Note: If the value of -protocol is ldaps, this qualifier is required.
-bindDn Type the base distinguished name (DN) of the root of the LDAP directory tree. The system uses the
DN to bind to the LDAP service and determine where in the LDAP directory tree to begin a search for
information. The base DN can be expressed as a fully qualified domain name or in X.509 format using
the attribute dc=. For example, if the fully qualified domain name is mycompany.com, the base DN is
expressed as dc=mycompany,dc=com.
-bindPasswd Type the password to be used for binding to the LDAP server. This qualifier is required when the
-bindDn qualifier is included.
-bindPasswdSecure Specifies the password in secure mode - the user will be prompted to input the password.
-userSearchPath Type the path to search for users on the directory server. For example:
ou=People,dc=lss,dc=emc,dc=com.
NOTE: On an Active Directory server, a default search path is used.
-groupSearchPath Type the path to search for groups on the directory server. For example:
uid=<name>,ou=people,dc=<domaincomponent>,or dc=<domain component>.
NOTE: On an Active Directory server, a default search path is used.
-userIdAttr Type the name of the LDAP attribute whose value indicates the user ID. Default value is uid.
-groupNameAttr Type the name of the LDAP attribute whose value indicates the group name. Default value is cn.
-userObjectClass Type the LDAP object class for users. Default value is user. In Active Directory, groups and users are
stored in the same hierarchical directory path and the class is called group.
-groupObjectClass Type the LDAP object class for groups. Default value is group. In Active Directory, groups and users are
stored in the same directory path and the class is called group.
-groupMemberAttr Name of the LDAP attribute whose value contains names of group members within a group. Default value
is member.
-timeout Type the timeout for the LDAP server in milliseconds. If the system does not receive a reply from the
LDAP server after the specified timeout, it stops sending requests. Default is 30,000 milliseconds, or 30
s.
ID = LDAP_1
Operation completed successfully.
Format
/net/ldap -id <value> verify
Object qualifier
Qualifier Description
-id Identifies the LDAP server.
Example
The following command verifies the connection to the LDAP server:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/ldap –id LDAP_1 verify
Format
/net/ldap –id <value> delete
Object qualifier
Qualifier Description
-id Type the ID of the LDAP setting to delete.
Utility commands
Ping allows you to check connectivity between your system and a remote host. You may select the interface from which to ping.
The system automatically identifies the SP to which the selected interface belongs.
Traceroute allows you to check the network route from the specified interface to a remote host. You may select the interface
and the host address that are the endpoints of the route.
Ping
Ping a remote host from the specified interface (-srcIf parameter value).
Format
/net/util/ping -srcIf <value> -addr <value>
Action qualifier
Qualifier Description
-srcIf Identifies the interface from which the packet will be sent. The value shall be an interface identifier.
-addr Specify the destination address to use when sending the packet.
Example
The following example pings a remote host:
uemcli /net/util ping -srcIf if_0 -addr 10.5.2.183
Trace route
Display the route from the specified interface to a remote host
Format
/net/util/traceroute -srcIf <value> -addr <value>
Example
The following example pings a remote host:
uemcli /net/util/traceroute -srcIf if_0 -addr 10.5.2.183
Format
/net/nas/asa [–server <value>] show
Example
The following command displays the Advanced storage access settings:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/nas/asa show
Format
/net/nas/asa –server <value> set [-state {Disabled | Enabled}] [–passwd <value> |
-passwdSecure]
Object qualifier
Qualifier Description
-server Type the ID of the associated NAS server
Action qualifier
Qualifier Description
-state Specifies whether the Advanced storage access service is enabled. Possible values include:
● Disabled — Advanced storage access service is disabled.
● Enabled — Advanced storage access service is enabled.
-passwd Specifies the Advanced storage access user password.
NOTE: This attribute is mandatory if the current state is being changed from Disabled to EnabledPerHost or
EnabledForAll.
Example
The following command changes the Advanced storage access password:
uemcli /net/nas/asa -server nas_0 set -state Enabled -passwd newpassword
Format
/remote/host create -name <value> [-descr <value>] -type {host -addr <value> [-ignoredAddr
<value>] [-osType {undefined | other | win2003srv | winxp | win2008srv | winvista |
win2012srv | esx | redhat | sles} ] | subnet -addr <value> [-netmask <value>] | netgroup
-addr <value>}
Action qualifier
Qualifier Description
-name Specifies the name of the host configuration.
-descr Specifies a brief description of the host configuration.
-addr Specifies the hostnames or IP addresses associated with the host, IP addresses of the subnet, or the
network addresses of the netgroup. Separate each value with a comma. Format: <IP address>/[<prefix
length>]. Default prefix length for IPv4 addresses is 24 and IPv6 addresses is 64.
NOTE: This information is required when connecting hosts to network shares on the system.
-type Specifies the type of host configuration. Value is one of the following:
● host — A host defines and controls access to storage resources on a host-by-host basis.
● subnet — A subnet is a logical grouping of connected network devices. Devices on a subnet share
contiguous ranges of IP addresses. A subnet mask, or network mask, defines the boundaries of an IP
subnet.
You can associate a host configuration with a subnet mask to define and control storage access for
hosts on a particular network segment.
● netgroup — A netgroup is a named sets of hosts, users, or domains on a network. A netgroup can
provide a way to reference sets of Linux/UNIX hosts collectively for accessing storage over NFS.
You can create a host configuration for a netgroup to define and control storage access for multiple
Linux/UNIX hosts or users through a single configuration.
NOTE: Typically, netgroups are only accessible through NIS. If NIS is not running, netgroups are not
defined. Manage NIS server domains on page 110 explains how to configure NIS server communication.
-ignoredAddr Specifies a list of IP addresses associated with the host that are excluded from data access. Separate each
value with a comma.
Example 1
The following command creates a host configuration for a host with these settings:
● Name is MyHost.
● Description is “accounting”.
● IP address is 10.64.74.10.
● OS is Windows XP.
The host configuration receives ID 1014:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /remote/host create –name MyHost –descr
“accounting” -type host –addr 10.64.74.10 -osType winxp
ID = 1014
Operation completed successfully.
Example 2
The following command creates a host configuration for a subnet with these settings:
● Name is MySubnet.
● Description is “subnet1”.
● IP address is 192.168.10.0.
● Subnet mask is 255.255.255.0.
The host configuration receives ID 1015:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /remote/host create –name MySubnet –descr
“subnet1” -type subnet –addr 192.168.10.0 –netmask 255.255.255.0
ID = 1015
Operation completed successfully.
ID = 1023
Operation completed successfully.
NOTE: The show action command on page 17 explains how to change the output format.
Format
/remote/host [{-id <value>|-type {host|subnet|netgroup}}] show
Object qualifier
Qualifier Description
-id Identifies the host configuration.
-type Specifies the host type. Value is one of the following: host, subnet, or netgroup.
Example
The following command lists all host configurations on the system:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /remote/host show -detail
1: ID = 1014
Name = MyHost
Description = this is my host
Type = host
Address = 10.64.74.10, 10.64.80.10
Netmask =
OS type = winxp
Ignored address = 10.64.80.10
Health state = OK (5)
2: ID = 1015
Name = MySubnet
Description = this is my subnet
Type = subnet
Format
/remote/host -id <value> set [-name <value>] [-descr <value>] [-addr <value>] [-ignoredAddr
<value>] [ [-netmask <value>] | -osType {undefined | other | win2003srv | winxp |
win2008srv | winvista | win2012srv | esx | redhat | sles} } ]
Object qualifier
Qualifier Description
-id Identifies the host configuration to change.
Action qualifier
Qualifier Description
-name Specifies the new name for the host configuration.
-desc Specifies the new description of the host configuration.
-addr Specifies the hostnames or IP addresses associated with the host, IP addresses of the subnet, or the
network addresses of the netgroup. Separate each value with a comma.
● For subnet type, specifies the new IP address of the subnet.
● For netgroup, specifies the new netgroup's network address.
● Format: <IP address>/[<prefix length>].
● Default prefix length of IPv6 is 64.
NOTE: This information is required when connecting hosts to network shares on the system.
-ignoredAddr Specifies a list of IP addresses associated with the host that are excluded from data access. Separate each
value with a comma.
-netmask Specifies the subnet mask IP address for the host configuration.
-osType Specify the type of operating system (OS) running on the host or netgroup. Value is one of the following:
● undefined — OS is not specified (default) .
● other — OS is unknown.
● win2003srv — Windows Server 2003.
● winxp — Windows XP.
● win2008srv — Windows Server 2008.
● winvista — Windows Vista.
● win2012srv — Windows Server 2012.
● esx — VMware ESX.
● redhat — Red Hat Linux Enterprise.
● sles — SUSE Linux Enterprise.
● win7 — Windows 7.
● hyperv — Microsoft Hyper-V.
● solaris — Solaris 10 SPARC.
ID = 1014
Operation completed successfully.
Format
/remote/host –id <value> delete
Object qualifier
Qualifier Description
-id Identifies the host configuration to delete.
Example
The following command deletes host configuration 1014:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /remote/host –id 1014 delete
NOTE: The show action command on page 17 explains how to change the output format.
Format
/remote/host/hlu { -host <value> | -lun <value> | -host <value> -lun <value> } [-type
{ production | snap } ] show
Object qualifier
Qualifier Description
-host Specifies the host ID.
-lun Specifies the LUN ID.
-type Specifies the LUN type.
Example
The following command lists all host LUNs on host 1043:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /remote/host/hlu -host 1043 show
1: Host = 1043
LUN = lun_112
LUN type = production
LUN ID = 3
NOTE: This operation will fail if you try to assign a LUN ID that is already in use.
Object qualifier
Qualifier Description
-host Specifies the host ID.
-lun Specifies the LUN ID.
-type Specifies the LUN type.
Action qualifier
Qualifier Description
-lunId Specifies the new LUN ID for the LUN on the selected host.
Example
The following command changes the ID of LUN 1058 on host 1043 to LUN 0:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /remote/host/hlu -host 1043 -lun 1058
-type production set -lunId 0
Format
/remote/initiator create –host <value> -uid <value> -type {iscsi|fc}
Object qualifier
Qualifier Description
-host Identifies the host configuration to which to assign the initiator. View host configurations on page 129 explains how
to view the IDs of host configurations on the system.
-uid Specifies the FC WWN or the iSCSI IQN of the host to which to assign the initiator.
-type Specifies the type of initiator. Value is one of the following:
● iscsi
● fc
ID = 1021
Operation completed successfully.
View initiators
View a list of initiators. You can filter on the initiator ID, host ID, or whether the initiator is registered.
NOTE: The show action command on page 17 explains how to change the output format.
Format
/remote/initiator [{-id <value> | -host <value> | -unregistered}] show
Object qualifier
Qualifier Description
-id Identifies the initiator.
-host Type the ID of a host configuration to view the initiators assigned to the host configuration.
-unregistered Specifies unregistered initiators.
Example
The following command lists all initiators on the system:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /remote/initiator show
1: ID = 1058
Host = 1014
UID = iqn.1991-05.com.microsoft:nlpc20971
Initiator type = iscsi
Ports logged in = eth1_SPA, eth1_SPB
Ignored = false no
Health state = OK (5)
Modify initiators
Modify an already created initiator.
Object qualifier
Qualifier Description
-id Specifies the ID of the initiator
Action qualifier
Qualifier Description
-ignored Specifies whether the initiator is ignored for data access to the host. Value is one of the following:
● Yes — The initiator is ignored.
● No — The initiator is not ignored.
-host Identifies the host configuration to which the initiator is assigned. View host configurations on page 129 explains
how to view the IDs of host configurations on the system
Example
The following command assigns initiator 1058 to host 1014:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /remote/initiator -id 1058 set -host 1014
NOTE: The show action command on page 17 explains how to change the output format.
Format
/remote/initiator/path [–initiator <value>] show
Object qualifier
Qualifier Description
-initiator Type the ID of the initiator to display the paths associated with it.
Example
The following command lists all initiator paths on the system:
1: Initiator = 1043
Port = eth1_SPB
Logged in = Yes
Host = 1014
Health state = OK (5)
Format
/remote/iscsi/chap create {-iqn <value> | -wildcard} [-username <value>] {-secret <value> |
-secretSecure} [ -secretFormat { ascii | hex } ]
Example
The following command creates an iSCSI CHAP account for a host. It receives the ID CHAP_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /remote/iscsi/chap create –iqn
iqn.1991-05.com.microsoft:cpc7745 -secret opqrstuvwxyz
ID = CHAP_1
Operation completed successfully.
NOTE: The show action command on page 17 explains how to change the output format.
Format
/remote/iscsi/chap [-id <value>] show
Object qualifier
Qualifier Description
-id Identifies the iSCSI CHAP account.
Example
The following command displays all iSCSI CHAP accounts on the system:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /remote/iscsi/chap show
1: ID = CHAP_1
2: ID = CHAP_2
IQN =
Wildcard = yes
Username = globalChapUserName
Format
/remote/iscsi/chap -id <value> set [-username <value>]{-secret <value> | -secretSecure} [ -
secretFormat { ascii | hex } ]
Object qualifier
Qualifier Description
-id Identifies the iSCSI CHAP account to change.
Action qualifier
Qualifier Description
-username Specifies the CHAP username.
-secret Specifies the CHAP secret password.
-secretSecure Specifies the CHAP secret in secure mode - the user will be prompted to input the password.
-secretFormat Specifies the CHAP input format. Value is one of the following:
● ASCII — ASCII format
● Hex — Hexadecimal format
Example
The following command updates the secret password for iSCSI CHAP account CHAP_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /remote/iscsi/chap –id CHAP_1 set -secret
abcdef123456
Object qualifier
Qualifier Description
-id Type the ID of the CHAP account to delete.
Example
The following command deletes iSCSI CHAP account CHAP_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /remote/iscsi/chap –id CHAP_1 delete
Format
/virt/vmw/vc create -addr <value> -username <value> {-passwd <value> | -passwdSecure} [ -
descr <value> ]
Action qualifier
Qualifier Description
-addr Domain name or IP address or domain name of the VMware vCenter.
-username Specifies the username used to access the VMware vCenter.
Example
The following command adds virtual center credentials:
uemcli /virt/vmw/vc create -address 10.14.12.209 -username root -passwd xxx -descr "Add
virtual center"
ID = VC_1
Operation completed successfully
Format
/virt/vmw/vc -id <value> set [-addr <value>] [-username <value> {-passwd <value> |
-passwdSecure} ] [-descr <value>]
Object qualifier
Qualifier Description
-id Identifies the VMware vCenter server.
Action qualifier
Qualifier Description
-addr Specifies the new IP address or domain name of the VMware vCenter server.
-username Specifies the username.
-passwd Specifies the password.
-passwdSecure Specifies the password in secure mode - the user will be prompted to input the password.
-descr Specifies the new description of the VMware vCenter server.
Example
The following command specifies the new description of the VMware center:
uemcli /virt/vmw/vc -id VC_1 set -descr "This vCenter manages 2 ESX servers"
ID = VC_1
Operation completed successfully.
Format
vc -id <value> delete
Object qualifier
Qualifier Description
-id Identifies the VMware vCenter server.
Example
The following example deletes an existing virtual center.
uemcli /virt/vmw/vc -id VC_1 delete
Format
/virt/vmw/vc [-id <value>] show
Object qualifier
Qualifier Description
-id Identifies the VMware vCenter server.
Example
The following example shows a list of all virtual centers.
uemcli /virt/vmw/vc show
1: ID = VC_1
Format
/virt/vmw/vc refresh [-scanHardware]
Object qualifier
Qualifier Description
-scanHardware Specify to rescan hardware changes also (takes additional time).
Example
The following example rescans all virtual centers.
uemcli /virt/vmw/vc refresh -scanHardware
[Response]
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
Action qualifier
Qualifier Description
-addr Domain name or IP address of the ESX server.
-vc Identifies the VMware vCenter server.
-username Specifies the username used to access the VMware ESX server.
-passwd Specifies the password used to access the VMware ESX server.
-passwdSecure Specifies the password in secure mode - the user will be prompted to input the password.
-descr Specifies the description of the VMware ESX server.
-resolveConflicts Specifies the option to resolve IP address or initiator conflicts interactively. Valid values are yes or no
(default).
Example 1
uemcli /virt/vmw/esx create -addr 10.14.12.209 -username root -passwd xxx -descr "My ESX
server"
ID = ESX_1
Operation completed successfully
Example
uemcli /virt/vmw/esx create -addr 10.14.12.219 -vc VMwareVC_12 -resolveConflicts yes
The ESX host to be created has IP addresses and/or Initiators already present in an
existing host.
The ID of the existing host is: Host_12
The IP addresses in conflict are: 10.14.12.219, 10.14.12.220
The Initiators in conflicts are: iqn.1998-01.com.vmware:test1-1,
iqn.1998-01.com.vmware:test1-2
WARNING, the existing host has IP addresses and/or Initiators not found in the ESX host
to be created. If you continue with the ESX host creation, those IP addresses and/or
Initiators will be removed and can no longer be used for storage access.
The IP address not in the ESX host are: 10.14.12.217, 10.14.12.218
The Initiators not in the ESX host are: iqn.1998-01.com.vmware:test1-3
ID = ESX_1
Operation completed successfully
Format
/virt/vmw/esx -id <value> set [ -descr <value> ] [ -username <value> { -passwd <value> |
-passwdSecure } ] [ -addr <value> ]
Object qualifier
Qualifier Description
-id Identifies the VMware ESX server.
Action qualifier
Qualifier Description
-descr Specifies the comment or description.
-username Specifies the username used to access the VMware ESX server.
-passwd Specifies the password used to access the VMware ESX server.
-passwdSecure Specifies the new password in secure mode - the user will be prompted to input the password.
-addr Specifies the domain name or IP address of the ESX server for Unisphere to contact the ESX server
directly.
NOTE: This is only applicable to standalone ESX servers.
Example
uemcli /virt/vmw/esx -id ESX_1 set -descr "Changing ESX Server description"
ID = ESX_1
Operation completed successfully.
Format
/virt/vmw/esx -id <value> delete
Example
uemcli /virt/vmw/esx -id ESX_1 delete
Format
/virt/vmw/esx [{ -id <value> | -vc <value> }] show
Object qualifier
Qualifier Description
-id Identifies the VMware ESX server.
-vc Identifies the VMware vCenter server.
Example
uemcli /virt/vmw/esx -vc VC_1 show
1: ID = ESX_1
Name = nlpc12240.us.dg.com
vCenter = VC_1
Address = 10.14.12.240
2: ID = ESX_2
Name = nlpc12241.us.dg.com
vCenter = VC_1
Address = 10.14.12.241
Action qualifier
Qualifier Description
-vc Identifies the existing VMware vCenter.
-vcAddr IP address or domain name of the VMware vCenter.
-username Specifies the name of the VMware vCenter.
-passwd Specifies the password of the VMware vCenter
-passwdSecure Specifies the password in secure mode - the user will be prompted to input the password.
-createAll Adds all discovered ESX servers automatically.
Example
uemcli /virt/vmw/esx discover -vc VC_1
1: Name = nlpc12240.us.dg.com
2: Name = nlpc12241.us.dg.com
Format
/virt/vmw/esx [-id <value>] refresh [-scanHardware]
Object qualifier
Qualifier Description
-id Identifies the ESX server. If ID is not specified, rescan all virtualization objects.
Action qualifier
Qualifier Description
-scanHardware Specify to rescan hardware changes also (takes additional time).
Format
/virt/vmw/vm [ -id <value> | -esx <value> ] show
Object qualifier
Qualifier Description
-id Identifies the virtual machine.
-esx Identifies the ESX server.
Example
uemcli /virt/vmw/vm -esx ESX_1 show
1: ID = VM_1
Name = WinVM1
vCenter = VC_1
ESX server = ESX_1
State = Powered On
2: ID = VM_2
Name = LinVM3
vCenter = VC_1
ESX server = ESX_1
State = Suspended
Format
/virt/vmw/vmdevice -vm <value> show
Object qualifier
Qualifier Description
-vmId Identifies the virtual machine.
Example
uemcli /virt/vmw/vmdevice -vm VM_1 show
The following table lists the health state values for the storage processor in Service/Rescue mode.
Format
/env/sp [-id <value>] show
1: ID = spa
DPE = DPE_1
Slot = 1
Mode = Normal
Health state = OK (5)
Memory size = 34359738368 (32G)
2: ID = spb
DPE = DPE_1
Slot = 2
Mode = Normal
Health state = OK (5)
Memory size = 34359738368 (32G)
1: ID = spa
DPE = dpe
Slot = 0
Name = SP A
Mode = Normal
Health state = OK (5)
Health details = "The component is operating normally. No action is required."
Model = VIRT SP 12GB
Memory size = 12884901888 (12.0G)
Manage disk
The following table lists the health state values for the disk.
View disk
View existing disks.
Format
/env/disk [ {–id <value> | -pool <value> | -fastcache | -unused} ] show
Object qualifier
Qualifier Description
-id ID of the disk.
-pool Shows the disks that belong to the specified pool.
-fastcache Shows the disks used in FAST Cache.
-unused Shows unused disks.
Example
The following command displays the existing disks:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /env/disk show
1: ID = DISK_0
Enclosure = DAE_1
Slot = 0
Health state = OK (5)
User capacity = 2199023255552 (2T)
Used by FAST Cache = no
Pool ID = pool_1
2: ID = DISK_1
Enclosure = DAE_1
Slot = 1
Health state = OK (5)
User capacity = 2199023255552 (2T)
Used by FAST Cache = no
Pool ID = pool_1
Format
/env/disk rescan [-async]
Action qualifier
Qualifier Description
-async Run the operation in asynchronous mode.
Example
The following command rescans the system for hot-plugged virtual disks.
uemcli -d 10.0.0.2 -u Local/joe -p MyPassword456! /env/disk rescan
View battery
View a list of system batteries.
Format
/env/bat [-id <value>] show
Example
The following command displays a list of system batteries:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /env/bat show
1: ID = Bat_0
SP = SPA
Slot = 0
Health state = OK (5)
2: ID = Bat_0
SP = SPA
Slot = 1
Health state = Degraded/Warning (10)
Format
/env/ps [-id <value>] show
Object qualifier
Qualifier Description
-id ID of the power supply.
1: ID = Pow_0
Enclosure = DPE
SP = SPA
Slot = 0
Health state = OK (5)
2: ID = Pow_1
Enclosure = DPE
SP = SPA
Slot = 1
Health state = OK(5)
Format
/env/lcc [-id <value>] show
Object qualifier
Qualifier Description
-id ID of the LCC.
Example
The following command displays a list of system LCCs:
1: ID = LCC_0
DAE = DAE_0
Slot = 0
Health state = OK (5)
2: ID = LCC_1
DAE = DAE_0
Slot = 1
Health state = OK(5)
View SSD
View a list of system SSDs.
Format
/env/ssd [-id <value>] show
Object qualifier
Qualifier Description
-id ID of the SSD.
Example
The following command displays a list of system SSDs:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /env/ssd show
1: ID = SSD_0
SP = SPA
Slot = 0
2: ID = SSD_1
SP = SPA
Slot = 1
Health state = OK(5)
Format
/env/dae [-id <value>] show
Object qualifier
Qualifier Description
-id ID of the DAE.
Example
The following command displays a list of system DAEs:
1: ID = DAE_0
Slot = 0
Health state = OK (5)
2: ID = DAE_1
Slot = 1
Health state = OK(5)
Format
/env/dpe [-id <value>] show
1: ID = DPE_0
Slot = 0
Health state = OK (5)
2: ID = DPE_1
Slot = 1
Health state = OK(5)
1: ID = dpe
Slot = 0
Name = DPE
Health state = OK (5)
Health details = "The component is operating normally. No action is
required."
Manufacturer = VMware
Model = VIRT SINGLE SP DPE 16
Format
/env/mm [-id <value>] show
Object qualifier
Qualifier Description
-id ID of the memory module.
Example
The following command displays a list of system memory modules:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /env/mm show
1: ID = MM_SPA_0
SP = SPA
Slot = 0
Health state = OK (5)
2: ID = MM_SPA_1
SP = SPA
Slot = 1
Health state = OK (5)
Object qualifier
Qualifier Description
-id Identifies the system cache card.
Example
The following command displays a list of system cache cards:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /env/ccard show
1: ID = CCard_0
Slot = 0
Health state = OK (5)
Format
/env/fan [-id <value>] show
Object qualifier
Qualifier Description
-id Identifies the fan module.
1: ID = Fan_0
DPE = DPE_0
Slot = 0
Health state = OK (5)
2: ID = Fan_1
DPE = DPE_0
Slot = 1
Health state = Degraded/Warning (10)
Format
/env/iomodule commit
Example
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /env/iomodule commit
NOTE: The show action command on page 17 provides more details on changing the output format.
Format
/env/iomodule [–id <value>] show
Object qualifier
Qualifier Description
-id Enter the ID of an I/O module.
Example
The following command displays details about the two I/O modules in the system:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /env/iomodule show
2: ID = IO_SPA_1
SP = SPA
Slot = 1
Health state = Degraded/Warning (10)
NOTE: Before you create storage resources, you must configure at least one storage pool.
The following table lists the attributes for automatic pool configuration.
Format
/stor/config/auto set
Action qualifier
Qualifier Description
-async Run action in asynchronous mode.
Example
The following command initiates automatic storage pool configuration:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/config/auto set
NOTE: The show action command on page 17 explains how to change the output format.
Format
/stor/config/auto show
Example
The following command shows how storage pools and spares will be configured automatically on the system:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/config/auto show
1: Target = Pool
Name = Performance
Drives (current) = 5 x 600GB SAS; 5 x 300GB SAS
Drives (new) = 5 x 600GB SAS
RAID level = 5
Stripe length = 5,9
2: Target = Pool
Name = Capacity
Drives (current) = 10 x 1TB NL-SAS
Drives (new) = 2 x 1TB NL SAS
RAID level = 5
Stripe length = 5,9
3: Target = Pool
Name = Extreme Performance
Drives (current) = 10 x 100GB EFD
Drives (new) = 10 x 100GB EFD
RAID level = 1
Stripe length = 2
4: Target = Spares
Name = Unused / Hot Spare Candidates
Drives (current) = 1 x 600GB SAS; 1 x 300GB SAS; 1 x 1TB NL SAS
Drives (new) = 1 x 100GB EFD
RAID level =
Stripe length =
Configure storage pools automatically (physical deployments only) on page 167 explains how to have the system configure
storage pools automatically.
The following table lists the attributes for storage pools:
Subscription percent For thin provisioning, the percentage of the total space in the
storage pool that is subscription storage space.
Alert threshold Threshold for the system to send an alert when hosts have
consumed a specific percentage of the subscription space.
Value range is 50 to 85.
Drives List of the types of disks on the system, including the number
of disks of each type, in the storage pool.
Number of drives Total number of disks in the storage pool.
Number of unused drives Number of disks in the storage pool that are not being used.
RAID level (physical deployments only) RAID level of the disks in the storage pool.
Stripe length (physical deployments only) Number of disks the data is striped across.
Rebalancing Indicates whether a pool rebalancing is in progress. Value is
one of the following:
● Yes
● No
Rebalancing progress Indicates the progress of the pool rebalancing as a
percentage.
System defined pool Indication of whether the system configured the pool
automatically. Valid values are:
● Yes
● No
Health state Health state of the storage pool. The health state code
appears in parentheses. Value is one of the following:
● Unknown (0) - Health is unknown.
● OK (5) - Operating normally.
Format
/stor/config/pool create [-async] –name <value> [-descr <value>] {-diskGroup <value>
-drivesNumber <value> –storProfile <value> | -disk <value> [-tier <value>]} [-
alertThreshold <value>] [-snapPoolFullThresholdEnabled {yes|no}] [ -snapPoolFullHWM
<value>] [-snapPoolFullLWM <value>] [-snapSpaceUsedThresholdEnabled {yes|no}] [-
snapSpaceUsedHWM <value>] [-snapSpaceUsedLWM <value>]
Action qualifier
Qualifier Description
-async Run the operation in asynchronous mode.
-name Type a name for the storage pool.
-descr Type a brief description of the storage pool.
-storProfile (physical deployments only) Type the ID of the storage profiles, separated by commas, to apply to the
storage pool, based on the type of storage resource that will use the pool and
the intended usage of the pool. View storage profiles (physical deployments
only) on page 191 explains how to view the IDs of available storage profiles
on the system. If this option is not specified, a default RAID configuration
is selected for each particular drive type in the selected disk group: NL-SAS
(RAID 6 with a stripe length of 8), SAS (RAID 5 with a stripe length of 5), or
Flash (RAID 5 with a stripe length of 5).
-diskGroup (physical deployments only) Type the IDs of the disk groups to use in the storage pool. Specifying disk
groups with different disks types causes the creation of a multi-tier storage
pool. View disk groups on page 192 explains how to view the IDs of the disk
groups on the system.
-drivesNumber (physical deployments Specify the disk numbers, separated by commas, from the selected disk groups
only) to use in the storage pool. If this option is specified when -storProfile is
not specified, the operation may fail when the -drivesNumber value does
not match the default RAID configuration for each drive type in the selected
disk group.
-disk (virtual deployments only) Specify the list of disks, separated by commas, to use in the storage pool.
Specified disks must be reliable storage objects that do not require additional
protection.
-tier (virtual deployments only) Specify the list of tiers, separated by commas, to which the disks are assigned.
If a tier is omitted, it will be assigned automatically if tiering information for the
associated disk is available. Valid values include:
● capacity
● performance
● extreme
-alertThreshold For thin provisioning, specify the threshold, as a percentage, when the system
will alert on the amount of subscription space used. When hosts consume the
ID = SPL_4
Operation completed successfully.
NOTE: The show action command on page 17 explains how to change the output format.
Format
/stor/config/pool [–id <value>] show
Object qualifier
Qualifier Description
-id Type the ID of a storage pool.
1: ID = SPL_1
Name = Performance
Description = Multi-tier pool
Total space = 4947802324992 (4.5T)
Current allocation = 3298534883328 (3T)
Remaining space = 1649267441664 (1.5T)
Subscription = 10995116277760 (10T)
Subscription percent = 222%
Alert threshold = 70%
Drives = 6 x 100GB EFD; 6 x 300GB SAS
Number of drives = 12
RAID level = Mixed
Stripe length = Mixed
Rebalancing = no
Rebalancing progress =
Health state = OK (5)
Health details = "The component is operating
normally. No action is required."
FAST Cache enabled = no
Protection size used = 1099511625 (1G)
Auto-delete state = Running
Auto-delete paused = no
Auto-delete pool full threshold enabled = yes
Auto-delete pool full high water mark = 95%
Auto-delete pool full low water mark = 85%
Auto-delete snapshot space used threshold enabled = yes
Auto-delete snapshot space used high water mark = 25%
Auto-delete snapshot space used low water mark = 20%
2: ID = SPL_2
Name = Capacity
Description =
Total space = 4947802324992 (4.5T)
1: ID = pool_1
Name = Capacity
Description =
Total space = 4947802324992 (4.5T)
Current allocation = 3298534883328 (3T)
Remaining space = 4947802324992 (1.5T)
Subscription = 10995116277760 (10T)
Subscription percent = 222%
Alert threshold = 70%
Drives = 1 x 120GB Virtual; 1 x 300GB
Virtual
Number of drives = 2
Health state = OK (5)
Health details = "The component is operating
normally. No action is required."
Protection size used = 1099511625 (1G)
Auto-delete state = Running
Auto-delete paused = no
Auto-delete pool full threshold enabled = yes
Auto-delete pool full high water mark = 95%
Auto-delete pool full low water mark = 85%
Auto-delete snapshot space used threshold enabled = yes
Auto-delete snapshot space used high water mark = 25%
Auto-delete snapshot space used low water mark = 20%
Object qualifier
Qualifier Description
-id Type the ID of the storage pool to change.
Action qualifier
Qualifier Description
-async Run the operation in asynchronous mode.
-name Type a name for the storage pool.
-descr Type a brief description of the storage pool.
-alertThreshold For thin provisioning, specify the threshold, as a percentage, when the system
will alert on the amount of subscription space used. When hosts consume the
specified percentage of subscription space, the system sends an alert. Value range
is 50% to 85%.
-FASTCacheEnabled Specify whether to enable FAST Cache on the storage pool. Value is one of the
following:
● Yes
● No
Default value is Yes.
-snapPoolFullThresholdEnabled Indicate whether the system should check the pool full high water mark for auto-
delete. Value is one of the following:
● Yes
● No
Default value is Yes.
-snapPoolFullHWM Specify the pool full high watermark for the storage pool. Valid values are 1-99.
Default value is 95.
-snapPoolFullLWM Specify the pool full low watermark for the storage pool. Valid values are 0-98.
Default value is 85.
-snapSpaceUsedThresholdEnabled Indicate whether the system should check the snapshot space used high water
mark for auto-delete. Value is one of the following:
● Yes
● No
Default value is Yes.
-snapSpaceUsedHWM Specify the snapshot space used high watermark to trigger auto-delete on the
storage pool. Valid values are 1-99. Default value is 95.
-snapSpaceUsedLWM Specify the snapshot space used low watermark to trigger auto-delete on the
storage pool. Valid values are 0-98. Default value is 20.
-snapAutoDeletePaused Specify whether to pause snapshot auto-delete. Typing no resumes the auto-
delete operation.
ID = SPL_1
Operation completed successfully.
Format
/stor/config/pool –id <value> extend [-async] {-diskGroup <value> -drivesNumber <value> [-
storProfile <value>] |-disk <value> [-tier <value>]}
Object qualifier
Qualifier Description
-id Type the ID of the storage pool to extend.
Action qualifier
Qualifier Description
-async Run the operation in asynchronous mode.
-diskGroup (physical Type the IDs of the disk groups, separated by commas, to add to the storage pool.
deployments only)
-drivesNumber Type the number of disks from the specified disk groups, separated by commas, to add to the
(physical deployments storage pool. If this option is specified when -storProfile is not specified, the operation may
only) fail when the -drivesNumber value does not match the default RAID configuration for each
drive type in the selected disk group.
-storProfile Type the IDs of the storage profiles, separated by commas, to apply to the storage pool. If this
(physical deployments option is not specified, a default RAID configuration is selected for each particular drive type in the
only) selected disk group: NL-SAS (RAID 6 with a stripe length of 8), SAS (RAID 5 with a stripe length
of 5), or Flash (RAID 5 with a stripe length of 5).
-disk (virtual Specify the list of disks, separated by commas, to add to the storage pool. Specified disks must be
deployments only) reliable storage objects which do not require additional protection.
-tier (virtual Specify the list of tiers, separated by commas, to which the disks are assigned. If a tier is omitted,
deployments only) it will be assigned automatically if tiering information for associated disk is available. Valid values
include:
● capacity
● performance
● extreme
ID = SPL_1
Operation completed successfully.
ID = pool_1
Operation completed successfully.
Format
/stor/config/pool –id <value> delete [-async]
Object qualifier
Qualifier Description
-id Type the ID of the storage pool to extend.
Action qualifier
Qualifier Description
-async Run the operation in asynchronous mode.
Example
The following deletes storage pool SPL_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/config/pool –id SPL_1 delete
Stripe length (physical deployments only) Comma-separated list of the stripe length of the disks in the
storage tier.
Total space Total capacity in the storage tier.
Current allocation Currently allocated space.
Remaining space Remaining space.
NOTE: The show action command on page 17 explains how to change the output format.
Format
/stor/config/pool/tier –pool <value> show
Object qualifier
Qualifier Description
-pool Type the ID of a storage pool.
2: Name = Performance
Drives = 5 x 300GB SAS
RAID level = 5
Stripe length = 5
Total space = 928180076544 (864.4G)
Current allocation = 8606711808 (8.0G)
Remaining space = 919573364736 (856.4G)
3: Name = Capacity
Drives =
RAID level =
Stripe length =
Total space = 0
Current allocation = 0
Remaining space = 0
2: Name = Performance
Drives = 1 x 500GB Virtual
Total space = 631242752000 (500.0G)
Current allocation = 12624855040 (10.0G)
Remaining space = 618617896960 (490.0G)
3: Name = Capacity
Drives =
Total space = 0
Current allocation = 0
Remaining space = 0
<value>[suffix]
where:
● value - Identifies the size of the data relocated.
● suffix - Identifies that the value relates to the previous
relocation session.
Rate Identifies the transfer rate for the data relocation. Value is one
of the following:
● Low - Least impact on system performance.
● Medium - Moderate impact on system performance.
● High - Most impact on system performance.
Default value is medium.
NOTE: This field is blank if data relocation is not in
progress.
<tier_name>:[value]
where:
<tier_name>:[value]
where:
● tier_name - Identifies the storage tier.
● value - Identifies the amount of data in that tier to be
moved down.
Data to move within per tier The amount of data per tier that is scheduled to be moved to
within the same tier for rebalancing. The format is:
<tier_name>:[value]
where:
● tier_name - Identifies the storage tier.
● value - Identifies the amount of data in that tier to be
rebalanced.
Estimated relocation time Identifies the estimated time required to perform the next
data relocation.
Format
/stor/config/pool/fastvp –pool <value> set [-async] -schedEnabled {yes | no}
Object qualifier
Qualifier Description
-pool Type the ID of the storage pool.
Action qualifier
Qualifier Description
-async Run the operation in asynchronous mode.
-schedEnabled Specify whether the pool is rebalanced according to the system FAST VP schedule. Value is one of the
following:
● Yes
● No
Example
The following example enables the rebalancing schedule on storage pool pool_1:
Pool ID = pool_1
Operation completed successfully.
Format
/stor/config/pool/fastvp [–pool <value>] show
Object qualifier
Qualifier Description
-pool Type the ID of the storage pool.
Example
The following command lists the FAST VP settings on the storage system:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/config/pool/fastvp –show -detail
1: Pool = pool_1
Relocation type = manual
Status = Active
Schedule enabled = no
Start time = 2013-09-20 12:55:32
End time = 2013-09-20 21:10:17
Data relocated = 100111454324 (100G)
Rate = high
Data to move up = 4947802324992 (4.9T)
Data to move down = 4947802324992 (4.9T)
Data to move within = 4947802324992 (4.9T)
Data to move up per tier = Performance: 500182324992 (500G), Capacity:
1000114543245 (1.0T)
Data to move down per tier = Extreme Performance: 1000114543245 (1.0T),
Performance: 500182324992 (500G)
Data to move within per tier = Extreme Performance: 500182324992 (500G),
Performance: 500182324992 (500G), Capacity: 500182324992 (500G)
Estimated relocation time = 7h 30m
Action qualifier
Qualifier Description
-async Run the operation in asynchronous mode.
-pool Type the ID of the storage pool.
-endTime Specify the time to stop the data relocation. The format is:
[HH:MM]
where:
● HH — Hour.
● MM — Minute.
Default value is eight hours from the current time.
-rate Specify the transfer rate for the data relocation. Value is one of the following:
● Low — Least impact on system performance.
● Medium — Moderate impact on system performance.
● High — Most impact on system performance.
Default value is the value set at the system level.
Example
The following command starts data relocation on storage pool pool_1, and directs it to end at 04:00:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/config/pool/fastvp -pool pool_1
start -endTime 04:00
Format
/stor/config/pool/fastvp –pool <value> stop [-async]
Object qualifier
Qualifier Description
-pool Type the ID of the storage pool.
Example
The following command stops data relocation on storage pool pool_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/config/pool/fastvp –pool pool_1
stop
NOTE: The show action command on page 17 explains how to change the output format.
Format
/stor/config/pool/sr [–pool <value>] show
Object qualifier
Qualifier Description
-pool Type the name of the storage pool.
1: ID = res_1
Name = FileSystem00
Resource type = File system
Pool = pool_1
Total pool space used = 23622320128 (220GB)
Total pool snapshot space used = 2147483648 (2GB)
Health state = OK (5)
Health details = "The component is operating normally. No
action is required."
2: ID = res_2
Name = LUNGroup00
Resource type = LUN group
Pool = pool_1
Total pool space used = 57982058496 (54GB)
Total pool snapshot space used = 4294967296 (4GB)
Health state = OK (5)
Health details = "The component is operating normally. No
action is required."
3: ID = nas_1
Name = NASServer00
Resource type = NAS server
Pool = pool_1
Total pool space used =
Total pool snapshot space used =
Health state = OK (5)
Health details = "The component is operating normally. No
action is required."
Format
/stor/config/fastvp set [-async] [-schedEnabled {yes | no}] [-days <value>] [-at <value>]
[-until <value>] [-rate {low | medium | high}] [-paused {yes | no}]
Action qualifier
Qualifier Description
-async Run the operation in asynchronous mode.
-paused Specify whether to pause data relocation on the storage system. Value is one of the following:
● Yes
● No
-schedEnabled Specify whether the pool is rebalanced according to the system FAST VP schedule. Value is one of the
following:
● Yes
● No
-days Specify a comma-separated list of the days of the week to schedule data relocation. Valid values are:
● Mon – Monday
● Tue – Tuesday
● Wed – Wednesday
● Thu – Thursday
● Fri – Friday
[HH:MM]
where:
● HH – Hour
● MM – Minute
Valid values are between 00:00 and 23:59. Default value is 00:00.
-until Specify the time to stop the data relocation. The format is:
[HH:MM]
where:
● HH – Hour
● MM – Minute
Valid values are between 00:00 and 23:59. Default value is eight hours after the time specified with the
-at parameter.
-rate Specify the transfer rate for the data relocation. Value is one of the following:
● Low – Least impact on system performance.
● Medium – Moderate impact on system performance.
● High – Most impact on system performance.
Default value is medium.
Example
The following command changes the data relocation schedule to run on Mondays and Fridays from 23:00 to 07:00:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/config/fastvp set -schedEnabled yes
-days "Mon,Fri" -at 23:00 -until 07:00
Format
/stor/config/fastvp show -detail
Example
The following command displays the FAST VP general settings:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/config/fastvp show -detail
1: Paused = no
Schedule enabled = yes
Frequency = Every Mon, Fri at 22:30 until 8:00
Rate = high
Data to move up = 4947802324992 (1.5T)
Data to move down = 4947802324992 (1.5T)
Data to move within = 4947802324992 (1.5T)
Estimated scheduled relocation time = 7h 30m
Format
/stor/config/fastcache create [-async] -diskGroup <value> -drivesNumber <value> [-
enableOnExistingPools]
Action qualifier
Qualifier Description
-async Run the operation in asynchronous mode.
-diskGroup Specify the disk group to include in the FAST Cache.
-drivesNumber Specify the number of disks to include in the FAST Cache.
-enableOnExistingPools Specify whether FAST Cache is enabled on all existing pools.
Format
/stor/config/fastcache show
Example
The following command displays the FAST Cache parameters:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/config/fasdtcache show -detail
Format
/stor/config/fastcache delete [-async]
Action qualifier
Qualifier Description
-async Run the operation in asynchronous mode.
Example
The following command deletes the FAST Cache configuration:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/config/fastcache delete
NOTE: The show action command on page 17 explains how to change the output format.
Format
/stor/config/profile [–id <value> | -driveType <value> [-raidLevel <value>]] show
Object qualifier
Qualifier Description
-id Type the ID of a storage profile.
-driveType Specify the type of disk drive.
-raidLevel Specify the RAID type of the profile.
1: ID = SP_1
Description = Best Performance
Drive type = SAS
RAID level = 5
Maximum capacity = 1099511627776 (1TB)
Stripe length = 6
2: ID = SP_2
Description = High Capacity
Drive type = FAT-SAS
RAID level = 6
Maximum capacity = 21990232555520 (20TB)
Stripe length = 6
3: ID = SP_3
Name = Performance
Drive type = SAS
RAID level = 5
Maximum capacity = 5937362789990 (5.4TB)
Stripe length = 5
NOTE: The show action command on page 17 explains how to change the output format.
Object qualifier
Qualifier Description
-id Type the ID of a disk group.
Example
The following command shows details about all disk groups:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/config/dg show
1: ID = DG_1
Drive type = FAT-SAS
Drive size = 536870912000 (500GB)
Rotational speed = 10000 rpm
Number of drives = 21
Unconfigured drives = 7
Capacity = 11544872091648 (10.5TB)
Recommended number of spares = 1
2: ID = DG_2
Drive type = FAT-SAS
Drive size = 1099511627776 (1TB)
Rotational speed = 7200 rpm
Number of drives = 14
Unconfigured drives = 0
Capacity = 15393162788864 (14TB)
Recommended number of spares = 1
3: ID = DG_3
Drive type = SAS
Drive size = 107374182400 (100GB)
Rotational speed = 10000 rpm
Number of drives = 10
Unconfigured drives = 3
Capacity = 1099511627776 (1TB)
Recommended number of spares = 1
NOTE: The show action command on page 17 explains how to change the output format.
Format
/stor/config/dg recom {–profile <value>|-pool <value>}
Example
The following command shows the recommended disk groups for storage pool SPL_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/config/dg recom -pool SPL_1
1: ID = DG_1
Drive type = SAS
Drive size = 536870912000 (500GB)
Number of drives = 8
Allowed numbers of drives = 4,8
Capacity = 4398046511104 (4TB)
2: ID = DG_2
Drive type = SAS
Drive size = 268435456000 (250GB)
Number of drives = 4
Allowed numbers of drives = 4
Capacity = 1099511627776 (1TB)
<tier_name>:<value>%
CIFS notify on access Indication of whether file access notifications for CIFS shares
are enabled. Value is yes or no. When enabled, Windows
applications receive notifications each time a user accesses
a file on the CIFS share.
NOTE: If this option is enabled, the value for CIFS
directory depth indicates the lowest directory level to
which the notification setting applies.
CIFS directory depth For write and access notifications on CIFS network shares,
the subdirectory depth permitted for file notifications. Value
range is 1-512. Default is 512.
Deduplication enabled Indication of whether deduplication is enabled on the file
system. Value is:
● Yes
● No
NOTE: Size qualifiers on page 15 provides details on using size qualifiers to specify a storage size.
Prerequisites
● Configure at least one storage pool for the file system to use and allocate at least one storage disk to the pool.
Configure storage pools automatically (physical deployments only) on page 167 explains how to create pools on the system
automatically and Configure custom storage pools on page 169 explains how to create custom pools.
● Configure at least one NAS server to which to associate the file system. Create NAS servers on page 64 explains how to
configure NAS servers.
Format
/stor/prov/fs create [-async] -name <value> [-descr <value>] -server <value> -pool <value>
-size <value> [-thin {yes | no}] -type {cifs | multiprotocol}[-cifsSyncWrites {yes |
no}] [-cifsOpLocks {yes | no}] [-cifsNotifyOnWrite {yes | no}] [-cifsNotifyOnAccess {yes
| no}] [-cifsNotifyDirDepth <value>] | nfs} [-accessPolicy {native | Windows | Unix}] [-
fastvpPolicy { startHighThenAuto | auto | highest | lowest}] [-fileLevelRet {yes | no}]
[-sched <value> [-schedPaused {yes | no}]]
Action qualifier
Qualifier Description
-async Run the operation in asynchronous mode.
-name Type a name for the file system.
-descr Type a brief description of the file system.
-server Type the ID of the NAS server that will be the primary NAS server for the file system. View NAS
servers on page 65 explains how to view the IDs of the NAS servers on the system.
-pool Type the name of the storage pool that the file system will use.
NOTE: Value is case-insensitive.
View storage pools on page 174 explains how to view the names of the storage pools on the
system.
-size Type the quantity of storage to reserve for the file system. Storage resource size limitations on
page 312 explains the limitations on storage size.
-thin Enable thin provisioning on the file system. Value is yes or no. Default is no.
-type Specify the type of network shares to export from the file system. Value is one of the following:
● nfs — Network shares for Linux/UNIX hosts.
-cifsSyncWrites Enable synchronous write operations for CIFS network shares. Value is yes or no. Default is no.
-cifsOpLocks Enable opportunistic file locks (oplocks) for CIFS network shares. Value is yes or no. Default is
yes.
-cifsNotifyOnWrite Enable to receive notifications when users write to a CIFS share. Value is yes or no. Default is no.
-cifsNotifyOnAccess Enable to receive notifications when users access a CIFS share. Value is yes or no. Default is no.
-cifsNotifyDirDepth If the value for -cifsNotifyOnWrite or -cifsNotifyOnAccess is yes (enabled), specify
the subdirectory depth to which the notifications will apply. Value range is within range 1–512.
Default is 512.
-accessPolicy Access policy type for this file system. Valid values (case insensitive):
● native (default)
● Unix
● Windows
-fileLevelRet Enable file-level retention on the file system. Values is yes or no. Default is no.
-sched Type the ID of a protection schedule to apply to the storage resource. View protection schedules
on page 51 explains how to view the IDs of the schedules on the system.
-schedPaused Specify whether to pause the protection schedule specified for -sched. Value is yes or no.
Example
The following command creates a file system with these settings:
● Name is FileSystem01.
● Description is “NFS shares.”
● Uses the capacity storage pool.
● Uses NAS server NAS_1 as the primary NAS server.
● Primary storage size is 100 MB.
● Supports NFS network shares.
The file system receives the ID FS_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/prov/fs create -name FileSystem01
-descr "NFS shares" -pool capacity -server nas_1 -size 100M -type nfs
ID = FS_1
Operation completed successfully.
NOTE: The show action command on page 17 explains how to change the output format.
Object qualifier
Qualifier Description
-id Type the ID of a file system.
Example
The following command lists details about all file ssytems on the system:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/prov/fs show
1: ID = fs1
Name = MyFS
Description = my file system
Health state = OK (5)
File system = FS_1
Server = nas_1
Storage pool = Performance
Protocol = nfs
Size = 1099511627776 (1T)
Size used = 128849018880 (120G)
Protection size used = 1099511627776 (1T)
Deduplication enabled = no
NOTE: Size qualifiers on page 15 explains how to use the size qualifiers when specifying a storage size.
Format
/stor/prov/fs -id <value> set [-async] [-descr <value>] [-size <value>] [-thin {yes | no}]
[-cifsSyncWrites {yes | no}] [-fastvpPolicy { startHighThenAuto | auto | highest | lowest |
none}] [-cifsOpLocks {yes | no}] [-cifsNotifyOnWrite {yes | no}] [-cifsNotifyOnAccess {yes
| no}] [-cifsNotifyDirDepth <value>] [{-sched <value> | -noSched}] [-schedPaused {yes |
no}]
Object qualifier
Qualifier Description
-id Type the ID of the file system to change.
Example
The following command enables thin provisioning on file system FS_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/prov/fs –id FS_1 set -thin yes
ID = FS_1
Operation completed successfully.
Format
/stor/prov/fs -id <value> delete [-deleteSnapshots {yes | no}] [-async]
Action qualifier
Qualifier Description
-deleteSnapshots Specifies that snapshots of the file system can be deleted along with the file system itself. Value is
one of the following:
● Yes
● No
Default value is no.
-async Run the operation in asynchronous mode.
Example
The following command deletes file system FS_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/prov/fs -id FS_1 delete
File system ID of the parent file system associated with the NFS share.
Default access Default share access settings for host configurations and for
unconfigured hosts that can reach the share. Value is one of
the following:
● ro - Read-only access to primary storage and snapshots
associated with the share.
Prerequisite
Configure a file system to which to associate the NFS network shares. Create file systems on page 198 explains how to create
file systems on the system.
Format
/stor/prov/fs/nfs create [-async] –name <value> [-descr <value>] –fs <value> -path <value>
[-defAccess {ro|rw|root|na}] [-roHosts <value>] [-rwHosts <value>] [-rootHosts <value>] [-
naHosts <value>]
Action qualifier
Qualifier Description
-async Run the operation in asynchronous mode.
-name Type a name for the share.
NOTE: This value, along with the name of the NAS server, constitutes the export path by which hosts
access the share.
Example
The following command creates an NFS share with these settings:
● Name is NFSshare.
● Description is “My share.”
● Associated to file system fs1.
● Local path on the system is directory nfsshare.
● Host HOST_1 has read-only permissions to the share and its snapshots.
ID = NFS_1
Operation completed successfully.
NOTE: The show action command on page 17 explains how to change the output format.
Format
/stor/prov/fs/nfs [{-id <value>|-fs <value>}] show
Object qualifier
Qualifier Description
-id Type the ID of an NFS share.
-fs Type the ID of an NFS file system to view the associated NFS network shares.
Example
The following command lists details for all NFS network shares on the system:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/prov/fs/nfs show -detail
1: ID = NFS_1
Name = MyNFSshare1
Description = My nfs share
Resource = fs1
Local path = nfsshare1
Export path = 10.64.75.10/MyNFSshare1
Default access = na
Read-only hosts = 1014, 1015
Read/write hosts = 1016
Root hosts =
No access hosts =
2: ID = NFS_2
Name = MyNFSshare2
Description = This is my second share
Resource = fs1
Local path = nfsshare2
Export path = 10.64.75.10/MyNFSshare2
Default access = na
Read-only hosts = 1014, 1015
Format
/stor/prov/fs/nfs –id <value> set [-async][-descr <value>] [-defAccess {ro|rw|root|na}] [-
roHosts <value>] [-rwHosts <value>] [-rootHosts <value>] [-naHosts <value>]
Object qualifier
Qualifier Description
-id Type the ID of an NFS share to change. View NFS share settings on page 205 explains how to view the IDs of the
NFS network shares on the system.
Action qualifier
Qualifier Description
-async Run the operation in asynchronous mode.
-descr Type a brief description of the share.
-defAccess Specify the default share access settings for host configurations and for unconfigured hosts who can reach
the share. Value is one of the following:
● ro – Read-only access to primary storage and snapshots associated with the share.
● rw – Read/write access to primary storage and snapshots associated with the share.
● root – Read/write root access to primary storage and snapshots associated with the share. This includes
the ability to set access controls that restrict the permissions for other login accounts.
● na – No access to the share or its snapshots.
-roHosts Type the ID of each host configuration you want to grant read-only permission to the share and its snapshots.
Separate each ID with a comma.
● For host configurations of type 'host,' by default, all of the host's IP addresses can access the share and its
snapshots. To allow access to only specific IPs, type those specific IPs in square brackets after the host ID.
For example: ID[IP,IP], where 'ID' is a host configuration ID and 'IP' is an IP address.
● View host configurations on page 129 explains how to view the ID of each host configuration.
-rwHosts Type the ID of each host configuration you want to grant read-write permission to the share and its snapshots.
Separate each ID with a comma.
● For host configurations of type 'host,' by default, all of the host's IP addresses can access the share and its
snapshots. To allow access to only specific IPs, type those specific IPs in square brackets after the host ID.
For example: ID[IP,IP], where 'ID' is a host configuration ID and 'IP' is an IP address.
● View host configurations on page 129 explains how to view the ID of each host configuration.
-rootHosts Type the ID of each host configuration you want to grant root permission to the share and its snapshots.
Separate each ID with a comma.
● For host configurations of type 'host,' by default, all of the host's IP addresses can access the share and its
snapshots. To allow access to only specific IPs, type those specific IPs in square brackets after the host ID.
For example: ID[IP,IP], where 'ID' is a host configuration ID and 'IP' is an IP address.
● View host configurations on page 129 explains how to view the ID of each host configuration.
-naHosts Type the ID of each host configuration you want to block access to the share and its snapshots. Separate each
ID with a comma.
Example
The following command changes NFS share NFS_1 to block access to the share and its snapshots for host HOST_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/prov/fs/nfs –id NFS_1 set -descr
“My share” -naHosts ”HOST_1”
ID = NFS_1
Operation completed successfully.
Format
/stor/prov/fs/nfs –id <value> delete [-async]
Object qualifier
Qualifier Description
-id Type the ID of an NFS share to change. View NFS share settings on page 205 explains how to view the IDs of the
NFS network shares on the system.
Action qualifier
Qualifier Description
-async Run the operation in asynchronous mode.
Example
The following command deletes NFS share NFS_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/prov/fs/nfs –id NFS_1 delete
File system ID of the parent file system associated with the CIFS share.
Creation time Creation time of the share.
Last modified time Last modified time of the share.
Availability enabled Continuous availability state.
Encryption enabled CIFS encryption state.
Umask Indicates the default Unix umask for new files created on the
share. If not specified, the umask defaults to 022.
ABE enabled Indicates whether an Access-Based Enumeration (ABE) filter
is enabled. Valid values include:
● yes — Filters the list of available files and folders on a
share to include only those that the requesting user has
access to.
● no (default)
DFS enabled Indicates whether Distributed File System (DFS) is enabled.
Valid values include:
● yes — Allows administrators to group shared folders
located on different shares by transparently connecting
them to one or more DFS namespaces.
● no (default)
BranchCache enabled Indicates whether BranchCache is enabled. Valid values
include:
● yes — Copies content from the main office or hosted
cloud content servers and caches the content at branch
office locations. This allows client computers at branch
offices to access content locally rather than over the
WAN.
● no (default)
Offline availability Indicates whether Offline availability is enabled. When
enabled, users can use this feature on their computers to
work with shared folders stored on a server, even when they
are not connected to the network. Valid values include:
● none — Prevents clients from storing documents and
programs in offline cache. (default)
Prerequisite
Configure a file system to which to associate the CIFS network shares. Create file systems on page 198explains how to create
file systems on the system.
Format
/stor/prov/fs/cifs create [-async] –name <value> [-descr <value>] –fs <value> -path <value>
[-enableContinuousAvailability {yes|no}] [-enableCIFSEncryption {yes|no}] [-umask <value> ]
[-enableABE {yes | no} ] [-enableBranchCache {yes | no}] [-offlineAvailability {none |
documents | programs | manual} ]
Action qualifier
Qualifier Description
-async Run the operation in asynchronous mode.
-name Type a name for the share.
NOTE: This value, along with the name of the NAS server, constitutes the
export path by which hosts access the share.
Example
The following command creates a CIFS share with these settings:
● Name is CIFSshare.
● Description is “My share.”
● Associated to file system fs1.
● Local path on the system is directory cifsshare.
● Continuous availability is enabled.
● CIFS encryption is enabled.
The share receives ID CIFS_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/prov/fs/cifs create –name
CIFSshare -descr “My share” –fs fs1 -path ”cifsshare” -enableContinuousAvailability yes
-enableCIFSEncryption yes
ID = CIFS_1
Operation completed successfully.
NOTE: The show action command on page 17 explains how to change the output format.
Format
/stor/prov/fs/cifs [{-id <value>|-fs <value>}] show
Object qualifier
Qualifier Description
-id Type the ID of a CIFS share.
-fs Type the ID of an CIFS file system to view the associated CIFS network shares.
1: ID = CIFS_1
Name = MyCIFSshare1
Description = This is my CIFS share
File system = fs1
Local path = cifsshare1
Export path = 10.64.75.10/MyCIFSshare1
2: ID = CIFS_2
Name = MyCIFSshare2
Description = This is my second share
File system = fs1
Local path = cifsshare2
Export path = 10.64.75.10/MyCIFSshare2
Format
/stor/prov/fs/cifs –id <value> set [-async] –name <value> [-descr <value>] [-
enableContinuousAvailability {yes|no}] [-enableCIFSEncryption {yes|no}] [-umask <value> ]
[-enableABE {yes | no} ] [-enableBranchCache {yes | no}] [-offlineAvailability {none |
documents | programs | manual} ]
Object qualifier
Qualifier Description
-id Type the ID of a CIFS share to change.
Action qualifier
Qualifier Description
-async Run the operation in asynchronous mode.
-descr Specifies the description for the CIFS share.
-enableContinuousAvailability Specifies whether continuous availability is enabled.
-enableCIFSEncryption Specifies whether CIFS encryption is enabled.
-umask Type the default Unix umask for new files created on the share.
-enableABE Specify if Access-Based Enumeration (ABE) is enabled. Valid values include:
● yes
● no
-enableBranchCache Specify if BranchCache is enabled. Valid values include:
● yes
● no
Example
The following command sets the description of CIFS share CIFS_1 to My share.
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/prov/fs/cifs –id CIFS_1 set -descr
“My share”
ID = CIFS_1
Operation completed successfully.
Format
/stor/prov/fs/cifs –id <value> delete [-async]
Object qualifier
Qualifier Description
-id Type the ID of a CIFS share to change.
Action qualifier
Qualifier Description
-async Run the operation in asynchronous mode.
Example
The following command deletes CIFS share CIFS_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/prov/sf/cifs –id CIFS_1 delete
Manage LUNs
A LUN is a single unit of storage that represents a specific storage pool and quantity of Fibre Channel (FC) or iSCSI storage.
Each LUN is associated with a name and logical unit number (LUN) identifier.
Each LUN is identified by an ID.
The following table lists the attributes for LUNs:
<tier_name>:<value>%
Create LUNs
Create a LUN to which host initiators connect to access storage.
Format
/stor/prov/luns/lun create [-async] -name <value> [-descr <value>] [-group <value>] -pool
<value> -size <value> -thin {yes | no} [-sched <value> [-schedPaused {yes | no}]] [-
fastvpPolicy { startHighThenAuto | auto | highest | lowest }] [ -lunHosts <value>] [ -
snapHosts <value>]
Action qualifier
Qualifier Description
-async Run the operation in asynchronous mode.
-name Type the name of the LUN.
-descr Type a brief description of the LUN.
-group Type the ID of a LUN group to associate the new LUN with. View LUN groups on page 221 explains how to
view information on LUN groups.
NOTE: If no LUN group is specified, the LUN will not be assigned to a LUN group.
-pool Type the name of the storage pool that the LUN will use.
NOTE: Value is case-insensitive.
View storage pools on page 174 explains how to view the names of the storage pools on the system.
-size Type the quantity of storage to allocate for the LUN. Storage resource size limitations on page
312 explains the limitations on storage size.
-thin Enable thin provisioning on the LUN. Value is yes or no. Default is no.
-sched Type the ID of a protection schedule to apply to the storage resource. View protection schedules on page
51 explains how to view the IDs of the schedules on the system.
-schedPaused Pause the schedule specified for the -sched qualifier. Value is yes or no. Default is no.
-fastvpPolicy Specify the FAST VP policy of the LUN. Value is one of the following:
● startHighThenAuto
● auto
● highest
● lowest
-lunHosts Specifies a comma-separated list of hosts with access to the LUN.
-snapHosts Specifies a comma-separated list of hosts with access to snapshots of the LUN.
Example
The following command creates a LUN with these settings:
● Name is MyLUN.
● Description is “My LUN.”
● Associated with LUN group group_1.
● Uses the pool_1 storage pool.
● Primary storage size is 100 MB.
ID = lun_1
Operation completed successfully.
View LUNs
Display the list of existing LUNs.
NOTE: The show action command on page 17 explains how to change the output format.
Format
/stor/prov/luns/lun [{-id <value> | -group <value> | -standalone}] show
Object qualifier
Qualifier Description
-id Type the ID of a LUN.
-group Type the name of a LUN group. The list of LUNs in the specified LUN group are displayed.
-standalone Displays only LUNs that are not part of a LUN group.
Example
The following command displays details about all LUNs on the system:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/prov/luns/lun show
1: ID = lun_1
Name = MyLUN
Description = My LUN
Group = group_1
Storage pool ID = pool_1
Storage pool = Capacity
Health state = OK (5)
Size = 2199023255552 (2T)
Protection size used = 0
SP owner = SPA
Trespassed = no
2: ID = lun_2
Name = MyLUN2
Description = My second LUN
Group = group_1
Storage pool ID = pool_2
Storage pool = Performance
Health state = OK (5)
Size = 104857600 (100M)
Protection size used = 0
Change LUNs
Change the settings for a LUN.
Format
/stor/prov/luns/lun -id <value> set [-async] [-name <value>] [-descr <value>] [-size
<value>] [{-group <value> | -standalone}] [{-sched <value> | -noSched}] [-schedPaused {yes
| no}] [-spOwner {spa | spb}] [-fastvpPolicy { startHighThenAuto | auto | highest | lowest
| none}] [ -lunHosts <value>] [ -snapHosts <value>]
Object qualifier
Qualifier Description
-id Type the ID of the LUN to change.
Action qualifier
Qualifier Description
-async Run the operation in asynchronous mode.
-name Type the name of the LUN.
-descr Type a brief description of the LUN.
-group Type the ID of a LUN group to associate the new LUN with. View LUN groups on page 221 explains how to
view information on LUN groups.
NOTE: If no LUN group is specified, the LUN will not be assigned to a LUN group.
-size Type the quantity of storage to allocate for the LUN. Storage resource size limitations on page
312 explains the limitations on storage size.
-standalone Removes the LUN from the LUN group.
-sched Type the ID of the schedule to apply to the NFS datastore. View protection schedules on page 51 explains
how to view the IDs of the schedules on the system.
-schedPaused Pause the schedule specified for the -sched qualifier. Value is yes or no. Default is no.
-noSched Unassigns the protection schedule.
-spOwner Specifies the default owner of the LUN. Value is one of the following:
● SP A
● SP B
-fastvpPolicy Specify the FAST VP policy of the LUN storage. Value is one of the following:
● startHighThenAuto
● auto
● highest
● lowest
-lunHosts Specifies a comma-separated list of hosts with access to the LUN.
-snapHosts Specifies a comma-separated list of hosts with access to snapshots of the LUN.
ID = lun_1
Operation completed successfully.
Delete LUNs
Delete a LUN.
NOTE: Deleting a LUN removes all associated data from the system. After a LUN is deleted, you cannot restore the data
inside it from snapshots. Back up the data from a LUN to another host before deleting it from the system.
Format
/stor/prov/luns/lun -id <value> delete [-deleteSnapshots {yes | no}] [-async]
Object qualifier
Qualifier Description
-id Type the ID of the LUN to delete.
Action qualifier
Qualifier Description
-deleteSnapshots Specifies that snapshots of the LUN can be deleted along with the LUN itself. Value is one of the
following:
● Yes
● No (default)
-async Run the operation in asynchronous mode.
Example
The following command deletes LUN lun_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/prov/luns/lun -id lun_1 delete
Total protection size used Total quantity of storage used for protection data.
Snapshot count Number of snapshots created on the LUN.
Protection schedule ID of a protection schedule applied to the VMFS datastore .
View protection schedules on page 51 explains how to view
the IDs of the schedules on the system.
Protection schedule paused Indication of whether an applied protection schedule is
currently paused.
LUN access hosts List of hosts with access permissions to the associated LUNs.
NOTE: Hosts that have access to the snapshots of some,
but not all of the associated LUNs are marked as Mixed.
Snapshots access hosts List of hosts with access to snapshots of the associated
LUNs.
NOTE: Hosts that have access to the snapshots of some,
but not all of the associated LUNs are marked as Mixed.
<tier_name>:<value>%
Format
/stor/prov/luns/group create [-async] -name <value> [-descr <value>] [-sched <value> [-
schedPaused {yes | no}]] [-replDest {yes | no}]
Example
The following command creates a LUN group with these settings:
● Name is GenericStorage01.
● Description is “MyStorage.”
● Uses protection schedule SCHD_1.
The storage resource receives the group_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/prov/luns/group create -name
GenericStorage01 -descr "MyStorage" -sched SCHD_1
ID = group_1
Operation completed successfully.
NOTE: The show action command on page 17 explains how to change the output format.
Format
/stor/prov/luns/group -id <value> show
Object qualifier
Qualifier Description
-id Type the ID of a LUN group.
1: ID = group_1
Name = MyLUNGroup
Description = My LUN group
Health state = OK (5)
Health details = "The component is operating normally. No action is
required."
Total capacity = 107374182400 (100G)
Thin provisioning enabled = no
Total current allocation = 107374182400 (100G)
Total protection size used = 0
Snapshot count = 0
Total current allocation = 10737418240 (10G)
Protection schedule = SCHD_1
Protection schedule paused = no
LUNs access hosts = 1014, 1015
Snapshots access hosts = 1016(mixed)
Creation time = 2012-12-21 12:55:32
Last modified time = 2013-01-15 10:31:56
FAST VP policy = mixed
FAST VP distribution = Best Performance: 55%, High Performance: 10%, High
Capacity: 35%
Format
/stor/prov/luns/group –id <value> set [-async] [-name <value>] [-descr <value>] [{-sched
<value> | -noSched}] [-schedPaused {yes | no}] [-lunHosts <value>] [ -snapHosts <value>] [-
replDest {yes | no}] [-fastvpPolicy { startHighThenAuto | auto | highest | lowest | none}]
Object qualifier
Qualifier Description
-id Type the ID of iSCSI storage resource to change.
Action qualifier
Qualifier Description
-async Run the operation in asynchronous mode.
-name Type the name of the LUN.
-descr Type a brief description of the LUN.
-sched Type the ID of the schedule to apply to the LUN. View protection schedules on page 51 explains how to
view the IDs of the schedules on the system.
-schedPaused Pause the schedule specified for the -sched qualifier. Value is yes or no (default).
-fastvpPolicy Specify the FAST VP policy of the LUN storage. Value is one of the following:
● startHighThenAuto
● auto
● highest
● lowest
Example
The following command updates the LUN group group_1 with these settings:
● Name is NewName.
● Description is “New description.”
● Uses protection schedule SCHD_2.
● The selected schedule is currently paused.
● The FAST VP policy is start high then auto-tier.
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/prov/luns/group -id group_1
set -name NewName -descr "New description" -sched SCHD_2 -schedPaused yes -fastvpPolicy
startHighThenAuto
ID = group_1
Operation completed successfully.
Format
/stor/prov/luns/group –id <value> delete -id <value> delete [-async]
Object qualifier
Qualifier Description
-id Type the ID of the LUN to delete.
Example
The following command deletes LUN group storage resource group_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/prov/luns/group -id group_1 delete
<tier_name>:<value>%
Format
/stor/prov/vmware/nfs create [-async] –name <value> [-replDest {yes|no}] [-descr <value>]
-server <value> -pool <value> -size <value> [-thin {yes|no}][-sched <value> [-schedPaused
{yes|no}]] [-defAccess {ro|rw|root|na}] [-fastvpPolicy {startHighThenAuto|auto|highest|
lowest}][–roHosts <value>] [-rootHosts <value>] [-naHosts <value>] [-format {UFS32|UFS64}]
Action qualifier
Qualifier Description
-async Run the operation in asynchronous mode.
-name Type a name for the NFS datastore.
-descr Type a brief description of the NFS datastore.
-server Type the ID of the NAS server that will be the primary NAS server for the NFS datastore. View NAS
servers on page 65 explains how to view the IDs of the NAS servers on the system.
-pool Type the name of the storage pool that the NFS datastore will use.
NOTE: Value is case-insensitive.
View storage pools on page 174 explains how to view the names of the storage pools on the system.
-size Type the quantity of storage to reserve for the NFS datastore. Storage resource size limitations on page
312 explains the limitations on storage size.
-thin Enable thin provisioning on the NFS datastore. Value is yes or no. Default is no.
-sched Type the ID of a protection schedule to apply to the storage resource. View protection schedules on page
51 explains how to view the IDs of the schedules on the system.
-schedPaused Specify whether to pause the protection schedule specified for -sched. Value is yes or no.
-fastvpPolicy Specify the FAST VP policy of the datastore. Value is one of the following:
● startHighThenAuto
● auto
● highest
● lowest
-defAccess Specify the default share access settings for host configurations and for unconfigured hosts that can
reach the NFS datastore. Value is one of the following:
● ro — Read-only access to primary storage and snapshots associated with the NFS datastore.
Example
The following command creates an NFS datastore with these settings:
● Named Accounting.
● Description is “Accounting VMs.”
● Uses NAS server nas_1 as the primary NAS server.
● Uses the capacity storage pool.
● Primary storage size is 100 GB.
● No protection schedule.
The file system receives the ID NFSDS_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/prov/vmware/nfs create –name
Accounting –descr “Accounting VMs” –server nas_1 –pool capacity –size 100G
ID = NFSDS_1
Operation completed successfully.
NOTE: The show action command on page 17 explains how to change the output format.
Object qualifier
Qualifier Description
-id Identifies the VMware NFS file system.
-shrinkToSize Specify the targeted shrink size to view an estimate of the minimum size and reclaimable size.
NOTE: Minimum size and reclaimable size are populated only when this qualifier is specified.
Example 1
The following command lists details about all NFS datastores on the system:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/prov/vmware/nfs show
1: ID = NFSDS_1
Name = MyVMware
Description = My VMware
Health state = OK (5)
Server = nas_1
Storage pool ID = pool_1
Storage pool = capacity
Size = 536870912000 (500GB)
Size used = 128849018880 (120GB)
Protection size used = 0
Local path = /MyVMware
Export path = 10.64.75.10/MyVMware
Minimum size =
Reclaimable size =
Example 2
The following command lists details about the vmware_1 NFS datastores with an shrink estimate:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/prov/vmware/nfs -id vmware_1
-shrinkToSize 200G show
1: ID = vmware_1
Name = MyVMware
Description = My VMware
Health state = OK (5)
File system = fs_1
Server = SFServer00
Storage pool ID = pool_1
Storage pool = capacity
Format = UFS64
Size = 536870912000 (500G)
Size used = 128849018880 (120G)
Protection size used = 0
Local path = /
NOTE: Size qualifiers on page 15 explains how to use the size qualifiers when specifying a storage size.
Format
/stor/prov/vmware/nfs –id <value> set [-async] –descr <value> -size <value> [-thin {yes|
no}][{-sched <value> | noSched}[-schedPaused {yes|no}]][-fastvpPolicy {startHighThenAuto|
auto|highest|lowest}][–roHosts <value>] [-rootHosts <value>] [-naHosts <value>][-replDest
{yes | no}]
Object qualifier
Qualifier Description
-id Type the ID of the NFS datastore to change.
Action qualifier
Qualifier Description
-async Run the operation in asynchronous mode.
-descr Type a brief description of the NFS datastore.
-size Type the amount of storage in the pool to reserve for the NFS datastore. Storage resource size limitations
on page 312 explains the limitations on storage size.
-thin Enable thin provisioning on the NFS datastore. Value is yes or no. Default is no.
-sched Type the ID of the schedule to apply to the datastore View protection schedules on page 51 explains how
to view the IDs of the schedules on the system.
-noSched Unassigns the protection schedule.
-fastvpPolicy Specify the FAST VP policy of the datastore. Value is one of the following:
● startHighThenAuto
● auto
● highest
● lowest
-schedPaused Pause the schedule specified for the -sched qualifier. Value is yes or no (default).
-defAccess Specify the default share access settings for host configurations and for unconfigured hosts who can
reach the datastore. Value is one of the following:
● ro — Read-only access to primary storage and snapshots associated with the datastore
● rw — Read/write access to primary storage and snapshots associated with the datastore.
● root — Read/write root access to primary storage and snapshots associated with the datastore. This
includes the ability to set access controls that restrict the permissions for other login accounts.
● na — No access to the datastore or its snapshots.
NOTE: Values are case-insensitive.
Example
The following command changes NFS datastore NFSDS_1 to provide read-only access permissions to host configurations
HOST_1 and HOST_2 and blocks access for HOST_3:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/prov/vmware/nfs –id NFSDS_1 set –
roHosts “HOST_1,HOST_2” -naHosts “HOST_3”
ID = NFSDS_1
Operation completed successfully.
Format
/stor/prov/vmware/nfs -id <value> delete [-async]
Object qualifier
Qualifier Description
-id Type the ID of the NFS datastore to delete.
Action qualifier
Qualifier Description
-async Run the operation in asynchronous mode.
<tier_name>:<value>%
Prerequisites
● Configure at least one storage pool for the VMFS datastore to use and allocate at least one storage disk to the pool.
Configure storage pools automatically (physical deployments only) on page 167 explains how to create pools on the system
automatically and Configure custom storage pools on page 169 explains how to create custom pools.
● Configure at least one iSCSI node to which to associate the VMFS datastore. View iSCSI nodes on page 84 explains how to
create iSCSI nodes on the system.
Action qualifier
Qualifier Description
-async Run the operation in asynchronous mode.
-name Type a name for the VMFS datastore.
NOTE: Use a name that reflects the type and version of the application that will use it, which can
facilitate how the VMFS datastore is managed and monitored through Unisphere.
View storage pools on page 174 explains how to view the names of the storage pools on the system.
-size Type the quantity of storage to reserve for the VMFS datastore. Storage resource size limitations on page
312 explains the limitations on storage size.
-thin Enable thin provisioning on the VMFS datastore. Value is yes or no. Default is no.
-sched Type the ID of a protection schedule to apply to the storage resource. View protection schedules on page
51 explains how to view the IDs of the schedules on the system.
-schedPaused Specify whether to pause the protection schedule specified for -sched. Value is yes or no.
-vdiskHosts Type the ID of each host configuration to give access to the VMFS datastore. Separate each ID with
a comma. By default, all iSCSI initiators on the host can access the VMFS datastore. To allow access
for specific initiators, type the IQN of each initiator in square brackets after the host ID. For example:
ID[IQN,IQN], where 'ID' is a host configuration ID and 'IQN' is an initiator IQN. View host configurations on
page 129 explains how to view the ID of each host configuration.
-snapHosts Type the ID of each host configuration to give access to snapshots of the VMFS datastore. Separate each
ID with a comma. By default, all iSCSI initiators on the host can access all VMFS datastore snapshots.
To allow access for specific initiators, type the IQN of each initiator in square brackets after the host ID.
For example: ID[IQN,IQN], where 'ID' is a host configuration ID and 'IQN' is an initiator IQN. View host
configurations on page 129 explains how to view the ID of each host configuration.
-replDest Specifies whether the resource is a replication destination. Valid values are:
● Yes
● No (default)
NOTE: Values are case insensitive.
-fastvpPolicy Specify the FAST VP policy of the datastore. Value is one of the following:
● startHighThenAuto
● auto
● highest
● lowest
-version Type the VMFS version of the datastore. Value is one of the following:
● 3 (default)
● 5
-blockSize Type the block size in megabytes of the datastore. Value is one of the following:
● 1
Example
The following command creates a VMFS datastore with these settings:
● Name is Accounting3.
● Description is “Accounting Group 3.”
● Uses the capacity storage pool.
● Provides host access permissions to the VMFS datastore (presented as a LUN) to two of the IQNs for host configuration
1014 and for host configuration 1015.
● No protection schedule.
The VMFS datastore receives the ID VMFS_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/prov/vmware/vmfs create –name
“Accounting3” –descr “Accounting Group 3” –pool capacity -size 100G –thin yes –vdiskHosts
“1014,1015”
ID = VMFS_1
Operation completed successfully.
NOTE: The show action command on page 17 explains how to change the output format.
Format
/stor/prov/vmware/vmfs [-id <value>] show
Object qualifier
Qualifier Description
-id Type the ID of a VMFS datastore.
Example
The following command displays details about the VMFS datastore on the system:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/prov/vmware/vmfs show
1: ID = VMFS_1
LUN = sv_1
Name = MyVMware
Description = My description
Format
/stor/prov/vmware/vmfs –id <value> set [-async] [-name <value>] [-descr <value>] [-size
<value>] [{-sched <value> | -noSched}] [-schedPaused {yes | no}] [-vdiskHosts <value>]
[-snapHosts <value>] [-spOwner {spa | spb}] [-fastvpPolicy { startHighThenAuto | auto |
highest | lowest | none}] [-replDest {yes | no}]
Object qualifier
Qualifier Description
-id Type the ID of the VMFS datastore to change.
Action qualifier
Qualifier Description
-async Run the operation in asynchronous mode.
-name Type a name for the VMFS datastore.
NOTE: Use a name that reflects the type and version of the application that will use it, which can
facilitate how the VMFS datastore is managed and monitored through Unisphere.
-fastvpPolicy Specify the FAST VP policy of the datastore. Value is one of the following:
● startHighThenAuto
● auto
● highest
● lowest
Example
The following command updates VMFS datastore VMFS_1 with these settings:
● Name is Accounting4.
● Description is “Accounting Group 4.”
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/prov/vmware/vmfs –id VMFS_1 set –
name Accounting4 –descr “Accounting Group 4”
ID = VMFS_1
Operation completed successfully.
Format
/stor/prov/vmware/vmfs –id <value> delete [-deleteSnapshots {yes | no}] [-async]
Object qualifier
Qualifier Description
-id Type the ID of the VMFS datastore to delete.
Action qualifier
Qualifier Description
-async Run the operation in asynchronous mode.
-deleteSnapshots Specify whether the datastore can be deleted along with snapshots. Value is Yes or No (default).
NOTE: The show action command on page 17 explains how to change the output format.
Format
/eff/dedup [-id <value>] show
Object qualifier
Qualifier Description
-id Type the ID of a storage resource on which deduplication is enabled.
Example
The following command displays the deduplication settings:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /eff/dedup show
Format
/eff/dedup -id <value> set [-async] [-enabled {yes|no}] [-state {running|paused}] [-
fileExcList <value>] [-pathExcList <value>]
Action qualifier
Qualifier Description
-async Run the operation in asynchronous mode.
-enabled Enable deduplication. Valid values are:
● Yes
● No
NOTE: When you disable deduplication, all files on the storage resource will be re-deduplicated, which
returns the storage usage to its original size before the files were deduplicated. Ensure the storage pool
can accommodate the added storage use before disabling deduplication.
-state Specify to pause or run deduplication scanning, which scans the target storage resource once a week. Value
is one of the following:
● running — System will scan the storage resource. This is the default value when -enabled is yes.
● paused — System will not scan the storage resource.
NOTE: To change this qualifier, deduplication must be enabled.
-fileExcList Type a list of file extensions for files that will not be deduplicated. Use a semicolon to separate each file
extension.
NOTE: To change this qualifier, deduplication must be enabled and -state must be paused.
-pathExcList List of paths on the file system that contain files that will not be deduplicated. Use a colon to separate the
paths.
NOTE: To change this qualifier, deduplication must be enabled and -state must be paused.
Example
The following command pauses deduplication scanning for file system fs_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /eff/dedup –id fs_1 set –state paused
ID = nas_1
Operation completed successfully.
Force a rescan
Rescan a target storage resource to deduplicate it immediately. By default, the system performs a scan once every week.
Format
/eff/dedup -id <value> rescan -async
Action qualifier
Qualifier Description
-async Run the operation in asynchronous mode.
Example
The following command forces deduplication scanning of file system fs_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /eff/dedup –id fs_1 rescan
Manage snapshots
A snapshot is a virtual point-in-time image of the data within a storage resource that has changed since the last snapshot.
Snapshots provide a record of the content in the targeted storage resource at a particular date and time, but are not mirror
copies of the data. Periodically creating snapshots of file systems and LUNs provides an effective technique for meeting data
protection and recovery requirements. Based on the importance and volatility of data within a storage resource, you can define
recurring schedules that specify times and intervals for snapshot operations.
Use snapshots to perform the following:
● Restore a storage resource to a previous point-in-time.
● Access the contents of a snapshot to recover corrupted or accidentally deleted files and data.
To routinely take snapshots automatically, associate a snapshot with a schedule. Manage snapshot protection schedules on page
51 explains how to configure schedules on the system. Each snapshot is identified by an ID.
NOTE: Snapshots do not provide a substitute for storage backup operations. Snapshots are not intended to provide
resources for recovering from disasters or the loss of physical equipment.
NOTE: To ensure a host has the correct permissions to access snapshots, check the host access permissions for the
appropriate storage resource. View file systems on page 199 explains how to view host access permissions for file systems.
View LUN groups on page 221 explains how to view the host access permissions for iSCSI storage resources.
The following table lists the attributes for snapshots:
Create snapshots
Create a snapshot of a storage resource.
Prerequisites
Snapshots are stored in the protection capacity of the storage resource. Ensure that enough protection capacity exists to
accommodate snapshots. View file systems on page 199 explains how to view the current protection storage size for file
systems. View LUNs on page 216 explains how to view the current protection size for iSCSI storage resources.
Format
/prot/snap create [-async] [-name <value>] [-descr <value>] [{-keepFor <value>|
-allowAutoDelete {yes|no}}] [-access {ckpt | share} ]
Action qualifiers
Qualifier Description
-async Run the operation in asynchronous mode.
-name Type a name for the snapshot.
-descr Type a description for the snapshot.
-source Type the ID of the storage resource of which to take a snapshot. View file systems on page 199
explains how to view the settings for file systems. View LUN groups on page 221 explains how to view
the settings for iSCSI storage resources
-keepFor Type the number of days or hours to retain a snapshot before it expires. The system deletes expired
snapshots automatically. Use the following format:
<value><qualifier>
where:
● value — Type the number of hours or days:
○ For hours, the range is 1–744.
○ For days, the range is 1–31.
● qualifier — Type the value qualifier. Value is one of the following:
○ h — Indicates hours.
○ d — Indicates days.
Default value is 7d (7 days).
NOTE: For scheduled snapshots, which are associated with a schedule, include the -keepFor
qualifier in the schedule rules to specify the retention period. Manage task rules on page 52
provides details about schedule rules.
-allowAutoDelete Specify whether the system can automatically delete the snapshot or snapshot set. Use the following
format:
<value>
<value>
ID = SNAP_1
Operation completed successfully.
View snapshots
View details about snapshots on the system. You can filter on the snapshot ID, snapshot name, or storage resource ID.
NOTE: The show action command on page 17 explains how to change the output format.
Format
/prot/snap [{-id <value> | -name <value> | -source <value>}] show
Object qualifier
Qualifier Description
-id Type the ID of a snapshot.
-name Type the name of the snapshot.
-source Type the ID of a storage resource to view only the snapshots related to it.
Example
The following command displays details about all snapshots on the system:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /prot/snap show
1: ID = SNAP_1
Name = Snapshot1
State = OK
Attached = no
Resource = app_1
Resource type = LUN group
Source = app_1
Source type = LUN group
Members = sv_1,sv_2
Attach details = 60:06:01:60:D2:04:00:00:78:4F:09:51:22:EB:34:E3,
60:06:01:60:D2:04:00:00:78:4F:09:51:22:EB:34:E4
Format
/prot/snap { -id <value> | -name <value> } attach [ -async ] [ -copyName <value> ]
Object qualifier
Qualifier Description
-id Type the ID of the snapshot to promote.
-name Type the name of the snapshot to attach.
Action qualifiers
Qualifier Description
-async Run the operation in asynchronous mode.
-copyName Type the name of the copy the system creates before attaching the selected snapshot. If this switch is
specified and no name is provided, the system assigns a name to the copy.
NOTE: If this switch is not specified, no copy is created.
Example
The following command promotes snapshot SNAP_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /prot/snap –id SNAP_1 attach
ID = SNAP_1
Operation completed successfully.
Detach snapshots
For snapshots of storage resources, detach an attached snapshot to block host access to the snapshot.
Format
/prot/snap {-id <value> | -name <value> } detach [-async]
Object qualifier
Qualifier Description
-id Type the ID of the snapshot to detach.
-name Type the name of the snapshot to detach.
Action qualifiers
Qualifier Description
-async Run the operation in asynchronous mode.
Example
The following command detaches snapshot SNAP_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /prot/snap –id SNAP_1 detach
NOTE: For LUNs, any snapshots that were created after the snapshot to which you restore are destroyed and cannot be
recovered. For file systems, all snapshots remain on the system.
Prerequisites
● To prevent data loss, ensure that all hosts have completed all read and write operations to the storage resource you want to
restore.
● For LUN storage:
○ If the snapshot is promoted you must first demote it or an error will appear when you attempt to restore to it.
○ If a host is connected to the LUN (seen by the host as a disk) you want to restore, the restore will not complete.
Perform one of the following to the LUN to disconnect it from the host:
■ On Windows, disable the LUN in the Device Manager, which might require a host reboot.
■ On Linux/UNIX, run the unmount command on the virtual.
Once the LUN is disconnected, you can continue with the restore and then enable and mount the restored LUN on the
host.
Object qualifier
Qualifier Description
-id Type the ID of the snapshot to which you want to restore the associated storage resource.
-name Type the name of the snapshot to which you want to restore the associated storage resources.
Action qualifiers
Qualifier Description
-async Run the operation in asynchronous mode.
-backupName Specifies the name of the snapshot the system creates automatically as the initial step of the restoration
process. The system assigns a name to this snapshot if the user does not provide one.
Example
The following command restores snapshot SNAP_1, which is a snapshot of iSCSI storage:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /prot/snap –id SNAP_1 restore
Delete snapshots
Delete (destroy) a snapshot of a storage resource.
NOTE: Once you delete a snapshot, you can no longer recover data from it or restore a storage resource to it.
Format
/prot/snap { -id <value> | -name <value> } delete [-async]
Object qualifier
Qualifier Description
-id Type the ID of the snapshot to promote.
-name Type the name of the snapshot.
Action qualifiers
Qualifier Description
-async Run the operation in asynchronous mode.
Copy snapshots
Copy a snapshot.
Format
/prot/snap { -id <value> | -name <value> } copy [-async] [-copyName <value>]
Object qualifier
Qualifier Description
-id Type the ID of the snapshot to which you want to restore the associated storage resource.
-name Type the name of the snapshot to which you want to restore the associated storage resources.
Action qualifiers
Qualifier Description
-async Run the operation in asynchronous mode.
-copyName Type the name of the copy the system creates before attaching the selected snapshot. If this switch is
specified and no name is provided, the system assigns a name to the copy.
NOTE: If this switch is not specified, no copy is created.
Example
The following command creates a copy of SNAP_1 named SNAP_Copy:
● Name is accounting.
The snapshot receives ID SNAP_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /prot/snap -id SNAP_1 copy –copyName
SNAP_Copy
ID = SNAP_1
Operation completed successfully.
Format
/prot/snap { -id <value> | -name <value> } set [-async] [-newName <value>] [-descr <value>]
[{-keepFor <value> | -allowAutoDelete {yes|no}}]
Object qualifier
Qualifier Description
-id Type the ID of the snapshot to which you want to restore the associated storage resource.
-name Type the name of the snapshot to which you want to restore the associated storage resources.
Action qualifiers
Qualifier Description
-async Run the operation in asynchronous mode.
-newName Type a new name for the snapshot.
-descr Type a description for the snapshot.
-keepFor Type the number of days or hours to retain a snapshot before it expires. The system deletes expired
snapshots automatically. Use the following format:
<value><qualifier>
where:
● value — Type the number of hours or days:
○ For hours, the range is 1–744.
○ For days, the range is 1–31.
● qualifier — Type the value qualifier. Value is one of the following:
○ h — Indicates hours.
○ d — Indicates days.
Default value is 7d (7 days).
NOTE: For scheduled snapshots, which are associated with a schedule, include the -keepFor
qualifier in the schedule rules to specify the retention period. Manage task rules on page 52
provides details about schedule rules.
-allowAutoDelete Specify whether the system can automatically delete the snapshot or snapshot set. Use the following
format:
<value>
Example
The following command changes the name of snapshot SNAP_1 to MySnap:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /prot/snap -id SNAP_1 set -newName MySnap
ID = SNAP_1
Operation completed successfully.
NOTE: Read-only hosts, Read/write hosts, Root hosts, and No access hosts attributes are displayed as a
comma-separated list of pairs of host identifiers and tokens enclosed with square brackets. The token format depends on
the host type:
● host — Comma-separated list of IP addresses.
● subnet — Pair of IP address and netmask delimited by slash.
● netgroup — Netgroup network address.
Action qualifier
Qualifier Description
-async Run the operation in asynchronous mode.
-name Type the username of the share.
-descr Type the description of the share.
-snap Type the snapshot to associate the share with.
-path Type the path at which to mount the file system. Default value is /.
-defAccess Specifies the new user description of the share. Value is one of the following:
● ro — Read-only access
● rw — Read/Write access
● root — Root access
● na — No access
NOTE: Values are case insensitive.
-roHosts Specifies the comma-separated list of identifiers of hosts allowed to read. Optionally, it's allowed to select
the IP addresses of the host of type host. They shall be defined as a comma-separated list of IP addresses
enclosed with square brackets and following the host identifier.
-rwHosts Specifies the comma-separated list of identifiers of hosts allowed to read and write. Optionally, it's allowed
to select the IP addresses of the host of type host. They shall be defined as a comma-separated list of IP
addresses enclosed with square brackets and following the host identifier.
-rootHosts Specifies the comma-separated list of identifiers of hosts with root permissions. Optionally, it's allowed to
select the IP addresses of the host of type host. They shall be defined as a comma-separated list of IP
addresses enclosed with square brackets and following the host identifier.
-naHosts Specifies the comma-separated list of identifiers of hosts without access. Optionally, it's allowed to select
the IP addresses of the host of type host. They shall be defined as a comma-separated list of IP addresses
enclosed with square brackets and following the host identifier.
Example
The following command takes a snapshot of a file system with these settings:
● Name is NFSshare.
● Description is “My share.”
● Snapshot ID is SNAP_1.
● Path is /.
● Read-only hosts are Host_1 and Host_2.
● Read/write host is Host_3.
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /prot/snap/nfs create –name NFSshare
-descr “My share” –snap SNAP_1 -path / -roHosts “Host_1, Host_2” -rwHosts “Host_3”
ID = nfs_1
Operation completed successfully.
Format
/prot/snap/nfs [{-id <value> | -snap <value>}] show
Object qualifier
Qualifier Description
-id Identifies the NFS share.
-snap Identifies the parent snapshot. The list of shares associated with the identified snapshot will be displayed.
Example
uemcli /prot/snap/nfs show -detail
1: ID = nfs_2
Name = Share_2012-08-24 16:05_00
Description =
Snapshot = app_1_sg_1
Local path = /group.app_1_sg_1.fs.fs_1_wckp
Export path = 10.64.76.120:/Share_2012-08-24 16:05_00
Default access = na
No access hosts =
Read-only hosts = 1014[10.192.168.5,10.192.168.6], 1015[10.192.168.9]
Read/write hosts = 1016[10.244.245.0/255.255.255.0]
Root hosts =
Creation time = 2012-08-24 12:18:22
Last modified time = 2012-08-24 12:18:22
Format
/prot/snap/nfs -id <value> set [-async] [-descr <value>] [-defAccess { ro | rw | root |
na }] [ -roHosts <value>] [-rwHosts <value>] [-rootHosts <value>] [-naHosts <value>]
Object qualifier
Qualifier Description
-id Identifies the snapshot NFS share.
-roHosts Specifies the comma-separated list of identifiers of hosts allowed to read. Optionally, it's allowed to select
the IP addresses of the host of type host. They shall be defined as a comma-separated list of IP addresses
enclosed with square brackets and following the host identifier.
-rwHosts Specifies the comma-separated list of identifiers of hosts allowed to read and write. Optionally, it's allowed
to select the IP addresses of the host of type host. They shall be defined as a comma-separated list of IP
addresses enclosed with square brackets and following the host identifier.
-rootHosts Specifies the comma-separated list of identifiers of hosts with root permissions. Optionally, it's allowed to
select the IP addresses of the host of type host. They shall be defined as a comma-separated list of IP
addresses enclosed with square brackets and following the host identifier.
-naHosts Specifies the comma-separated list of identifiers of hosts without access. Optionally, it's allowed to select
the IP addresses of the host of type host. They shall be defined as a comma-separated list of IP addresses
enclosed with square brackets and following the host identifier.
Example
uemcli /stor/prov/sf/nfs -id NFS_1 set -descr "My share"
ID = NFS_1
Operation completed successfully.
NOTE: Once you delete a snapshot, you can no longer recover data from it or restore a storage resource to it.
Format
/prot/snap/nfs –id <value> delete [-async]
Object qualifier
Qualifier Description
-id Type the ID of the snapshot to delete.
Example
The following command deletes snapshot nfs_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /prot/snap/nfs –id nfs_1 delete
Format
/prot/snap/cifs create [-async] -name <value> [-descr <value>] -snap <value> -path <value>
[-enableContinuousAvailability {yes | no} ] [-enableCIFSEncryption {yes | no } ] [-umask
<value> ] [-enableABE {yes | no} ] [-enableBranchCache {yes | no} ] [-offlineAvailability
{none | documents | programs | manual} ]
Action qualifier
Qualifier Description
-async Run the operation in asynchronous mode.
-name Type the username of the share.
-descr Type the description of the share.
-snap Type the snapshot to associate the share with.
-path Type the path at which to mount the file system. Default value is /.
-enableContinuousAvailability Specify whether continuous availability is enabled.
-enableCIFSEncryption Specify whether CIFS encryption is enabled.
-umask Type the default Unix umask for new files created on the share.
-enableABE Specify if Access-based Enumeration is enabled. Valid values include:
● yes
● no
-enableBranchCache Specify if BranchCache is enabled. Valid values include:
● yes
● no
Example
The following command takes a snapshot of a file system with these settings:
● Name is CIFSshare.
● Description is “My share.”
● Path is /.
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /prot/snap/cifs create –name CIFSshare
-descr “My share” -path /
ID = cifs_1
Operation completed successfully.
Format
/prot/snap/cifs [{-id <value> | -snap <value>}] show
Object qualifier
Qualifier Description
-id Identifies the CIFS share.
-snap Identifies the parent snapshot. The list of shares associated with the identified snapshot will be displayed.
Example
uemcli /prot/snap/cifs show
1: ID = cifs_2
Name = Share_2012-08-24 16:05_00
Description =
Snapshot = app_1_sg_1
Local path = /group.app_1_sg_1.fs.fs_1_wckp
Export path = 10.64.76.120:/Share_2012-08-24 16:05_00
Default access = na
Format
/prot/snap/cifs -id <value> set [-async] [-descr <value>] [-enableContinuousAvailability
{yes | no} ] [-enableCIFSEncryption {yes | no} ] [-umask <value> ] [-enableABE {yes |
no} ] [-enableBranchCache {yes | no}] [-offlineAvailability {none | documents | programs
| manual} ]
Object qualifier
Qualifier Description
-id Identifies the snapshot NFS share.
Action qualifier
Qualifier Description
-async Run the operation in asynchronous mode.
-desc Specifies the new user description of the share.
-enableContinuousAvailability Specify whether continuous availability is enabled.
-enableCIFSEncryption Specify whether CIFS encryption is enabled.
-umask Type the default Unix umask for new files created on the share.
-enableABE Specify if Access-Based Enumeration (ABE) is enabled. Valid values include:
● yes
● no
-enableBranchCache Specify if BranchCache is enabled. Valid values include:
● yes
● no
-offlineAvailability Specify the type of offline availability. Valid values include:
● none (default) — Prevents clients from storing documents and programs in
offline cache.
● documents — Allows all files that clients open to be available offline.
● programs — Allows all programs and files that clients open to be available
offline. Programs and files will open from offline cache, even when connected to
the network.
● manual — Allows only specified files to be available offline.
ID = CIFS_1
Operation completed successfully.
NOTE: Once you delete a snapshot, you can no longer recover data from it or restore a storage resource to it.
Format
/prot/snap/cifs –id <value> delete [-async]
Object qualifier
Qualifier Description
-id Type the ID of the snapshot to promote.
Action qualifier
Qualifier Description
-async Run the operation in asynchronous mode.
Example
The following command deletes snapshot cif_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /prot/snap/cifs –id cifs_1 delete
Format
/remote/sys create -addr <value> -type { VNXe -srcUsername <value> { -srcPassword <value>
| -srcPasswordSecure } -dstUsername <value> { -dstPassword <value> | -dstPasswordSecure } |
[-sync { enable | disable }] | -name <value> { -passPhrase <value> | -passPhraseSecure } }
[ -srcIf <value> ] [ -connectionType <value>]
Action qualifiers
Qualifier Description
-addr Type the network name or IP address of the remote system.
-type Specifies the remote system type. Value is VNXe.
-srcUsername For systems that are the source in a replication session, type the username that is used to access
the system.
-srcPassword For systems that are the source in a replication session, type the user password that is used to
access the system.
-srcPasswordSecure Specify the password in secure mode. Once you run the command with this qualifier, you will be
asked to type the password separately.
-dstUsername For systems that are the destination in a replication session, type the username that is used to
access the system.
-dstPassword For systems that are the destination in a replication session, type the user password that is used to
access the system.
-dstPasswordSecure Specify the password in secure mode. Once you run the command with this qualifier, you will be
asked to type the password separately.
-name Specify the remote system name. This qualifier applies to VNX or Celerra systems only.
-passPhrase Type the passphrase that is used between the source and destination systems in the replication
connection. This qualifier applies to VNX or Celerra systems only.
-passPhraseSecure Specify the password in secure mode. Once you run the command with this qualifier, you will be
asked to type the password separately.
-sync Specify this qualifier to configure a synchronous connection between the source and destination
systems.
-connectionType Specify this qualifier to indicate the type of replication connection. Valid values are async, sync, or
both.
ID = RS_1
Operation completed successfully.
Format
/remote/sys –id <value> verify
Object qualifier
Qualifier Description
-id Type the ID of a remote system configuration to verify the settings.
Example
The following command verifies remote system configuration RS_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /remote/sys –id RS_1 verify
NOTE: The show action command on page 17 explains how to change the output format.
Format
/remote/sys [-id <value>] show
Example
The following command lists all configurations for remote storage systems:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /remote/sys show
1: ID = RS_1
Name = MyTargetSystem
Address = 10.64.74.1
Type = VNXe
Model = VNXe3200
Serial number = FCNCH01234567A90
Format
/remote/sys -id <value> set [ -name <value> ] [ -addr <value> ] [ -dstUsername
<value> { -dstPassword <value> | -dstPasswordSecure } ] [ { -passPhrase <value> |
-passPhraseSecure } ] [ -srcIf <value> ]
Object qualifier
Qualifier Description
-id Type the ID of the remote system configuration to change.
Action qualifier
Qualifier Description
-name For Celerra systems, type the name of the system.
-addr Type the network name or management IP address of the remote system.
-dstUsername For VNXe systems that are the destination in a replication session, type the username that is used
to access the system.
-dstPassword For VNXe systems that are the destination in a replication session, type the user password that is
used to access the system.
-dstPasswordSecure Specify the password in secure mode - the user will be prompted to input the password.
-passPhrase Type the passphrase that is used between the source and destination systems in the replication
connection.
-passPhraseSecure Specify the password in secure mode - the user will be prompted to input the password.
Example
The following command changes the name, IP address, and access credentials for remote system configuration RS_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /remote/sys –id RS_1 set –name “Remote2”
–addr “10.64.74.2” -dstUsername Local/joe -dstPassword Password456!
ID = RS_1
Format
/remote/sys –id <value> delete
Object qualifier
Qualifier Description
-id Type the ID of the remote system configuration to delete.
Example
The following command deletes remote system configuration RS_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /remote/sys –id RS_1 delete
Prerequisites
Before creating a replication session, complete the following configuration tasks:
● Create the storage resource that provides the replication source.
● For local replication, create a replication destination on a local system.
● For remote replication, create a replication connection to a remote system, and create a replication destination on that
remote system.
Format
/prot/rep/session create -srcRes <value> [-srcSPAInterface <value>] [-srcSPBInterface
<value>] –dstType {local|remote –dstSys <value>} -dstRes <value> [-dstSPAInterface <value>]
[-dstSPBInterface <value>] [-name <value>] [-syncType {manual [–autoInitiate {yes|no}]|
[auto –rpo <value>]]
Action qualifiers
Qualifier Description
-srcRes Type the ID of the storage resource to use as the source.
-srcSPAInterface Type the ID of the interface on the SPA of the source system for the replication.
NOTE: This qualifier is used for replications on remote systems only. If the qualifier is not
specified, the system identifies the interface automatically.
-srcSPBInterface Type the ID of the interface on the SPB of the source system for the replication.
NOTE: This qualifier is used for replications on remote systems only. If the qualifier is not
specified, the system identifies the interface automatically.
-dstType Specify the type of destination. Value is one of the following: local - Maintain a full copy of the storage
resource on the local system. This has advantages over snapshots in that a full copy, not just a copy
of changes, is retained. remote - Maintain a full copy of the storage resource on a remote system
by transferring the data over the network. Remote replication is often used to ensure that a copy is
available at a remote site in case of catastrophic data loss, for example, due to natural disaster at the
local site.
-dstSys For remote replication, type the ID of the destination system. View settings for remote storage
systems on page 263 explains how to view the IDs of the remote system configuration on the local
system.
-dstRes Type the ID of the destination storage resource.
NOTE: To get the proper ID in the case of remote replication, you should use a command that list
resources on a local machine with the -remSys qualifier. For example:
● uemcli /stor/prov/sf/res -remSys <value> show
● uemcli /stor/prov/iscsi/res -remSys <value> show
● uemcli /stor/prov/vmware/nfs -remSys <value> show
-dstSPAInterface Type the ID of the interface on the SPA of the destination system for the replication.
NOTE: This qualifier is used for replications on remote systems only. If the qualifier is not
specified, the system identifies the interface automatically.
-dstSPBInterface Type the ID of the interface on the SPB of the destination system for the replication.
NOTE: This qualifier is used for replications on remote systems only. If the qualifier is not
specified, the system identifies the interface automatically.
-syncType Specify how the source and destination will synchronize. Valid values are:
● auto — Data is replicated automatically in order to maintain the desired Recovery Point Objective
(RPO).
● manual — Data will only be replicated when manually initiated.
NOTE: As the RPO increases, the potential for data loss also increases, as well as the amount of
required protection space. Lowering the RPO will reduce the amount of potential data loss, but
will also increase network traffic and may negatively impact performance. The default RPO is one
hour.
-autoInitiate Specify whether the system will perform the first replication synchronization automatically. Value is
yes or no.
-rpo Type the time interval for when the synchronization will run. Use the following format:
<HH>[:MM]
Where:
● HH — Type the number of hours. Range is 00-24 hours (1 day).
● MM — Type the number of minutes, in 5 minute increments. Range is 05 to 55.
Example
The following command creates a replication session with these settings:
● Source storage resource is file system RS_1.
● Destination system type is remote.
● Remote destination system is RS_2.
● Remote storage resource is file system LUN_2.
● Synchronization type is automatic.
● RPO is 2 hours and 30 minutes.
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /prot/rep/session create -name REP1
-srcRes RS_1 –dstType remote -dstSys RS_2 –dstRes LUN_2 –syncType auto –rpo 02h30m
ID = 81604378625_FCNCH097274B3A_0000_81604378627_FCNCH097274B37_0000
Operation completed successfully.
NOTE: The show action command explains how to change the output format.
Format
/prot/rep/session [{-id <value>| -name <value>| -res <value>}] show
Object qualifier
Qualifier Description
-id Type the ID of the replication session.
-name Type the name of the replication session.
-res Type the ID of a local storage resource on the system to view the sessions associated with it.
Example
The following command displays all replication sessions on the system:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /prot/rep/session show
1: ID =
42949672967_FNM00134400082_0000_42949672967_FNM00131800278_0000
Name = REP1
Session type = lun
Synchronization type = manual
RPO = N/A
Sync State = syncing
Health state = OK (5)
Operational status = Active (0x840d)
Time of last sync = N/A
Sync status =
Element pairs = N/A
Format
/prot/rep/session {–id <value> | -name <value>} set [-paused {yes|no [ -forceFullCopy ]}]
[ -newName <value> ] [ -srcSPAInterface <value> ] [ -dstSPAInterface <value> ] [ -
srcSPBInterface <value> ] [ -dstSPBInterface <value> ] [ -syncType { manual | auto -rpo
<value>}]
Action qualifiers
Qualifier Description
-paused For automatic synchronization, specify to pause the session. Valid values are:
● yes
● no
-srcSPAInterface Type the ID of the interface on the SPA of the source system for the replication.
NOTE: This qualifier is used for replications on remote systems only. If the qualifier is not
specified, the system identifies the interface automatically.
-srcSPBInterface Type the ID of the interface on the SPB of the source system for the replication.
NOTE: This qualifier is used for replications on remote systems only. If the qualifier is not
specified, the system identifies the interface automatically.
-dstSPAInterface Type the ID of the interface on the SPA of the destination system for the replication.
NOTE: This qualifier is used for replications on remote systems only. If the qualifier is not
specified, the system identifies the interface automatically.
-dstSPBInterface Type the ID of the interface on the SPB of the destination system for the replication.
NOTE: This qualifier is used for replications on remote systems only. If the qualifier is not
specified, the system identifies the interface automatically.
-syncType Specify how the source and destination will synchronize. Valid values are:
● auto — Data is replicated automatically in order to maintain the desired Recovery Point Objective
(RPO).
● manual — Data will only be replicated when manually initiated.
NOTE: As the RPO increases, the potential for data loss also increases, as well as the amount of
required protection space. Lowering the RPO will reduce the amount of potential data loss, but
will also increase network traffic and may negatively impact performance. The default RPO is one
hour.
-rpo For automatic synchronization, type the time interval for when the synchronization will run. Use the
following format:
<HH>[:MM]
Where:
● HH — Type the number of hours. Range is 00-24 hours (1 day).
● MM — Type the number of minutes, in 5 minute increments. Range is 05 to 55.
Example
The following command changes the source interface and destination interface for replication session
81604378625_FCNCH097274B3A_0000_81604378627_FCNCH097274B37_0000:
Format
/prot/rep/session{–id <value> | -name <value>} sync
Object qualifier
Qualifier Description
-id Type the ID of the replication session to synchronize.
-name Type the name of the replication session to synchronize.
Example
The following command initiates a manual resynchronization of replication session REPS_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /prot/rep/session –id REPS_1 sync
Format
/prot/rep/session {–id <value> | -name <value>} delete
Object qualifier
Qualifier Description
-id Type the ID of the replication session to delete.
-name Type the name of the replication session to delete.
Format
/prot/rep/session { -id <value> | -name <value> } failover [-sync {yes | no}]
Object qualifier
Qualifier Description
-id Type the ID of the replication session to fail over.
-name Type the name of the replication session to fail over.
Action qualifier
Qualifier Description
-sync Specifies whether a synchronization needs to be performed before failing over the replication session. Valid values
are:
● yes
● no
NOTE: You cannot use the value yes when initiating a failover from the destination system.
NOTE: Ensure that hosts do not write to the destination storage resource, which will become read-only.
Format
/prot/rep/session {–id <value> | -name <value>} failback [-forceFullCopy]
Object qualifier
Qualifier Description
-id Type the ID of the replication session to fail back.
-name Type the name of the replication session to fail back.
Action qualifier
Qualifier Description
-forceFullCopy Specifies to force a full synchronization before the failback operation occurs.
NOTE: You may lose the common base on the source storage resource as a result of the event that
caused the original failover. If there is no longer a common base for the source storage resource, a
full synchronization is required. For such cases, ensure that you specify this qualifier.
Example
The following command performs a fail back of replication session
81604378625_FCNCH097274B3A_0000_81604378627_FCNCH097274B37_0000:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /prot/rep/session –id
81604378625_FCNCH097274B3A_0000_81604378627_FCNCH097274B37_0000 failback
Format
/remote/rpa/chap show
Example
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /remote/rpa/chap show
Format
/remote/rpa/chap set [ -outUsername <value>] [ { -outSecret <value> | -outSecretSecure }
[-outSecretFormat {ascii|hex}]]
Example
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /remote/rpa/chap set -outUsername admin
-outSecret abcdef123456
Format
/net/nas/cava [-server <value>] show
Object qualifier
Qualifier Description
-server Identifies the associated NAS server.
Format
/net/nas/cava -server <value> set -enabled {yes | no}
Object qualifier
Qualifier Description
-server Identifies the associated NAS server.
Action qualifier
Qualifier Description
-enabled Specify whether CAVA is enabled. Valid values are:
● yes
● no
NOTE: Values are case-insensitive.
Example
The following command enables CAVA:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/nas/cava -server nas_1 set -enabled
yes
Time Date and time when the event occurred, in Greenwich Mean
Time (GMT).
Node Name of the SP that generated the event. Value is SPA or
SPB.
Process ID of the system process that generated the event.
Category Event category.
Account User account of the user that caused the event. N/A appears
if a user did not cause the event or the account is unavailable.
Component System component that caused the event. Intended for
service personnel.
Product System product that caused the event. Intended for service
personnel.
NOTE: The show action command on page 17 explains how to change the output format.
Format
/event/log show [-fromTime <value>] [-toTime <value>] [-limit <value>] [-severity {critical
| error | warning | notice | info}]
Action qualifiers
Qualifier Description
-fromTime Type the beginning of the time interval for which to display event records. The format is YYYY-MM-DD
HH:MM:SS.
NOTE: If you omit this qualifier, the list of logs that appears will begin with the first log.
-toTime Type the end of the time interval for which to display event records. The format is YYYY-MM-DD HH:MM:SS.
NOTE: If you omit this qualifier, the value is the current system time.
-limit Type the maximum number of records to display. The value cannot exceed the default number 100.
-severity Type the minimum severity level of the events to display. For example, if you type critical, records for the alert
and emergency severities will also appear.
Example
The following command lists all event logs generated on 11/09/2009 up to 23:59:59 GMT:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /event/log show -fromTime “2009-11-09
00:00:00.000” –to “2009-11-09 23:59:59.999”
NOTE: The show action command on page 17 explains how to change the output format.
Format
/event/alert/hist show
Example
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /event/alert/hist show
ConnectEMC mode (if supported) Defines which server to use for ConnectEMC - ESRS or
SMTP. Valid values are:
● esrs
● smtp
Language Language in which the system sends e-mail alerts.
E-mail from address E-mail address the system uses as the FROM address.
E-mail to addresses Comma-separated list of e-mail addresses to send alerts.
E-mail severity threshold Minimal severity of alerts the system will send as e-mail. Valid
values are:
● critical — An error has occurred that has a significant
impact on the system and should be remedied immediately.
● error — An error has occurred that has a minor impact
on the system and should be remedied at some point but
does not have to be fixed immediately.
● warning — An error has occurred that you should be
aware of but has not had a significant impact on the
system.
● notice — An important event has occurred that does
not have an impact on the functioning of the system.
● info — Some event has occurred that does not have an
impact on the functioning of the system.
NOTE: Values are case-insensitive.
SNMP severity threshold Minimal severity of alerts the system will send as SNMP traps.
Valid values are:
● critical — An error has occurred that has a significant
impact on the system and should be remedied immediately.
● error — An error has occurred that has a minor impact
on the system and should be remedied at some point but
does not have to be fixed immediately.
NOTE: The show action command on page 17 explains how to change the output format.
Format
/event/alert/conf show
Example
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /event/alert/conf show
1: Enable ConnectEMC = no
Include contact information = yes
Language = english
E-mail from address = me@mail.com
E-mail to addresses = joe@mail.com,rick@mail.com
E-mail severity threshold = Info
SNMP severity threshold = Info
SNMP version = 3.0
SNMP engine ID =
Format
/event/alert/conf set [-enableConnectEMC {yes|no}] [-includeContactInfo {yes | no}] [–
emailFromAddr <value>] [-emailToAddrs <value>] [-emailSeverity {critical|error|warning|
notice |info}] [-snmpSeverity {critical|error|warning|notice|info}]
Example
The following command changes these alert settings:
● Connect EMC is enabled.
● FROM address is admin@mail.com.
● TO addresses are jason@mail.com and pete@mail.com.
● Minimum alert severity for sending e-mail alerts is info.
● Minimum alert severity for sending alerts as SNMP traps is error.
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /event/alert/conf set –
enableConnectEMC yes -includeContactInfo no –emailFromAddr me@mail.com -emailToAddrs
“jason@mail.com,pete@mail.com” –emailSeverity info -snmpSeverity error
Format
/event/alert/snmp create -host <value> -port <value> -userName <value> [ -authProto
{ none | md5 { -authPassword <value> | -authPasswordSecure } [ -privProto { none |
aes { -privPassword <value> | -privPasswordSecure } | des { -privPassword <value> |
-privPasswordSecure } } ] | sha { -authPassword <value> | -authPasswordSecure } [ -
privProto { none | aes { -privPassword <value> | -privPasswordSecure } | des { -
privPassword <value> | -privPasswordSecure } } ] } ]
Action qualifiers
Qualifier Description
-host Type a hostname or IP address of the SNMP destination.
-port Type the host port on the SNMP destination that will receive the traps.
-userName Type the username that is used to access the SNMP destination.
-authProto Specify the protocol that is used to authenticate access to the SNMP destination. Value is one of
the following:
● none — No authentication
● md5 — Message-Digest algorithm 5
● sha — Secure Hash Algorithm
Example
The following command creates an SNMP destination with these settings:
● Host IP is 10.64.75.1.
● Host port is 333.
● Username is user1.
● Authorization protocol is md5.
● Authorization password is authpassword1234.
● Privacy protocol is des.
● Privacy password is privpassword321.
The SNMP destination receives ID Host1_333:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /event/alert/snmp create –host 10.64.75.1
–port 333 –userName user1 authProto md5 -authPassword authpassword1234 –privProto des –
privPassword privpassword321
ID = Host1_333
Operation completed successfully.
NOTE: The show action command on page 17 explains how to change the output format.
Format
/event/alert/snmp [-id <value>] show
Object qualifier
Qualifier Description
-id Type the ID of an SNMP destination.
1: ID = Host1_323
Host = Host1
Port = 323
User name = user1
Auth protocol = md5
Privacy protocol = aes
Format
/event/alert/snmp -id <value> set [ -host <value> ] [ -port <value> ] [ -userName <value> ]
[ -authProto { none | md5 { -authPassword <value> | -authPasswordSecure } [ -privProto
{ none | aes { -privPassword <value> | -privPasswordSecure } | des { -privPassword
<value> | -privPasswordSecure } } ] | sha { -authPassword <value> | -authPasswordSecure }
[ -privProto { none | aes { -privPassword <value> | -privPasswordSecure } | des { -
privPassword <value> | -privPasswordSecure } } ] } ]
Object qualifier
Qualifier Description
-id Type the ID of the SNMP destination to change.
Action qualifiers
Qualifier Description
-host Type a hostname or IP address of the SNMP destination.
-port Type the host port on the SNMP destination that will receive the traps.
-userName Type the username that is used to access the SNMP destination.
-authProto Specify the protocol that is used to authenticate access to the SNMP destination. Value is one of
the following:
● none — No authentication
● md5 — Message-Digest algorithm 5
● sha — Secure Hash Algorithm
-authPassword Type the authentication password.
-authPasswordSecure Specify the password in secure mode - the user will be prompted to input the password.
-privProto Specify the protocol that is used to enable privacy on the SNMP destination. Value is one of the
following:
● none — No encryption
● aes — Advanced Encryption Standard
Example
The following command changes the authorization protocol, privacy protocol, authorization password, and privacy password for
SNMP destination Host1_323:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /event/alert/snmp –id Host1_323 set
-authProto md5 -authPassword newauthpassword –privProto des –privPassword newprivpassword
ID = Host1_323
Operation completed successfully.
NOTE: If you delete an SNMP destination, the system will stop sending alerts to it as traps.
Format
/event/alert/snmp -id <value> delete
Object qualifier
Qualifier Description
-id Type the ID of an SNMP destination to delete.
Example
The following command deletes SNMP destination Host1_323:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /event/alert/snmp -id Host1_323 delete
Prerequisites
Both Storage Processors (SPs) must be present in the system and their boot mode must be Normal Mode. If you have removed
an SP or an SP has failed, you must replace the SP before you can change the Service password.
Format
/service/user set { -passwd <value> | -passwdSecure } { { -oldpasswd <value> |
-oldpasswdSecure } | -force }
Action qualifiers
Qualifier Description
-passwd Type a new Service password. The following are the password requirements:
● Passwords must be 8 to 40 characters in length and cannot contain spaces.
● Passwords must include mixed case, a number, and a special character from this list:
!,@#$%^*?_~
● When changing a password, do not reuse any of the last 3 passwords.
-passwdSecure Specify the password in secure mode - the user will be prompted to input the password and the
password confirmation.
-oldpasswd Type the old password to set the new password.
-oldpasswdSecure Specify the password in secure mode - the user will be prompted to input the password.
-force Specify whether it is a password modification request or a password reset request. This is intended to
be used by service user only.
Example
The following command changes the Service password. Note that this can only be executed in normal mode.:
Service actions
Apply service action to the system. This command must be executed with service user credentials.
Format
/service/system restart
Example
The following command restarts system management software:
uemcli /service/system restart
Format
/service/system shutdown
Example
The following command shuts down the system (in normal mode only):
uemcli /service/system shutdown
Format
/service/system reinit
Example
The following command reinitializes the storage system:
uemcli /service/system reinit
Format
/service/system collect {-serviceInfo | -config [-showPrivateData] }
Action qualifiers
Qualifier Description
-serviceInfo Collect information about the system and save it to a .tar file. Service providers can use the collected
information to analyze the system.
-config Create a snapshot of the current system configuration and save it to a file. It captures all of the data
necessary to recreate the current configuration on a new or reinitialized system. It does not capture
log files or other types of diagnostic data.
-showPrivateData Include sensitive information (such as IP addresses) into the collected data.
Example
The following command collects information about the system and saves it to a file:
uemcli /service/system collect -serviceInfo
Format
/service/ssh set -enabled {yes | no}
Action qualifiers
Qualifier Description
-enabled Flag indicating whether the SSH access is enabled. The following are the password requirements. Value is one of
the following:
● Yes
● No
Example
The following command enables SSH access to the system:
uemcli /service/ssh set -enabled yes
Format
/service/ssh show
Example
The following command displays SSH settings:
uemcli /service/ssh show
Format
/service/sp -id <value> service
Object qualifier
Qualifier Description
-id Identifies the storage processor.
Example
The following command enters the service mode:
uemcli /service/sp -id spa service
Reboot
Reboot the storage processor.
Format
/service/sp -id <value> reboot
Object qualifier
Qualifier Description
-id Identifies the storage processor.
Example
uemcli /service/sp -id spa reboot
Format
/service/sp -id <value> reimage
Object qualifier
Qualifier Description
-id Identifies the storage processor.
Example
uemcli /service/sp -id spa reimage
Format
/service/ccard -id <value> reboot
Object qualifier
Qualifier Description
-id Identifies the storage processor.
Example
uemcli /service/ccard -id Ccard_0 reboot
Format
uemcli [{-help|-h|-?}]
The following table describes each of the switches:
where:
● -help — Display a list of file types you can upload to the
system.
● type -help — Display information about a file type.
Value is one of the following:
○ license — A license file. During upload the license is
installed on the system.
○ upgrade — A system software upgrade candidate
file. When you upload an upgrade candidate file onto
your system, it replaces the previous version. There
can be only one upgrade candidate on the system
at a time. Upgrade the system software on page
49 explains upgrading the system software using an
uploaded upgrade candidate.
○ /net/nas/ldap — A custom LDAP schema or a
Certification Authority (CA) certificate for the NAS
server identified by a mandatory -server parameter.
Uploading a valid LDAP schema changes the LDAP
configuration. This will result in changes to the file
systems access on the specific NAS server. For more
information, see Upload an LDAP schema.
○ /net/nas/server — A custom user mapping rules
file for the specific NAS server identified by a
mandatory -id parameter.
● -f|-file file type — For file, type the path and
filename of the file to upload. For type, type the file type
to upload.
● parameter = value — Optional parameter=value pairs
for including specific parameters during the upload.
NOTE: For a list of supported file types, type -upload
-help
where:
● -help — Display a list of file types you can download
from the system.
● type -help — Display information about a file type.
Value is one of the following:
○ serviceInfo — Save service information about
your system to a .tar file. Your service provider
can use the collected information to analyze your
system. This action should be executed with service
user credentials. To download service information
you should collect it at first using the uemcli /
service/system collect -serviceInfo
command.
NOTE: Contact your service provider determine if
it is necessary to collect this information and to
establish a process for sending the file to customer
support.
NOTE:
○ config — Save details about the configuration
settings on the storage system to a file. Service
personnel can use this file to assist you with
reconfiguring your system after a major system failure
or a system reinitialization. This action should be
executed with service user credentials. The file only
contains details about your system configuration. You
cannot restore your system from this file. This action
should be executed with service user credentials.
NOTE: It is recommended that you save the file
to a remote location after every major system
configuration change, to ensure that you always
have a current copy of the file available.
○ /net/nas/ldap — A custom LDAP schema for
the NAS server identified by a mandatory -server
parameter. Once you configure LDAP settings for
a NAS server, you can download the automatically
generated LDAP schema file to make additional
changes. For more information, see Download an LDAP
schema.
○ /net/nas/server — A custom user mapping rules
file for the specific NAS server identified by a
mandatory -id parameter.
● {-d <folder> | -f <file>} <type> —
Destination directory or path to the destination file. For
<type>, enter the type of file to download.
● [-<parameter> <value>...] [<action>] —
Download a file from the storage system.
● <type> — File type.
● [-<parameter> <value> ...] — Optional key-value
pairs that are passed to the storage system via URL
encoded parameters separated by spaces.
where:
● <target> — Path to the file to download.
● <localpath> — Path to the location to store the file.
-gmtoff Greenwich Mean Time (GMT) offset for converting the time
on the system to the time on the client system. Type auto
to send the offset of the current client system. Type the
following to specify the offset:
[-|+]<HH>[:<MM>]
where:
● -|+ — Type the sign of the GMT offset. If the offset is
ahead of GMT, you can omit the plus sign.
● HH — Type the hours for the offset.
● MM — Type the minutes for the offset (optional). Separate
the minutes from the hours with a colon.
-help|-h|-? Display information about the syntax and switches.
-saveUser Save the access credentials specified for the -user
and -password switches to a local security file in the
lockbox. With the access credentials saved, Unisphere CLI
automatically applies them to the specified system destination
and port pair each time you run a command. Save Unisphere
CLI settings on page 302 explains saving user account
credentials to the local client system.
-removeUser Remove the specified user account from the lockbox.
-default Save the destination and port pair as the default system to
access. When you run a command, Unisphere CLI will run the
command on the default system. Unisphere CLI saves the
specified destination and port pair to a local security file in
the lockbox. Each time you include the -default switch,
Unisphere CLI overwrites the previous saved destination
and port pair with the current destination and port pair. If
you include the -port switch, the specified port value is
paired with the -destination value and saved to the local
security file. Save Unisphere CLI settings on page 302 explains
saving user account credentials to the local client system.
-silent Allow a command to complete by suppressing the output and
not requiring user confirmation. This is useful when there are
commands in scripts.
-noHeader Hide the header message (system IP address, port number,
and so on) that appears above the command output. Hide
header information on page 301 explains how to hide the
header from the output.
-v|-version Display the version of your Unisphere CLI.
-cmdTime Display the current time on the destination system.
Format
[{-d|-destination} <value>] [{-u|-user} <user_name>] [{-p|-password} <password>]
Switches
Qualifier Description
-destination|-d IP address or network name of the destination system. If you do not include this switch, the client
uses the addresses specified for -default. If no default address exists, the client uses the localhost
address 127.0.0.1.
-user|-u Domain and username for logging in to the system. For example, Local/joe.
-password|-p Password for logging in to the system.
-securePassword Specifies the password in secure mode - the user will be prompted to input the password.
-port Specify the port number through which to access the system.
NOTE: If you do not include the -port switch, Unisphere CLI accesses the system through
default port 443.
-default Save the destination and port pair as the default system to access. When you run a command,
Unisphere CLI runs the command on the default system. Unisphere CLI saves the specified system
and port pair to a local file. Each time you include the -default switch, Unisphere CLI overwrites the
previously saved destination and port pair with the current destination and port pair.
NOTE: If you include the -port switch, the specified port value is paired with the -destination
value and saved to the local file. Hide header information explains saving user account credentials
on the local client system.
-saveUser Save the access credentials specified for the -user and -password switches to a local file. With the
access credentials saved, Unisphere CLI automatically applies them to the specified destination and port
pair each time you run a command. Hide header information explains saving user account credentials on
the local client system.
-removeUser Remove saved access credentials for the specified destination and port pair.
Example 1
The following example accesses the destination system 10.0.0.1 as user Local/joe with password 12345:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456!
Example 2
The following example saves the access credentials for the specified user:
Example 3
The following example sets the destination system as the default:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! -default
Example 4
The following example accesses the default system:
uemcli -u Local/joe -p MyPassword456!
Example 5
The following example removes the saved access credentials from destination system 10.0.0.1:
uemcli -d 10.0.0.1 -removeUser
Prerequisites
Download the latest system software upgrade candidate from the support website.
Format
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! -upload -f <file> upgrade
Options
Qualifier Description
-f Type the path and file name of the upgrade candidate file to upload. Wrap the path and file name in quotes.
Example
The following example upload a upgrade candidate file to the system:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! -upload -f “\
\upgrade_image\upgrade-2.0.0.12190-MAGNUM-RETAIL.tgz.bin” upgrade
Format
-sslPolicy <value>
Switch
Switch Description
-sslPolicy Value is one of the following:
● interactive — Client prompts the user to take action (default).
● reject — Client automatically rejects the certificates.
● accept — Client automatically accepts the certificates.
● store — Client automatically accepts and stores the certificates in the lockbox.
View certificates
View a list of all SSL certificates stored in the lockbox.
NOTE: The show action command on page 17 explains how to change the output format.
Format
-certList
Format
-certDel <certificate IDs>
Switch
Switch Description
-certDel Type a comma-separated list of certificate IDs to delete.
NOTE: Use –certList to view a list of stored certificates with their IDs.
Format
-certClear
Import certificates
Import a SSL certificate from a file.
Format
-certImport <file>
Switch
Switch Description
-certImport Type the path and name for the file to import. Supported formats are:
● Privacy Enhanced Mail (PEM)
● Distinguished Encoding Rules (DER)
● Cryptographic Message Syntax (PKCS #7)
● On Windows 7:
C:\Users\${user_name}\AppData\Local\.EMC\UEMCLI
● On UNIX/Linux:
<home_directory>/EMC/UEM CLI
The cps.clb and csp.clb.FCD files are lockbox-related. If you uninstall Unisphere CLI, these directories and files are not deleted,
giving you the option of retaining them. However, for security reasons, you may want to delete these files.
NOTE: The show action command on page 17 explains how to change the output format.
Format
/metrics/service show
Format
/metrics/service set -historyEnabled { yes | no }
NOTE: Only administrators are allowed to run this command.
Action qualifiers
Qualifier Description
-historyEnabled Indicates whether historical metrics collection is enabled or disabled. Value is one of the following:
● Yes
● No
Default value is Yes.
NOTE: The system prompts for confirmation if you specify No.
Example
The following command enables metrics collection:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /metrics/service set -historyEnabled
NOTE: The show action command on page 17 explains how to change the output format.
Format
/metrics/metric [-path <value>] [-availability { historical | real-time } ] show
Object qualifier
Qualifier Description
-path Specify a comma-separated list of metric paths.
NOTE: When typing metric paths, replace . with \., , with \, and \ with \\ in the object names.
Example
The following command displays the metrics service settings for the system:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /metrics/metric -path
sp.*.storage.lun.*.avgReadSize,sp.*.storage.filesystem.*.writesRate,sp.*.cifs.smb2.basic.re
adsRate show -detail
1: Path = sp.*.storage.lun.*.avgReadSize
Description = Average read size on this LUN
Type = fact
Unit = KB
Availability = historical, real-time
2: Path = sp.*.storage.filesystem.*.writesRate
Description = Rate of sp.*.storage.filesystem.*.writes
Type = rate
Unit = Requests/s
Availability = historical, real-time
3: Path = sp.*.cifs.smb2.basic.readsRate
Description = Rate of sp.*.cifs.smb2.basic.reads
Type = rate
Unit = Ops/s
Availability = real-time
Format
/metrics/value/hist -path <value> show -interval { 5 | 60 | 300 | 3600 | 14400 }[ -from
<value> ] [ -to <value>] [ -count <value> ][ -flat ][ -summary ]
Object qualifier
Qualifier Description
-path Specify a comma-separated list of metric paths.
NOTE: When typing metric paths, replace . with \., , with \, and \ with \\ in the object names.
-interval Specify an interval for the metric values. Default interval is seconds.
-from Specify the start of the query period. The format is: YYYY-MM-DD HH:MM:SS or YYYY-MM-DDTHH:MM:SS,
where:
● YYYY — Year
● MM — Month
● DD — Day
● T — Time delimiter
● HH — Hour
● MM — Minute
● SS — Second
NOTE: Ensure that the value is a time in the past. You can choose to specify just the date (in the
YYYY-MM-DD format) or the time (in the HH:MM:SS format). If you do not specify the time, the system
automatically uses 00:00:00. If you choose to not specify the date, the current system date is used.
-to Specify the end of the query period. The format is: YYYY-MM-DD HH:MM:SS or YYYY-MM-DDTHH:MM:SS,
where:
● YYYY — Year
● MM — Month
● DD — Day
● T — Time delimiter
● HH — Hour
● MM — Minute
● SS — Second
NOTE: Ensure that the value is a time in the past. You can choose to specify just the date (in the
YYYY-MM-DD format) or the time (in the HH:MM:SS format). If you do not specify the time, the system
automatically uses 00:00:00. If you choose to not specify the date, the current system date is used.
-count Specify the number of samples to display. A sample is a set of metric values related to a single timestamp. Valid
values are numbers greater than or equal to one.
-flat Displays the member values for grouped metrics.
-summary Displays the maximum, minimum, and average value for each metric.
NOTE: The -from and -to qualifiers take precedence over the -count qualifier. In the example below, only 7 samples
exist between the from and to dates. Although the value for the -count qualifier is set to 10, only 7 values appear. If the
-from and -to qualifiers are not specified, the output will include 10 samples.
Examples of output with different combinations of the -from, -to, and -count qualifiers
The following table illustrates the output that appears with combinations of the -from, -to, and -count qualifiers. It assumes
that the current time is 2012-09-21 12:30:00.
-from <current date/time or Example: -from “2012-09-01 00:00:00” -to “2012-09-21 12:31:00”
date/time in the past>
Result: This results in an error because the time for the -to qualifier is specified in
-to <future date/time> the future.
-from <date/time in the Example: -from “2012-09-20 01:02:00” -to “20-09-20 12:00:00” -count 100
past>
Result: The result includes 100 samples within the specified time period. If there are
-to <current date/time or less than 100 samples available, the result lists all samples within the time period.
date/time in the past>
-count <value>
-from, -to, and -count are Result: The result includes the latest 100 samples, or if there are less than 100
not specified. samples available, the result lists all samples. This is equivalent to “-count 100”.
NOTE: The show action command on page 17 explains how to change the output format.
Format
/metrics/value/rt -path <value> show -interval <value> [ -to <value>] [ -count <value> ]
[ -flat ][ -summary ]
Object qualifier
Qualifier Description
-path Specify a comma-separated list of metric paths.
NOTE: When typing metric paths, replace . with \., , with \, and \ with \\ in the object names.
Action qualifier
Qualifier Description
-interval Specify an interval for the metric values. Default interval is seconds.
-to Specify the end of the query period. The format is: YYYY-MM-DD HH:MM:SS or YYYY-MM-DDTHH:MM:SS,
where:
● YYYY — Year
● MM — Month
● DD — Day
● T — Time delimiter
● HH — Hour
● MM — Minute
● SS — Second
NOTE: Ensure that the value is a time in the past. You can choose to specify just the date (in the
YYYY-MM-DD format) or the time (in the HH:MM:SS format). If you do not specify the time, the system
automatically uses 00:00:00. If you choose to not specify the date, the current system date is used.
-count Specify the number of samples to display. A sample is a set of metric values related to a single timestamp. Valid
values are numbers greater than or equal to one.
-flat Displays the member values for grouped metrics.
-summary Displays the maximum, minimum, and average value for each metric.
Example
The following command displays real-time metrics for the system:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! uemcli /metrics/value/rt -path
sp.*.cifs.client.*.readCalls show -interval 10 -output nvp
Health details
Health details attribute contains a user-friendly description of the health status of the component. When applicable, it also
includes a URL to the online help or support page that provides steps to resolve a problem. A component may have multiple
description strings indicating the health of the relevant subcomponents. For example:
Health details = "The storage resource has failed because it uses a storage pool
that includes one or more disks with problems. Remedy the problem with the disks.
(http://10.0.0.1/alerts/context_sensitive/dpe_invalid_disk.htm)","An I/O module in your
disk-processor enclosure (DPE) may have faulted. Reboot the storage processor (SP). If
the problem persists after the reboot, replace the I/O module. (http://10.0.0.1/alerts/
context_sensitive/replace_failed_part.htm)"
312 Reference