Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
multiple fds on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz authored and joergsteffens committed Sep 16, 2015
1 parent 9ef9608 commit e1aec66
Showing 1 changed file with 34 additions and 5 deletions.
39 changes: 34 additions & 5 deletions manuals/en/main/win32.tex
Expand Up @@ -114,6 +114,36 @@ \subsection{Command Line (Silent) Installation}
databases. If login is not possible silent installer will abort


\subsection{Installing multiple windows filedaemon services}

It is possible to run multiple filedaemon instances on windows.
To achieve this, you need to create a service for each instance, and a configuration file that at least
has a individual fd port for each instance.

To create two bareos-fd services, you can call the following service create calls on the commandline on windows as administrator:

\begin{commands}{}
sc create bareosfd binpath="\"C:\Program Files\Bareos\bareos-fd.exe\" /service -c \"C:\ProgramData\Bareos\bareos-fd.conf\"" depend= "tcpip/afd"
sc create bareosfd2 binpath="\"C:\Program Files\Bareos\bareos-fd.exe\" /service -c \"C:\ProgramData\Bareos\bareos-fd2.conf\"" depend= "tcpip/afd"
\end{commands}

This will crate two fd services, one with the name bareosfd and the second with the name bareosfd2.

The Configuration files for the two services are bareos-fd.conf and bareos-fd2.conf, and need to have different network settings.

The services can be started by calling

\begin{commands}{}
net start bareosfd
\end{commands}

and

\begin{commands}{}
net start bareosfd2
\end{commands}


\section{Dealing with Windows Problems}
\label{problems}
\index[general]{Problem!Windows}
Expand Down Expand Up @@ -507,11 +537,10 @@ \subsection{Network TCP Port}
If you want to see if the File daemon has properly opened the port and is
listening, you can enter the following command in a shell window:

\footnotesize
\begin{verbatim}
netstat -an | findstr 910[123]
\end{verbatim}
\normalsize
\begin{commands}{}
netstat -an | findstr 910[123]
\end{commands}



\section{Windows Restore Problems}
Expand Down

0 comments on commit e1aec66

Please sign in to comment.