Purpose
Change
states for physical and virtual LEDs. This command is available only
in an Integrated Virtualization Manager environment.
Syntax
To change
virtual partition LEDs:
chled -r sa -t virtuallpar -o Operation { -p PartitionName | --id PartitionID }
[ -m ManagedSystem ]
To
change virtual system LEDs:
chled -r sa -t virtualsys -o Operation [ -m ManagedSystem ]
Description
The chled command
changes the states of physical and virtual LEDs.
Flags
| -r ResourceType |
The type of LED resource to change. The only
valid value is sa for System Attention (SA) LED. |
| -t SystemAttentionType
|
The type of System Attention (SA) LEDs to change.
-r sa -t virtuallpar Change attributes for virtual partition system attention LEDs
Attributes: lpar_id, lpar_name, state
Filters: None
-r sa -t virtualsys Change attributes for virtual system attention LEDs
Attributes: state
Filters: None
|
| -o |
The operation to perform on the LED. Valid
values are: - off
- deactivate the LED
- on
- activate the LED
|
| -m ManagedSystem |
The name of the managed system. This attribute
is optional because there is only one system to manage. The name may
either be the user-defined name for the managed system, or be in the
form tttt-mmm*ssssssss, where tttt is the machine type, mmm is the
model, and ssssssss is the serial number of the managed system. |
| -p PartitionName |
The name of the partition for which the virtual
partition system attention LED is to be changed. |
| --id PartitionID |
The ID of the partition for with the virtual
partition system attention LED is to be changed. |
Exit Status
This
command has a return code of 0 on success.
Security
This
command is not accessible by users with the ViewOnly role.
Examples
- To deactivate the virtual system attention LED for the system,
type:
chled -r sa -t virtualsys -o off
- To activate the virtual partition system attention LED for partition
lpar3, type:
chled -r sa -t virtuallpar -o on -p lpar3
- To dectivate the virtual partition system attention LED for the
partition with ID 3, type:
chled -r sa -t virtuallpar -o off --id 3