Searching trough the docs leads me to "multi-master", however this requires that the fileserver (and keys) needs to be synced. This isn't possible.
That leads me to the only alternative I could think of: multiple salt-minion processes.
But what would be the most practical option?
We could run the same minion binary with different options.
This would require a second init script to be created which the -c argument added and a second set of configs, keys etc. Sounds reasonable..
Another option would be running one "stock" (from the PPA) version and one in Virtualenv.
This is a bit more complex but does make it two separate entities allowing different versions (e.g. party A wants to use v2015.2 while party B is still at v2014.7.0 and doesn't want to update yet).
Is anyone using a similar setup? What would be the best approach here?
Thanks!
ZMQError: Address in use
Traceback (most recent call last):
File "C:\salt\bin\Scripts\salt-minion", line 26, in <module>
salt_minion()
File "C:\salt\bin\lib\site-packages\salt\scripts.py", line 117, in salt_minion
minion.start()
File "C:\salt\bin\lib\site-packages\salt\cli\daemons.py", line 277, in start
self.minion.tune_in()
File "C:\salt\bin\lib\site-packages\salt\minion.py", line 1680, in tune_in
io_loop=self.io_loop,
File "C:\salt\bin\lib\site-packages\salt\utils\event.py", line 823, in __init__
self.epub_sock.bind(epub_uri)
File "zmq/backend/cython/socket.pyx", line 489, in zmq.backend.cython.socket.Socket.bind (zmq\backend\cython\socket.c:4824)
File "zmq/backend/cython/checkrc.pxd", line 25, in zmq.backend.cython.checkrc._check_rc (zmq\backend\cython\socket.c:7055)
raise ZMQError(errno)
zmq.error.ZMQError: Address in usetcp_pub_port: 4512tcp_pull_port: 4513