You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwhisk.apache.org by gi...@git.apache.org on 2017/05/16 07:53:10 UTC

[GitHub] style95 opened a new pull request #2248: Make invoker be scaled-out via ansible. (#2247)

style95 opened a new pull request #2248: Make invoker be scaled-out via ansible. (#2247)
URL: https://github.com/apache/incubator-openwhisk/pull/2248
 
 
   This closes #2247
   
   It makes possible to scale out of running invoker via ansible.
   It assumes there will be only one invoker running on each hosts.
   
   To scale out running invoker, user can just add new hosts in inventory file and re-run the ansible invoker deployment.
   
   Procedures are as follow:
   1. First, it checks if there are any running invokers.
   2. If there are more than one running invokers, there are some problem. It stops the deployment.
   3. If there is only one running invoker, it checks whether index of running invoker is same with the one of the given inventory host.
   4. If index is different, there is problem in the order of hosts. It stops the deployment.
   5. If index is same, it just skips to run invoker.
   6. If there is no ruunning invoker, it starts a new invoker.
   
   One good side-effect is procedure of invoker deployment becomes idempotent.
   So if there is no changes on inventory host file, user can repeatedly run ansible deployment without any harms.
 
----------------------------------------------------------------
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