[Samba] samba4 PDC to BDC file replication

C Waddy craigwaddy at gmail.com
Fri Mar 1 01:24:52 MST 2013


Being a mirror it "should" keep the NTFS permissions set?

I will try this out and report my findings.

Thoughts?

On Fri, Mar 1, 2013 at 6:21 PM, C Waddy <craigwaddy at gmail.com> wrote:

> Thanks Daniel, I did have a look at that option and it now I looked harder
> it is an excellent solution!
>
> Basically Glusterfs will replicate the file storage.
>
> Glusterfs looks straight forward enough to setup:
>
>
> http://www.howtoforge.com/high-availability-storage-with-glusterfs-3.2.x-on-centos-6.3-automatic-file-replication-mirror-across-two-storage-servers
>
>
>
>
> On Fri, Mar 1, 2013 at 6:08 PM, L.P.H. van Belle <belle at bazuin.nl> wrote:
>
>> I'm voting for...
>> Daniel is going make a nice example/howto howto do this.  ;-))
>> i've seen him talking a lot about this, but howto setup this...
>> I like to know..
>>
>> ;-)
>>
>> Gr.
>>
>> Louis
>>
>> >-----Oorspronkelijk bericht-----
>> >Van: mueller at tropenklinik.de
>> >[mailto:samba-bounces at lists.samba.org] Namens Daniel Müller
>> >Verzonden: vrijdag 1 maart 2013 8:09
>> >Aan: 'C Waddy'; 'Greg Sloop'
>> >CC: samba at lists.samba.org
>> >Onderwerp: Re: [Samba] samba4 PDC to BDC file replication
>> >
>> >Use glusterfs.
>> >
>> >And samba4 in replication mode.
>> >
>> >Good Luck
>> >
>> >
>> >-----------------------------------------------
>> >EDV Daniel Müller
>> >
>> >Leitung EDV
>> >Tropenklinik Paul-Lechler-Krankenhaus
>> >Paul-Lechler-Str. 24
>> >72076 Tübingen
>> >
>> >Tel.: 07071/206-463, Fax: 07071/206-499
>> >eMail: mueller at tropenklinik.de
>> >Internet: www.tropenklinik.de
>> >-----------------------------------------------
>> >-----Ursprüngliche Nachricht-----
>> >Von: samba-bounces at lists.samba.org
>> >[mailto:samba-bounces at lists.samba.org] Im
>> >Auftrag von C Waddy
>> >Gesendet: Freitag, 1. März 2013 07:19
>> >An: Greg Sloop
>> >Cc: samba at lists.samba.org
>> >Betreff: Re: [Samba] samba4 PDC to BDC file replication
>> >
>> >Hi Greg,
>> >
>> >Thanks for the info, its a tough one. I was hoping the msdsf
>> >would replicate
>> >data but it appears it doesnt appear to or am i missing something?
>> >
>> >I used a program in the past called File replication pro on
>> >Suse/novell  and
>> >it worked. I haave emailed their support and asked if it will
>> >work in our
>> >situation.
>> >
>> >I am going to give it a go in the Samba4 test environment over
>> >the weekend,
>> >ill let you know if it works.
>> >
>> >On Fri, Mar 1, 2013 at 3:13 PM, Gregory Sloop <gregs at sloop.net> wrote:
>> >
>> >>
>> >> CW> I have built two samba4 boxes, one as a PDC and the as a DC, all
>> >> working
>> >> CW> perfectly. If I create a user through the mmc snapin
>> >then turn off
>> >> CW> the
>> >> PDC,
>> >> CW> I can still login to the domain using the DC which is great. The
>> >> problem is
>> >> CW> their files and ntfs permissions on BDC.
>> >>
>> >> CW> I have assigned user and group rights using windows explorer to
>> >> CW> certain folders, i.e granted user1 full permissions to
>> >that folder
>> >>
>> >> CW> The problem I have is trying to replicate/snc the users
>> >data/files
>> >> from PDC
>> >> CW> to DC whilst keeping the NTFS permissions that have been set.
>> >> CW> Rysnc
>> >> doesnt
>> >> CW> seem to keep the ntfs permissions
>> >>
>> >> CW> The reason for this is if the PDC goes down, user logs on using
>> >> CW> the DC
>> >> and
>> >> CW> can access their files which have retained their files and
>> >permissions.
>> >>
>> >> CW> Is there some way to achieve this?
>> >>
>> >> I'm in the same boat, and I'm only aware of two possibilities.
>> >>
>> >> 1) Robocopy - using a Windows client.
>> >>    BUT Robocopy doesn't do file deltas - changed files are copied in
>> >>    their entirety. Which isn't a problem if you don't have large
>> >>    files. But if you've got a 10G file that changes often, then this
>> >>    probably isn't the best alternative.
>> >>
>> >> 2) http://www.bvckup.com/support/ [Bvckup]
>> >>    This also appears to be a Windows utility, but does handle file
>> >>    delta's. I have never used this tool and so can't vouch
>> >for it in any
>> >>    way.
>> >>
>> >> If you find a functional solution, that preferably can be
>> >used on the
>> >> two Linux/Samba boxes to do file-deltas and still maintain the
>> >> permissions - that would be best.
>> >>
>> >> One other option that might work:
>> >> Rsync the data, and use robocopy to simply duplicate the permissions
>> >> structure. [I believe this is possible.]
>> >>
>> >> This last idea sounds bat$hit insane - but hey, it might
>> >actually work
>> >> reasonably well. :)
>> >>
>> >> -Greg
>> >>
>> >>
>> >--
>> >To unsubscribe from this list go to the following URL and read the
>> >instructions:  https://lists.samba.org/mailman/options/samba
>> >
>> >--
>> >To unsubscribe from this list go to the following URL and read the
>> >instructions:  https://lists.samba.org/mailman/options/samba
>> >
>> >
>>
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/options/samba
>>
>
>


More information about the samba mailing list