Skip to content
This repository was archived by the owner on Dec 16, 2024. It is now read-only.

Handle multiple (redundant) masters - #284

Merged
bors-servo merged 1 commit into
servo:masterfrom
aneeshusa:handle-multiple-masters
Mar 29, 2016
Merged

bors-servo merged 1 commit into
servo:masterfrom
aneeshusa:handle-multiple-masters

Conversation

@aneeshusa

Copy link
Copy Markdown
Contributor

Update the Salt states to handle multiple minions that host masters.
This will allow us to easily enter redundant multimaster mode to handle
switching over our master from Linode to EC2, by using separate IDs for
each machine instead of trying to reuse the servo-master ID.

See #281 (comment) for more details.

I haven't updated the common/map.jinja file yet; are we still using these hostnames in the /etc/hosts file or is everything happening via DNS lookups?


This change is Reviewable

Update the Salt states to handle multiple minions that host masters.
This will allow us to easily enter redundant multimaster mode to handle
switching over our master from Linode to EC2, by using separate IDs for
each machine instead of trying to reuse the `servo-master` ID.
@edunham

edunham commented Mar 29, 2016

Copy link
Copy Markdown
Contributor

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit bd07714 has been approved by edunham

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit bd07714 with merge 6fe327f...

bors-servo pushed a commit that referenced this pull request Mar 29, 2016
Handle multiple (redundant) masters

Update the Salt states to handle multiple minions that host masters.
This will allow us to easily enter redundant multimaster mode to handle
switching over our master from Linode to EC2, by using separate IDs for
each machine instead of trying to reuse the `servo-master` ID.

See #281 (comment) for more details.

I haven't updated the `common/map.jinja` file yet; are we still using these hostnames in the `/etc/hosts` file or is everything happening via DNS lookups?

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/284)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - travis

@bors-servo
bors-servo merged commit bd07714 into servo:master Mar 29, 2016
bors-servo pushed a commit that referenced this pull request Apr 4, 2016
…strom

Target servo-master\d+ with PCRE in the top file

This fixes the targeting for servo-master\d+ so that the extra states
are actually applied.

I noticed this while reviewing the travis builds for #291.
This was missed in both #284 and #285!

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/292)
<!-- Reviewable:end -->
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants