XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    xoa automated tasks [workflow feature request]

    Scheduled Pinned Locked Moved Xen Orchestra
    7 Posts 3 Posters 307 Views 1 Watching
    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.
    • akurzawaA Offline
      akurzawa
      last edited by akurzawa

      Hi

      quick question:
      can Xoa do actions like this (oob)

      • ping vm A and in case of failure, shutdown vm A, and start vm B?

      Do You plan to implement some kind of WORKFLOWs in xoa?

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        The specification is a bit thin. Also, which component will ping VM A?

        BTW, you can already do that with a custom program and xo-cli calls (or direct XO API calls)

        1 Reply Last reply Reply Quote 0
        • akurzawaA Offline
          akurzawa
          last edited by akurzawa

          Hi
          I didn't write up much becouse wanted to check if this's possible.
          ping - icmp or other component
          custom program is what I want to avoid, if I woud have it in xoa, then I simpy export xoa config file which as I presume contains all neccesery information to restore full config after xoa reinstallation

          1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            What I mean by specification, I'm not talking about anything technical. Just the way you imagine it from the user perspective.

            1 Reply Last reply Reply Quote 0
            • akurzawaA Offline
              akurzawa
              last edited by

              RIght now I had this simple scenario in my mind - ping vm a if no respond x time kill vm a, start vm b, but the workflow could do much more in much sofisticated way, for example in opmanager from manage engine i can build almost endless scenariors for what to do if there is alarm trigered

              157083b9-f164-4efb-a493-17350b67e0d8-image.png

              1 Reply Last reply Reply Quote 0
              • olivierlambertO Offline
                olivierlambert Vates 🪐 Co-Founder CEO
                last edited by

                Ping @pdonias about the idea

                1 Reply Last reply Reply Quote 1
                • pdoniasP Offline
                  pdonias Vates 🪐 XO Team
                  last edited by

                  Hi @akurzawa, this would be quite a big feature, please open an issue if you have something precise in mind (a list of possible actions, what could trigger a workflow, ideally some use cases that couldn't be done without it, etc.). Also, a lot can probably already be done with XO's Web Hooks, xo-cli and a third party workflow tool in between.

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