XCP-ng

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Watchdog for reboot VM when it's broken(no respond).

    Compute
    2
    6
    121
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cbaguzman
      cbaguzman last edited by cbaguzman

      Hello everybody!!!

      I want automatically reboot VMs when they are broken (no respond).
      I don't know if xcg-ng has process or script for that cases.

      I saw something in the web with ssh but maybe xcp-ng has something else.

      You can help me?

      1 Reply Last reply Reply Quote 0
      • olivierlambert
        olivierlambert Vates 🪐 Founder & CEO 🦸 last edited by

        Xen will detect if a VM is crashing already, and will reboot it. What do you mean exactly for a VM that doesn't respond?

        cbaguzman 1 Reply Last reply Reply Quote 0
        • cbaguzman
          cbaguzman @olivierlambert last edited by

          hello @olivierlambert

          ( What do you mean exactly for a VM that doesn't respond?)
          For example, when the SO of guest is freeze. (for different reasons ej: driver error, low quality software, etc).

          (Xen will detect if a VM is crashing already, and will reboot it.)
          👆 where can I read information for this?

          1 Reply Last reply Reply Quote 0
          • olivierlambert
            olivierlambert Vates 🪐 Founder & CEO 🦸 last edited by

            It's related to some on crash parameter in the VM object, but I don't remember exactly where it's documented 🤔

            cbaguzman 1 Reply Last reply Reply Quote 0
            • cbaguzman
              cbaguzman @olivierlambert last edited by

              @olivierlambert Also, I thing others ways.

              Make a script in XCP host what run ping to VMS'S ip and force reboot of VM when ping is not respond.

              What do you think about this?

              1 Reply Last reply Reply Quote 0
              • olivierlambert
                olivierlambert Vates 🪐 Founder & CEO 🦸 last edited by

                Bad idea. Losing network temporarily doesn't mean your app crashed.

                I think first you really need to think about what you need.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post