Displaying 20 results from an estimated 20000 matches similar to: "Sysvol replication with Unison for more than 2 server."
2017 Mar 20
2
Bidirectional Rsync/Unison based SysVol replication workaround
Hi
I use /usr/bin/rsync -XAavz --log-file /var/log/sysvol-sync.log
--delete-after -f"+ */" -f"- *" /var/lib/samba/sysvol
root at DC2:/var/lib/samba && /usr/bin/unison &> /dev/null
and works ok
but not working with crontab
*/5 * * * * root /usr/bin/rsync -XAavz --log-file
/var/log/sysvol-sync.log --delete-after -f"+ */" -f"- *"
2014 Mar 28
4
Update3: easy - automated setup : Debian Wheezy with sernet samba 4.1 : sysvol replication with unison.
Hai,
Small update since i need som testers..
im trying to setup bi-directional sysvol replication.
Unison has this ability.
http://www.cis.upenn.edu/~bcpierce/unison/
This is beta, so if you have successed, please report this back.
DONT TEST THIS ON YOUR PRODUCTION ENVIRONMENT.
Thanks !
Louis
2015 Jun 23
2
Bi-directional sync for Sysvol folder -- Osync?
Dear Belle,
That produce the similar situation.
Thus I'm trying osync
And the result are much present according to my test case
And configuration are much streamline.
However, I'm not sure how it can work with 2 DC or more...
Thank You
On Mon, Jun 22, 2015 at 9:05 PM, L.P.H. van Belle <belle at bazuin.nl> wrote:
> Hai Min Wai Chan,
>
> I have tested it as shown in
2015 Jun 25
2
Bi-directional sync for Sysvol folder -- Osync?
Hi,
I was thinking about bidirectional sync of sysvol and i've a question:
?What about DRBD?. You can create a disk partition in every node, create a
DRBD cluster and then mount that partition on sysvol folder. The
sincronization is bidirectional and in real time.
For now i've not tested this option, but i've plans to start some tests.
What is your opinion about this?
Greetings!!
2015 Jun 25
2
Bi-directional sync for Sysvol folder -- Osync?
Dear Daniel, Klaus
I've try that before
But because of how samba work on the files.
The Advise is No
Without CTDB, you will just shoot yourself on the foot...
On Thu, Jun 25, 2015 at 7:39 PM, Zerwes, Klaus <zerwes at rosalux.de> wrote:
> Just some notes:
> For master <-> master setup (bi-directional sync) you need AFAIK a cluster
> filesystem.
> I have no idea
2015 Jun 22
3
Bi-directional sync for Sysvol folder -- Osync?
Hello Min Wai Chan,
?
Can you explain more about,, the DC1 will remove any emptey directory on DC1.
tested it here, but that does not occure here.
i can create empty directories on DC1, and these are synced to DC2. empty or not.
?
?DC1 will overwrite any users/group change on DC2?
if setup correctly, your sysvol rights on DC1 and DC2 are the same..
?
i suggest you to the following.
get the
2015 Jun 25
1
Bi-directional sync for Sysvol folder -- Osync?
2015-06-25 14:44 GMT+02:00 Daniel Carrasco Mar?n <danielmadrid19 at gmail.com>:
>
>
> 2015-06-25 14:12 GMT+02:00 Min Wai Chan <dcmwai at gmail.com>:
>
>> Dear Daniel, Klaus
>>
>> I've try that before
>> But because of how samba work on the files.
>>
>> The Advise is No
>> Without CTDB, you will just shoot yourself on the
2014 Aug 21
1
Proper sysvol replication solution...
I see the Samba guide suggests using rsync to keep sysvols in sync, but
this poses a problem with ID's and it is only one-way. I have been
hesitant to suggest anything because of the flak I have been getting,
but I do believe I have a much better solution that transfers files via
SSH, is bi-directional (no more only editing group policy on one
server), and does NOT set UID/GID
2015 Jun 18
3
Bi-directional sync for Sysvol folder -- Osync?
Hello all,
Just to ask have anyone try osync before?
https://github.com/deajan/osync
And would you think that this will fix our issue on
https://wiki.samba.org/index.php/SysVol_Bidirectional_Replication
Where DC2 files or folder will be removed?
Thank You.
2014 Nov 08
1
Re: Re: Re: DC2 denies access whe
Hello Rowland, Louis and Min,
sorry for late reply, I was really busy in the past days. As Min already wrote, I have made the same experience unfortunately. With Rowland's suggested settings it didn't solve the problem. I'm on another issue at the moment and didn't find time to check the rsync/unison process on my own, but I'll promise I'll dive into it as soon as I can.
2014 Nov 02
3
DC2 denies access when saving through the Gro
> OK, make sure that the two idmap.ldb files match and then run
> 'samba-tool ntacl sysvolreset' on both machines and see if this cured
> this problem.
I did:
root at dc1:~$ service sernet-samba-ad stop
root at dc2:~$ service sernet-samba-ad stop
root at dc2:~$ mv /var/lib/samba/private/idmap.ldb /root/idmap.ldb.bak
root at dc1:~$ scp /var/lib/samba/private/idmap.ldb
2019 Oct 25
2
SysVol replication (DFS-R)
Any plane in future to build-in Samba SysVol replication (DFS-R) ?
For now we have this workaround at link:
https://wiki.samba.org/index.php/Rsync_based_SysVol_replication_workaround
2008 Jun 02
2
unison for windows
Hi All,
I am posting this querry second time.
What i need is--
{Is there any command by which I can get only the updation of file ie only the incremental?.
Suppose I have a text file say ss.txt of 3KB in size and I have taken the
backup of this file. Now I am making the changes in to this file(ss.txt) by
adding 1KB of data. Now I want this 1KB data (in to a new file) when I take the
2016 Aug 25
3
Samba Wiki change suggestion
On the "Bidirectional Rsync/Unison based SysVol replication workaround"
page. The title (as you can see) includes the word UNISON when in fact
the "Unison" program is NOT being used for this replication anymore. As
the instructions there actually use "Osync" then the word "UNISON"
should probably need to be replaced with "OSYNC". (I looked
2016 Aug 26
2
Samba Wiki change suggestion
On 2016-08-26 10:59, Rowland Penny via samba wrote:
> On Thu, 25 Aug 2016 06:08:16 -0500
> Bob of Donelson Trophy via samba <samba at lists.samba.org> wrote:
>
>> On the "Bidirectional Rsync/Unison based SysVol replication
>> workaround" page. The title (as you can see) includes the word UNISON
>> when in fact the "Unison" program is NOT being
2015 Jun 15
1
OT: suggestion need on Sync in the windows way.
Does Unision support ACL?
If it would than this part guide would work.
https://wiki.samba.org/index.php/SysVol_Bidirectional_Replication
But it didn't....
On Mon, Jun 15, 2015 at 7:14 PM, Bob of Donelson Trophy <
bob at donelsontrophy.net> wrote:
>
>
> For bidirectional sync take a look at Unison (file synchronizer.)
>
> ---
>
> -------------------------
>
2014 Mar 12
2
sysvol replication with glusterfs?
Has anyone tried using glusterfs to handle live sysvol replication?
Cheers,
Justin.
2019 Jan 15
3
Sync sysvol
What's the current wisdom on sync of sysvol to other (samba) DC's?
[I should probably search, but I don't recall seeing discussion on sysvol sync details hit the list recently.]
A quick search dud turn up this wiki article - is that current best-practice?
https://wiki.samba.org/index.php/Rsync_based_SysVol_replication_workaround
I'm running the Ubuntu 18.04 packaged Samba
2015 Jun 22
0
Bi-directional sync for Sysvol folder -- Osync?
Hai Min Wai Chan,
?
I have tested it as shown in your example, and your correct.
I?did a few test, but im very buzy atm.
Few things i noticed.
?
?
I?compaired the rights in linux and these are the same, but when i look at the rights in windows, these are different.. :-/
but wait..
Sync DC1 => DC2 , files and folder rights are ok, in windows and in linux
Sync DC2 => DC1, files and
2015 Jun 24
0
Bi-directional sync for Sysvol folder -- Osync?
Hello,
Just to share
I've updated the guide to use osync.
https://wiki.samba.org/index.php/SysVol_Bidirectional_Replication
Enjoy
Regards,
Min Wai
On Wed, Jun 24, 2015 at 2:44 AM, Min Wai Chan <dcmwai at gmail.com> wrote:
> Dear Belle,
>
> That produce the similar situation.
>
> Thus I'm trying osync
>
> And the result are much present according to my test