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:
[email protected]


With regards,
Apache Git Services

Reply via email to