crmsh
crmsh copied to clipboard
Dev: bootstrap: Add option -x to skip csync2 intialization stage during the whole cluster boostrap
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