Problems with our BestSync Installation

Welcome to BestSync Support Forum!
If you have any questions, comments, concerns, suggestion, please summit here, we'll try to reply you in short time.
Thank you!
Post Reply
Pascal
Posts: 6
Joined: Tue Sep 27, 2016 2:01 pm

Problems with our BestSync Installation

Post by Pascal »

Hello,

we currently have some issues with our BestSync Installation. We are running a big installation (number of server is still increasing).
We are currently running 14 servers which should sync to each other.

Because we need to provide a high availability for the customer we set up the sync that every server syncs to every server.

Example:

Server 1 syncs to Server 2
Server 1 syncs to Server 3
Server 2 syncs to Sever 1
Server 2 syncs to Server 2
....

In the past months we had some big problems like 0kb files or completely deleted files (even if we set up no action in the BestSync Deleting settings) or that the file gets corrupted (long pause in the audiofiles).
We are syncing 2 audio formats (hotnews) which have to be available almost instantly on all other servers.

We fixed these problems the last weeks with setting up a new structure currently we have a "Master Server" and the server at the locations. Every location has 2 servers for redundancy.

Currently the master server is syncing to all Servers.
The location Servers are syncing to each other.

Example:

Master Server is syncing to Server 1 Tokio.
Master Server is syncing to Server 2 Tokio.
Tokio 1 Server is syncing to Master Server
Tokio 2 Server is syncing to Master Server
And the Tokio Server are syncing to each other.
Master Server is syncing to Server 1 in Los Angeles.

but in this case the tokio server are not syncing to Los Angeles.

With this set up we fixed these problems. But the problem in this case is, if the master server goes down we have no sync to all servers.


Our problem is we often have some weird problems like (yesterday) the sync to asia (from Germany) stopped while showing "Creating VSS [23/100]".
In the logfiles everything was fine the job said Server Germany to Server Asia (0 Successful 0 Failed) and the Task Logs is showing the files in red but with Successful.
What does that mean?

Do you have any help or tips? How we can set up a stable BestSync Infrastructure with a high availability. Or any idea what could be the problem?

I am thankful for any help.

Thank you in advance.

Kind regards,

Pascal
RiseFly
Site Admin
Posts: 1111
Joined: Tue Nov 03, 2009 2:51 pm

Re: Problems with our BestSync Installation

Post by RiseFly »

Hello,

If you use VSS to copy audio files, it may copy corrupted audio file. Because VSS copy files forcibly, even though the file is still under creating.
So if you does not copy database etc, please do not use VSS, the corruption problem can be resolved.
For file deleting problem, what kind of file system are you using for synchronization, FTP or something else.
If you use FTP, please select a FTP server that supports MLSD command when list files, and MFMT, UTIME etc command for copying timestamp of files. And also please keep the time of servers being synchronized by NTP etc.
Pascal
Posts: 6
Joined: Tue Sep 27, 2016 2:01 pm

Re: Problems with our BestSync Installation

Post by Pascal »

Hi,

thank you very much. We deactivated the VSS on all Servers with all tasks. Hopefully we get this Problem solved :)

We are using SFTP. So we are syncing from a local folder on C:\ to another SFTP directory.
As a FTP Server we are using cygwin, do you have any experience with that? Or any tipps?

I will try to talk to an administrator which can hopefully tell me more about the commands.

Kind regards,
Pascal

EDIT:

The servers aren't running NTP, they are using the local time on each machine, is that bad?
RiseFly
Site Admin
Posts: 1111
Joined: Tue Nov 03, 2009 2:51 pm

Re: Problems with our BestSync Installation

Post by RiseFly »

Because SFTP servers are slightly different, please just setup a task to see if BestSync can sync with the server correctly.
File time is critical for synchronization across servers, I recommend you to use NTP server to synchronize the system time of the servers.
Post Reply