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

    Template visibility on multiple pools

    Scheduled Pinned Locked Moved Xen Orchestra
    5 Posts 2 Posters 328 Views 2 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.
    • M Offline
      mmcgr
      last edited by mmcgr

      Hello
      For context, we have two physically separate sites, each of which has one physical host running XCP-ng. Each site has one pool containing the local host.

      Site A-->Pool A-->Host A
      Site B-->Pool B-->Host B

      Site A is also running XO which I want to be the single "manager" of all the VMs at both sites. Both sites are connected with a site-to-site VPN.

      When creating a VM in pool A, I can see my custom Templates and Custom Configs. When creating a VM in pool B, I cannot see the custom Template and Custom Configs, not can I see a way to create them.

      Is it expected behaviour that the Templates & Custom Configs are limited to a specific pool?

      Thanks
      Michael.

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

        Hi!

        Yes indeed, a template is always linked to a specific VMs (previously a regular VM, now a VM that "is a template=true". Each pool got its own VM database, and therefore, you can't have a template that is "cross pool".

        However, we kind of did that with the XO Hub. It's possible (in the future) that we have a kind of "local XO hub" you can use.

        In a shorter timeframe, we plan to add a feature to "copy" your templates to multiple pools at once, so you can build whatever template you want on pool A, and replicate it on any other pools. Would that solve your requirement?

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          mmcgr @olivierlambert
          last edited by

          olivierlambert hello - yes, the "copy" feature would definitely help

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

            Great! I'll try to prioritize this, at least via an API/CLI call (the UI will probably wait later)

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

              https://github.com/vatesfr/xen-orchestra/issues/7690

              olivierlambert created this issue in vatesfr/xen-orchestra

              open Custom template replication between pools #7690

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