HPlogo HP-UX Reference > F

fruled(1)

HP-UX 11i Version 2: December 2007 Update
» 

Technical documentation

 » Table of Contents

 » Index

NAME

fruled — flash/turn off attention LEDs (cell, cabinet and I/O chassis attention LEDs)

SYNOPSIS

fruled -c cell [-c cell]... [-f|-o] [-B]

  • [ [ -u username:[passwd] -h IPaddress|hostname ] | [ -g [passwd] -h IPaddress|hostname ] ]

fruled -i I/Ochassis [-i I/Ochassis]... [-f|-o] [-B]

  • [ [ -u username:[passwd] -h IPaddress|hostname ] | [ -g [passwd] -h IPaddress|hostname ] ]

fruled -b cabinet [-b cabinet]... [-f|-o]

  • [ [ -u username:[passwd] -h IPaddress|hostname ] | [ -g [passwd] -h IPaddress|hostname ] ]

fruled -C|-I [-l cabinet] [-l cabinet]... [-f]

  • [ [-u username:[passwd] -h IPaddress|hostname | [ -g [passwd] -h IPaddress|hostname ] ]

DESCRIPTION

The fruled command flashes/turns off attention LEDs of cells or I/O chassis in the local complex. The command can also be used to start flashing or stop flashing cabinet number LEDs. If either the -u option or the -g option is specified, the scope of the command will be the specified target complex.

If a cell or I/O chassis attention LED is made to flash, the cabinet number LED of the cabinet that contains the cell/ I/O chassis can also be made to flash by using the -B option. Likewise, if a cell or I/O chassis's LED is being turned off, the cabinet number LED can also be made to stop flashing using the -B option.

Note: This command does not read or display the state of any LED. Users must observe the hardware itself to determine the state.

Refer to the HP System Partitions Guide for a description of the partition management terms used in this man page.

Options and Arguments

fruled recognizes the following command line options and arguments:

-f

Turn off specified attention LED(s). This is the default.

-o

Start flashing specified attention LED(s).

The -o option is unavailable with -C or -I. The -f and -o options are mutually exclusive.

-B

Start or stop flashing the cabinet number LED of the cabinet that contains the cell or I/O chassis. The -B option is only available with the -c and -i options.

-u username:[passwd]

Specifies the required authorization to access a partition other than the local partition (but can also be used as a loopback access to the local partition). The complex to be modified is the one in which this target partition resides.

The -h option is required if this option is used.

username specifies a configured user name on the target partition.

passwd specifies the password associated with the username. If this field is empty, the command prompts for the password.

Note: This command is a Web-Based Enterprise Management (WBEM) Client Application. The -u option accesses the target partition using a Secure Sockets Layer (SSL) connection. If errors are reported, check that the conditions described in the DEPENDENCIES section are satisfied.

SECURITY WARNING: Specifying the password directly on the command line may pose a security risk in your environment. The ps or other related commands can be invoked in such a way as to display the command line of a process. In this situation, any authenticated user on the system can potentially see the password while the process is executing. Hence, it is highly recommended not to specify the password on the command line, and instead allow the command to prompt for the password.

Note: Specifying passwd on the command line will not be supported in future releases.

-h IPaddress|hostname

This option should only be used in combination with either the -u or -g option. IPaddress|hostname specifies the IP address or hostname of the target partition (-u) or complex (-g).

-g [passwd]

Allows access to the complex specified by the -h option. The accessed complex is then considered the target complex. Access is via the service processor's LAN port.

The -h option is required if this option is used.

passwd specifies the IPMI password of the service processor. If this field is omitted, the command prompts for the password.

If an error is reported when you attempt to connect using this option, check to see that IPMI LAN access has not been disabled on the remote service processor. Access to the complex via IPMI over LAN can be enabled or disabled by logging on to the service processor and using the SA command from the Command Menu.

The -u and -g options are mutually exclusive.

SECURITY WARNING: Specifying the password directly on the command line may pose a security risk in your environment. The ps or other related commands can be invoked in such a way as to display the command line of a process. In this situation, any authenticated user on the system can potentially see the password while the process is executing. Hence, it is highly recommended not to specify the password on the command line, and instead allow the command to prompt for the password.

Note: Specifying passwd on the command line will not be supported in future releases.

-c cell

Flash/Turn off the specified cell attention LED.

A cell can be specified either in the local (cabinet#/slot#) or global (cell#) format. For example, the cell located in cabinet 0, slot 4 is locally identified as 0/4 or globally as simply 4.

-i I/Ochassis

Flash/Turn off the specified I/Ochassis attention LED.

An I/Ochassis must be specified in the form of cabinet#/enclosure#/chassis#. For example, the I/O chassis located in cabinet 0, enclosure 1 and I/O chassis slot 1 is identified as 0/1/1.

-b cabinet

Start flashing or stop flashing the cabinet number LED of the specified cabinet.

-C

Turn off all cell attention LEDs.

-I

Turn off all I/O chassis LEDs.

-l cabinet

Limit the scope of the -C or -I option to a given cabinet.

Mapping of Global Cell Numbers to Local Cell Numbers

The cabinets in a complex are numbered starting from 0. The cell slots in each cabinet are also numbered starting from 0. Each cabinet can have a maximum of 8 cells. For example, the cells located in cabinet 0 will have the following cell numbers in global format: 0, 1, 2, 3, 4, 5, 6, 7. The cell numbers in corresponding local format will be 0/0, 0/1, 0/2, 0/3, 0/4, 0/5, 0/6, 0/7.

Similarly the cells located in cabinet 1 will have the following cell numbers in global format: 8, 9, 10, 11, 12, 13, 14, 15. The cell numbers in corresponding local format will be 1/0, 1/1, 1/2, 1/3, 1/4, 1/5, 1/6, 1/7.

From the above convention the cell located in cabinet 1, slot 0 is identified in the local format as 1/0 or in the global format as 8. The parstatus command will display the above cell as "cab1,cell0". The cell located in cabinet 1, slot 4 is identified in the local format as 1/4 or in the global format as 12. The parstatus command will display the above cell as "cab1,cell4". See parstatus(1).

RETURN VALUE

The fruled command exits with one of the following values:

0

Successful completion.

1

Error condition occurred.

2

No LED associated with specified object.

EXAMPLES

Flash the attention LED of the cell located in cabinet 0 slot 4 and also flash the attention LED of the cabinet in which it is contained.

fruled -o -B -c 0/4

Turn off the attention LEDs of 2 cells located in cabinet 0, slot 4 and cabinet 0, slot 6.

fruled -f -c 0/4 -c 0/6

WARNINGS

HP-UX 11i Version 2 is the last HP-UX release on which passing passwd for the -u and -g options is supported. Specifying passwd on the command line will not be supported in future releases. The command will prompt for the password.

DEPENDENCIES

This command uses the Web-Based Enterprise Management (WBEM) product and certain of its configuration settings. If you encounter connection errors when using the -u option, check that the following two conditions are satisfied:

  • Use the cimconfig command (see cimconfig(1M) in the WBEM product documentation) to verify (and correct if necessary) the setting of the following two variables:

    • enableRemotePrivilegedUserAccess=true

    • enableHttpsConnection=true

  • You must have appended the target partition's digital certificate to the local partition's Trust Store file. For the nPartition commands, the Trust Store file is /var/opt/wbem/client.pem.

    Note: You must have appended the target partition's digital certificate to the local partition's Trust Store file. For the npartition commands, the Trust Store file is /var/opt/wbem/client.pem. This file is used by the commands that come with WBEM installation. Hence, if the commands that come with the WBEM installation trust a target partition, then npartition commands will also trust the target partition.

Refer to the WBEM documents specified in the SEE ALSO section below for further information.

AUTHOR

fruled was developed by the Hewlett-Packard Company.

SEE ALSO

parstatus(1), frupower(1M), parcreate(1M), parmgr(1M), parmodify(1M), parremove(1M), parunlock(1M), partition(5).

HP System Partitions Guide on http://docs.hp.com,

HP WBEM Services for HP-UX System Administrator's Guide on http://docs.hp.com,

HP WBEM Services for HP-UX 11i v2.0 on Integrity Servers Version A.01.05 Release Notes on http://docs.hp.com.