Author |
Message |
GregE
Joined: 15 Jul 2008 Posts: 48
|
Posted: Tue Jan 27, 2009 2:53 pm Post subject: Synch 4 Folders - Two Computers |
|
|
I read the KB document about synchronizing 3 computers. I have a situation where I have 4 folders. Two on each of two servers. We want for all 4 folders to stay synchronized in real-time, regardless of what folder gets an update.
I'm trying to get my brain around the logistics of this one. What would I need to setup to achieve this? |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
Posted: Wed Jan 28, 2009 1:17 pm Post subject: |
|
|
Hello
servers A, B, C, D
You could set it up
A to B
B to C
C to D
D to A
or
A to B
A to C
A to D
it depends on which machines you would like to run VV on and shared folder accessibility
thanks _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
GregE
Joined: 15 Jul 2008 Posts: 48
|
Posted: Wed Jan 28, 2009 11:07 pm Post subject: |
|
|
[Thanks for the reply. I am only synchronizing two servers, but each server has two folders, for a total sync of 4 folders.
I have tried VV Pro/VV Engine on just Computer 1 with the following scenario...
Computer 1 contains Folder A and B
Computer 2 contains Folder C and D
A to B <-problem here
A to C
A to D
I've also tried some other scenarios without installing anything on Computer 2, and using only one profile.
Whatever I try, with only one server having software installed, and running only one profile, the problem lies in that slot where I list "B" above. Anything any file I delete from that folder, appears again. If I delete from any other folder in my above topology, they all delete. I guess I'm going to have to install VVPro/VVE on both Computer 1 and Computer 2, or maybe separate profiles on Computer 1, without additional installation on Computer 2?
Still thinking about this one.
Thanks. |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
Posted: Thu Jan 29, 2009 8:03 am Post subject: |
|
|
Hello
this will work
A to B (synchronization)
A to C (synchronization)
A to D (synchronization)
but only if each folder pair is in a different profile, i.e. 3 separate profiles are needed.
thanks _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
GregE
Joined: 15 Jul 2008 Posts: 48
|
Posted: Thu Jan 29, 2009 4:26 pm Post subject: |
|
|
Thank you. Can I use the same tracking database for each profile, or does each profile need it's own tracking db? |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
|
Back to top |
|
|
GregE
Joined: 15 Jul 2008 Posts: 48
|
Posted: Fri Jan 30, 2009 9:17 pm Post subject: |
|
|
Thank you, I've set this up. I'm running into issues dealing with network shares.
A to B works fine.
A to C and A to D are problems due to C and D being Computer 2 (I also have another folder to folder sync also on Computer 1 and 2 not part of the 4 folder sync, but is also having the same problems)
The network sync is not working. I get credential errors....
"....\\Computer2\FolderC" is not accessible using the credentials entered in the profile settings. Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again....."
Thinking I may need separate Windows domain accounts for each profile, we set it up this way and tried again after rebooting the two servers we are synch'ing. The above error happens again. Profile 1 works, but then profiles after that will not work, giving the credentials error.
Is there anything we can do to make this work properly? We are using this synchronization for a customer-facing application and it's critical that this work for us and I am on the hook to have this done ASAP. Last week was the actual deadline but I'm stuck.
*** Update....
I just noticed something in the log.....
2009-01-30 18:30:56 : User: xxxxx.company.com\Computer1$
2009-01-30 18:30:56 : Computer: Computer1.xxxxx.company.com
So when the eror mentions the "same user"....the system is user it's referring to? Not the user in the profile's network settings? How do I connect Computer 1 Folder A to multiple folders on Computer 2 if it's seeing "Computer1$ "as the user and won't allow it to connect to more than one resource on Computer 2?
Anything that will make this work properly? Thank you. |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
Posted: Mon Feb 02, 2009 8:38 am Post subject: |
|
|
Hello
Do you need to log into B, C and D with different user + password ?
If so, try this:
- enter user + password in each profile, under profile settings -> folders -> network ; enter the target share under "path". Enable the option "disconnect when done".
How are you running the profiles, from VVScheduler or VVEngine? Under which account of computer A? That could play a role on accessibility of the shares B,C and D.
thanks _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
GregE
Joined: 15 Jul 2008 Posts: 48
|
Posted: Mon Feb 02, 2009 3:22 pm Post subject: |
|
|
I don't actually need to login to Computer2 with different logins but I have already tried that and that also didn't work. I just setup those separate ones thinking that was the problem. But apparently it's not. I get the same error whether I use one domain account for all profiles, or separate domain accounts for each profile.
I'm running the profiles from VVEngine. The account is a Windows domain account which I've given access to each shared folder on Computer2. I have setup what you mentioned in the profile->network setting, checked "Disconnnect when done" and it still doesnt work.
What happens is that I will have one folder sync that works fine, but that's the only one. The others will not work and give me the error I mentioned in my earlier post. This is a showstopper for our application if this can't be done.
Why in the error log is the "user" Computer1? Shouldn't it be the account I'm using to make the connection?
2009-01-30 18:30:56 : User: xxxxx.company.com\Computer1$
2009-01-30 18:30:56 : Computer: Computer1.xxxxx.company.com
I have also tried having the VVEngine windows service run with a domain account (mine) and the VVEngine web interface will not function in that setup so I can't interact with VVEngine.
**** Does ViceVersa have phone support available? **** |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
Posted: Tue Feb 03, 2009 4:13 am Post subject: |
|
|
Quote: | **** Does ViceVersa have phone support available? **** |
No, sorry.
Is VVEngine running as a service?
Please try the following:
- create a batch file which lists all network connections using the command "net use".
- run this batch file before and after execution (see profile settings -> advanced settings). More info in the help file.
- When VV runs it will output the net use command to the profile log.
- check the log to see which network connections are active
- next , instead of a simple net use , try "net use /delete *"
- this will delete all existing connections to the network.
- see if the problem still persists
thanks _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
GregE
Joined: 15 Jul 2008 Posts: 48
|
Posted: Tue Feb 03, 2009 5:43 pm Post subject: |
|
|
Thank you. Yes VVEngine is running as a service.
When I got in this morning, I was going to do what you suggested, but when I brought up VVEngine web interface, all of my profiles were Enabled properly. (The servers rebooted last night, but I have rebooted a couple of times during this time I've been working on this so I'm not sure what cleared that wasn't cleared before).
The profiles almost work. They are successful -IF- I run them manually, -OR IF my file changes are on Computer1. If I make a change on a Computer2 folder, VVEngine makes no attempt to connect. Any ideas on this?
I wish I knew why they suddenly began to enable properly because right now I'm on development servers and will need to do this in production, adding to a currently successful single folder to single folder (separate computers) sync.
*** Later today, one of these on ComputerB was being detected and would update ComputerA, but there was still one that would not.
Last edited by GregE on Tue Feb 03, 2009 8:33 pm; edited 1 time in total |
|
Back to top |
|
|
GregE
Joined: 15 Jul 2008 Posts: 48
|
Posted: Tue Feb 03, 2009 7:47 pm Post subject: |
|
|
Now suddenly two of the profiles give the error, just as earlier:
[ERROR] "\\Computer2\<sharename>" is not accessible using the credentials entered in the profile settings. Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again.
I've run the global script and also looked at a net use outside of ViceVersa. There are no connections aside from the one taking place during the running of the profiles.
I dont understand why it did not work, then started working (almost), then now is back to credential problems. Seems very very sensitive to something but I cant figure out what.
I have a meeting coming up in the next couple of days. Synchronization is key to this application being deployed and management is needing a status on this. As of now, I have to say it doesn't work as expected, but I hope there is something I'm overlooking. I've tried everything I know to try and have worked hours (days) on testing this. |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
Posted: Wed Feb 04, 2009 2:45 am Post subject: |
|
|
Hello
Maybe the issue is with the account running the service. Is the VVEngine service running under the local system account ? Maybe try admin or the same account under which you log in the server.
What scheduling settings are you using in VVEngine?
Sure that no connections are present when the error message is given, that is the most common cause for this error....
Maybe the issue is that when you login the server with your account you create an extra connection to the remote share which conflicts with the VVEngine service.
thank you _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
GregE
Joined: 15 Jul 2008 Posts: 48
|
Posted: Wed Feb 04, 2009 3:11 pm Post subject: |
|
|
Thank you. There are definitely no additional connections to Computer2.
The VVEngine service is running under the system account. This had always worked for a single folder on Computer1 synchronizing with a single folder on Computer2. It's when I added folders to additional profiles that the problem began. I tried running the VVEngine service using a domain account, but in doing that, the VVEngine webpage does not work so I can't login to the webpage to enable anything. But remember, yesterday morning, after servers rebooted the night before, all profiles were error-free and almost all of them worked. The only one that didnt, was what I mentioned earlier about it simply not detecting a target folder change and would sit idle as if nothing was there to change. So when I say it "almost" all worked, that's what I mean. Then of course later the credential errors started again and only one computer1-to-computer2 profile works. The other two give credential errors. I guess one takes hold and the others can do nothing.
My schedule settings for all profiles are:
...Run every 1 hour (I do this just in case something is missed with monitoring).
...Run Immediately As Soon As Source and Target are Accessible
...Check If Source and Target Are Accessible on the Server Using PING Command Only
...Monitor Source and Run When File Changes Are Detected
...Monitor Target and Run When File Changes Are Detected
If I change it to only monitor the source (Computer1 where VV and VVE are installed), it will update the target when the source changes. If I go back to the schedule settings and also enable to monitor the target, it again does not work, citing the connection error. This tells me that it WILL connect to target, but for some reason will NOT connect to target when it's set to monitor the target.
Thank you again. With all of the questions and suggestions you have made, it sounds as if this should be working, which is why it's so puzzling to me. It has worked, almost, then the things that did work, stopped working and still do not work. Very strange.
Do I need VVand VVE on both computers? An early post in this discussion appeared to imply that I didn't.....
Posted: Thu Jan 29, 2009 8:03 am Post subject:
--------------------------------------------------------------------------------
Hello
this will work
A to B (synchronization)
A to C (synchronization)
A to D (synchronization)
but only if each folder pair is in a different profile, i.e. 3 separate profiles are needed.
-------------------------------------------------------------------------------- |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
Posted: Thu Feb 05, 2009 2:37 am Post subject: |
|
|
Hello
Can you please send the following info to support@tgrmn.com :
- All the ViceVersa profile files (.fsf)
- VVengine.log
- VVengine.xml
- Screenshot of the VVengine home page showing the status of the profiles
- Profile log for all the ViceVersa profile files.
I will check them and let you know.
thanks _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
|