houshengbo edited a comment on issue #4175: Unable to ping running invoker 
service on another machine
URL: 
https://github.com/apache/incubator-openwhisk/issues/4175#issuecomment-447405313
 
 
   I need to configure Kafka in hosts file as well:
   
   ```
   ; the first parameter in a host is the inventory_hostname
   
   ; used for local actions only
   ansible ansible_connection=local
   
   [edge]
   172.17.0.1          ansible_host=172.17.0.1 ansible_connection=local
   
   [controllers]
   controller0         ansible_host=172.17.0.1 ansible_connection=local
   ;
   [kafkas]
   kafka0              ansible_host=172.17.0.1 ansible_connection=local
   kafka0              ansible_host=<IP of VM1, where kafka is running>
   
   [zookeepers:children]
   kafkas
   
   [invokers]
   invoker0            ansible_host=172.17.0.1 ansible_connection=local
   invoker1            ansible_host=<IP of VM2, where invoker1 is running> 
ansible_connection=ssh
   
   ; db group is only used if db.provider is CouchDB
   [db]
   172.17.0.1           ansible_host=172.17.0.1 ansible_connection=local
   
   [redis]
   172.17.0.1          ansible_host=172.17.0.1 ansible_connection=local
   
   [apigateway]
   172.17.0.1          ansible_host=172.17.0.1 ansible_connection=local
   ```
   
   CouchDB needs to be configured in db_local.ini:
   
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to