ArielGlenn has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/71802


Change subject: set up the dataset* servers for simultaneous rsyncs between 
hosts
......................................................................

set up the dataset* servers for simultaneous rsyncs between hosts

Change-Id: I714afe5415556199969dc1e9d20c141df4d91f44
---
M files/rsync/rsyncd.conf.downloadmirror
M files/rsync/rsyncd.conf.downloadprimary
2 files changed, 13 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/02/71802/1

diff --git a/files/rsync/rsyncd.conf.downloadmirror 
b/files/rsync/rsyncd.conf.downloadmirror
index bc8cffe..71428a4 100644
--- a/files/rsync/rsyncd.conf.downloadmirror
+++ b/files/rsync/rsyncd.conf.downloadmirror
@@ -11,7 +11,14 @@
 gid = backup
 read only = true
 
+# for rolling rsyncs between dump hosts
+[data]
+read only = false # (move to push model for rsync)
+path = /data
+hosts allow = dataset1001.wikimedia.org, dataset2.wikimedia.org
+
 [dumpmirrorslastfivedumps]
+read only = true
 # this will include only the last five good dumps. 
 # include/exclude list coming soon...
 path = /data/xmldatadumps/public
@@ -22,6 +29,7 @@
 hosts allow = sagres.c3sl.ufpr.br odysseus.fi.muni.cz odysseus.linux.cz 
odysseus.ip6.fi.muni.cz
 
 [dumpmirrorsalldumps]
+read only = true
 # this includes only dumps, no archives, no other datasets
 path = /data/xmldatadumps/public
 exclude = **tmp/ **temp/ **bad/ **save/ **other/ **archive/
@@ -30,6 +38,7 @@
 hosts allow = mirror.fr.wickedway.nl
 
 [dumpmirrorseverything]
+read only = true
 # this includes archives, other datasets
 path = /data/xmldatadumps/public
 exclude = **tmp/ **temp/ **bad/ **save/
diff --git a/files/rsync/rsyncd.conf.downloadprimary 
b/files/rsync/rsyncd.conf.downloadprimary
index b6cd900..2ddb402 100644
--- a/files/rsync/rsyncd.conf.downloadprimary
+++ b/files/rsync/rsyncd.conf.downloadprimary
@@ -5,13 +5,14 @@
 
 # rsync conf file for internal mirroring of XML dumps
 #
-max connections = 5
+max connections = 6
+read only = true
 
 # for rolling rsyncs between dump hosts
 [data]
-read only = true
+read only = false # (move to push model for rsync)
 path = /data
-hosts allow = dataset1001.wikimedia.org
+hosts allow = dataset1001.wikimedia.org, dataset2.wikimedia.org
 
 # this will go away as soon as the secondary host is stable for rsyncers
 [dumpmirrors]

-- 
To view, visit https://gerrit.wikimedia.org/r/71802
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I714afe5415556199969dc1e9d20c141df4d91f44
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: ArielGlenn <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to