Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
FFU: change transfer parameters for database resync
Browse files Browse the repository at this point in the history
Configure tripleo_transfer's flags to mimick the way a galera SST
transfers the entire database between two nodes: in-place copy,
no delta-transfer, no compression, selective file copy.

Tested by running an FFU from Queens to Train on an composable
HA overcloud.

Change-Id: I557962e77d6558281603b40d0adf01b912e8c2f9
Closes-Bug: #1925260
(cherry picked from commit 5ef7f93)
  • Loading branch information
dciabrin committed Jul 8, 2021
1 parent 74385e9 commit f972c37
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions deployment/database/mysql-pacemaker-puppet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -647,3 +647,19 @@ outputs:
tripleo_transfer_dest_dir: /var/lib/mysql
tripleo_transfer_dest_host: "{{hostvars[groups['overcloud'][0]]['mysql_short_bootstrap_node_name']}}"
tripleo_transfer_flag_file: /var/lib/tripleo/transfer-flags/var-lib-mysql
# inline copy of galera database
tripleo_transfer_sync_options:
--whole-file
--ignore-times
--inplace
--archive
--delete
# include innodb files and dirs (schemas)
tripleo_transfer_include:
- '/ibdata*'
- '/ib_lru_dump'
- '/ib_logfile[0-9]*'
- '/undo*'
- '/*/'
# exclude everything else
tripleo_transfer_exclude: '/*'

0 comments on commit f972c37

Please sign in to comment.