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

    Workflow Tool

    Scheduled Pinned Locked Moved Advanced features
    12 Posts 4 Posters 278 Views 3 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.
    • W Offline
      whof
      last edited by

      Hi guys, I'm curious to ask if Xen Orchestra comes with a solution for creating workflows like the vRealize Aria Orchestrator of VMware? Or is there a need for a third-party solution? Thx

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

        Hi,

        It's a big vague, could you develop a bit with some concrete examples?

        W 1 Reply Last reply Reply Quote 0
        • W Offline
          whof @olivierlambert
          last edited by whof

          @olivierlambert In vRealize Orchestrator we use a bunch of custom workflows that run while deploying/undeploying VMs, e.g. to register/unregister a VM in Redhat Satellite or to create unique aliases that we add to a host record in Infoblox.

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

            Hmm it's still vague for me, I'd like to get a concrete/developed example please 🙂

            W 1 Reply Last reply Reply Quote 0
            • J Offline
              john.c
              last edited by

              @whof Are you referring to this https://www.vmware.com/products/aria-automation-orchestrator.html?

              So your asking about automation of Xen Orchestra and XCP-ng then?

              Olivierlambert is asking for example(s) of how you use Aria Automation from VMware in your VMware ESXi and VMware vCenter infrastructure. So he can gauge what your looking for so can recommend and/or develop something to full fill the requirement.

              W 1 Reply Last reply Reply Quote 0
              • W Offline
                whof @olivierlambert
                last edited by

                @olivierlambert I'm not sure what else to tell you in particular. I just can tell you from VMware side what we do.
                When triggern a VM deployment in vRealize Automation there are various event types, like: Pre Deployment, Pre Provisioning, Pre Power On, Post Power On, Post Provisioning, Post Deployment and so on.
                Each event can tigger workflows in vRealize Orchestrator and passes some basic deployment information to the workflow. For example in Pre Power On we let a workflow trigger that registers the vm in RedHat Satellite.
                RedHat Satellite is connected to vRealize Orchestrator as an REST Host with its REST Operations. The REST Operations can be used in the workflow.
                Is it possible to do something like this with your tools? Are these enough informations?

                1 Reply Last reply Reply Quote 1
                • W Offline
                  whof @john.c
                  last edited by

                  @john-c Yes I refer to this product.
                  Exactly, I'd like to know if there is something similar included in your tools or if there is a need of a third-party tool.

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    john.c
                    last edited by

                    @olivierlambert Would any expansion be needed to the Ansible feature in Xen Orchestra and the Ansible Community Xen Orchestra plugins, to meet whof's requirements?

                    Tristis OrisT 1 Reply Last reply Reply Quote 0
                    • Tristis OrisT Online
                      Tristis Oris Top contributor @john.c
                      last edited by

                      @john-c https://xen-orchestra.com/blog/virtops3-ansible-with-xen-orchestra/

                      J 1 Reply Last reply Reply Quote 0
                      • J Offline
                        john.c @Tristis Oris
                        last edited by john.c

                        @Tristis-Oris said in Workflow Tool:

                        @john-c https://xen-orchestra.com/blog/virtops3-ansible-with-xen-orchestra/

                        But is there any way to invoke scripts via that plugin from Ansible? The reason being the work flows are text based files in json or yaml format which contain options and parameters for commands and/or actions to be executed. But are not directly scripts, they are like a mix of configuration file and scripts.

                        https://codefresh.io/learn/github-actions/github-actions-workflows-basics-examples-and-a-quick-tutorial/

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

                          You should maybe take a look at Packer + Terraform (both can be also used in combination with Ansible). Still, there's a REST API in XO that allows you to do many things. I'll be happy to add some stuff in XO too, but we need a first target that is doable 🙂

                          1 Reply Last reply Reply Quote 0
                          • Tristis OrisT Online
                            Tristis Oris Top contributor @john.c
                            last edited by

                            @john-c dunno about how that script should work, but you can execute anything with ansible.builtin.shell

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