Passa al contenuto principale
  • Effettua gli ordini in modo rapido e semplice
  • Visualizza gli ordini e monitora lo stato della spedizione
  • Crea e accedi a un elenco dei tuoi prodotti
  • Gestisci i siti, i prodotti e i contatti per livello di prodotto di Dell EMC tramite l'amministrazione della società.

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).

Classifica questo contenuto

Preciso
Utile
Facile da comprendere
Questo articolo ti è stato d'aiuto?
0/3000 characters
  Fornisci una valutazione (1-5 stelle).
  Fornisci una valutazione (1-5 stelle).
  Fornisci una valutazione (1-5 stelle).
  Indica se l'articolo è stato utile o meno.
  I commenti non possono contenere i seguenti caratteri speciali: <>() \