# How to Step by Step install a distributed MOBOTIX HUB System within an Active Directory

**URL:** <https://community.mobotix.com/t/how-to-step-by-step-install-a-distributed-mobotix-hub-system-within-an-active-directory/4052>\
**Category:** FAQ\
**Tags:** mxhub, hub, install, activedirectory\
**Created:** [June 2, 2021, 6:09am UTC](https://community.mobotix.com/t/how-to-step-by-step-install-a-distributed-mobotix-hub-system-within-an-active-directory/4052 "2021-06-02T06:09:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mx-MaikC](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.mobotix.com/mx-maikc/32/1179_2.png) [@Mx-MaikC](https://community.mobotix.com/u/Mx-MaikC)\
**Post date:** [June 2, 2021, 6:09am UTC](https://community.mobotix.com/t/how-to-step-by-step-install-a-distributed-mobotix-hub-system-within-an-active-directory/4052/1 "2021-06-02T06:09:47Z")

</div>

## 1.Prepare your servers and network

**Operating system**

Make sure that all servers have a clean installation of a Microsoft Windows operating system, and that it is updated with all the latest Windows updates.

For information about the system requirements for the various components of your system, go to the Mobotix website ([https://www.mobotix.com/sites/default/files/2021-05/Mx\_SR\_HUB%202020%20R3\_1-02\_EN\_20210527.pdf](https://www.mobotix.com/sites/default/files/2021-05/Mx_SR_HUB%202020%20R3_1-02_EN_20210527.pdf)).

**Microsoft® .NET Framework**

Check that all servers have Microsoft .NET Framework 4.7 or higher installed.

**Network**

Assign static IP addresses or make DHCP reservations to all system components and cameras. To make sure that sufficient bandwidth is available on your network, you must understand how and when the system consumes bandwidth. The main load on your network consists of three elements:

```
Camera video streams
Clients displaying video
Archiving of recorded video

```

The recording server retrieves video streams from the cameras, which results in a constant load on the network. Clients that display video consume network bandwidth. If there are no changes in the content of the client views, the load is constant. Changes in view content, video search, or playback, make the load dynamic.

Archiving of recorded video is an optional feature that lets the system move recordings to a network storage if there is not enough space in the internal storage system of the computer. This is a scheduled job that you have to define. Typically, you archive to a network drive which makes it a scheduled dynamic load on the network.

Your network must have bandwidth headroom to cope with these peaks in the traffic. This enhances the system responsiveness and general user experience.

* * *

## 2.Prepare Active Directory

If you want to add users to your system through the Active Directory service, you must have a server with Active Directory installed and acting as domain controller available on your network.

For easy user and group management, Mobotix recommends that you have Microsoft Active Directory® installed and configured before you install your MOBOTIX HUB system. If you add the management server to the Active Directory after installing your system, you must reinstall the management server, and replace users with new Windows users defined in the Active Directory.

Basic users are not supported in MOBOTIX Federated Architecture systems, so if you plan to use MOBOTIX Federated Architecture, you must add users as Windows users through the Active Directory service.

* * *

## System Overview

**1. Active Directory**  
**2. Server with SQL Server**  
**3. ManagementServer**  
**4. Event Server**  
**5. Log Server**  
**6. Recording Server**  
**7. Devices**  
**8. Mobile Server**  
**9. Mobile Devices**  
**10. Mobotix Hub DeskClient**  
**11. Management Client**

 ![Übersicht.PNG](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/e/e8b632ea76d1824c63bcfb997eab8d2deadcb0aa.jpeg)

## 3.Decide on a SQL Server edition

Microsoft® SQL Server® Express is a free edition of SQL Server and is easy to install and prepare for use compared to the other SQL Server editions. During a Single computer installation, Microsoft SQL Server Express is installed unless a SQL Server is already installed on the computer.

The MOBOTIX HUBt VMS installation includes Microsoft SQL Server Express version 2019. Not all Windows operating systems support this edition of SQL Server. Before you install MOBOTIX HUB VMS, verify that your operating system supports SQL Server 2019. If your operating system does not support this edition of SQL Server, install a supported edition of SQL Server before you start the MOBOTIX HUB VMS installation. For information about supported SQL Server editions, see [https://www.mobotix.com/sites/default/files/2021-05/Mx\_SR\_HUB%202020%20R3\_1-02\_EN\_20210527.pdf](https://www.mobotix.com/sites/default/files/2021-05/Mx_SR_HUB%202020%20R3_1-02_EN_20210527.pdf)

For very large systems or systems with many transactions to and from the SQL databases, Mobotix recommends that you use a Microsoft® SQL Server® Standard or Microsoft® SQL Server® Enterprise edition of the SQL Server on a dedicated computer on the network and on a dedicated hard disk drive that is not used for other purposes. Installing the SQL Server on its own drive improves the entire system performance.

* * *

## Select service account

As part of the installation, you are asked to specify an account to run the MOBOTIX services on this computer. The services always run on this account no matter which user is logged in. Make sure that the account has all necessary user rights, for example, the proper rights to perform tasks, proper network and file access, and access to network shared folders.

You can select either a predefined account, or a user account. Base your decision on the environment that you want to install your system in:

**In a domain environment:**

Mobotix recommends that you use the built-in Network Service account

It is easier to use even if you need to expand the system to multiple computers.  
You can also use domain user accounts, but they are potentially more difficult to configure

* * *

## 4.Virus scanning exclusions (explained)

As is the case with any other database software, if an antivirus program is installed on a computer running MOBOTIX HUB software, it is important that you exclude specific file types and folders, as well as certain network traffic. Without implementing these exceptions, virus scanning uses a considerable amount of system resources. On top of that, the scanning process can temporarily lock files, which could result in a disruption in the recording process or even corruption of databases.

When you need to perform virus scanning, do not scan Recording Server folders that contain recording databases (by default C:\mediadatabase, as well as all subfolders). Also, avoid performing virus scanning on archive storage directories.

Create the following additional exclusions:  
File types: .blk, .idx, .pic  
Folders and subfolders:  
C:\Program Files\MOBOTIX or C:\Program Files (x86)\MOBOTIX  
C:\ProgramData\MOBOTIX\MIPSDK  
C:\ProgramData\MOBOTIX\HUB Mobile Server\Logs  
C:\ProgramData\MOBOTIX\HUB Data Collector Server\Logs  
C:\ProgramData\MOBOTIX\HUB Event Server\Logs  
C:\ProgramData\MOBOTIX\HUB Log Server  
C:\ProgramData\MOBOTIX\HUB Management Server\Logs  
C:\ProgramData\MOBOTIX\HUB Recording Server\Logs  
C:\ProgramData\MOBOTIX\HUB Report Web Server\Logs

Exclude network scanning on the following TCP ports:  
**MOBOTIX HUB VMS: _80, 8080, 7563, 25, 21, 9993_**  
**MOBOTIX HUB Mobile: _8081, 8082_**

or

Exclude network scanning of the following processes:

**MOBOTIX HUB VMS: _VideoOS.Recorder.Service.exe, VideoOS.Server.Service.exe, VideoOS. Administration.exe_**  
**MOBOTIX HUB Mobile: _VideoOS.MobileServer.Service.exe_**

Your organization may have strict guidelines regarding virus scanning, but it is important that you exclude the above folders and files from virus scanning.

* * *

## 5.Installation of a distributed MOBOTIX HUB System

**1. Install SQL Server**  
Since the ManagementServer requires or creates an SQL database, the SQL server must be suspended in the first step

**2. Installing Management Server**  
Since all other components of the MOBOTIX HUB System log on to the ManagementServer, it must be installed in the first step. After the installation, it is possible to download all other required components separately.

By double clicking on the EXE File of the MOBOIX HUB VMS Installer, you can start the installation

Choose your **language** for the installation part

 ![1](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/a/ab860f477782e65bd7c39d19c346014ca75372b0.png)

Click **Continue**

* * *

Accept the MOBOTIX license agreement

 ![2](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/4/4f906915f4d6472731a887bf0e151556dd9f1f49.png)

Click **Continue**

* * *

Browse for your **MOBOTIX HUB License**

 ![3](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/e/ea263ed1543b2315d810c2aeeec98aa997675d81.png)

Click **Continue**

* * *

Select **Custom** to decide to only installing ManagementServer

 ![4](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/a/af8ffe214244ee20c34f9659266e8e3f1e913864.png)

Select only the **HUB ManagementServer**

 ![5](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/3/366beea335a82972b71feb739abc6b41203371c1.png)

Click **Continue**

* * *

Now you can decide whether you want to install SQL Express on this PC or use an existing SQL Server on the network.

In this case, a SQL Express Server has already been installed and configured.  
For this example we use the existing SQL Express Server

 ![6](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/4/41a73c331d08a8689f25d0964ac6a68f0b47b897.png)

Click **Continue**

* * *

Now you can decide to create a new database on the SQL Server or use an existing database

 ![7](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/1/1621bbf72c1a7e492732f1fc278d28121d19ab49.png)

Click **Continue**

* * *

Select a configuration password to protect your system after.

 ![8](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/d/d825f933bfcfe64d06c8b8415e153f7a431bc971.png)

Click **Continue**

* * *

Choose **Network Service** or use a Active Directory user with the right rights to install and configure the system.

 ![9](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/9/90b0328218800ada10323d8856610134d487222e.png)

Click **Continue**

* * *

In this step you can secure your system with self-created certificates

 ![10](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/5/5dd84e2efaa0a50a0f8eff07dfcf93d31fca4ccf.png)

Click **Continue**

* * *

Select the **file location** and **product language** for your installation

 ![11](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/8/8983fd1c788f5de303306cb5e221238ffa543a55.png)

Click **Install**

* * *

After some minutes the installation is done.  
Make sure that the check mark is set for **“Show system component download page”**

 ![12](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/7/774d465dd0898c69fc606978da89c4d33a71972c.png)

Click **Close**

* * *

A window of your prefered browser will open and now you can download (locally) all components you want to use in your system.

 ![13](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/b/bad30ad805e5556bbb6ead383bf7df11bbe27049.png)

* * *

**3. Installing Log Server**

Choose your **language** for the installation part

 ![1](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/1/1dc3e2aaa95bda9c31930fd0b8d31ae7e075e65c.png)  
Click **Continue**

* * *

Accept the MOBOTIX license agreement

 ![2](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/f/f92b95f74de882a9e84dfa17a75a1eb81aeaf424.png)  
Click **Continue**

* * *

Choose your SQL Server in your network

 ![3](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/a/ae73d1ac71babbed2f2a73f2f842acb1293cc543.png)  
Click **Continue**

* * *

Create a new databse or use an existing database

 ![4](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/d/d79a469dc89c30ba5fc4f6e32bb658f7d4e526a5.png)  
Click **Continue**

* * *

Choose **Network Service** or use a Active Directory user with the right rights to install and configure the system.

_In this case I want to show you, that not only the Network Service works._

 ![5](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/3/3eebe05734d452353281f9110069e813f8cdfdba.png)

Click **Continue**

* * *

Enter the URL of your **HUB ManagementServer**.

Use the **IP-Adresse** or the **Hostname** of your ManagementServer “PC”.  
The standort Port is: **80**

 ![6](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/0/07e6e548bb6988844dc16f594677dbeb9ea2b522.png)  
Click **Continue**

* * *

In this step you can secure your system with self-created certificates

 ![7](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/3/3f66f47c1f738c81081934058f75034a97a0137d.png)  
Click **Continue**

* * *

Select the **file location** and **product language** for your installation

 ![8](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/2/22c2b77da6efaeb133d22880a8a64d25bcc48930.png)

Click **Install**

* * *

After some minutes the installation is done.

 ![9](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/4/4f71e029e57bba14de10f0f0648ffdc43aeb0bdd.png)

Click **Close**

* * *

**4. Installing Event Server**

Choose your **language** for the installation part

 ![1](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/c/cceac4684458f3359bb8d75657f200a1fcb8918f.png)  
Click **Continue**

* * *

Enter the URL of your **HUB ManagementServer**.

Use the **IP-Adresse** or the **Hostname** of your ManagementServer “PC”.  
The standort Port is: **80**

 ![2](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/4/4a3f9d25aa79f6a6ea649ce7dec941e8fda13216.png)

Click **Continue**

* * *

In this step you can secure your system with self-created certificates

 ![3](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/b/b5e9e51c593799dc7052e8c70bc9db767d7cdb80.png)  
Click **Continue**

* * *

Select your SQL Server and the correspondig databse of your system

 ![4](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/1/155ffce76a184a5d44ec578f56f67261c782fdfa.png)

Click **Continue**

* * *

Choose **Network Service** or use a Active Directory user with the right rights to install and configure the system.

_In this case I want to show you, that not only the Network Service works._

 ![5](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/9/938b8439e8d4d538fd24525d25dc38bedcc5c68c.png)  
Click **Continue**

* * *

Select the **file location** and **product language** for your installation

 ![6](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/d/d812e622030c4a01bec97eb7b7e35b35eacfb946.png)  
Click **Install**

* * *

After some minutes the installation is done.

 ![7](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/f/f43ff9ee57fff6fc6cf980b6b36902055ceec68e.png)  
Click **Close**

* * *

**5. Installling Recording Server**

Choose your **language** for the installation part

 ![1](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/c/c8168d1e2dff625b14ed563648801b78ee20a5f1.png)  
Click **Continue**

* * *

Select **Custom**

 ![2](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/a/a0e35c4b4ea89d4b1c7f84d1889fc84628b7c13a.png)

* * *

Enter a name for your recording server and the adress of your **management server**  
Use the **IP-Adresse** or the **Hostname** of your ManagementServer “PC”.  
The standort Port is: **80**

Select the locatin where the recordings should be placed

 ![3](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/f/f471717f19a2653eab6e518f27a6c894be836a03.png)  
Click **Continue**

* * *

Here you can decide to install more then one recording server on this computer.

Select 1 when you want to use only one recording server

 ![4](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/2/270e566cb8d2dce6f23ae0042084853ce55ddcf6.png)

Click **Continue**

* * *

Choose **Network Service** or use a Active Directory user with the right rights to install and configure the system.

 ![5](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/3/30379fade6cf182667570e05e167931cdf5027b6.png)

Click **Continue**

* * *

In this step you can secure your system with self-created certificates

 ![6](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/e/ed5f592d108d0a38d53d58623f0c01de97a8edf1.png)  
Click **Continue**

* * *

Select the **file location** and **product language** for your installation

 ![7](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/b/b262232b1d0a5a3d5416940dd56b5adf7d15d4fb.png)  
Click **Install**

* * *

After some minutes the installation is done.

 ![8](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/e/ee73b26fd03910a0d623011788df4bc77daf18b2.png)  
Click **Close**

* * *

## Install the latest device pack on the computer on which the recording server is running, to get full support of the latest cameras!

* * *

**6. Installing Mobile Server**  
To get a connection via Mobile App or WebClient you have to install a separated Mobile Server

Choose your **language** for the installation part

 ![1](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/3/3cfe511e96b6a65cf6011b7713082b890e59fc69.png)  
Click **Continue**

* * *

Accept the MOBOTIX license agreement

 ![2](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/a/aa0f6ae77f6f1d9d9d878ebebb49eb71dc190017.png)  
Click **Continue**

* * *

Select **Custom**

 ![3](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/d/dc812f9cee71ff71ea914d18172c0ad8f8aeb7dc.png)

* * *

Select HUB Mobile Server (64-bit) and the preferred Admin Plugin

 ![4](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/b/b3c2e0212828602f7694e5e48ddcaa95e69bff3b.png)  
Click **Continue**

* * *

Choose **Network Service** or use a Active Directory user with the right rights to install and configure the system.

_In this case I want to show you, that not only the Network Service works._

 ![5](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/4/4ff0e2ed9f1f2158629c084b9fa38b0de0ca621c.png)  
Click **Continue**

* * *

Enter the adress of your **management server**  
Use the **IP-Adresse** or the **Hostname** of your ManagementServer “PC”.  
The standort Port is: **80**

Choose the Mobile Server Ports for the mobile connection  
Default:  
**HTTP: 8081**  
**HTTPS: 8082**

 ![6](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/0/01f6f2cdca8c03238951c249cd9131f718af8b8b.png)

Click **Continue**

* * *

In this step you can secure your system with self-created certificates

 ![7](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/0/06f5cde75737a2855859649c944d261c5c394a89.png)  
Click **Continue**

* * *

Select the **file location** and **product language** for your installation

 ![8](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/b/bd9b3b4cc0fd2fc6fefda6fce51fd8eb64a55c01.png)

Click \*_Install_

* * *

After some minutes the installation is done.

 ![9](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/d/d1fa3c903f4954458acd9bcaaaac0c5508540839.png)

Click **Close**

* * *

**7. Installing ManagementClient**

Choose your **language** for the installation part

 ![1](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/7/780a52ae08117ef07914bf773f8b1aa0add45e7e.png)  
Click **Continue**

* * *

Accept the MOBOTIX license agreement

 ![2](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/3/30dc5bbcd3db8958475de0440e34e99506c299f1.png)

Click **Continue**

* * *

Select the **file location** and **product language** for your installation

 ![3](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/0/0ba72090ea28a087261b782b4d0a3510dec4de5b.png)

Click **Install**

* * *

After some minutes the installation is done.

* * *
