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
      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
                                    • DustinB3403D
                                      DustinB3403
                                      last edited by

                                      "Spinning rust"

                                      Gonna have to remember that one

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

                                        And we didn't want to install Ubuntu Server or some other distro and install Xen into that because of the previously mentioned setup.

                                        That would be extra overhead.

                                        coliverC scottalanmillerS 2 Replies Last reply Reply Quote 0
                                        • scottalanmillerS
                                          scottalanmiller @DustinB3403
                                          last edited by

                                          @DustinB3403 said:

                                          "Spinning rust"

                                          Gonna have to remember that one

                                          That's a pretty standard term, actually, for traditional spinning hard drives. One of the few terms that isn't easily confused with other types of drives 🙂

                                          1 Reply Last reply Reply Quote 0
                                          • coliverC
                                            coliver @DustinB3403
                                            last edited by

                                            @DustinB3403 said:

                                            And we didn't want to install Ubuntu Server or some other distro and install Xen into that because of the previously mentioned setup.

                                            That would be extra overhead.

                                            Not really. You have to understand how Xen works. In every instance it needs a Dom0. In XenServer the Dom0 is a full version of CentOS 6.

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