Alexandros Kosiaris has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/341817 )

Change subject: Change bacula retention policies and volume number
......................................................................


Change bacula retention policies and volume number

The retention policies are a threshold below which it is guaranteed no
file/job/volume will be deleted from the database or the storage daemon.
We 've started with this being 6 months but had to lower it as we would
end up with our backup schedule being paused for long periods of time as
the guaranteed space would equal occasionally the available space. While
we will upgrade the infrastructure to add more space, lower the
guarantee low enough to make sure we don't end up with the same problem
in the near future.

The reimage to jessie of helium allowed restructuring the filesystem
structure freeing up some free space. That allows us to increase the
number of volumes per pool somewhat. Bump it to 60

After we get more space, we can proceed with more tuning

Change-Id: I219ba9aa34df625465e5791f5782eb55d5a4b89d
---
M modules/profile/manifests/backup/director.pp
M modules/profile/manifests/backup/host.pp
2 files changed, 6 insertions(+), 6 deletions(-)

Approvals:
  Alexandros Kosiaris: Verified; Looks good to me, approved



diff --git a/modules/profile/manifests/backup/director.pp 
b/modules/profile/manifests/backup/director.pp
index 0e703c4..51acb674 100644
--- a/modules/profile/manifests/backup/director.pp
+++ b/modules/profile/manifests/backup/director.pp
@@ -22,9 +22,9 @@
 
     # One pool for all
     bacula::director::pool { $pool:
-        max_vols         => 50,
+        max_vols         => 60,
         storage          => "${onsite_sd}-FileStorage1",
-        volume_retention => '60 days',
+        volume_retention => '30 days',
         label_fmt        => $pool,
         max_vol_bytes    => '536870912000',
         next_pool        => $offsite_pool,
@@ -48,9 +48,9 @@
 
     # Off site pool for off site backups
     bacula::director::pool { $offsite_pool:
-        max_vols         => 50,
+        max_vols         => 60,
         storage          => "${offsite_sd}-FileStorage1",
-        volume_retention => '60 days',
+        volume_retention => '30 days',
         label_fmt        => $offsite_pool,
         max_vol_bytes    => '536870912000',
     }
diff --git a/modules/profile/manifests/backup/host.pp 
b/modules/profile/manifests/backup/host.pp
index 4937a68..f28c048 100644
--- a/modules/profile/manifests/backup/host.pp
+++ b/modules/profile/manifests/backup/host.pp
@@ -20,8 +20,8 @@
         class { 'bacula::client':
             director       => $director,
             catalog        => 'production',
-            file_retention => '60 days',
-            job_retention  => '60 days',
+            file_retention => '30 days',
+            job_retention  => '30 days',
         }
 
         # This will use uniqueid fact to distribute (hopefully evenly) 
machines on

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I219ba9aa34df625465e5791f5782eb55d5a4b89d
Gerrit-PatchSet: 3
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to