In \LBold, the list of all LB packages was the following:
+\TODO{ljocha: vylepsit popisky, taky do zdrojaku}
+
\begin{tabularx}{\textwidth}{>{\tt}lX}
glite-lb-common & LB common files \\
glite-lb-client & LB client library \\
($10 \cdot 40000 \cdot 0.000000120 + 10$) gigabytes (not accounting for operating
system and system logs).
+\TODO{salvet: vylepsit citelnost formulky}
+
For smooth handling of 40\,000 jobs/day, this or better machine configuration
is necessary:
\begin{itemize}
\subsubsection{Standard installation}
+\TODO{valtri: odkazy na metapackage a repository, zkusit najit oficialni gLite dokumentaci}
+
After installation and configuration of OS and basic services
(certificates, CAs, time synchronization), glite-LB metapackage
from appropriate gLite sotware repository should be installed.
\label{f:comp-query}
\end{figure}
-\TODO{uplne to same (ty components) mame i v UG; chceme to tady duplikovat?
-zvlast kdyz v odstavci nad tim se pise, ze uz je to popsane v UG}
+%\TODO{uplne to same (ty components) mame i v UG; chceme to tady duplikovat?
+%vlast kdyz v odstavci nad tim se pise, ze uz je to popsane v UG}
\input components
\subsection{General Guidelines}
+\TODO{kde se vzalo edg}
+
\marginpar{Naming conventions}%
All names exported by the \LB library (function names, symbolic
constants) are prefixed to avoid name clashes. The prefix is
mapped and \LB specific error value greater than
\verb'EDG_WLL_ERROR_BASE' is returned.
-\TODO{mozna by stalo za to zminit f-ce edg\_wll\_*Error*}
-
Few API function return \verb'char *'. In such a~case
\verb'NULL' indicates an error, non-null value means success.
\subsection{Context and Parameter Settings}
\label{s:context}
-The \LB library does not maintain internal state, all the API
+The \LB library does not maintain internal state (apart of network connections, see \ref{s:pool}), all the API
functions refer to a~\emph{context} argument instead.
Context object preserves state information among the various API
calls, the state including \LB library parameters (\eg security
in section~\ref{s:edg_wll_context}
\subsection{Connection Pool}
+\label{s:pool}
The \LB library maintains pool of client--server connections to
improve performance (creating SSL connection is heavy--weight
operation). The connections are transparently shared and reused by all
\def\insideDG{}
\input{definitions}
-\def\LB{LB\xspace}
+%\def\LB{LB\xspace}
\title{Logging and Bookkeeping}
\Subtitle{Developer's Guide}
In this section we give a description of the CLI tools that a regular grid user
might want to use. If not stated otherwise, the tools are distributed in the
-\verb'glite-lb-client' RPM. Behaviour of the commands can be often changed by
+\verb'glite-lb-client' RPM. Behaviour of the commands can be changed by
setting some of the following enviroment variables:
+\TODO{ruda: tady kapitolku, ze prostredi je dulezite, odkaz na appendix, kde bude vsechno. common/src/param.c}
+
\begin{tabularx}{\textwidth}{lX}
GLITE\_WMS\_LOG\_DESTINATION & address of \verb'glite-lb-logd' daemon, in form \verb'hostname:port', for logging events\\
GLITE\_WMS\_LOG\_TIMEOUT & timeout (in seconds) for asynchronous logging\\
\LB server and port to contact is specified with GLITE\_WMS\_NOTIF\_SERVER
environment variable.
-\TODO{ruda, what's supported in \LBold, what in \LBnew}
+\TODO{ruda, what's supported in \LBold (jen example), what in \LBnew}
\verb'glite-lb-notify' support these actions:
\begin{verbatim}
GLITE_WMS_NOTIF_SERVER=skurut68-2.cesnet.cz:9100 bin/glite-lb-notify new \
-j https://skurut68-2.cesnet.cz:9100/D1qbFGwvXLnd927JOcja1Q
+\end{verbatim}
returns:
+
+\begin{verbatim}
notification ID: https://skurut68-2.cesnet.cz:9100/NOTIF:tOsgB19Wz-M884anZufyUw
\end{verbatim}