openwhisk icon indicating copy to clipboard operation
openwhisk copied to clipboard

openwhisk on multi-VMs

Open thunderZH963 opened this issue 3 years ago • 3 comments

I have two physical machines, and 5 VMs(based on qemu/kvm) are installed on these two physical machines at the same time. I want to deploy open on these 10 VMs. However, I have consulted a lot of materials, but I have not seen the deployment method. Can you give me some suggestions? Looking forward to your reply!

thunderZH963 avatar Sep 30 '22 05:09 thunderZH963

It seems many people repeatedly ask about this.

I feel it implies we need to restore the ANSIBLE_DISTRIBUTED.md document along with the Ansible distributed environment. It had been in the core repo once but was removed at some point.

While we can still deploy OpenWhisk in the distributed environment with the local environment, it is more intuitive to have the distributed environment along with a corresponding document.

How do you think folks?

@bdoyle0182 @rabbah @dgrove-oss

style95 avatar Sep 30 '22 10:09 style95

Can you share ANSIBLE_DISTRIBUTED.md to me? Thanks!

thunderZH963 avatar Oct 08 '22 01:10 thunderZH963

@thunderZH963 Sorry for the late response. You can refer to the below file. https://github.com/apache/openwhisk/pull/4245/files#diff-3e3b1963dd8fdbcf40f4ae54da1421b2e670e03b5ee102c16a0fe57a556c120cL20

Since it has been some time, the instructions may be a bit changed. I think you need to refer to README_DISTRIBUTED.md and README.md.

The main difference is you need to define hosts to include your multiple VMs. https://github.com/apache/openwhisk/commit/06892e6f79300f86670cad1b5a5e2eb75b567f99#diff-9c4b3a0946dc4812a7f020b806ec3dc97928c4e54cfdf97399ebc3380a3d1f7eL27

style95 avatar May 20 '23 21:05 style95