Dell Unity™ Family Unisphere® Command Line Interface User Guide

Create a NAS server

Create a NAS server.

NOTE:The NFSv3 protocol is enabled by default when creating a NAS server.

Format

/net/nas/server create -name <value> -sp <value> {-pool <value> | -poolName <value>} [-tenant <value>] [-mpSharingEnabled {no | yes [-autoUserMappingEnabled {yes | no}][-unixDirectoryService {local | ldap | nis | localThenNis | localThenLdap | none}] [-defaultUnixUser <value>] [-defaultWindowsUser <value>]}] [-replDest {yes [-backupOnly {yes | no}] | no}] [-enablePacketReflect {yes | no}] [-ioLimit <value>]

Action qualifiers

QualifierDescription
-nameSpecifies the NAS server name.
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.
-spSpecifies the parent SP for the NAS server. Value is SPA or SPB.
-poolSpecifies the ID of the storage pool for the NAS server.
-poolNameSpecifies the name of the storage pool for the NAS server.
-tenant Specifies the tenant identifier.
NOTE: If a tenant is not specified, the NAS server is created in the default network namespace.
-mpSharingEnabledIndicates whether multiprotocol sharing mode is enabled. Value is yes or no (default).
-unixDirectoryService Directory Service used for querying identity information for UNIX (such as UIDs, GIDs, netgroup). Valid values are:
  • nis
  • ldap
  • local
  • none (default)
  • localThenNis
  • localThenLdap
-autoUserMappingEnabledIndicates whether a Windows user who is not mapped to a knownUNIXx/Linux username is allowed to access the NAS server files. Valid values are:
  • yes—The system generates an internal UID for the Windows user and allows access to the NAS server files through Windows.
  • no (default)—The Windows authentication fails unless there is a default UNIX username configured.
-defaultUnixUserThe default UNIX username or UNIX ID that grants file access in the multiprotocol sharing mode. This username or ID is used when the corresponding UNIX/Linuxusernamee or ID is not found by the mapping mechanism.

The UNIX ID format is @uid=xxxx,gid=yyyy@, where xxxx and yyyy are the decimal numerical values of the UID and the primary GID, respectively. When using this ID, the user does not need to be defined in the UDS.

-defaultWindowsUserThe default Windows username that grants file access in the multiprotocol sharing mode. This username is used when the corresponding Windows username is not found by the mapping mechanism.
-replDestReplication destination settings for the NAS server. When this option is set to yes, only mandatory parameters may be included. All other optional parameters are inherited from the source NAS server. Valid values are:
  • yes
  • no (default)
-backupOnly Indicates whether to create a NAS server as backup only. The backup only NAS server cannot be a production site, which means both planned failover and unplanned failover are disallowed in a backup-only NAS server-associated replication session. Valid values:
  • yes
  • no
-enablePacketReflect Indicates whether the reflection of outbound (reply) packets through the same interface that inbound (request) packets entered is enabled. Valid values are:
  • yes (default)
  • no
-ioLimit Indicates the I/O limit to be applied.

Example

The following command creates a NAS server with these settings:

  • Name is NasServer_1.
  • Associated with SP A.
  • Associated with storage pool pool_0.
  • IP Packet Reflect is enabled.
  • The ID of the new NAS server is ID nas_1.
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/nas/server create -name NasServer_1 -sp spa -pool pool_0 -enablePacketReflect yes
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection

ID = nas_1
Operation completed successfully.

Évaluez ce contenu

Précis
Utile
Facile à comprendre
Avez-vous trouvé cet article utile ?
0/3000 characters
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez indiquer si l’article a été utile ou non.
  Les commentaires ne doivent pas contenir les caractères spéciaux : <>()\