M.Gessner - System Engineer HepIX’99 Remote Logging System (rls) Marc Gessner gessner@in2p3.fr...

Post on 13-Jan-2016

215 views 0 download

transcript

M.Gessner - System Engineer HepIX’99

Remote Logging System (rls)Remote Logging System (rls)

Marc Gessnergessner@in2p3.fr

Centre de Calcul de l ’IN2P3

M.Gessner - System Engineer HepIX’99

RLS - PresentationRLS - Presentation

Why did we develop a message router ?• The IN2P3-Computing Center.

• What we had & what we needed. What is RLS ?

• Main Principles.

• The messages.

• The client Products :– RLS Console : GUI, customization of display and

filters.– WebRLS : Queries and results.

What do you need to remember ?

M.Gessner - System Engineer HepIX’99

IN2P3 Computing CenterIN2P3 Computing Center

More than 250 Unix Stations. 5 Different UNIX Flavours. Remains available 24h/24 & 7d/7. Thousands (Millions) of log messages

generated everyday. Various « home-made » applications.

M.Gessner - System Engineer HepIX’99

Former administration systems

Former administration systems

Mail messages :• Much too slow.

• Systems administrators mailboxes pollution (Often thousands of mails a day).

Syslogs :• Too many messages to read them everyday.

• No standard message format for different operating systems.

• No filtering.

M.Gessner - System Engineer HepIX’99

The need of renewalThe need of renewal

We needed something to replace e-mail :• The logs had to be centralized.

• It had to be filtered– Easier to read.– Smaller impact on network bandwidth.

• It should have generated audio alarms for high severity messages.

• It had to be quick and reliable.

• It had to work on heterogeneous platforms and networks.

M.Gessner - System Engineer HepIX’99

Commercial ProductsCommercial Products

Each of the products had at least one of the drawbacks listed here below.

• Filtering difficult and uneasy to adapt.

• Difficult to parameterize or to interface with «home-made» applications.

• Heavy load for the platforms (CPU Time / Network bandwidth / Disk space).

• NIS / DNS dependant.

M.Gessner - System Engineer HepIX’99

What is RLS ?What is RLS ?

The message router was developed at the end of 1997 for and by the System Administration group.

Used since Feb 1998 for error and alert messages transmission.

An information centralization productAn information centralization product

M.Gessner - System Engineer HepIX’99

PrinciplesPrinciples

Developed in C. Uses UDP-TCP/IP, sockets and IPCs.

Agents available for AIX, Digital Unix, HP-UX, Linux

and Solaris.

Provides both :

• an API to send messages from «home-made» applications

in C and C++.

• a command line interface to send messages from shell

scripts.

M.Gessner - System Engineer HepIX’99

RLS : How it works.RLS : How it works.

rlsdrlsdAny program

+RLS agent

Any program+

RLS agent

MonitoredMonitoredServerServer

UDP/IPUDP/IP

RLS serverRLS server Clients Clients

TCP/IPTCP/IP

Text FilesText Files

Webrls

rlscons

Webrls

rlscons

M.Gessner - System Engineer HepIX’99

The messageThe message

A Message is made of :

• A «tag» : Sending application name or default class.

• A severity level.

• A text.

• A unique message identifier (uuid).

• Identification of the sender :

– UID / GID / Host of the sender.

• Emission and reception timestamps.

M.Gessner - System Engineer HepIX’99

Client ProductsClient Products

RlsCons- X graphical console.

- « Real time » displaying.- C program with GTK graphical interface.

WebRLS- Available from any web browser.- History display.- CGI - BIN program.

M.Gessner - System Engineer HepIX’99

RlsCons.RlsCons.

M.Gessner - System Engineer HepIX’99

RLSCons CustomizationRLSCons Customization

All the displayed information can be customized.

M.Gessner - System Engineer HepIX’99

RLSCons CustomizationRLSCons Customization

To each severity can be associated :

• A sound : Increases your popularity among your

colleagues.

• Color codes.

M.Gessner - System Engineer HepIX’99

RLSCons CustomizationRLSCons Customization

Set up of filters :

• Beta platforms which shall not be monitored.

• Problems you don ’t want to hear about, ...

M.Gessner - System Engineer HepIX’99

RLSCons MessagesRLSCons Messages

Available informations about each message.

M.Gessner - System Engineer HepIX’99

WebRLS QUERIESWebRLS QUERIES

M.Gessner - System Engineer HepIX’99

WebRLS ResultsWebRLS Results

M.Gessner - System Engineer HepIX’99

More Info ...More Info ...

Performances :

• 1 Second to display a message in RLSConsole.

• Able to handle at least 100 Messages per second.

Interested ? mailto: sysunix@cc.in2p3.fr

About GTK : www.gtk.org