diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2016-05-12 11:39:19 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2016-05-12 14:14:31 +0200 |
commit | c459a95cd4013e489ef4f9d47c05d1c98798522c (patch) | |
tree | ab579cee1200d965bc28525e9b27b407f7ac24a1 /roles/bacula-sd/templates/etc/bacula | |
parent | 4a4e71ef7111ffcbe052fbed8bb0b92b20b6af79 (diff) |
bacula: Set heartbeat options.
and also TCP keepalive options in the stunnel config.
Diffstat (limited to 'roles/bacula-sd/templates/etc/bacula')
-rw-r--r-- | roles/bacula-sd/templates/etc/bacula/bacula-sd.conf.j2 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/bacula-sd/templates/etc/bacula/bacula-sd.conf.j2 b/roles/bacula-sd/templates/etc/bacula/bacula-sd.conf.j2 index 683c70a..fbfdca5 100644 --- a/roles/bacula-sd/templates/etc/bacula/bacula-sd.conf.j2 +++ b/roles/bacula-sd/templates/etc/bacula/bacula-sd.conf.j2 @@ -1,39 +1,40 @@ # # Default Bacula Storage Daemon Configuration file # # For Bacula release 5.2.6 (21 February 2012) -- debian jessie/sid # # You may need to change the name of your tape drive # on the "Archive Device" directive in the Device # resource. If you change the Name and/or the # "Media Type" in the Device resource, please ensure # that dird.conf has corresponding changes. # Storage { # define myself Name = {{ inventory_hostname_short }}-sd Working Directory = /var/lib/bacula Pid Directory = /var/run/bacula Maximum Concurrent Jobs = 20 SDAddress = 127.0.0.1 SDPort = 9113 + Heartbeat Interval = 1 min } # # List Directors who are permitted to contact Storage daemon # {% for dir in groups['bacula-dir'] | sort %} Director { Name = {{ hostvars[dir].inventory_hostname_short }}-dir @|"sed -n '/^{{ hostvars[dir].inventory_hostname_short }}-dir\\s/ {s//Password = /p; q}' /etc/bacula/passwords-sd" } # # Send all messages to the Director, # mount messages also are sent to the email address # Messages { Name = Standard director = {{ hostvars[dir].inventory_hostname_short }}-dir = all } {% endfor %} |