comparison doc/admin-manual/operating-the-system.tex @ 925:ec28a68b5a87

Unified naming of artefact to artifact doc/trunk@1062 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Hans Plum <hans.plum@intevation.de>
date Thu, 06 May 2010 07:54:53 +0000
parents 9d94bf77e442
children 17c3770e6c63
comparison
equal deleted inserted replaced
924:9d94bf77e442 925:ec28a68b5a87
2 2
3 For running the entire GNV-system the following components have to be 3 For running the entire GNV-system the following components have to be
4 available in the described sequence: 4 available in the described sequence:
5 \begin{enumerate} 5 \begin{enumerate}
6 \item Database server 6 \item Database server
7 \item Artefact-server 7 \item Artifact-server
8 \item Apache Tomcat running the WebClient 8 \item Apache Tomcat running the WebClient
9 \item Apache WebServer 9 \item Apache WebServer
10 \end{enumerate} 10 \end{enumerate}
11 11
12 During a server startup the installed components get started 12 During a server startup the installed components get started
16 16
17 \subsubsection*{Starting and Stopping} 17 \subsubsection*{Starting and Stopping}
18 18
19 The artifact-server can be restarted without stopping the WebClient. 19 The artifact-server can be restarted without stopping the WebClient.
20 During the restart-process client accessing the server get an approriate 20 During the restart-process client accessing the server get an approriate
21 message. Their session data will not be lost if the artefact database 21 message. Their session data will not be lost if the artifact database
22 will remain untouched. 22 will remain untouched.
23 23
24 Stopping artifact-server: 24 Stopping artifact-server:
25 \begin{lstlisting} 25 \begin{lstlisting}
26 /etc/init.d/artefact-server stop 26 /etc/init.d/artifact-server stop
27 \end{lstlisting} 27 \end{lstlisting}
28 28
29 Starting artifact server 29 Starting artifact server
30 \begin{lstlisting} 30 \begin{lstlisting}
31 /etc/init.d/artefact-server start 31 /etc/init.d/artifact-server start
32 \end{lstlisting} 32 \end{lstlisting}
33 33
34 Restarting artifact server 34 Restarting artifact server
35 \begin{lstlisting} 35 \begin{lstlisting}
36 /etc/init.d/artefact-server restart 36 /etc/init.d/artifact-server restart
37 \end{lstlisting} 37 \end{lstlisting}
38 38
39 \subsubsection*{Troubleshooting} 39 \subsubsection*{Troubleshooting}
40 40
41 \paragraph*{Database problems} 41 \paragraph*{Database problems}
49 for the network connection to the database server and the maturity of 49 for the network connection to the database server and the maturity of
50 the database server. 50 the database server.
51 51
52 \paragraph*{Caching problems} 52 \paragraph*{Caching problems}
53 Inconsistencies between original data and cached data: 53 Inconsistencies between original data and cached data:
54 The artefact-server stores result sets of the database in a cache and 54 The artifact-server stores result sets of the database in a cache and
55 provides maps via configuration files for MapServer based on shapefiles. 55 provides maps via configuration files for MapServer based on shapefiles.
56 In case of inconsistencies showing up for longer than twice the 56 In case of inconsistencies showing up for longer than twice the
57 maximum of the update cycle of internal ETL processes, do the following 57 maximum of the update cycle of internal ETL processes, do the following
58 as user \verb+root+: 58 as user \verb+root+:
59 59
60 \begin{lstlisting} 60 \begin{lstlisting}
61 /etc/init.d/artefact-server stop 61 cd /opt/artifact-server
62 rm -ri $ARTEFACT-SERVER-HOME/cache/* 62 /etc/init.d/artifact-server stop
63 /etc/init.d/artefact-server start 63 rm -ri cache/*
64 /etc/init.d/artifact-server start
64 \end{lstlisting} 65 \end{lstlisting}
65 66
66 \subsection{Managing the GNV-Client} 67 \subsection{Managing the GNV-Client}
67 \subsubsection*{Start Stop Restart} 68 \subsubsection*{Start Stop Restart}
68 69

http://dive4elements.wald.intevation.org