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

    Copy template between hosts

    Scheduled Pinned Locked Moved Xen Orchestra
    5 Posts 3 Posters 1.4k 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.
    • mauzillaM Offline
      mauzilla
      last edited by

      I have a template on host a (not part of a cluster) which I want to copy to host b, so that I can use that template for new VMs. Currently I create the VM on host A then migrate it to host B.

      How do we go about copying a template accross to a different host?

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

        Using a shared SR between your hosts, with the template in there 🙂

        1 Reply Last reply Reply Quote 0
        • mauzillaM Offline
          mauzilla
          last edited by

          Alright, say I setup a shared SR, how would I get it to that SR from the current local SR?

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

            At VM creation, the created VM and its disk will be copied automatically to the local SR.

            1 Reply Last reply Reply Quote 0
            • DanpD Offline
              Danp Pro Support Team @mauzilla
              last edited by

              @mauzilla You can copy the template to the new SR using XO.

              Here's how --

              • Go to Home > Templates
              • Select the desired template(s) using the checkbox
              • Press the "Copy" button that appears in the header
              • Complete the dialog
              1 Reply Last reply Reply Quote 1
              • First post
                Last post