Rush has uploaded a new change for review. https://gerrit.wikimedia.org/r/321689
Change subject: labstore1001: clean out stale and bad backup jobs ...................................................................... labstore1001: clean out stale and bad backup jobs These have only worked sometimes, and now we are doing canonical backups from the new cluster. others/misc things are not fully migrated but we are staging there prior to offsite backups. Bug: T127567 Change-Id: I6bba24f968fd2bc4171275cd906e6bb9b45074bd --- M modules/labstore/manifests/fileserver/primary.pp 1 file changed, 0 insertions(+), 53 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/89/321689/1 diff --git a/modules/labstore/manifests/fileserver/primary.pp b/modules/labstore/manifests/fileserver/primary.pp index a5fed8e..cdf4642 100644 --- a/modules/labstore/manifests/fileserver/primary.pp +++ b/modules/labstore/manifests/fileserver/primary.pp @@ -13,59 +13,6 @@ require_package('python3-paramiko') require_package('python3-pymysql') - file { '/etc/replication-rsync.conf': - source => 'puppet:///modules/labstore/replication-rsync.conf', - owner => 'root', - group => 'root', - mode => '0444', - } - - file { '/usr/local/sbin/storage-replicate': - source => 'puppet:///modules/labstore/storage-replicate', - owner => 'root', - group => 'root', - mode => '0544', - require => File['/etc/replication-rsync.conf'], - } - - file { '/usr/local/sbin/cleanup-snapshots': - source => 'puppet:///modules/labstore/cleanup-snapshots', - owner => 'root', - group => 'root', - mode => '0544', - } - - if $is_active { - # These should only run on the active host - - # They are staggered by one hour to avoid contention during the write-barriers caused - # by the creation of snapshots during the backup process. - labstore::fileserver::replicate { 'tools': - src_path => '/srv/project/tools', - dest_path => '/srv/eqiad/tools', - dest_host => 'labstore2001.codfw.wmnet', - calendar => '02:00', - } - - labstore::fileserver::replicate { 'others': - src_path => '/srv/others', - dest_path => '/srv/eqiad/others', - dest_host => 'labstore2001.codfw.wmnet', - calendar => '03:00', - } - - labstore::fileserver::replicate { 'maps': - src_path => '/srv/project/maps', - dest_path => '/srv/eqiad/maps', - dest_host => 'labstore2001.codfw.wmnet', - calendar => '04:00', - } - - labstore::fileserver::cleanup_snapshots { 'labstore': - keep_free => '6', - } - } - # There is no service {} stanza on purpose -- this service # must *only* be started by a manual operation because it must # run exactly once on whichever NFS server is the current -- To view, visit https://gerrit.wikimedia.org/r/321689 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I6bba24f968fd2bc4171275cd906e6bb9b45074bd Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Rush <r...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits