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

    what is the easiest way to load ISO images to XCP-ng?

    Scheduled Pinned Locked Moved Solved Development
    11 Posts 4 Posters 37.9k Views 4 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.
    • L Offline
      LonnieTC
      last edited by

      Never mind as I think that I have found some links that will guide me.

      From the Wiki:

      https://github.com/xcp-ng/xcp/wiki

      then

      https://github.com/xcp-ng/xcp/wiki/Create-a-local-ISO-repository

      Thanks

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

        Feel free to improve the Wiki if you think it might be improved 🙂 Enjoy!

        1 Reply Last reply Reply Quote 0
        • L Offline
          LonnieTC
          last edited by

          Well, I have now been able to create the SR based upon the documentation but it is only 18 GB in size. The drive that I have XCP-ng on is a 2 TB drive and I am not clear on how to utilize it for VM's and ISO's.

          Also, in the XO web management, I was able to import a Virtualbox OVA to do a test, which ran well, but could not figure out where in XO to upload iso's to the server. Does this have to be done on the server itself, perhaps?

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

            1. it's 18GiB in size because… it's the size of the / partition. It's not using the local SR space.
            2. ISO upload: there no such mechanism in XCP-ng/XenServer, nor any API to do so. It's meant to use a NFS or SMB share to store your ISO.
            1 Reply Last reply Reply Quote 1
            • L Offline
              LonnieTC
              last edited by

              I see. Thanks.

              I will see about setting up an SMB server for this purpose.

              Based upon what I am seeing, it seems like it may be possible for me to setup an external VM repository on an NSF or SMB server so that VM's can also be pulled into a server as needed and run locally. This would be a good thing for what I am doing, but will look into implementing it a bit later. Makes me think of a possible type "Docker" repository, but for XCP-ng VM's might be an eventual goal just as an idea.

              Best,
              Lonnie

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

                We have a VM catalog planned directly available from XOA, yes (templates cloud init ready or something like that)

                1 Reply Last reply Reply Quote 1
                • L Offline
                  LonnieTC
                  last edited by

                  That will be very exciting to see when it is ready since I think that it will help a lot of people.

                  1 Reply Last reply Reply Quote 0
                  • F Offline
                    fokker1984
                    last edited by

                    This is old trick/command from xen-server that works for me, no need for install xen-orchestra

                    xe sr-create name-label ="ISO Repository" type=iso device-config:location=/opt/xensource/packages/iso device-config:legacy_mode=true content-type=iso
                    
                    1 Reply Last reply Reply Quote 2
                    • olivierlambertO Offline
                      olivierlambert Vates 🪐 Co-Founder CEO
                      last edited by

                      It's not a trick, it's a way to do it with the CLI 🙂

                      1 Reply Last reply Reply Quote 3
                      • I Offline
                        Iams3le
                        last edited by

                        I had the same question but the responses here was amazing and the following blogpost nailed it. I hope it helps someone else too: https://techdirectarchive.com/2026/01/25/a-z-of-xcp-ng-and-xen-orchestra-setup-and-vm-creation/

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