File Sync with 2 deployment servers

Hi everyone,

I have an issue with the file sync.

Orignally, we started with a on prem DS/MS server (001). Later we added a second DS server (002) in  a DMZ zone to enroll and keep connection with devices of campus.

Now I notice that the file sync rule doesn"t work anymore. Device is connecting to the server in DMZ and tries to download a file from \\onpremserver\FileSync\.... => DMZ server is saying that it not able to find the share. Seems logical, file is on the on prem serve and not on de DMZ server.

So how can I now push a file? Create the share(s) on the DMZ server an edit the file sync rule or ....

3 years ago
SOTI MobiControl
ANSWERS
RC
Raymond Chan Diamond Contributor
3 years ago

I have to firstly assume  that it is not any filewall rule in your network infrastructure that disallow traffic and/or file read/write permission (for the Win-Server user/admin account used to install your MobiControl server modules) in the referenced file-sync folder(s) on the server side.  

Are the source/destination folder(s) referenced in your file-sync rule residing in a network file-system accessible (i.e. read and write permissions)  by ALL your deployment servers in your HA system?  If not, you have to make it so in the most general case in which ANY devices can be managed by ANY available DS at any time.

Alternatively, if your deployment servers and devices are physically separated clearly (e.g. group "A" devices only managed by DS "A" and  group "B" devices only managed by DS "B", etc.), and you have Server folders "A" accessible by DS "A", and Server folders "B" accessible by DS "B"), then you might try using two file-sync rules to handle the two groups.  More importantly, you have to change the "server priority"  advanced-configuration for the device/device-group such that DS "A" has the highest priority to manage group "A" devices and DS "B" has the highest priority to manage group "B" devices.

MI
Marius Iversen
3 years ago

You can solve this by having the same folder structure and files on both DS1 and DS2.

The file(s) has to be on "C:\%foldername%\" on both DS1 and DS2. 

In the file sync rule, set "C:\%foldername%\". The device will look here which ever DS it is connected to.

If there are no firewall rules or similar that prevents this, it will work. I have the same setup.