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
    10 Posts 3 Posters 32.8k 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.
    • L Offline
      LonnieTC
      last edited by

      Hello All,

      I have setup XCP-ng with XO for testing and now am trying to find the easiest way to load some ISO images for use with setting up VM's. Did not see as way for XO, but could have missed it since I am still learning how to use it.

      Any input from the community would be helpful.
      Thanks and have good weekend.

      1 Reply Last reply Reply Quote 0
      • 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
                        • First post
                          Last post