ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    What You Need to Know About XenServer

    IT Discussion
    xen xenserver xenorchestra ha-lizard virtualization hypervisor
    12
    71
    9.1k
    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.
    • DustinB3403D
      DustinB3403 @olivier
      last edited by

      @olivier said in What You Need to Know About XenServer:

      @DustinB3403 That's exactly what I've done with one client, and I'm stopping there.

      Ah, I misunderstood your last post, I thought it was theoretical

      olivierO 1 Reply Last reply Reply Quote 0
      • olivierO
        olivier @DustinB3403
        last edited by

        @DustinB3403 No that was real ^^

        1 Reply Last reply Reply Quote 0
        • wirestyle22W
          wirestyle22 @JaredBusch
          last edited by

          @JaredBusch said in What You Need to Know About XenServer:

          My biggest complaint with XS is not having any simple method to attach a local ISO repository. Horribly critical flaw (not really).

          I completely agree.

          1 Reply Last reply Reply Quote 0
          • wirestyle22W
            wirestyle22
            last edited by

            "Use your RAID card to expose to logical volumes (disks) to XS directly. Give it one small one, like 70GB, for XenServer itself. And all the rest for the SR (VM storage.) [If you lack this functionality or are not familiar with this process, post a question here in ML and include the RAID controller that you are using so that we can assist!]"

            Hi! So I have a Dell PERC H700. Looked around inside of the PERC settings and didn't see a way to do this. Any help would be greatly appreciated.

            scottalanmillerS 1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @wirestyle22
              last edited by

              @wirestyle22 said in What You Need to Know About XenServer:

              "Use your RAID card to expose to logical volumes (disks) to XS directly. Give it one small one, like 70GB, for XenServer itself. And all the rest for the SR (VM storage.) [If you lack this functionality or are not familiar with this process, post a question here in ML and include the RAID controller that you are using so that we can assist!]"

              Hi! So I have a Dell PERC H700. Looked around inside of the PERC settings and didn't see a way to do this. Any help would be greatly appreciated.

              Looking through the H700 manual, it does not appear to support logical volumes on the RAID card.

              wirestyle22W 1 Reply Last reply Reply Quote 1
              • wirestyle22W
                wirestyle22 @scottalanmiller
                last edited by

                @scottalanmiller said in What You Need to Know About XenServer:

                @wirestyle22 said in What You Need to Know About XenServer:

                "Use your RAID card to expose to logical volumes (disks) to XS directly. Give it one small one, like 70GB, for XenServer itself. And all the rest for the SR (VM storage.) [If you lack this functionality or are not familiar with this process, post a question here in ML and include the RAID controller that you are using so that we can assist!]"

                Hi! So I have a Dell PERC H700. Looked around inside of the PERC settings and didn't see a way to do this. Any help would be greatly appreciated.

                Looking through the H700 manual, it does not appear to support logical volumes on the RAID card.

                Good to know it's not me. Thanks!

                BRRABillB 1 Reply Last reply Reply Quote 0
                • BRRABillB
                  BRRABill @wirestyle22
                  last edited by

                  @wirestyle22

                  What I ended up doing (though I didn't use it, used USB/SD which I am looking to move away from) was just setting up two small disks as a separate RAID1 array just for the boot device.

                  $140ish from xByte so not crazy expensive.

                  olivierO wirestyle22W 2 Replies Last reply Reply Quote 0
                  • olivierO
                    olivier @BRRABill
                    last edited by

                    @BRRABill I like use refurb parts for that, like https://www.servershop24.de/en/components/controller/sas/hp-smart-array-p400-raid-controller-256-mb-sas-pci-e-447029-001-low-profile/a-105422/

                    Unbeatable price/perf ratio.

                    1 Reply Last reply Reply Quote 1
                    • wirestyle22W
                      wirestyle22 @BRRABill
                      last edited by

                      @BRRABill I did run into complications while trying to create an ISO Library. It seems pretty unintuitive to me.

                      mkdir -p /var/opt/xen/ISO_Lib

                      xe sr-create name-label=LocalISO type=iso device-config:location=/var/opt/xen/ISO_Store device-config:legacy_mode=true content-type=iso

                      cd /var/opt/xen/ISO_Lib

                      I then ran into issues locating the actual link so I could wget

                      I found this one eventually: http://care.dlservice.microsoft.com/download/7/5/E/75EC4E54-5B02-42D6-8879-D8D3A25FBEF7/7601.17514.101119-1850_x64fre_server_eval_en-us-GRMSXEVAL_EN_DVD.iso?lcid=1033&cprod=WinSvr2

                      I didn't see any failure notifications. However, there was also no ISO's listed in the library.

                      I ran df -h to find disk usage and it didn't have enough space so I switched to my 8 TB GPT Partition.

                      cd /var/run/sr-mount/etc etc etc code/

                      Then I went through the process of creating another directory. I moved it to the new ISO_Lib folder and ran this:

                      xe sr-create name-label=ISO_Lib type=iso device-config:location=/var/run/sr-mount/etc etc etc code/ISO_Storage device-config:legacy_mode=true content-type=iso

                      To make it an ISO library. Nothing is listed in there. Is it me or this so much just to create local storage?

                      DustinB3403D olivierO 2 Replies Last reply Reply Quote 0
                      • DustinB3403D
                        DustinB3403 @wirestyle22
                        last edited by

                        @wirestyle22 said in What You Need to Know About XenServer:

                        @BRRABill I did run into complications while trying to create an ISO Library. It seems pretty unintuitive to me.

                        mkdir -p /var/opt/xen/ISO_Lib

                        xe sr-create name-label=LocalISO type=iso device-config:location=/var/opt/xen/ISO_Store device-config:legacy_mode=true content-type=iso

                        cd /var/opt/xen/ISO_Lib

                        I then ran into issues locating the actual link so I could wget

                        I found this one eventually: http://care.dlservice.microsoft.com/download/7/5/E/75EC4E54-5B02-42D6-8879-D8D3A25FBEF7/7601.17514.101119-1850_x64fre_server_eval_en-us-GRMSXEVAL_EN_DVD.iso?lcid=1033&cprod=WinSvr2

                        I didn't see any failure notifications. However, there was also no ISO's listed in the library.

                        I ran df -h to find disk usage and it didn't have enough space so I switched to my 8 TB GPT Partition.

                        cd /var/run/sr-mount/etc etc etc code/

                        Then I went through the process of creating another directory. I moved it to the new ISO_Lib folder and ran this:

                        xe sr-create name-label=ISO_Lib type=iso device-config:location=/var/run/sr-mount/etc etc etc code/ISO_Storage device-config:legacy_mode=true content-type=iso

                        To make it an ISO library. Nothing is listed in there. Is it me or this so much just to create local storage?

                        The reason being that LOCAL repo's aren't supported, is that it literally takes nothing to share out a drive from a windows desktop and connect to it via XenCenter (or XO).

                        It's a 5 minute process.

                        wirestyle22W JaredBuschJ 2 Replies Last reply Reply Quote 1
                        • olivierO
                          olivier @wirestyle22
                          last edited by olivier

                          @wirestyle22 You need to rescan the SR to find freshly downloaded ISOs.

                          edit: local share are not officially supported by Citrix, so you can do it but if you can use a NFS/SMB share somewhere, that's even better πŸ˜‰

                          wirestyle22W 1 Reply Last reply Reply Quote 0
                          • wirestyle22W
                            wirestyle22 @DustinB3403
                            last edited by

                            @DustinB3403 said in What You Need to Know About XenServer:

                            @wirestyle22 said in What You Need to Know About XenServer:

                            @BRRABill I did run into complications while trying to create an ISO Library. It seems pretty unintuitive to me.

                            mkdir -p /var/opt/xen/ISO_Lib

                            xe sr-create name-label=LocalISO type=iso device-config:location=/var/opt/xen/ISO_Store device-config:legacy_mode=true content-type=iso

                            cd /var/opt/xen/ISO_Lib

                            I then ran into issues locating the actual link so I could wget

                            I found this one eventually: http://care.dlservice.microsoft.com/download/7/5/E/75EC4E54-5B02-42D6-8879-D8D3A25FBEF7/7601.17514.101119-1850_x64fre_server_eval_en-us-GRMSXEVAL_EN_DVD.iso?lcid=1033&cprod=WinSvr2

                            I didn't see any failure notifications. However, there was also no ISO's listed in the library.

                            I ran df -h to find disk usage and it didn't have enough space so I switched to my 8 TB GPT Partition.

                            cd /var/run/sr-mount/etc etc etc code/

                            Then I went through the process of creating another directory. I moved it to the new ISO_Lib folder and ran this:

                            xe sr-create name-label=ISO_Lib type=iso device-config:location=/var/run/sr-mount/etc etc etc code/ISO_Storage device-config:legacy_mode=true content-type=iso

                            To make it an ISO library. Nothing is listed in there. Is it me or this so much just to create local storage?

                            The reason being that LOCAL repo's aren't supported, is that it literally takes nothing to share out a drive from a windows desktop and connect to it via XenCenter (or XO).

                            It's a 5 minute process.

                            Yeah but there isn't a single use case for local storage? Ever?

                            F 1 Reply Last reply Reply Quote 0
                            • wirestyle22W
                              wirestyle22 @olivier
                              last edited by

                              @olivier said in What You Need to Know About XenServer:

                              @wirestyle22 You need to rescan the SR to find freshly downloaded ISOs.

                              edit: local share are not officially supported by Citrix, so you can do it but if you can use a NFS/SMB share somewhere, that's even better πŸ˜‰

                              How do you handle permissions? This is my first time πŸ˜„

                              olivierO 1 Reply Last reply Reply Quote 0
                              • olivierO
                                olivier @wirestyle22
                                last edited by

                                @wirestyle22 If you made the wget with root, no problem, XAPI is running as root too (and default perms in here should be OK). So after you Wget is done, just ls to be sure your ISO is here. Then, rescan the SR with the appropriate interface (Xen Orchestra or XenCenter).

                                wirestyle22W 1 Reply Last reply Reply Quote 0
                                • wirestyle22W
                                  wirestyle22 @olivier
                                  last edited by

                                  @olivier said in What You Need to Know About XenServer:

                                  @wirestyle22 If you made the wget with root, no problem, XAPI is running as root too (and default perms in here should be OK). So after you Wget is done, just ls to be sure your ISO is here. Then, rescan the SR with the appropriate interface (Xen Orchestra or XenCenter).

                                  I attempted a rescan with XC and nothing popped up. I'm not home right now to really go through it unfortunately. Maybe I'll configure remote access tonight so I can tinker. Everything for me currently is being run in root. Not trying to complicate my life too much yet πŸ˜„

                                  1 Reply Last reply Reply Quote 0
                                  • F
                                    Francesco Provino @wirestyle22
                                    last edited by

                                    @wirestyle22 in truth, you can just create an LVM volume with a filesystem upon it, store the ISOs there and mount it as a SR. The real issue is that at the reboot XS7 will stop doing consistency check of LVM. That's totally repeatable.

                                    1 Reply Last reply Reply Quote 0
                                    • olivierO
                                      olivier
                                      last edited by

                                      That sound really overcomplicated to serve just some ISOs. I wonder if I won't offer a "public" NFS in read only with most popular ISO, a kind of ISO as a service πŸ˜„

                                      F 1 Reply Last reply Reply Quote 1
                                      • F
                                        Francesco Provino @olivier
                                        last edited by

                                        @olivier I think that the right way to provide a "templatized" VM is to customize a cloud OS image via libguestfs or similar tools, going through the whole installation process is just nonsense for VMs. Poor windows users…

                                        olivierO 1 Reply Last reply Reply Quote 0
                                        • olivierO
                                          olivier @Francesco Provino
                                          last edited by

                                          @Francesco-Provino Solution is creating a template with CloudInit process, then Xen Orchestra can do the rest. See https://xen-orchestra.com/blog/full-cloudinit-power-in-xenserver/

                                          F 1 Reply Last reply Reply Quote 0
                                          • BRRABillB
                                            BRRABill
                                            last edited by

                                            My new take on XS is to not touch XS. It's like Fight Club.

                                            The easy way for ISOs I found was...

                                            a) set up a new Linux Mint VM
                                            b) set up an anonymous share
                                            c) add ISOs
                                            d) done

                                            Windows works, but it;s hard to do anonymous shares, I've always found. You could create a user, which I did initially, but I've since moved to a small Mint instance and haven't looked back.

                                            olivierO 1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 2 / 4
                                            • First post
                                              Last post