From: Aleš Křenek Date: Fri, 1 Aug 2008 09:17:09 +0000 (+0000) Subject: hands on update X-Git-Tag: merge_316_6_after~19 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=657604d1b15bc04fb76774b74cd548ddaa24a9bb;p=jra1mw.git hands on update --- diff --git a/org.glite.lb.doc/src/LBTP-Introduction.tex b/org.glite.lb.doc/src/LBTP-Introduction.tex index 0a3f9ab..ab14a31 100644 --- a/org.glite.lb.doc/src/LBTP-Introduction.tex +++ b/org.glite.lb.doc/src/LBTP-Introduction.tex @@ -17,6 +17,7 @@ Several layers of tests are considered: \item[Layer 6 - interoperability tests:] Test for interoperability with other grids (might be interactive). \end{description} +\TODO{dalsi cleneni: normal (lze testovat vzhledem k produkcnimu prostredi), certification (musi si kazdy pustit sam), } \subsection{Test Coverage} \TODO{unit tests?} diff --git a/org.glite.lb.doc/src/LBTP-Tests.tex b/org.glite.lb.doc/src/LBTP-Tests.tex index 19b975c..fecc6be 100644 --- a/org.glite.lb.doc/src/LBTP-Tests.tex +++ b/org.glite.lb.doc/src/LBTP-Tests.tex @@ -8,7 +8,7 @@ In this section we describe tests from layers 1 (service ping tests), \subsection{Tests if services are up and running} -\TODO{how?} +\TODO{how? remote vs. local tests} \begin{verbatim} org.glite.testsuites.ctb/LB/lb-l1.sh now does the following: @@ -20,25 +20,22 @@ What needs to be done: - how test scripts should be told to test such a service on such a (nondefualt) port? - test GSI credentials - do a GSI testSocket? hand-shake? -- maybe call a logevent with INTERNAL msg type? +- maybe call a logevent with INTERNAL msg type? -> belongs to level 2 - move all common parts to functions.sh and write individual test scripts for each daemon: \end{verbatim} -\subsubsection{Local-logger} -\TODO{ping, check binaries, check if enough disk capacity is free for dglog* files, -check GSI credentials, gsi-connect?, log an internal msg?, ...} - -\subsubsection{Inter-logger} -\TODO{ping, check binaries, check if enough disk capacity is free for dglog* files, socket-connect?, -check GSI credentials, fake an internal msg to the dglog* direcotry?, ...} +\subsubsection{logger (local \& inter)} +\TODO{ +remote: ping, check binaries on monitoring machine, check GSI credentials, gsi-connect?; +local: check if enough disk capacity is free for dglog* files +il: check binaries, check if enough disk capacity is free for dglog* files, socket-connect? } \subsubsection{Server} -\TODO{ping, check binaries, check MySQL (running, accessible, enough disk capacity, ...), -check GSI credentials, gsi-connect?, socket-connect?, log an internal msg?, -WS getVersion?, HTTP-connect?, check if enough disk capacity is free for dumps?, ...} - -\subsubsection{Notification inter-logger} -\TODO{ping, check binaries, check GSI credentials, gsi-connect?, send some fake notification?, ...} +\TODO{ +monitoring machine prerequisities: check binaries, check GSI credentials, +remote: ping, tcp-connect, ssl-connect, WS getVersion, +local: check MySQL (running, accessible, enough disk capacity, ...), socket-connect?, check if enough disk capacity is free for dumps?, ... ++Notification inter-logger: jako u il} \subsection{Event delivery} @@ -61,6 +58,7 @@ What needs to be done: % locallogger % bez dalsich demonu, registrovat job, vrati EAGAIN, objevi se fajly \subsubsection{Standalone locallogger -- job registration} +\TODO{registrace uz nejde pres LL} \label{reg} \req\ running \path{glite-lb-logd} on the test node, don't start either \path{glite-lb-interlogd} or \path{glite-lb-bkserverd} @@ -120,6 +118,7 @@ format as the locallogger files. % event delivery % poslat .sh, job log vrati to, co bylo ve fajlech \subsubsection{Normal event delivery} +\TODO{na zacatek sekce} \label{normal} \req\ all \LB\ daemons running (\path{glite-lb-logd}, \path{glite-lb-interlogd}, \path{glite-lb-bkserverd} @@ -152,6 +151,7 @@ They can be grabbed and used for comparing the events as in~\ref{recover}. % normal event delivery & job state machine % .sh, dotaz na stav \subsubsection{Normal job states} +\TODO{projit vsechny stavy} \label{state} \req\ \path{glite-lb-bkserverd} running, events from \ref{normal} logged. @@ -166,13 +166,15 @@ events (e.g. destination computing element) wrt. the values reported in the job in the job state same as the `*' part of the script name. \end{hints} -\subsubsection{DAG job states} -\TODO{} +\subsubsection{Non-simple job states} +\TODO{dagy, kolekce, ...} % specialni stav DAGu, histogram potomku \subsection{LB proxy} +\TODO{logovani pridat do Event delivery, ptani se na stavy pridat do Normal job states, +zde resit mizeni jobu z proxy, Milos: kombinovany test na server-proxy} \req\ running \path{glite-lb-proxy}, \path{glite-lb-interlogd} and \path{glite-lb-bkserverd} @@ -194,6 +196,7 @@ above mentioned scripts \path{glite-lb-*.sh} (they are called from \subsection{WS interface} +\TODO{fila: ws example + html example} \req\ \path{glite-lb-bkserverd} running, events from \ref{normal} logged \how\ retrieve both events and job states with the \LB\ WS interface @@ -209,8 +212,11 @@ the same form as e.g. \path{glite-lb-jobstat}. \end{hints} +\subsection{Change ACL} +\TODO{dan: pozdeji - s novym auth. schematem. dopsat TODO jak} \subsection{Notifications} +\TODO{doplnit nove optiony} % notifikace % regjob, reg notifikace na vsechno, poslat udalosti, hlidat notif @@ -291,6 +297,7 @@ immediately. \subsection{Server purge} +\TODO{ljocha, valtri: ozivit skript i text} \textbf{WARNING: This test is destructive, it destroys ALL data in an existing \LB\ database.} diff --git a/org.glite.lb.doc/src/LBUG-Tools.tex b/org.glite.lb.doc/src/LBUG-Tools.tex index d9b043a..fbe8e90 100644 --- a/org.glite.lb.doc/src/LBUG-Tools.tex +++ b/org.glite.lb.doc/src/LBUG-Tools.tex @@ -56,6 +56,10 @@ where verbosity level can be from 0 to 3. \input{notify} +\subsection{HTML and plain text interface} +\TODO{fila neco je jenom in \LBnew only} + + \subsection{Other useful tools} For debugging purposes, low-level commands for getting \LB job status and job related events are provided in