This repository was archived by the owner on Sep 21, 2022. It is now read-only.
Add cf_mysql.mysql.bootstrap_enabled property
#212
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Thanks for opening a PR. Please make sure you've read and followed the Contributing guide, including signing the Contributor License Agreement.
Feature or Bug Description
It provides a way to disable bootstrap for the first instance in an instance group
Motivation
I am using multi-cpi feature of bosh to deploy mysql cluster in 2 separate vsphere datacenters. Because of the fact that I use 2 separate datacenters, I have to split the mysql instance group into 2 separate instance groups, where each group is configured with its own AS and bosh network. I use a manual link to prepare
mysqllink in such a way that it contains combined set of all ips from both instance groups. However, I still need to disable bootstrap on the first instance of the second instance group - If I don't do that I will end up with 2 separate clusters, instead of a single one.