Reputation: 3362
I had created a synchronization server relationship and try to do initial sync. But the Database Synchronization Failed.
please find the log below that i got during initial sync.
Synchronization Status [ProfileId: 4294967295]
Synchronization Failed
9/2/2013 5:55:02 AMRunning Pre-Initialization Tasks
9/2/2013 5:55:03 AMSynchronization is Initializing
9/2/2013 5:55:03 AMValidating Synchronization Details
9/2/2013 5:55:03 AMSynchronization is Initialized
9/2/2013 5:55:03 AMServer Index Update Started
9/2/2013 5:55:03 AMServer Index Update Completed
9/2/2013 5:55:03 AMDatabase Synchronization Started
9/2/2013 5:55:04 AMDatabase Synchronization Failed
Invalid scopeId 033275af-99c5-4c10-b22d-54be7208e12a Invalid server index.
Local server index:3, Remote server index:3 Local Exception:\nRemote Exception
9/2/2013 5:55:04 AMSynchronization Has Failed
Invalid scopeId 033275af-99c5-4c10-b22d-54be7208e12a Invalid server index.
Local server index:3, Remote server index:3 Local Exception:\nRemote Exception
Synchronization Was Canceled.
What I had done:
Can you please let me know if I’m on the right track?
I got this as solution but i don't know where to update the server index values.
Upvotes: 0
Views: 888
Reputation: 136
There is a solution on the Ektron Customer Portal for this issue https://portal.ektron.com/KB/10329/
....
In sum, for a given relationship or 'forest' of relationships, the 'share_index' values must match, while the 'server_index' values must be unique.
For example, the error "Max index do not match. Local index:12, Remote index:11" would indicate that the 'share_index' values do not match. Use the following SQL query to retrieve the values from a given database, and compare the returned values among the other databases in the relationship:
select server_index, share_index from settings
If you so choose, you can then correct the issue with the following queries:
** Note ** Back-up -every- database in the relationship prior to any direct-editing **
To update 'server_index':
update settings set server_index = xxx
To update 'share_index':
update settings set share_index = xxx
In either case, replace 'xxx' with the value you wish to set. Also, note that the 'share_index' value increments each time a new server is added to the 'forest', it must thus be larger than the largest of the 'server_index' values.
Upvotes: 0
Reputation: 326
I got the solution
Upvotes: 1
Reputation: 898
There's a different process if you're wanting to establish a sync relationship in which you also back up and restore the database between two systems - it's more complicated that way. The most common, and most successful approach is to have your Source server (B in your description above) sync to a min site and min database on the Destination (A in your description).
So the process would be:
Upvotes: 2