[Csync2] cysnc2 vs linking hackery

Rafiu Fakunle rafiu at openfiler.com
Tue Dec 5 22:52:47 CET 2006


Hi Giampaolo,

Giampaolo Tomassoni wrote:
> From: Rafiu Fakunle [mailto:rafiu at openfiler.com]
>   
> [....]
>> double :(. No way around this? Perhaps using samba's tdbbackup tool in 
>> some form? I *really* don't want to use a cluster_meta block device if 
>> it can be helped.
>>     
>
> tdbbackup seems to make a backup of the tdbs files by creatings files with same name and differente extension. You could probably synch them and then "recover" the tdbs by renaming the backup files. But this must probably happen when samba is not yet running on the destinating system. I mean, it could possibly happen in a fallback before it is fully brought up.
>
>   

OK thx. I'm curious, is it a definite no-no to use csync2 for 
replicating Samba tdb (or any bdb-based) files? I mean have there been 
examples/cases of where such a setup has failed miserably to work as 
intended?

> This would need some testing, anyway.
>
>   
Naturally :)



Thanks a lot for your comments.


Cheers,

R.


> giampaolo
>
>
>   
>> Thx,
>>
>>
>> R.
>>
>>     
>>> giampaolo
>>>
>>>   
>>>       
>>>> Michael.
>>>>
>>>>     
>>>>         
>>>>> I read in an ML post that csync2 is only recommended for slow 
>>>>> changing config files. How would that apply to metadata for services 
>>>>> like nfs , Samba/winbind etc. Could I use csync2 to replicate 
>>>>> /var/lib/nfs and /var/cache/samba for instance?
>>>>>
>>>>> If csync2 is not the way to go, how about a cross between the 
>>>>> metadata volume and some other [d|i]notify based solution where 
>>>>> local changes (on active primary) are synced to the metadata volume 
>>>>> and then synced back to place (on passive secondary), controlled as 
>>>>> a heartbeat resource, when a failover occurs.
>>>>>
>>>>> TIA
>>>>>
>>>>> R.
>>>>>       
>>>>>           
>>>> _______________________________________________
>>>> Csync2 mailing list
>>>> Csync2 at lists.linbit.com
>>>> http://lists.linbit.com/mailman/listinfo/csync2
>>>>     
>>>>         
>>> _______________________________________________
>>> Csync2 mailing list
>>> Csync2 at lists.linbit.com
>>> http://lists.linbit.com/mailman/listinfo/csync2
>>>   
>>>       
>
> _______________________________________________
> Csync2 mailing list
> Csync2 at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/csync2
>   



More information about the Csync2 mailing list