crmsh icon indicating copy to clipboard operation
crmsh copied to clipboard

Dev: bootstrap: Add option -x to skip csync2 intialization stage during the whole cluster boostrap

Open liangxin1300 opened this issue 2 years ago • 0 comments

Changes:

  • For init and join, add '-x' option to skip csync2 syncing process; Or, can set environment variable 'SKIP_CSYNC2_SYNC=true'
  • Based on above, use scp to retrieve all related config files when node joining; use parallax to sync files when files changed
  • Based on above, give a hint for user, run 'crm cluster init csync2 -x' on any one node, before using csync2 for the first time
  • Keep behavior unchanged when '-x' or 'SKIP_CSYNC2_SYNC' not set
  • Some log info changed for csync2

liangxin1300 avatar Sep 29 '22 08:09 liangxin1300