You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/03/22 13:47:52 UTC

[GitHub] jasonpet commented on issue #133: [Question] How to switch active hosts?

jasonpet commented on issue #133: [Question] How to switch active hosts?
URL: https://github.com/apache/incubator-openwhisk-package-alarms/issues/133#issuecomment-375311783
 
 
   This is done using redis publish/subscribe.  For example if active host is host0 and you run:  `publish dockermachine_alarmservice_worker0 host1` will change the active host from host0 to host1.  We simply use a monitor to ping the health endpoint and if the endpoint is not reachable the monitor will switch the active host.  

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services