Monday, 2015-10-26

*** jonaspf has quit IRC00:51
*** jonaspf has joined #openstack-freezer00:55
*** jonaspf has quit IRC01:23
*** reldan has quit IRC01:30
*** jonaspf has joined #openstack-freezer01:40
*** reldan has joined #openstack-freezer01:41
*** reldan has quit IRC02:01
*** jonaspf has quit IRC02:18
*** jonaspf has joined #openstack-freezer03:02
*** jonaspf has quit IRC03:17
*** jonaspf has joined #openstack-freezer03:19
*** jonaspf has quit IRC03:55
*** jonaspf has joined #openstack-freezer03:57
*** jonaspf has quit IRC05:11
*** jonaspf has joined #openstack-freezer05:13
*** jonaspf has quit IRC05:28
*** jonaspf has joined #openstack-freezer05:36
*** jonaspf has quit IRC07:14
*** jonaspf has joined #openstack-freezer07:24
*** jonaspf has quit IRC07:43
*** jonaspf has joined #openstack-freezer07:48
*** memogarcia has joined #openstack-freezer08:23
*** jonaspf has quit IRC09:08
*** jonaspf has joined #openstack-freezer09:21
*** jonaspf has quit IRC09:39
*** jonaspf has joined #openstack-freezer09:49
*** reldan has joined #openstack-freezer10:08
*** jonaspf has quit IRC10:22
*** jonaspf has joined #openstack-freezer10:29
*** reldan has quit IRC10:30
*** jonaspf has quit IRC11:34
*** memogarcia has quit IRC11:35
*** jonaspf has joined #openstack-freezer11:50
*** reldan has joined #openstack-freezer12:09
*** memogarcia has joined #openstack-freezer12:14
*** marzif has joined #openstack-freezer12:16
*** jonaspf has quit IRC12:18
*** jonaspf has joined #openstack-freezer12:23
*** memogarcia has quit IRC12:25
*** jonaspf has quit IRC13:02
*** jonaspf has joined #openstack-freezer13:07
*** memogarcia has joined #openstack-freezer13:15
*** jonaspf has quit IRC13:51
*** jonaspf has joined #openstack-freezer14:11
*** jonaspf has quit IRC14:37
*** reldan has quit IRC14:43
*** reldan has joined #openstack-freezer15:02
*** dschroeder has joined #openstack-freezer15:04
*** jonaspf has joined #openstack-freezer15:18
*** marzif has quit IRC15:35
*** memogarcia has quit IRC15:41
*** reldan has quit IRC15:54
*** jonaspf has quit IRC16:01
*** marzif has joined #openstack-freezer16:05
*** jonaspf has joined #openstack-freezer16:14
*** jonaspf has quit IRC16:29
daemontool_all: https://wiki.openstack.org/wiki/Freezer16:33
*** jonaspf has joined #openstack-freezer16:38
*** marzif has quit IRC17:08
*** marzif has joined #openstack-freezer17:09
*** marzif has quit IRC17:15
*** marzif has joined #openstack-freezer17:16
*** reldan has joined #openstack-freezer17:16
*** marzif has quit IRC17:18
*** marzif has joined #openstack-freezer17:19
*** jonaspf has quit IRC17:41
*** marzif has quit IRC17:49
*** marzif has joined #openstack-freezer17:50
*** marzif has quit IRC17:55
*** jonaspf has joined #openstack-freezer18:02
*** memogarcia has joined #openstack-freezer18:05
*** jonaspf has quit IRC18:25
*** jonaspf has joined #openstack-freezer18:35
*** memogarcia_ has joined #openstack-freezer18:36
*** memogarcia has quit IRC18:36
*** jonaspf has quit IRC18:50
*** jonaspf has joined #openstack-freezer18:55
*** federico3 has joined #openstack-freezer18:59
federico3hi there18:59
daemontool_Hi federico319:01
daemontool_any way we can help? : )19:04
federico3daemontool_: thanks for asking! I'm trying to add Freezer support to my team's product - Designate and I'm looking for some pointers.19:06
daemontool_ok19:06
federico3We want to back up the contents of a Percona database, should we use the regular mysql adoptor or a Percona tool?19:06
daemontool_the answer is easy, but long :)19:07
federico3Are you aware of other projects that are using Mysql + Freezer that I can look at ?19:07
daemontool_how big it is your db?19:07
federico3Relatively small, in the order of tenths of MB rather than GB19:07
daemontool_does the backup needs to be synchronized with any other service?19:08
federico3and with a good compress ratio19:08
daemontool_i.e. you need to take the db and the data needs to be point-in-time consistent with some other service?19:09
federico3in terms of other services fetching backups to do something with it? No    Or running all the backups at the same time? Neither19:09
*** jonaspf has quit IRC19:09
daemontool_like, i.e. if you backup nova, you may need also to backup keystone db as the users/tenants needs to own the vms...19:10
daemontool_that kind of cases...19:10
federico3btw, is up to our hosts to start backups when needed or is Freezer managing the backup runtimes centrally?19:10
daemontool_it can be both ways19:10
daemontool_so, if you need for example, for disaster recovery, have your backup solution support multiple storage back ends, I advice you to use freezer19:11
daemontool_i.e. swift or ssh or localfs (nfs mounted for instance)19:11
daemontool_encrypted, etc but I think percona can encrypt too19:11
federico3this could be user-configurable but I'd expect Swift to be the default choice19:12
daemontool_ok, I'm asking because, if you need to restore things, and keystone is down... and you didn't thought about it before hand... you can't restore19:12
daemontool_so freezer support multiple backup ends19:12
federico3It's a DNS API; given that there's no auth data and most DNS data is public maybe encryption might be off by default19:13
daemontool_and withing the next 4 weeks also parallel back end19:13
daemontool_ok19:13
daemontool_if the dataset is small19:13
daemontool_and you don't need any sync with other services (ie. synchronized backup over multiple nodes) you can use percona19:13
daemontool_it's good... it works...19:14
daemontool_it is fast ....19:14
federico3(Are you aware of other projects that are using Mysql + Freezer that I can look at ? I'm searching GitHub for examples)19:14
daemontool_I work in hp19:14
daemontool_I can tell you what here is using it19:14
federico3me too :)19:15
daemontool_there's deutsche telekom using it to backup some nodes19:15
daemontool_onto swift19:16
daemontool_not sure if it is used for mysql19:16
daemontool_I've been using it extensively to backup gerrit and the cicd platform of the hp public cloud19:16
daemontool_for more then 1 year19:16
daemontool_now it's being used in helion to backup the percona cluster19:16
federico3I meant projects (e.g. LBaaS, celiometer...)19:17
daemontool_so we are backing up the swift rings with freezer19:17
daemontool_and the mysql db for all of the core projects19:17
daemontool_so we are backing mysql for all of them in helion19:17
federico3great! Btw, why is LVM used when backing up mysql?19:18
daemontool_I don't think in a cloud environmen percona is a better solution, cause you need to take point-in-time immutable data19:18
daemontool_cause with lvm  freezer tell to mysql "flush tables with read lock"; create the lvm snapshot read only; unlock the tables; start the backup19:19
daemontool_and if you need to do that on two nodes (i.e. /var/lib/nova in the compute nodes) and the mysql db19:20
daemontool_you need to have a mechanism that allows you to take an lvm snapshot in the most close time as possible on the involved nodes....19:20
daemontool_so there are no or little difference on the data state19:20
daemontool_and we use lvm to do that with job sessions19:20
federico3is Freezer handling the distributed locking?19:20
daemontool_where?19:21
daemontool_nope19:21
daemontool_there's no need to do that19:21
*** jonaspf has joined #openstack-freezer19:21
daemontool_we just take an lvm snapshot read only19:21
daemontool_on the master node19:21
daemontool_while on multi master, you can do it on anynode19:21
daemontool_(I mean percona multi master)19:22
federico3we simply trust that the flush command will start at roughly the same time across every host?19:22
daemontool_we do that only on one node19:22
daemontool_as to reduce the data corruption19:22
federico3oh in multi master - of course19:22
daemontool_we need to make sure all the data hold in memory19:22
daemontool_is written to the disk19:22
daemontool_as long we have the in memory data written to the disk...19:23
daemontool_we can reduce the data corruption risks19:23
daemontool_on this scenario what is not replicated from other master, is just not part of the backup19:23
federico3you seems to be  ruling out mysqldump as an option?19:23
daemontool_mmmhhh nope19:24
daemontool_because mysqldump even though has many option19:24
daemontool_but it is slowest than lvm snap19:24
daemontool_and lock the db for the whole time you are dumping the db19:24
federico3in our use case the amount of data is moderate - but critical, so the balance is shifted all the way on the reliability side :)19:24
daemontool_if you do not lock with mysql dump, the data might change...19:25
daemontool_therefore the risk of data corruption can eb increased19:25
daemontool_I agree19:25
daemontool_lower risk of data corruption is way important then anything19:25
daemontool_totally agree19:25
federico3I'll investigate but it's likely that we can block writes for a long enough time do do a mysqldump19:26
daemontool_ok, where do you plan to store the output of mysqldump?19:26
daemontool_on the local disk?19:26
federico3(and the write traffic is modest as well)19:26
daemontool_so in your case that can be ok19:26
daemontool_but if your db is 30-50 or 100GB19:27
federico3either local disk or - can freezer ingest it and stream it to Swift on the fly?19:27
federico3more like 100MB :)19:27
daemontool_that mean you need by requirements the double of the space of your data set size19:27
federico3of course19:27
daemontool_yes19:27
daemontool_same for restore19:27
daemontool_in your case it's all good19:27
daemontool_percona when restoring needs to prepare the data19:28
daemontool_so you might need the double of the space locally19:28
daemontool_of the data set size19:28
daemontool_yes freezer do everything in stream19:28
daemontool_for backup and for restoer19:29
daemontool_do you need to backup also any config file?19:29
federico3potentially19:29
daemontool_in that case freezer it's ok, as you can backup mysql and files on the file system19:30
federico3yup!19:30
daemontool_if the files19:30
daemontool_are modified after the first deployment19:30
daemontool_you may need to backup them19:31
daemontool_unless you manage configs with tools like puppet or chef19:31
federico3that's up to the end user19:31
federico3probably we could back up a handful of small and very static config files just in case19:32
daemontool_what do you think if you provide to the end user also the backup so he/she can forget about it :)19:32
daemontool_you can provide all the backup already setup, and the procedure for restore19:32
daemontool_and how to verify if the backups works19:32
daemontool_every n months19:32
federico3speaking of restore: are restores triggered centrally from the Freezer UI or do product owners implement a big red button in each product?19:33
daemontool_you can trigger them from the freezer ui19:34
daemontool_or from the freezer-scheduler19:34
daemontool_or just manually using the freezer-agent19:34
daemontool_case if keystone is down.... you don't have api or web ui19:34
daemontool_it depends a bit on the environment the user find himself, when he needs the restore19:35
federico3daemontool_: thank you very much, I'll investigate19:42
daemontool_federico3, you are welcome, just let us know if you need anything : )19:45
daemontool_ah.... it's in roadmap also the backup of postgres and oracle standard edition...19:46
daemontool_that will happen soon, just fyi in case you have a user that needs backup as a service integrated in openstack to do that :)19:46
federico3thanks :)19:47
*** reldan has quit IRC19:55
*** reldan has joined #openstack-freezer19:56
*** jonaspf has quit IRC20:02
*** jonaspf has joined #openstack-freezer20:05
*** jonaspf has quit IRC20:29
*** jonaspf has joined #openstack-freezer20:39
*** jonaspf has quit IRC20:58
*** reldan has quit IRC20:59
*** reldan has joined #openstack-freezer21:20
*** jonaspf has joined #openstack-freezer21:28
*** jonaspf has quit IRC21:43
*** jonaspf has joined #openstack-freezer21:46
*** jonaspf has quit IRC22:26
*** jonaspf has joined #openstack-freezer22:29
*** reldan has quit IRC22:54
*** jonaspf has quit IRC23:01
*** reldan has joined #openstack-freezer23:03
*** dschroeder has quit IRC23:07
*** jonaspf has joined #openstack-freezer23:09
*** jonaspf has quit IRC23:25
*** reldan has quit IRC23:32
*** jonaspf has joined #openstack-freezer23:36

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!