You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Multi-master syndic is not documented in all examples hot-hot, multimaster and multi syndic w multimaster #18751
I misunderstood this addition. I thought it was to have a single syndic connected to two hot master-masters (e.g., how vanilla multi-master works). @cro set me straight. Would still be nice to have docs, but I see now there are no new config options for this.
@whiteinge Yea, this is basically just a way for you to list out a bunch of "syndic_master"s. There are a few caveats in the current implementation (which is what I'd like to document), but as you said there are no new config options.
@UtahDave A syndic cannot currently have a connection to multiple masters. This ticket is for the following scenario which provides more redundancy than just a master -> syndic-master connection but does not provide full HA.
Given Master A and Master B at main HQ, and syndic-masters a & b in one data center and syndic masters c & d in another data center:
syndic-masters a & b are configured as multi-masters and minions e-k under them are connected to both as normal multi-master
syndic-masters c & d are configured as multi-masters and minions l-r under them are connected to both as normal multi-master
syndic-master a is connected to Master A; syndic-master c is connected to Master A.
syndic-master b is connected to Master B; syndic-master d is connected to Master B.
If either Master A or Master B goes down, you still have a connection left to at least one syndic in each data center. But if the wrong syndic goes down at the same time as the wrong master, then you can still lose connection to a data center.
To clarify more, since the addition of MultiSyndic you can put a list (instead of a single string) as the master list for a syndic-- and the syndic will connect to all of them-- similar to multiminion. The code is a bit messy, but it does work ;)
The only reason I haven't pushed it a lot is that some of the failure cases are a bit odd... I might just go back and thread it to work around them. Basically in a failure scenario (one master unavailable) you have to let zmq attempt to re-connect and we have to re-auth through it-- which means that the syndic will lock up for however long that connect timeout is. In general slow is better than unavailable-- but it can be worked around, I'll try to get back to that after our 2014.7 release internally
Activity
jacksontj commentedon Dec 4, 2014
That's fair... ;) I can probably get that put together over the next week
or so
On Dec 4, 2014 2:43 PM, "Seth House" [email protected] wrote:
whiteinge commentedon Dec 4, 2014
@jacksontj I'm happy to get that added too...but I don't know how.
Does
syndic_masterjust take a list like
masterdoes or is there more to it?On Thu Dec 04 2014 at 5:44:58 PM Thomas Jackson [email protected]
wrote:
UtahDave commentedon Dec 4, 2014
I'm quite interested in this, as well!
whiteinge commentedon Dec 4, 2014
I misunderstood this addition. I thought it was to have a single syndic connected to two hot master-masters (e.g., how vanilla multi-master works). @cro set me straight. Would still be nice to have docs, but I see now there are no new config options for this.
jacksontj commentedon Dec 5, 2014
@whiteinge Yea, this is basically just a way for you to list out a bunch of "syndic_master"s. There are a few caveats in the current implementation (which is what I'd like to document), but as you said there are no new config options.
whiteinge commentedon Dec 5, 2014
Thank you for the clarification!
On Fri, Dec 5, 2014, 9:19 AM Thomas Jackson [email protected]
wrote:
UtahDave commentedon Feb 18, 2015
@whiteinge would you mind clarifying your clarification?
whiteinge commentedon Feb 18, 2015
@UtahDave A syndic cannot currently have a connection to multiple masters. This ticket is for the following scenario which provides more redundancy than just a master -> syndic-master connection but does not provide full HA.
Given Master A and Master B at main HQ, and syndic-masters a & b in one data center and syndic masters c & d in another data center:
If either Master A or Master B goes down, you still have a connection left to at least one syndic in each data center. But if the wrong syndic goes down at the same time as the wrong master, then you can still lose connection to a data center.
jacksontj commentedon Feb 18, 2015
To clarify more, since the addition of MultiSyndic you can put a list (instead of a single string) as the master list for a syndic-- and the syndic will connect to all of them-- similar to multiminion. The code is a bit messy, but it does work ;)
cachedout commentedon Feb 18, 2015
We need to completely overhaul the topology section of the docs to explain Salt's deployment options:
http://docs.saltstack.com/en/latest/topics/development/topology.html
jacksontj commentedon Feb 18, 2015
+1
whiteinge commentedon Feb 18, 2015
Holy cow, @jacksontj, that's awesome! I was previously told multi-connections had specifically not been added.
Definite +1 to getting MultiSyndic documented and also adding this to the topology doc.
jacksontj commentedon Feb 18, 2015
The only reason I haven't pushed it a lot is that some of the failure cases are a bit odd... I might just go back and thread it to work around them. Basically in a failure scenario (one master unavailable) you have to let zmq attempt to re-connect and we have to re-auth through it-- which means that the syndic will lock up for however long that connect timeout is. In general slow is better than unavailable-- but it can be worked around, I'll try to get back to that after our 2014.7 release internally
50 remaining items
waynew commentedon Apr 12, 2022
Had unexpected issues pop up, this one has to slip to the next release
anilsil commentedon Aug 18, 2023
Closing as Won't fix. Please follow Syndic deprecation work https://github.com/orgs/saltstack/projects/42 due for 3007.0
Oloremo commentedon Aug 19, 2023
@anilsil I get 404 for https://github.com/orgs/saltstack/projects/42
Any doc I can read about that?
anilsil commentedon Aug 21, 2023
Still in WIP but you can refer this #64941