Skip to content

Conversation

@rbapin
Copy link

@rbapin rbapin commented Feb 25, 2020

Добавлена таска для установки и настройки синхронизации sysvol.
Запускается из main.yml, если параметр samba_sysvol_sync установлен в true

Copy link

@gochankot gochankot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

have questions to "templates/osync.conf"

@gochankot
Copy link

gochankot commented Feb 27, 2020

From the discussion in the office: to guarantee the same state of dc0 and other domain controllers, it takes 2 osync passes (which runs crond once in samba_sysvol_sync_timeout minutes, and if it = 5, then we get a wait of at least 10 minutes after starting).

Из обсуждения в офисе: для гарантировано одинакового состояния dc0 и других контролеров домена, требуется ожидание 2 проходов osync (который запускается crond раз в samba_sysvol_sync_timeout минут, и если он = 5, то получаем ожидание минимум 10 минут после запуска).

Copy link

@gochankot gochankot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

По отношению к https://github.com/altlinuxteam/ansible-samba/pull/4/files изменения - это отсутствие Vagrantfile и параметров в provision.yml (нет запуска для в template по умолчанию) запуск systemd units crond

@ghost
Copy link

ghost commented Mar 2, 2020

I suggest to finish the task "AS IS" if it is working because we may cause scope creep. We may plan osync improvements for the future releases.

@gochankot
Copy link

@mastersin accept pull request?

@omgbebebe
Copy link
Contributor

JFYI, As I can remember there were some issues with an initial data synchronization via osync among controllers. In some cases an actual data can be deleted on dc0 due an unexistance same data on rest of controllers. Such behaviour has prevented to merge previous PR and needs to be more investigated. I strongly recommends to start with rsync for purposes of SysVol replication and move to use the osync only in case of lack of functionality from rsync side.

@rbapin
Copy link
Author

rbapin commented Mar 3, 2020

osync_v1.2.pdf
Документация по osync от автора

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants