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

    Docker or Small VMs

    IT Discussion
    docker containers linux
    8
    39
    8.7k
    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.
    • stacksofplatesS
      stacksofplates @dafyre
      last edited by

      @dafyre said:

      @scottalanmiller said:

      Having too little is a BIG deal, err on the side of too much, of course. But don't err on the side of double, it's just wasteful at best.

      This is why I like Dynamic Memory (in Hyper-V... not sure what VMware calls this)... Tell the system it can boot with 256 megs of ram, and use up to 1Gig... if it never needs more than 256, ideally, it won't ask for it.

      You can do the same with KVM.

      dafyreD 1 Reply Last reply Reply Quote 1
      • dafyreD
        dafyre @stacksofplates
        last edited by dafyre

        @johnhooks said:

        @dafyre said:

        @scottalanmiller said:

        Having too little is a BIG deal, err on the side of too much, of course. But don't err on the side of double, it's just wasteful at best.

        This is why I like Dynamic Memory (in Hyper-V... not sure what VMware calls this)... Tell the system it can boot with 256 megs of ram, and use up to 1Gig... if it never needs more than 256, ideally, it won't ask for it.

        You can do the same with KVM.

        I knew it was available on other platforms, however, my experience (at the moment) is limited only to 2 of them.

        Edit: This is good to know about KVM. I'll soon have my desktop freed up at home.

        1 Reply Last reply Reply Quote 1
        • hobbit666H
          hobbit666 @scottalanmiller
          last edited by

          @scottalanmiller said:

          Are you making Ansible or Chef recipes to handle all of this? Are you moving to DevOps? Unless those things are true, no Docker won't make any sense for you. Containers do not really lighten the load on your hypervisor, that's not the reason for using them.

          No so I think small VM's is for me lol

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

            Definitely, just make them lean and tune as necessary. VMs will continue to be the staple of the SMB for a very long time. That will not remain true for forever, but for a very long time.

            hobbit666H 1 Reply Last reply Reply Quote 1
            • hobbit666H
              hobbit666 @scottalanmiller
              last edited by

              @scottalanmiller Any tips on how to tune a Linux machine?
              I'll be running
              Unifi Controller V4
              Zabbix (Latest Version)
              Snipe-IT - once they develop the fixed asset number thingy

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

                @hobbit666 said:

                @scottalanmiller Any tips on how to tune a Linux machine?
                I'll be running
                Unifi Controller V4
                Zabbix (Latest Version)
                Snipe-IT - once they develop the fixed asset number thingy

                Easy way is to start with the recommended minimums and monitor over time. Watch the systems to see what the memory is doing and tune up or down as needed. We have a good idea about certain workloads that we deploy regularly so can set good starting points very easily. But for new workloads, you can put in a reasonable guess and then tune.

                hobbit666H 1 Reply Last reply Reply Quote 0
                • hobbit666H
                  hobbit666 @scottalanmiller
                  last edited by

                  @scottalanmiller said:

                  Easy way is to start with the recommended minimums and monitor over time. Watch the systems to see what the memory is doing and tune up or down as needed. We have a good idea about certain workloads that we deploy regularly so can set good starting points very easily. But for new workloads, you can put in a reasonable guess and then tune.

                  What's the best method to "monitor" the resources in Linux?

                  coliverC stacksofplatesS scottalanmillerS 3 Replies Last reply Reply Quote 0
                  • coliverC
                    coliver @hobbit666
                    last edited by

                    @hobbit666 said:

                    @scottalanmiller said:

                    Easy way is to start with the recommended minimums and monitor over time. Watch the systems to see what the memory is doing and tune up or down as needed. We have a good idea about certain workloads that we deploy regularly so can set good starting points very easily. But for new workloads, you can put in a reasonable guess and then tune.

                    What's the best method to "monitor" the resources in Linux?

                    What hypervisor are you using? That will generally tell you when you are maxing out in memory. If not check out:

                    top
                    

                    to see what resources your app is using.

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

                      @hobbit666 said:

                      @scottalanmiller said:

                      Easy way is to start with the recommended minimums and monitor over time. Watch the systems to see what the memory is doing and tune up or down as needed. We have a good idea about certain workloads that we deploy regularly so can set good starting points very easily. But for new workloads, you can put in a reasonable guess and then tune.

                      What's the best method to "monitor" the resources in Linux?

                      Exactly what @coliver said. Htop and glances are also other popular ones.

                      coliverC 1 Reply Last reply Reply Quote 3
                      • dafyreD
                        dafyre
                        last edited by

                        I forgot about Glances. I need to set that one back up again.

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

                          @johnhooks said:

                          @hobbit666 said:

                          @scottalanmiller said:

                          Easy way is to start with the recommended minimums and monitor over time. Watch the systems to see what the memory is doing and tune up or down as needed. We have a good idea about certain workloads that we deploy regularly so can set good starting points very easily. But for new workloads, you can put in a reasonable guess and then tune.

                          What's the best method to "monitor" the resources in Linux?

                          Exactly what @coliver said. Htop and glances are also other popular ones.

                          Yep either of those work too. top is generally installed by default on most *nix systems though so you wouldn't have to install anything new.

                          1 Reply Last reply Reply Quote 2
                          • hobbit666H
                            hobbit666
                            last edited by

                            They will be running on ESXi FREE 5.5update3

                            coliverC scottalanmillerS 2 Replies Last reply Reply Quote 0
                            • coliverC
                              coliver @hobbit666
                              last edited by

                              @hobbit666 said:

                              They will be running on ESXi FREE 5.5update3

                              Really? I'm not sure you can get performance information from that host then. I've never seen anyone use the ESXi Free version so I don't know how it interacts with that kind of data.

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

                                @hobbit666 said:

                                @scottalanmiller said:

                                Easy way is to start with the recommended minimums and monitor over time. Watch the systems to see what the memory is doing and tune up or down as needed. We have a good idea about certain workloads that we deploy regularly so can set good starting points very easily. But for new workloads, you can put in a reasonable guess and then tune.

                                What's the best method to "monitor" the resources in Linux?

                                For a glance, the free command tells you all that you need to know. To see over time, sar does. To watching it for a while, top or vmstat.

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

                                  @hobbit666 said:

                                  They will be running on ESXi FREE 5.5update3

                                  I'd start by replacing that 😉

                                  hobbit666H 1 Reply Last reply Reply Quote 0
                                  • hobbit666H
                                    hobbit666 @scottalanmiller
                                    last edited by

                                    @scottalanmiller said:

                                    @hobbit666 said:

                                    They will be running on ESXi FREE 5.5update3

                                    I'd start by replacing that 😉

                                    BUT I DON'T WANT TO!!!!!!

                                    coliverC DashrenderD scottalanmillerS 3 Replies Last reply Reply Quote 0
                                    • coliverC
                                      coliver @hobbit666
                                      last edited by

                                      @hobbit666 said:

                                      @scottalanmiller said:

                                      @hobbit666 said:

                                      They will be running on ESXi FREE 5.5update3

                                      I'd start by replacing that 😉

                                      BUT I DON'T WANT TO!!!!!!

                                      You don't have to... but that is going to be a limiting factor in a number of ways. Especially when you are looking at management or want to expand your infrastructure.

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

                                        @hobbit666 said:

                                        @scottalanmiller said:

                                        @hobbit666 said:

                                        They will be running on ESXi FREE 5.5update3

                                        I'd start by replacing that 😉

                                        BUT I DON'T WANT TO!!!!!!

                                        How are you backing up those servers right now? You can't use most of the free tools because you can't access the backup API in ESXi Free.

                                        Converting to Hyper-V is completely free from a software perspective and gives you so many more options.

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

                                          @hobbit666 said:

                                          @scottalanmiller said:

                                          @hobbit666 said:

                                          They will be running on ESXi FREE 5.5update3

                                          I'd start by replacing that 😉

                                          BUT I DON'T WANT TO!!!!!!

                                          Have you used the alternatives? Some of them are seriously smooth.

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

                                            @coliver said:

                                            @hobbit666 said:

                                            @scottalanmiller said:

                                            @hobbit666 said:

                                            They will be running on ESXi FREE 5.5update3

                                            I'd start by replacing that 😉

                                            BUT I DON'T WANT TO!!!!!!

                                            You don't have to... but that is going to be a limiting factor in a number of ways. Especially when you are looking at management or want to expand your infrastructure.

                                            Or performance, ease of use....

                                            1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 2 / 2
                                            • First post
                                              Last post