Giter Site home page Giter Site logo

Document HA support about vic-product HOT 13 CLOSED

vmware avatar vmware commented on September 28, 2024
Document HA support

from vic-product.

Comments (13)

stuclem avatar stuclem commented on September 28, 2024

vmware/vic#744 and vmware/vic#406 and in the Icebox, so moving this doc issue there too.

from vic-product.

stuclem avatar stuclem commented on September 28, 2024

Here's the doc snippet from the interop topic, for reinsertion once HA/FT support is restored.


You can apply vSphere High Availability and Fault Tolerance to both the container VMs and the virtual container host, so that containers and the virtual container host can power on or off independently of each other.


from vic-product.

stuclem avatar stuclem commented on September 28, 2024

#744 and #406 are still in the Icebox with no milestone, so leaving this one in icebox too.

from vic-product.

stuclem avatar stuclem commented on September 28, 2024

According to @hmahmood in vmware/vic#406 (comment), HA works, so we can update the doc to claim support.

@hmahmood is this true for 0.9? Thanks!

from vic-product.

stuclem avatar stuclem commented on September 28, 2024

From @hmahmood on March 15, 2017 17:5

@stuclem yes, with one bug outstanding: #4237

from vic-product.

stuclem avatar stuclem commented on September 28, 2024

From @hmahmood on March 15, 2017 17:8

@stuclem I don't think my PR actually made it into 0.9 actually, so I guess we can't claim HA support in 0.9.

from vic-product.

stuclem avatar stuclem commented on September 28, 2024

Thanks @hmahmood. Leaving this one in the 1.1 milestone, in that case.

from vic-product.

stuclem avatar stuclem commented on September 28, 2024

@hmahmood I have updated the support statement for High Availability as follows:


VMware vSphere High Availability

You can apply vSphere High Availability to clusters on which VCHs and container VMs run. If the host on which a VCH or container VMs are running goes offline, the VCH and container VMs migrate to another host in the cluster. VCHs restart on the new host immediately. Container VMs that were running before the migration must be restarted manually by using the docker run --restart command.


Changes are in stuclem@62658c2 and stuclem@a8e178e.

Is this accurate? What about FT? We currently state that FT is not supported on VCHs. Is this still true?

from vic-product.

hmahmood avatar hmahmood commented on September 28, 2024

The HA statement looks accurate.

We do have some sort of FT right now, but it is independent of vSphere. Basically we restart the VCH if the main process (tether) crashes. We also restart any service process if they crash or exit. All of this is not tied into vSphere though.

from vic-product.

hmahmood avatar hmahmood commented on September 28, 2024

Container VMs that were running before the migration must be restarted manually by using the docker run --restart command.

This does not appear to be correct. It looks we restart all VMs one by one, starting with the VCH.

from vic-product.

stuclem avatar stuclem commented on September 28, 2024

Thanks @hmahmood. Updated FT statement as follows:


vSphere Fault Tolerance: vSphere Integrated Containers does not implement vSphere Fault Tolerance. However, VCH processes that stop unexpectedly do restart automatically, independently of vSphere Fault Tolerance.


And the HA statement:


You can apply vSphere High Availability to clusters on which VCHs and container VMs run. If the host on which a VCH or container VMs are running goes offline, the VCH and container VMs migrate to another host in the cluster. VCHs restart on the new host immediately. Container VMs that were running before the migration restart one by one, after the VCH has restarted.


Changes are in stuclem@4f11c87.

Is this OK now?
Thanks!

from vic-product.

hmahmood avatar hmahmood commented on September 28, 2024

@stuclem issue for vApp restart: vmware/vic#4779

This really is a bug that needs to be fixed. We don't support restarting the containers the way the vApp is doing currently. Containers can only be restarted from the docker command line.

from vic-product.

stuclem avatar stuclem commented on September 28, 2024

Thanks @hmahmood, I updated the statements about performing operations on the VMs directly as follows:


Performing Operations on VCHs and Container VMs in vSphere

  • If you restart a VCH endpoint VM, it comes back up in the same state that it was in when it shut down.
  • If you use DHCP on the client network, the IP address of the VCH endpoint VM might change after a restart. Use vic-machine inspect to obtain the new IP address.
  • Do not manually delete a VCH vApp, the VCH endpoint VM, or container VMs. Always use vic-machine delete to delete VCHs and use Docker commands to perform operations on container VMs.
  • Manually restarting container VMs, either individually or by manually restarting the VCH vApp, can result in incorrect end-times for container operations. Do not manually restart the vApp or container VMs. Always use Docker commands to perform operations on container VMs.

from vic-product.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.