Blame doc/ledmon.pod

Packit Service db8df9
#
Packit Service db8df9
#  Intel(R) Enclosure LED Utilities
Packit Service db8df9
#  Copyright (C) 2009-2019 Intel Corporation.
Packit Service db8df9
#
Packit Service db8df9
#  This program is free software; you can redistribute it and/or modify it
Packit Service db8df9
#  under the terms and conditions of the GNU General Public License,
Packit Service db8df9
#  version 2, as published by the Free Software Foundation.
Packit Service db8df9
#
Packit Service db8df9
#  This program is distributed in the hope it will be useful, but WITHOUT
Packit Service db8df9
#  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
Packit Service db8df9
#  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
Packit Service db8df9
#  more details.
Packit Service db8df9
#
Packit Service db8df9
#  You should have received a copy of the GNU General Public License along with
Packit Service db8df9
#  this program; if not, write to the Free Software Foundation, Inc., 
Packit Service db8df9
#  51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
Packit Service db8df9
#
Packit Service db8df9
=head1 NAME
Packit Service db8df9
Packit Service db8df9
ledmon - Intel(R) LED monitor service for storage enclosures.
Packit Service db8df9
Packit Service db8df9
=head1 SYNOPSIS
Packit Service db8df9
Packit Service db8df9
B<ledmon> [I<OPTIONS>]
Packit Service db8df9
Packit Service db8df9
=head1 DESCRIPTION
Packit Service db8df9
Packit Service db8df9
The ledmon application is a daemon process used to monitor a state of
Packit Service db8df9
software RAID devices (md only) or a state of block devices. The state
Packit Service db8df9
is visualizing on LEDs associated to each slot in an enclosure or a
Packit Service db8df9
drive bay. There are two types of system: 2-LEDs system (Activity LED,
Packit Service db8df9
Status LED) and 3-LEDs system (Activity LED, Locate LED, Fail
Packit Service db8df9
LED). This application has the highest priority when accessing the
Packit Service db8df9
LEDs.
Packit Service db8df9
Packit Service db8df9
The ledmon application uses SGPIO and SES-2 protocol to control
Packit Service db8df9
LEDs. The program implements IBPI patterns of SFF-8489 specification
Packit Service db8df9
for SGPIO. Please note some enclosures do not stick close to SFF-8489
Packit Service db8df9
specification. It might happen that enclosure processor will accept
Packit Service db8df9
IBPI pattern but it will blink LEDs not according to SFF-8489
Packit Service db8df9
specification or it has limited number of patterns supported.
Packit Service db8df9
Packit Service db8df9
LED management (AHCI) and SAF-TE protocols are not supported.
Packit Service db8df9
Packit Service db8df9
There's no method provided to specify which RAID volume should be monitored
Packit Service db8df9
and which not. The ledmon application monitors all RAID devices and visualizes
Packit Service db8df9
their state.
Packit Service db8df9
Packit Service db8df9
The ledmon application has been verified to work with Intel(R) storage
Packit Service db8df9
controllers (i.e. Intel(R) AHCI controller and Intel(R) SAS controller).
Packit Service db8df9
The application might work with storage controllers of other vendors
Packit Service db8df9
(especially SAS/SCSI controllers). However storage controllers of other
Packit Service db8df9
vendors have not been tested.
Packit Service db8df9
Packit Service db8df9
The ledmon application is part of Intel(R) Enclosure LED Utilities. Only
Packit Service db8df9
single instance of the application is allowed.
Packit Service db8df9
Packit Service db8df9
=head1 OPTIONS
Packit Service db8df9
Packit Service db8df9
=over 8
Packit Service db8df9
Packit Service db8df9
=item B<-c> or B<--config>=I<path>
Packit Service db8df9
Packit Service db8df9
Sets a path to local configuration file. If this option is specified the
Packit Service db8df9
global configuration file and user configuration file has no effect.
Packit Service db8df9
Packit Service db8df9
=item B<-l> or B<--log>=I<path>
Packit Service db8df9
Packit Service db8df9
Sets a path to local log file. If this option is specified the global log
Packit Service db8df9
file F is not used.
Packit Service db8df9
Packit Service db8df9
=item B<-t> or B<--interval>=I<seconds>
Packit Service db8df9
Packit Service db8df9
Sets time interval between scans of sysfs. The value is given in seconds.
Packit Service db8df9
The minimum is 5 seconds the maximum is not specified.
Packit Service db8df9
Packit Service db8df9
=item B<--quiet> or B<--error> or B<--warning> or B<--info> or B<--debug> or B<--all>
Packit Service db8df9
Packit Service db8df9
Verbose level - 'quiet' means no logging at all and 'all' means to log
Packit Service db8df9
everything. The levels are given in order. If user specifies more then one
Packit Service db8df9
verbose option the last option comes into effect. The default level is
Packit Service db8df9
'warning'. Verbose level also can be set by B<--log-level>=I<level>.
Packit Service db8df9
Packit Service db8df9
=item B<--foreground>
Packit Service db8df9
Packit Service db8df9
Run process foreground instead of a daemon. This option is useful in
Packit Service db8df9
systemd service file. Another use case of this option is debugging with
Packit Service db8df9
elevated B<--log-level>=I<level>.
Packit Service db8df9
Packit Service db8df9
=item B<-h> or B<--help>
Packit Service db8df9
Packit Service db8df9
Prints this text out and exits.
Packit Service db8df9
Packit Service db8df9
=item B<-v> or B<--version>
Packit Service db8df9
Packit Service db8df9
Displays version of ledmon and information about the license and exits.
Packit Service db8df9
Packit Service db8df9
=back
Packit Service db8df9
Packit Service db8df9
=head1 FILES
Packit Service db8df9
Packit Service db8df9
=over 8
Packit Service db8df9
Packit Service db8df9
=item F
Packit Service db8df9
Packit Service db8df9
Global log file, used by ledmon application. To force logging to user defined
Packit Service db8df9
file use I<-l> option switch.
Packit Service db8df9
Packit Service db8df9
=item F</etc/ledmon.conf>
Packit Service db8df9
Packit Service db8df9
Global configuration file, shared between ledmon and all ledctl application
Packit Service db8df9
instances. Local configuration file can be used by running ledmon with I<-c>
Packit Service db8df9
switch.
Packit Service db8df9
Packit Service db8df9
=back
Packit Service db8df9
Packit Service db8df9
=head1 LICENSE
Packit Service db8df9
Packit Service db8df9
Copyright (c) 2009-2017 Intel Corporation.
Packit Service db8df9
Packit Service db8df9
This program is distributed under the terms of the GNU General Public License
Packit Service db8df9
as published by the Free Software Foundation. See the build-in help for details
Packit Service db8df9
on the License and the lack of warranty.
Packit Service db8df9
Packit Service db8df9
=head1 BUGS
Packit Service db8df9
Packit Service db8df9
The ledmon application does not recognize PFA state (Predicted Failure Analysis),
Packit Service db8df9
hence the PFA pattern from SFF-8489 specification is not visualized.
Packit Service db8df9
Packit Service db8df9
=head1 SEE ALSO
Packit Service db8df9
Packit Service db8df9
ledctl(8), ledmon.conf(5)
Packit Service db8df9
Packit Service db8df9
=head1 AUTHOR
Packit Service db8df9
Packit Service db8df9
This manual page was written by Artur Wojcik <artur.wojcik@intel.com>. It may
Packit Service db8df9
be used by others.