chenclosureslot

Use the chenclosureslot command to modify the properties of an enclosure slot.

Syntax

 chenclosureslot  {  -identify   {  yes  |  no  } | [  -exclude  {  yes  |  no  } [  -port  port_id  ] [  -force  ] ] }  -slot  slot_id   enclosure_id 
Note:
  1. Optional parameters are mutually exclusive.
  2. You can only specify -port or -force when you also specify -exclude.
  3. Exactly one of the optional parameters must be set.
  4. Using -force has an effect on the operation of -exclude yes.

Parameters

-identify yes | no
(Optional) Change the state of fault light-emitting diode (LED) to or from slow_flashing.
-exclude yes | no
(Optional) Ensures that an enclosure slot port is excluded. The following list gives details of the options you can use with this parameter:
  • -exclude yes -port port_id-slot slot_id enclosureid: The port you specify with port_id is excluded. If the current state of the port is excluded_by_enclosure, excluded_by_drive, or excluded_by_cluster, this command will appear to have no effect. However, if the current state of the port is online, then that state will change to excluded_by_cluster. The port will remain excluded until you rerun this command with no selected.
    Attention: This command checks for dependent volumes. If issuing this command would result in losing access to data, then the command fails and an error message displayd. You can use the -force flag to ignore these errors, but this could result in loss of access to data.
  • -exclude no -port port_id-slot slot_id enclosureid: The port is put into online state, provided there are no other reasons to exclude the port. If you issue this command when the port is online, then it has no effect. However, if you issue this command when the port is excluded, then the port state will do one of the following:
    • Change to online status immediately.
    • Change to online status after all other reasons for the port to be excluded have been removed.
  • -exclude yes | no -slotslot_id enclosureid: If you issue this command without defining a port, the command simultaneously acts on both ports.
-port 1 | 2
(Optional) Specifies the port on the canister to be excluded. If it is not specified, -exclude acts on both ports.
-force
(Optional) Forces the port on the canister to be excluded.
Important: Using the -force parameter might result in a loss of access. Use it only under the direction of your product support information.
-slot slot_id
(Required) Specifies the slot ID. The value must be a number from 1 - 92.
The slots are numbered 1 (leftmost) to 24 (rightmost) when viewed from in front of the enclosure, in 24-slot enclosures. In 12-slot enclosures, the slots are arranged in numerical order in three rows with four slots. For example, the:
  • First row contains slots 1, 2, 3, and 4 (in that order)
  • Second row contains slots 5, 6, 7, and 8 (in that order)
  • Third row contains slots 9, 10, 11, and 12 (in that order)
enclosure_id
(Required) The enclosure that the slot is a member of.

Description

These commands enable you to modify the properties of an enclosure slot.

An invocation example to turn on the identify LED on slot 7 in enclosure 1

chenclosureslot -identify yes -slot 7 1

The resulting output:

No feedback

An invocation example to force the exclusion of port 1 of slot 7 in enclosure 3

chenclosureslot -exclude yes -port 1 -force -slot 7 3

The resulting output:

No feedback