Skip to content

Commit

Permalink
cleanup UCS Webui chapter
Browse files Browse the repository at this point in the history
  • Loading branch information
joergsteffens committed Dec 4, 2015
1 parent 376719d commit 28fa755
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 18 deletions.
48 changes: 30 additions & 18 deletions manuals/en/main/operating-system-univention-corporate-server.tex
Expand Up @@ -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:~# <input>ucr set bareos/backup_myself=yes</input>
Setting bareos/backup_myself
Expand All @@ -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:~# <input>bconsole</input>
Expand All @@ -108,6 +119,7 @@ \subsubsection{Administration}
*
\end{commands}

For general information, see the \ilink{Bconsole Tuturial}{sec:TuturialBconsole}.


\subsubsection{Backup Schedule}
Expand Down Expand Up @@ -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# <input>cat testw2.antares.de.include</input>
root@ucs:/etc/bareos/autogenerated/clients# <input>cat testw2.example.com.include</input>
Client {
Name = "testw2.example.com-fd"
Address = "testw2.example.com"
Expand All @@ -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:~# <input>ucr set bareos/webui/console/user1/password="bareos"</input>
Setting bareos/webui/console/user1/password
File: /etc/bareos/bareos-dir.conf
[ ok ] Reloading Bareos Director: bareos-dir.
root@ucs:~# <input>ucr set bareos/webui/console/user1/username="bareos"</input>
Setting bareos/webui/console/user1/username
File: /etc/bareos/bareos-dir.conf
[ ok ] Reloading Bareos Director: bareos-dir.
root@ucs:~# <input>ucr set bareos/webui/console/user1/password="secret"</input>
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://<UCS_SERVER>/bareos-webui/}.
\begin{center}
\includegraphics[width=0.8\textwidth]{\idir univention-ucs-overview-administration}
Expand Down
2 changes: 2 additions & 0 deletions manuals/en/main/tutorial.tex
Expand Up @@ -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:

Expand Down

0 comments on commit 28fa755

Please sign in to comment.