-
Notifications
You must be signed in to change notification settings - Fork 2
juancarlosm/ackstorm-sync
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
ACKSTORM-SYNC MASTER: # Create links ln -s /usr/local/ackstorm/sync/extras/logrotate.d/ackstorm-sync /etc/logrotate.d/ ln -s /usr/local/ackstorm/sync/extras/monit/ackstorm-sync.conf /etc/monit/conf.d/ ln -s /usr/local/ackstorm/sync/extras/cron.d/ackstorm-sync* /etc/cron.d/ ln -s /usr/local/ackstorm/sync/extras/rsyncd /etc/rsyncd ln -s /usr/local/ackstorm/sync/etc /etc/ackstorm-sync ln -s /usr/local/ackstorm/sync/var/log /var/log/ackstorm-sync # Enable rsync server apt-get install rsync # Modify /etc/default/rsync # RSYNC_ENABLE=true # RSYNC_CONFIG_FILE=/etc/rsyncd/rsyncd.conf # Configure /usr/local/ackstorm/sync/etc/role_conf.py /usr/local/ackstorm/sync/etc/master_conf.py # Configure rsync secrets file vi extras/rsyncd/rsyncd.secrets chmod 600 extras/rsyncd/rsyncd.secrets # Restart services service rsync restart service monit restart # Start sync master /usr/local/ackstorm/sync/bin/ackstorm-sync restart ACKSTORM-SYNC SLAVE: ln -s /usr/local/ackstorm/sync/extras/logrotate.d/ackstorm-sync /etc/logrotate.d/ ln -s /usr/local/ackstorm/sync/extras/monit/ackstorm-sync.conf /etc/monit/conf.d/ ln -s /usr/local/ackstorm/sync/extras/cron.d/ackstorm-sync /etc/cron.d/ ln -s /usr/local/ackstorm/sync/etc /etc/ackstorm-sync ln -s /usr/local/ackstorm/sync/var/log /var/log/ackstorm-sync # Configure /usr/local/ackstorm/sync/etc/slave_conf.py # Restart services service monit restart # Start sync slave /usr/local/ackstorm/sync/bin/ackstorm-sync restart
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published