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

    How many Linux servers do I really need?

    IT Discussion
    8
    43
    7.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
      last edited by

      Docker is meant to be running a bunch of identical processes side by side.

      If for example you needed to run a Web Store with the capability of support a ton of concurrent connections.

      It wasn't designed for this use, although it may very well work.

      A travisdh1T 2 Replies Last reply Reply Quote 0
      • A
        Alex Sage @DustinB3403
        last edited by Alex Sage

        @DustinB3403 said:

        Docker is meant to be running a bunch of identical processes side by side.

        Hmmmmm..... I didn't know that. This course makes it seems like a container is a super lightweight VM.

        stacksofplatesS scottalanmillerS 2 Replies Last reply Reply Quote 0
        • travisdh1T
          travisdh1 @DustinB3403
          last edited by

          @DustinB3403 I agree. Docker wasn't really meant for this. You can use it to do this, but it's very early stages currently. I give it another year before it even becomes useful for tinkering with in a lab.

          In the mean time, most of those services don't require many resources at all. Depending on the hypervisor being used you may not be using more than a single kernel. My personal VPS is on that type of system, I can do anything with it but update the kernel, because the kernel is shared between all instances running on the server.

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

            They are for all intensive purposes, but their supposed to be super targeted, with a very specific work-load. Which often needs to be run concurrently across a ton of discrete containers.

            1 Reply Last reply Reply Quote 1
            • stacksofplatesS
              stacksofplates @Alex Sage
              last edited by

              @anonymous said:

              @DustinB3403 said:

              Docker is meant to be running a bunch of identical processes side by side.

              Hmmmmm..... I didn't know that. This course makes it seems like a container is a super lightweight VM.

              Traditional containers are (LXC, OpenVZ, jails, zones) docker is a different animal.

              A 1 Reply Last reply Reply Quote 2
              • A
                Alex Sage @stacksofplates
                last edited by Alex Sage

                @johnhooks said:

                Traditional containers are (LXC, OpenVZ, jails, zones) docker is a different animal.

                What one would be recommend in my use case?

                stacksofplatesS travisdh1T scottalanmillerS 3 Replies Last reply Reply Quote 0
                • stacksofplatesS
                  stacksofplates @Alex Sage
                  last edited by

                  @anonymous said:

                  @johnhooks said:

                  Traditional containers are (LXC, OpenVZ, jails, zones) docker is a different animal.

                  What one would be recommend in my use case?

                  If you're on Linux, I would recommend LXC. Ubuntu is making some interesting things with LXC and it's called LXD. One big feature is it will have live migration.

                  If you are on Solaris you would use zones, if you are on BSD you would use jails.

                  A 1 Reply Last reply Reply Quote 0
                  • travisdh1T
                    travisdh1 @Alex Sage
                    last edited by

                    @anonymous My default is XenServer now that it's gone to a free to use, pay for support, model. Linux performance wise, it is among the best you'll find.

                    1 Reply Last reply Reply Quote 0
                    • A
                      Alex Sage @stacksofplates
                      last edited by Alex Sage

                      @johnhooks said:

                      If you're on Linux, I would recommend LXC. Ubuntu is making some interesting things with LXC and it's called LXD. One big feature is it will have live migration.

                      It's going to be Linux for sure. I am confused because this class has you to believe that Docker is better then LXC - there was a full 10 minute video comparing the two if I remember correctly. It seems that docker will some day support windows, where I don't think LXC ever will?

                      stacksofplatesS scottalanmillerS 2 Replies Last reply Reply Quote 0
                      • stacksofplatesS
                        stacksofplates @Alex Sage
                        last edited by stacksofplates

                        @anonymous said:

                        @johnhooks said:

                        If you're on Linux, I would recommend LXC. Ubuntu is making some interesting things with LXC and it's called LXD. One big feature is it will have live migration.

                        It's going to be Linux for sure. I am confused because this class has you to believe that Docker is better then LXC - there was a full 10 minute video comparing the two if I remember correctly. It seems that docker will some day support windows, where I don't think LXC ever will?

                        Wait, are they saying you can run Windows in a container or that you can run containers on Windows? I've heard something similar the latter, but not the former.

                        A scottalanmillerS 2 Replies Last reply Reply Quote 0
                        • A
                          Alex Sage @stacksofplates
                          last edited by

                          @johnhooks said:

                          Wait, are they saying you can run Windows in a container or that you can run containers on Windows? I've heard something similar the latter, but not the former.

                          Running containers on Windows. Run windows in a container would be nuts 😄

                          1 Reply Last reply Reply Quote 2
                          • DashrenderD
                            Dashrender
                            last edited by

                            LOL - I was wondering what benefit you'd get from running Windows inside a Linux container? (though I suppose one could say we already do that with XenServer - lol

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

                              @anonymous said:

                              What about if I use Docker? 😄

                              Docker would be just as acceptable as LXC or separate VMs. Not likely a good choice as it is not designed for your needs, but it would work. Just be a lot more work.

                              1 Reply Last reply Reply Quote 0
                              • DashrenderD
                                Dashrender
                                last edited by

                                maintaining all of these micro VMs seems like such a pain in the ass. But I'm guessing there are tools, or at least scripts that can be written that will take care of all of them at once?

                                scottalanmillerS 2 Replies Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller @Alex Sage
                                  last edited by

                                  @anonymous said:

                                  @DustinB3403 said:

                                  Docker doesn't add more to what you need, unless you want to go that route, and split the services with it... But virtualization would do this just as well in your case.

                                  What about all the processing, memory, and space I save only having 1 OS?

                                  It's trivial. For the same reasons that VDI is sometimes better than Terminal Servers - because the hypervisors do such an amazing job of this that the memory, disk, etc. does not expand like you would expect and the overhead of multiple VMs is very small. So small that unless you have a hugely saturated server, I can't imagine that you would notice. Containers are lighter than VMs, no doubt. But way more work and less flexible.

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

                                    @anonymous said:

                                    @DustinB3403 said:

                                    Docker is meant to be running a bunch of identical processes side by side.

                                    Hmmmmm..... I didn't know that. This course makes it seems like a container is a super lightweight VM.

                                    Docker's purpose is to support extreme DevOps workflows where machines are never (literally, never) logged into and are built through tooling and in large numbers and never updated but destroyed and replaced instead. Can you do other things? Sure. Will it be fun? Heck no. Docker's design is around something so completely alien to the SMB market than the effort to use it well would be enormous.

                                    DashrenderD 1 Reply Last reply Reply Quote 1
                                    • scottalanmillerS
                                      scottalanmiller @Alex Sage
                                      last edited by

                                      @anonymous said:

                                      @johnhooks said:

                                      Traditional containers are (LXC, OpenVZ, jails, zones) docker is a different animal.

                                      What one would be recommend in my use case?

                                      LXC is the last traditional container technology on Linux. It ate OpenVZ. Docker and LXC completely own the market now. Rocket is an up and coming player. Jails requires FreeBSD. Zones requires Solaris.

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

                                        @johnhooks said:

                                        @anonymous said:

                                        @johnhooks said:

                                        If you're on Linux, I would recommend LXC. Ubuntu is making some interesting things with LXC and it's called LXD. One big feature is it will have live migration.

                                        It's going to be Linux for sure. I am confused because this class has you to believe that Docker is better then LXC - there was a full 10 minute video comparing the two if I remember correctly. It seems that docker will some day support windows, where I don't think LXC ever will?

                                        Wait, are they saying you can run Windows in a container or that you can run containers on Windows? I've heard something similar the latter, but not the former.

                                        Microsoft is working hard to get Windows Containers ready because they've been left in the dust, again, and it is massively impacting their market.

                                        1 Reply Last reply Reply Quote 2
                                        • scottalanmillerS
                                          scottalanmiller @Dashrender
                                          last edited by

                                          @Dashrender said:

                                          maintaining all of these micro VMs seems like such a pain in the ass. But I'm guessing there are tools, or at least scripts that can be written that will take care of all of them at once?

                                          Yup, once you go DevOps containers are zero effort.

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

                                            @Dashrender said:

                                            LOL - I was wondering what benefit you'd get from running Windows inside a Linux container? (though I suppose one could say we already do that with XenServer - lol

                                            Same benefits of containers anywhere. Lighter than virtualization.

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