updated all the things for managed backup
This commit is contained in:
parent
420c7a1500
commit
236e10314f
@ -23,4 +23,5 @@
|
||||
- include: cinder-all.yml
|
||||
- include: horizon-all.yml
|
||||
- include: utility.yml
|
||||
- include: rpc-support.yml
|
||||
- include: ../infrastructure/rsyslog-config.yml
|
||||
|
@ -24,4 +24,5 @@
|
||||
container_groups: "{{ groups[container_group|default(default_container_groups)] }}"
|
||||
required_container_config_options:
|
||||
- "lxc.mount.entry=/openstack/log/{{ hostvars[item]['container_name'] }} var/log/{{ hostvars[item]['service_name'] }} none defaults,bind,rw 0 0"
|
||||
- "lxc.mount.entry=/openstack/backup/{{ hostvars[item]['container_name'] }} var/backup none defaults,bind,rw 0 0"
|
||||
- "lxc.mount.entry=/openstack/monitoring monitoring none defaults,bind,rw 0 0"
|
||||
|
@ -81,14 +81,16 @@
|
||||
command=attach
|
||||
container_command="mkdir -p {{ item.0 }}"
|
||||
with_nested:
|
||||
- [ "/monitoring", "/etc/network/interfaces.d" ]
|
||||
- [ "/monitoring", "/etc/network/interfaces.d", "/var/backup" ]
|
||||
- container_groups
|
||||
|
||||
- name: Create Required local log directories
|
||||
file: >
|
||||
path=/openstack/log/{{ hostvars[item]['container_name'] }}
|
||||
path="{{ item.0 }}/{{ hostvars[item.1]['container_name'] }}"
|
||||
state=directory
|
||||
with_items: container_groups
|
||||
with_nested:
|
||||
- [ "/openstack/backup", "/openstack/log" ]
|
||||
- container_groups
|
||||
|
||||
- name: Create Required local monitoring directories
|
||||
file: >
|
||||
|
@ -81,7 +81,7 @@
|
||||
state: directory
|
||||
path: "{{ item }}"
|
||||
with_items:
|
||||
- "/var/lib/mysql/holland_backups"
|
||||
- "/var/backup/holland_backups"
|
||||
- "/etc/holland"
|
||||
tags:
|
||||
- holland_dir
|
||||
|
@ -5,7 +5,7 @@
|
||||
plugin_dirs = /usr/share/holland/plugins
|
||||
|
||||
## Top level directory where backups are held
|
||||
backup_directory = /var/lib/mysql/holland_backups
|
||||
backup_directory = /var/backup/holland_backups
|
||||
|
||||
## List of enabled backup sets. Can be comma separated.
|
||||
## Read from <config_dir>/backupsets/<name>.conf
|
||||
@ -20,7 +20,7 @@ path = /usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin
|
||||
|
||||
[logging]
|
||||
## where to write the log
|
||||
filename = /var/log/mysql/holland.log
|
||||
filename = /var/log/backup/holland_backups/holland.log
|
||||
|
||||
## debug, info, warning, error, critical (case insensitive)
|
||||
level = info
|
||||
|
Loading…
x
Reference in New Issue
Block a user