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

    Trying out Xen

    IT Discussion
    xen
    6
    87
    27.5k
    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.
    • scottalanmillerS
      scottalanmiller @Dashrender
      last edited by

      @Dashrender said:

      Please remind where the difference between Xen and XenServer - I take it Citrix still owns XenServer - but what? it's free now?

      Xen is a "kernel" for a hypervisor. XenServer is a full hypervisor distro. Xen can't stand on its own, it needs to be assembled. Xen is analogous to Linux or Asterisk, a building block of something bigger. XenServer is analogous to CentOS or FreePBX, it is a full product.

      Citrix does own XenServer by name, but the code was open sourced (there was almost nothing that Citrix owned anyway) and is now managed by the Linux Foundation who also makes XCP (the non-Citrix version of XenServer) and Xen itself.

      1 Reply Last reply Reply Quote 0
      • stacksofplatesS
        stacksofplates
        last edited by stacksofplates

        @scottalanmiller I have a test XenServer up and running. Thanks again!

        (P.S. to anyone who wants to try. Don't use a CentOS 6.7 iso for a VM. I used it just because I had it from trying to install Xen. The networking will not work and you will attempt to fix it for about 3 hours. Then begin to question yourself, because you can't seem to figure out a simple networking interface in XenCenter. Then you will install Ubuntu and it will work fine.)

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

          I'm really shocked that CentOS does not work. We do this all the time and it has always "just worked" right out of the "box".

          stacksofplatesS 1 Reply Last reply Reply Quote 0
          • stacksofplatesS
            stacksofplates @scottalanmiller
            last edited by

            @scottalanmiller said:

            I'm really shocked that CentOS does not work. We do this all the time and it has always "just worked" right out of the "box".

            I haven't tried 7. I saw someone else had an issue with 6.x so I figured I'd try a different iso.

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

              We've been using a lot of CentOS 6 over the years.

              stacksofplatesS 1 Reply Last reply Reply Quote 0
              • stacksofplatesS
                stacksofplates @scottalanmiller
                last edited by

                @scottalanmiller said:

                We've been using a lot of CentOS 6 over the years.

                I probably screwed something up. I'll try tomorrow just for fun.

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

                  Where you trying PV or HVM?

                  stacksofplatesS 1 Reply Last reply Reply Quote 0
                  • stacksofplatesS
                    stacksofplates @scottalanmiller
                    last edited by

                    @scottalanmiller said:

                    Where you trying PV or HVM?

                    Truthfully I don't know. I didn't see an option for either. I clicked on New VM, then selected CentOS 6 from the template list, gave it a name, picked my ISO from the NFS, picked the server, set cpu/memory, set storage, set network, and then finished.

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

                      It's always HVM by default but some templates might go to PV.

                      http://blogs.citrix.com/2012/09/25/centos-on-xenserver-6/

                      stacksofplatesS 1 Reply Last reply Reply Quote 0
                      • stacksofplatesS
                        stacksofplates @scottalanmiller
                        last edited by

                        @scottalanmiller said:

                        It's always HVM by default.

                        Oh ok. Thanks for the info!

                        1 Reply Last reply Reply Quote 0
                        • stacksofplatesS
                          stacksofplates
                          last edited by

                          @scottalanmiller What do you recommend for backups? I'm only going to have a couple VMs running. Should I just rsync everything on each?

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

                            @johnhooks said:

                            @scottalanmiller What do you recommend for backups? I'm only going to have a couple VMs running. Should I just rsync everything on each?

                            You can do that. If you are going to rsync the contents of the VMs, that's fine. If you want to rsync the entire VM you need to either shut it down or snap it first. There is a script that people use that can do backups for XenServer too, that is free. @DustinB3403 should have a link to that as he is using it.

                            1 Reply Last reply Reply Quote 1
                            • DustinB3403D
                              DustinB3403
                              last edited by

                              NAUBackup is a great script for Xen. GitHub Link

                              Anyways just wget into /patcher and it can be run right from there with just some small adjustments to the file paths.

                              When I started using it I even made some recommendations to the comments to clear up what was being said. If you have questions don't hesitate to ask.

                              1 Reply Last reply Reply Quote 2
                              • DustinB3403D
                                DustinB3403
                                last edited by

                                Oh just as a heads up I did a direct install of Xen, no overhead for another OS, directly into a dedicated (cheapo) hard drive. If I really wanted I could have used an 8GB Thumb drive to run the OS on.

                                Keep all of your local storage for storage.

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

                                  @DustinB3403 said:

                                  Oh just as a heads up I did a direct install of Xen, no overhead for another OS, directly into a dedicated (cheapo) hard drive. If I really wanted I could have used an 8GB Thumb drive to run the OS on.

                                  What do you mean. Xen can't run that way. How did you download it? It has to have a Dom0 with either Linux or NetBSD in it to work.

                                  1 Reply Last reply Reply Quote 0
                                  • DustinB3403D
                                    DustinB3403
                                    last edited by

                                    XenServer has a Live CD that you can install directly to a dedicated drive. Which builds Dom0, Dom0 the resides on that disk as an 8GB partition.

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

                                      @DustinB3403 said:

                                      XenServer has a Live CD that you can install directly to a dedicated drive. Which builds Dom0, Dom0 the resides on that disk as an 8GB partition.

                                      Right, but XenServer installs CentOS 6. You aren't saving anything. It's no different than installing Xen with OpenSuse or Ubuntu, just easier because XenServer packages CentOS and Xen up together for you to do the install all at once. You still have the same OS overhead as any other Xen installation method.

                                      1 Reply Last reply Reply Quote 0
                                      • DustinB3403D
                                        DustinB3403
                                        last edited by

                                        We got it from : http://xenserver.org/overview-xenserver-open-source-virtualization/download.html and installed directly to a dedicated drive that we threw into out VM Host

                                        We specifically didn't want to use a Thumb drive to run the Distro.

                                        But thinking about it afterwards it would probably be easier to make a clone of a Thumb Drive ISO for backup purposes.

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

                                          I'm not saying that XenServer isn't a good idea, it is what I usually recommend because it is fully packaged and tuned for exactly that one purpose and everything is set up for you right out of the gate. It is almost a no brainer. But very important to understand what it is doing and that it is not lighter or anything.

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

                                            @DustinB3403 said:

                                            We specifically didn't want to use a Thumb drive to run the Distro.

                                            But thinking about it afterwards it would probably be easier to make a clone of a Thumb Drive ISO for backup purposes.

                                            Yes, thumb drive is "always" better. That's just good practice for a hypervisor. No benefits to using a hard drive. The only reason that XenServer is often put on spinning rust is because it does not have a native "install to thumb drive" option and takes some extra effort, unlike ESXi which takes literally zero effort to have do that.

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