mmaddcompspec command
Adds one or more new storage component specifications.
Synopsis
mmaddcompspec PartNumber CompType
[--height Height] [--pci-slots PciSlots] [--drive-slots DriveSlots]
[--vendor-id VendorId] [--product-id ProductId]
[--has-display-id { yes | no } ] [--description Description]
[--replace] [--dry-run]
or
mmaddcompspec -F StanzaFile [--ignore-unknown] [--replace] [--dry-run]
or
mmaddcompspec default [--replace] [--dry-run]
Availability
Available with the Elastic Storage Server.
Description
The mmaddcompspec command adds one or more new storage component specifications. A default name is assigned if one is not specified.
Parameters
- PartNumber
- Specifies the part number or model type of the component to be added.
- CompType
- Specifies the component type. Valid values are: rack, server, storageEnclosure, and storageServer.
- --height Height
- Specifies the component height in rack units (U).
- --pci-slots PciSlots
- Specifies the number of PCI slots. This parameter applies to servers only.
- --drive-slots DriveSlots
- Specifies the number of drive slots. This parameter applies to storage enclosures only.
- --vendor-id VendorId
- Specifies the vendor ID reported by SCSI inquiry. This parameter applies to storage enclosures only.
- --product-id ProductId
- Specifies the product ID reported by SCSI inquiry. This parameter applies to storage enclosures only.
- --has-display-id yes | no
- Indicates whether the component has a programmable display ID. This parameter applies to storage enclosures only.
- --description Description
- Specifies a brief description of the component.
- --replace
- Replaces an existing specification with a matching part number.
- --dry-run
- Runs the command without making any permanent changes.
- -F StanzaFile
- Specifies the name of a stanza file from which input values are
to be read. The stanza file can include stanzas for multiple components. The correct format for the component definitions in the stanza file is as follows:
%compSpec: partNumber=PartNumber compType=CompType height=Height description=Description vendorId=VendorId productId=ProductId driveSlots=DriveSlots hasDisplayId=HasDisplayId
- --ignore-unknown
- Ignores unknown attributes in compSpec stanzas.
- default
- Add all of the predefined component specifications.
Exit status
- 0
- Successful completion.
- nonzero
- A failure has occurred.
Security
You must have root authority to run the mmaddcompspec command.
The node on which the command is issued must be able to execute remote shell commands on any other node in the cluster without the use of a password and without producing any extraneous messages. For additional details, see the following IBM Storage Scale RAID: Administration topic: Requirements for administering IBM Storage Scale RAID.
Examples
To define a generic 60U rack and see the result, enter the following commands:
mmaddcompspec RACK60U rack --height 60 --description "Generic 60u rack"
mmlscompspec --type rack
The system displays output similar to this:
Rack Specifications
Part Number Height Description
----------- ------ ------------------------------------------------------
1410HEA 42 IBM Intelligent Cluster 42U 1200mm Deep Expansion Rack
1410HPA 42 IBM Intelligent Cluster 42U 1200mm Deep Primary Rack
9308RC4 42 IBM 42U Enterprise Rack
RACK42U 42 Generic 42U rack
RACK60U 60 Generic 60u rack
See also
Location
/usr/lpp/mmfs/bin