Passer au contenu principal
  • Passer des commandes rapidement et facilement
  • Afficher les commandes et suivre l’état de votre expédition
  • Créez et accédez à une liste de vos produits
  • Gérer vos sites, vos produits et vos contacts au niveau des produits Dell EMC à l’aide de la rubrique Gestion des informations de l’entreprise.

Dell PowerVault MD 32XX/36XX Series Storage Arrays CLI Guide

PDF

Script Command Structure

All script commands have the following structure:
                                    command operand-data {statement-data}
                                 
where, command identifies the action to be performed, operand-data represents the storage array component to configure or manage (such as a RAID controller module, physical disk, or disk group), and statement-data is what you want to do to the component (such as, specifying the RAID level or availability of a disk group).
The general form of the syntax for operand-data is as follows:
(
                                    object-type | 
                                    allobject-types | [
                                    qualifier]
                                    (
                                    object-type [
                                    identifier] {
                                    object-type
                                    [
                                    identifier]} | 
                                    object-types [
                                    identifier-list]))
                                 
An operand-data object can be identified four ways:
  • The object types and object qualifiers
  • The all parameter
  • Brackets
  • A list of identifiers
  • NOTE: You can use any combination of alphanumeric characters, hyphens, and underscores for the names. Command names can have a maximum of 30 characters. If you exceed the maximum character limit, replace square brackets ([ ]) with angle brackets (< >) to overcome this limitation.

Use an object type when the command is not referencing a specific object. The all parameter means all objects of the specified type in the storage array (for example, allVirtualDisks).

To perform a command on a specific object, use brackets to identify the object (for example, virtualDisk[engineering]). Specify a subset of objects with a list of identifiers in brackets (for example, virtualDisks[sales engineering marketing] ). In a list of identifiers, use a blank space as the delimiter. A qualifier is necessary if you want to include additional information to describe the objects.

The following table lists the object type and identifiers associated with the object types.
Table 1. Object Types and Identifiers
Object Type Identifier
RAID controller 0 or 1
physicalDisk Enclosure ID and the slot ID
physicalDiskChannel Physical disk channel identifier
GroupName Remote Replication virtual disk user label
host User label
hostChannel Host channel identifier
hostGroup User label
hostPort User label
snapVirtualDiskName Virtual disk user label
snapshot Virtual disk user label
snapGroup A snapshot group contains a sequence of snapshot images of an associated base virtual disk. A snapshot group has a repository virtual disk that is used to save data for all of the snapshot images that are part of the snapshot group.
snapGroupName Virtual disk group user label
storageArray Not applicable
enclosure Enclosure ID
virtualDisk Virtual disk user label or the World Wide Identifier (WWID) for the virtual disk (set command only)
virtualDiskCopy Target virtual disk and, optionally, the source virtual disk user labels
diskGroup Virtual disk group number
Statement data is in the form of attribute=value (such as raidLevel=5), an attribute name (such as batteryInstallDate), or an operation name (such as consistencyCheck).

É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 : <>()\