From 28fa7554120bd4f5ad0f780c83e0dc230756d844 Mon Sep 17 00:00:00 2001 From: Joerg Steffens Date: Fri, 4 Dec 2015 23:45:10 +0100 Subject: [PATCH] cleanup UCS Webui chapter --- ...ing-system-univention-corporate-server.tex | 48 ++++++++++++------- manuals/en/main/tutorial.tex | 2 + 2 files changed, 32 insertions(+), 18 deletions(-) diff --git a/manuals/en/main/operating-system-univention-corporate-server.tex b/manuals/en/main/operating-system-univention-corporate-server.tex index 5dc146d235b..47e2639f801 100644 --- a/manuals/en/main/operating-system-univention-corporate-server.tex +++ b/manuals/en/main/operating-system-univention-corporate-server.tex @@ -65,13 +65,23 @@ \subsubsection{UCR variables} \item[no] don't backup the server itself \item[yes] backup the server itself \end{description} - \item[\parameter{bareos/webui/console/user1/username}]: admin (default) - \end{description} - \item[\parameter{bareos/webui/console/user1/password}]: none (default) - \end{description} + \item[\parameter{bareos/webui/console/user1/username}]: admin (default) + \begin{itemize} + \item User name to login at the bareos-webui + \end{itemize} + \item[\parameter{bareos/webui/console/user1/password}]: (no default value) + \begin{itemize} + \item Password to login at the bareos-webui + \end{itemize} \end{description} -UCR variables can be set via the Univention Configuration Registry Web interface or via command line: +UCR variables can be set via the Univention Configuration Registry Web interface + +\begin{center} + \includegraphics[width=0.8\textwidth]{\idir univention-configuration-registry-settings} +\end{center} + +or using the \command{ucr} command line tool: \begin{commands}{Enable backup of the server itself} root@ucs:~# ucr set bareos/backup_myself=yes Setting bareos/backup_myself @@ -98,7 +108,8 @@ \subsubsection{Setup} \subsubsection{Administration} -The administration takes place in the \command{bconsole}: +For general tasks the \ilink{bareos-webui}{sec:webui} can be used. +Additional, there is the \command{bconsole} command line tool: \begin{commands}{Starting the bconsole} root@ucs:~# bconsole @@ -108,6 +119,7 @@ \subsubsection{Administration} * \end{commands} +For general information, see the \ilink{Bconsole Tuturial}{sec:TuturialBconsole}. \subsubsection{Backup Schedule} @@ -227,7 +239,7 @@ \subsubsection{Client and backup job management} The settings for each job resource are set by the job definition from the bareos-director default configuration and the template files you see above. The client configuration file contains, as you can see below, the connection information and the job information: \begin{commands}{} -root@ucs:/etc/bareos/autogenerated/clients# cat testw2.antares.de.include +root@ucs:/etc/bareos/autogenerated/clients# cat testw2.example.com.include Client { Name = "testw2.example.com-fd" Address = "testw2.example.com" @@ -246,29 +258,29 @@ \subsubsection{Client and backup job management} } \end{commands} -\paragraph{Bareos Webui Configuration}$\;$ +\subsubsection{Bareos Webui Configuration} -After installation you just need to setup your login credentials via UCR variables. Therefore, set the Univention configuration registry (UCR) variable bareos/webui/console/user1/username and -bareos/webui/consoles/user1/password according to your needs. The director configuration is automatically reloaded if one of those two variables changes. +After installation you just need to setup your login credentials via UCR variables. +Therefore, set the Univention configuration registry (UCR) variable +\parameter{bareos/webui/console/user1/username} and +\parameter{bareos/webui/consoles/user1/password} +according to your needs. The director configuration is automatically reloaded if one of those two variables changes. -\begin{center} - \includegraphics[width=0.8\textwidth]{\idir univention-configuration-registry-settings} -\end{center} Alternatively you can also set those UCR variables via commandline. \begin{commands}{Example for changing webui login credentials} -root@ucs:~# ucr set bareos/webui/console/user1/password="bareos" -Setting bareos/webui/console/user1/password -File: /etc/bareos/bareos-dir.conf -[ ok ] Reloading Bareos Director: bareos-dir. root@ucs:~# ucr set bareos/webui/console/user1/username="bareos" Setting bareos/webui/console/user1/username File: /etc/bareos/bareos-dir.conf [ ok ] Reloading Bareos Director: bareos-dir. +root@ucs:~# ucr set bareos/webui/console/user1/password="secret" +Setting bareos/webui/console/user1/password +File: /etc/bareos/bareos-dir.conf +[ ok ] Reloading Bareos Director: bareos-dir. \end{commands} -When your login credentials are set, you can login into Bareos Webui by following the entry in your Administration UCS Overview. +When your login credentials are set, you can login into Bareos Webui by following the entry in your Administration UCS Overview or directly via \url{https:///bareos-webui/}. \begin{center} \includegraphics[width=0.8\textwidth]{\idir univention-ucs-overview-administration} diff --git a/manuals/en/main/tutorial.tex b/manuals/en/main/tutorial.tex index 648745e46c9..000d24b4a32 100644 --- a/manuals/en/main/tutorial.tex +++ b/manuals/en/main/tutorial.tex @@ -111,6 +111,8 @@ \section{Starting the Daemons} \section{Using the Director to Query and Start Jobs} +\label{sec:TuturialBconsole} + To communicate with the director and to query the state of Bareos or run jobs, from the top level directory, simply enter: