4.3.25.2 ALTER RACK

Modify a rack in the Engineered System XML file.

Syntax

ALTER RACK
   ULOC={ ulocation | 0 | GENERATE }
WHERE
   RACKNUMBER=rack_number
   [ HOSTNAME=host_name ] 
ALTER RACK
   { DESCRIPTION=description |
     RACKID=rack_type } ...
WHERE
   RACKNUMBER=rack_number

Arguments

You can modify the following attributes:

  • ULOC: Sets the rack location (uloc) as follows:

    • ULOC=ulocation: Specifies a rack location for a specific host or switch

    • ULOC=0: Sets the rack location to 0 (zero) for all hosts and switches in the specified rack.

    • ULOC=GENERATE: Assigns valid rack locations to all hosts and switches in the specified rack.

  • DESCRIPTION: Sets the rack description

  • RACKID: Sets the rack type

The following arguments are available in the WHERE clause:

  • RACKNUMBER: Specifies the number of the rack in the Engineered System XML file, starting at 1

  • HOSTNAME: Specifies the host name for a specific host or switch

Usage Notes

If you use the ULOC argument and supply a specific rack location (ULOC=ulocation), then you must specify HOSTNAME=host_name in the WHERE clause.