VMware Cloud Community
brgsousa
Contributor
Contributor

[VIC] How to allow containers and VCH to be in different ESXi hosts

Hi,

I am running one vCenter 6.5.0, four ESXi hosts 6.5.0 and VIC 1.5.3.1525 . There is only one VCH deployed.

V-motion is enabled.

When I start a container and after a while, v-motion (DRS) migrates it to a different ESXi host (moving container from host A to host B, but VCH remains on host A). Then I can't access that container via network (example: open a nginx page on the browser). It would only start working again if i manually move VCH to host B and then both (container and VCH) are running on the same host.

I am defined only two networks:  bridge and public. Like this:

--bridge-network net-dti-draft-bridge `

--bridge-network-range 172.30.0.0/16 `

--public-network Servers `

--public-network-ip 10.43.4.191/24 `

--public-network-gateway 10.43.4.254 `

--dns-server 10.43.4.12 --dns-server 10.43.4.13 `

I tried using "vic-machine create" with the parameter "--affinity-vm-group" but it only creates a vm group and no rules are created. But anyways, keeping all containers and VCH on a same ESXi host would be bad to balance.

So I need to allow containers and VCH to be running in different hosts. How can I do that?

Thank you

Tags (2)
0 Kudos
0 Replies