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

    Sizing a Server and Disks - SQL VM

    IT Discussion
    esxi host vmware sql server virtual machine
    11
    112
    10.0k
    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.
    • DashrenderD
      Dashrender @DustinB3403
      last edited by

      @dustinb3403 said in Sizing a Server and Disks - SQL VM:

      @dashrender said in Sizing a Server and Disks - SQL VM:

      @dustinb3403 said in Sizing a Server and Disks - SQL VM:

      @hobbit666 said in Sizing a Server and Disks - SQL VM:

      @dashrender said in Sizing a Server and Disks - SQL VM:

      So what the OP needs to do is get IOPs requirements of his environment, and build toward that.

      This is where I hold my hands up. I have no idea when to measure this, as in what we use now, and how to calculate what we need and for future.

      Just run a Dell DPACK scan for 3 or 4 days against your servers. You don't want to measure something at just one specific time as you wouldn't get a real view of the results.

      The longer the better. For example, some companies have a process that only runs monthly, so if you're not running DPACK at that time, you could miss a high load time.

      This is true of course. I was just saying as a base to get an idea of what he uses.

      I ran a dpack for a week and our IOPS are insanely low here.

      As most companies are.

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

        @dashrender said in Sizing a Server and Disks - SQL VM:

        @dustinb3403 said in Sizing a Server and Disks - SQL VM:

        @hobbit666 said in Sizing a Server and Disks - SQL VM:

        @hobbit666 said in Sizing a Server and Disks - SQL VM:

        But with the recommended setup for SQL in having separate drives (in windows) for Logs, TempDB, Backup etc the rule should be separate vmdk disks?
        Like
        vmdk1 = OS
        vmdk2 = Logs
        vmdk3 = TempDB

        Reading some of the later posts this might not be the case?

        You would still create separate virtual disks and attach them to the VM. But you can use mount points instead of connecting the disks to the server as E: F: etc. . .

        This is my question - do you really need to split these over multiple VMDKs anymore? For IOP reasons I totally see the old method's thinking, pre SSD. But today, with most going for ORB10 of spinning rust, is it important to split the SQL DB and the temp stuff into different VMKDs? In the case of spinning rust, this could introduce latency (head has to move farther to get to different VMKD file - but I don't know - I really just don't know if that's really a factor or not?

        @scottalanmiller ??

        Having arrays made of SSD and HDD (aka split arrays) would be for only if his IOPS requirement for SQL was so insanely high that he couldn't get the performance out of a single OBR10 HDD array.

        Creating separate mount points, on dedicated VHDs allows him the ability to simply increase a single drive and not have to fuss around with moving partitions to expand them.

        Just tell Windows to expand into the newly free space for that mount point.

        As for the "head having to move further" on a traditional physical installation sure, but VM's are just files that could all be seated on the same disk. This is getting into the weeds of it.

        1 Reply Last reply Reply Quote 0
        • JaredBuschJ
          JaredBusch @Dashrender
          last edited by

          @dashrender said in Sizing a Server and Disks - SQL VM:

          @dustinb3403 said in Sizing a Server and Disks - SQL VM:

          @hobbit666 said in Sizing a Server and Disks - SQL VM:

          @hobbit666 said in Sizing a Server and Disks - SQL VM:

          But with the recommended setup for SQL in having separate drives (in windows) for Logs, TempDB, Backup etc the rule should be separate vmdk disks?
          Like
          vmdk1 = OS
          vmdk2 = Logs
          vmdk3 = TempDB

          Reading some of the later posts this might not be the case?

          You would still create separate virtual disks and attach them to the VM. But you can use mount points instead of connecting the disks to the server as E: F: etc. . .

          This is my question - do you really need to split these over multiple VMDKs anymore? For IOP reasons I totally see the old method's thinking, pre SSD. But today, with most going for ORB10 of spinning rust, is it important to split the SQL DB and the temp stuff into different VMKDs? In the case of spinning rust, this could introduce latency (head has to move farther to get to different VMKD file - but I don't know - I really just don't know if that's really a factor or not?

          @scottalanmiller ??

          Yes, it is better, because all kinds of other things can cause issues with the logs and backup directories.

          It is not required.

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

            Should of mentioned here on the first post we currently run a IPOD. So when I run a DPACK do I run it on just the 3 host servers? Or on the servers and the SAN?
            *Edit was planning on running on over a week time span soon.

            scottalanmillerS DashrenderD 2 Replies Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @hobbit666
              last edited by

              @hobbit666 said in Sizing a Server and Disks - SQL VM:

              Should of mentioned here on the first post we currently run a IPOD. So when I run a DPACK do I run it on just the 3 host servers? Or on the servers and the SAN?

              You can't run things on a SAN, it's just a remote hard drive. No way to look at it directly in that way. The SAN's usage is measured as part of the host servers' storage.

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

                @dashrender said in Sizing a Server and Disks - SQL VM:

                @dustinb3403 said in Sizing a Server and Disks - SQL VM:

                @hobbit666 said in Sizing a Server and Disks - SQL VM:

                @hobbit666 said in Sizing a Server and Disks - SQL VM:

                But with the recommended setup for SQL in having separate drives (in windows) for Logs, TempDB, Backup etc the rule should be separate vmdk disks?
                Like
                vmdk1 = OS
                vmdk2 = Logs
                vmdk3 = TempDB

                Reading some of the later posts this might not be the case?

                You would still create separate virtual disks and attach them to the VM. But you can use mount points instead of connecting the disks to the server as E: F: etc. . .

                This is my question - do you really need to split these over multiple VMDKs anymore? For IOP reasons I totally see the old method's thinking, pre SSD. But today, with most going for ORB10 of spinning rust, is it important to split the SQL DB and the temp stuff into different VMKDs? In the case of spinning rust, this could introduce latency (head has to move farther to get to different VMKD file - but I don't know - I really just don't know if that's really a factor or not?

                @scottalanmiller ??

                Splitting to different VMDK is not for performance, it's for manageability and protection.

                1 Reply Last reply Reply Quote 3
                • A
                  aidan_walsh
                  last edited by

                  Google-fu is failing hard. OBR?

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

                    @aidan_walsh said in Sizing a Server and Disks - SQL VM:

                    Google-fu is failing hard. OBR?

                    One Big RAID.

                    Just means "non-split" arrays.

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

                      Term was used loosely before 2012, but was solidified in this 2012 article: OBR10 A New Standard in Server Storage.

                      A 1 Reply Last reply Reply Quote 1
                      • A
                        aidan_walsh @scottalanmiller
                        last edited by

                        @scottalanmiller Much appreciated.

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

                          @aidan_walsh said in Sizing a Server and Disks - SQL VM:

                          @scottalanmiller Much appreciated.

                          You almost never see it written as OBR, it's normally written like "Hey, I'd recommend either OBR10 or OBR6 for your situation." So searching on OBR alone wouldn't turn up much.

                          It had to be written all of the time because people would recommend, say RAID 6, but people would interpret that as "multiple arrays, one of them being RAID 6", which isn't the same thing.

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

                            @hobbit666 said in Sizing a Server and Disks - SQL VM:

                            Should of mentioned here on the first post we currently run a IPOD. So when I run a DPACK do I run it on just the 3 host servers? Or on the servers and the SAN?
                            *Edit was planning on running on over a week time span soon.

                            I'm not sure if you can run it inside the hypervisor, but you can definitely run it inside every VM, then you know on a VM by VM basis what that VM is doing.

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

                              @dashrender depends on the hypervisor, ESXi is supported, you simply need admin access to the host.

                              I wouldn't be surprised if Hyper-V works too.

                              1 Reply Last reply Reply Quote 1
                              • ObsolesceO
                                Obsolesce @hobbit666
                                last edited by Obsolesce

                                @hobbit666 said in Sizing a Server and Disks - SQL VM:

                                @tim_g said in Sizing a Server and Disks - SQL VM:

                                We have a Hyper-V host with two tiers of storage: an all SSD RAID, and an all HDD RAID.

                                WHen I set up the MS SQL server (mainly for MS Dynamics purposes, but it also serves some other critical business functions), I had to do it according to what the Dynamics consultant suggested:

                                • MS SQL VM: (virtual disk (os drive letter))
                                  • serv-SQL.vhdx (C:)
                                  • serv-SQL-DATA.vhdx (D:)
                                  • serv-SQL-LOG.vhdx (E:)
                                  • serv-SQL-BACKUP.vhdx (F:)

                                The D and E virtual disks are located on the SSD RAID on the physical host, the other two are on the HDD RAID.

                                The stuff needing to be fast like the TempDB, Log, main DB, etc is all on SSD... while the backups and the OS are on the HDD RAID.

                                I do have SSD caching for the HDD RAID, so the other stuff is actually sped up, though not 100% of the time. Most writes are anyways.

                                How have you got you disks split? Is it 50/50 SSD/Spinning?

                                I'm not sure what you're asking.

                                But the physical Hyper-V Host simply has two physical RAIDs.

                                • HOST
                                  • 1st RAID (which is a RAID10)
                                    • SSDs
                                  • 2nd RAID (also a RAID10)
                                    • HDDs

                                These RAIDs are completely separate. On the HOST, the SSD RAID is the D: drive, and the HDD RAID is the E: drive. I store the virtual machine virtual disks (the .vhdx disks) on the one it needs to go on depending on IOPS requirements. For example, the database and log virtual disks of MS SQL virtual machines go on the D: drive of the HOST, and the OS and Backup .vhdx virtual disks of that virtual machine go on the E: drive of the HOST.

                                hobbit666H DashrenderD 2 Replies Last reply Reply Quote 0
                                • black3dynamiteB
                                  black3dynamite @DustinB3403
                                  last edited by

                                  @dustinb3403 said in Sizing a Server and Disks - SQL VM:

                                  @dashrender said in Sizing a Server and Disks - SQL VM:

                                  @dustinb3403 said in Sizing a Server and Disks - SQL VM:

                                  @hobbit666 said in Sizing a Server and Disks - SQL VM:

                                  @dashrender said in Sizing a Server and Disks - SQL VM:

                                  So what the OP needs to do is get IOPs requirements of his environment, and build toward that.

                                  This is where I hold my hands up. I have no idea when to measure this, as in what we use now, and how to calculate what we need and for future.

                                  Just run a Dell DPACK scan for 3 or 4 days against your servers. You don't want to measure something at just one specific time as you wouldn't get a real view of the results.

                                  The longer the better. For example, some companies have a process that only runs monthly, so if you're not running DPACK at that time, you could miss a high load time.

                                  This is true of course. I was just saying as a base to get an idea of what he uses.

                                  I ran a dpack for a week and our IOPS are insanely low here.

                                  To prepare for an hardware upgrade, does one run DPACK on the VMs, the Hypervisor or both?

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

                                    @black3dynamite said in Sizing a Server and Disks - SQL VM:

                                    @dustinb3403 said in Sizing a Server and Disks - SQL VM:

                                    @dashrender said in Sizing a Server and Disks - SQL VM:

                                    @dustinb3403 said in Sizing a Server and Disks - SQL VM:

                                    @hobbit666 said in Sizing a Server and Disks - SQL VM:

                                    @dashrender said in Sizing a Server and Disks - SQL VM:

                                    So what the OP needs to do is get IOPs requirements of his environment, and build toward that.

                                    This is where I hold my hands up. I have no idea when to measure this, as in what we use now, and how to calculate what we need and for future.

                                    Just run a Dell DPACK scan for 3 or 4 days against your servers. You don't want to measure something at just one specific time as you wouldn't get a real view of the results.

                                    The longer the better. For example, some companies have a process that only runs monthly, so if you're not running DPACK at that time, you could miss a high load time.

                                    This is true of course. I was just saying as a base to get an idea of what he uses.

                                    I ran a dpack for a week and our IOPS are insanely low here.

                                    To prepare for an hardware upgrade, does one run DPACK on the VMs, the Hypervisor or both?

                                    I ran on the hypervisor, I didn't need to go so granular and look a the VM's (now sql or heavy systems on premise).

                                    This is entirely up to you though.

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

                                      @tim_g more how many disk in each RAID.

                                      ObsolesceO DashrenderD 2 Replies Last reply Reply Quote 0
                                      • ObsolesceO
                                        Obsolesce @hobbit666
                                        last edited by

                                        @hobbit666 said in Sizing a Server and Disks - SQL VM:

                                        @tim_g more how many disk in each RAID.

                                        10 SSDs
                                        6 HDDs

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

                                          Right Monday I'll setup a DPACK and run it for a week. See what I get from that.

                                          1 Reply Last reply Reply Quote 1
                                          • DashrenderD
                                            Dashrender @Obsolesce
                                            last edited by Dashrender

                                            @tim_g said in Sizing a Server and Disks - SQL VM:

                                            @hobbit666 said in Sizing a Server and Disks - SQL VM:

                                            @tim_g said in Sizing a Server and Disks - SQL VM:

                                            We have a Hyper-V host with two tiers of storage: an all SSD RAID, and an all HDD RAID.

                                            WHen I set up the MS SQL server (mainly for MS Dynamics purposes, but it also serves some other critical business functions), I had to do it according to what the Dynamics consultant suggested:

                                            • MS SQL VM: (virtual disk (os drive letter))
                                              • serv-SQL.vhdx (C:)
                                              • serv-SQL-DATA.vhdx (D:)
                                              • serv-SQL-LOG.vhdx (E:)
                                              • serv-SQL-BACKUP.vhdx (F:)

                                            The D and E virtual disks are located on the SSD RAID on the physical host, the other two are on the HDD RAID.

                                            The stuff needing to be fast like the TempDB, Log, main DB, etc is all on SSD... while the backups and the OS are on the HDD RAID.

                                            I do have SSD caching for the HDD RAID, so the other stuff is actually sped up, though not 100% of the time. Most writes are anyways.

                                            How have you got you disks split? Is it 50/50 SSD/Spinning?

                                            I'm not sure what you're asking.

                                            But the physical Hyper-V Host simply has two physical RAIDs.

                                            • HOST
                                              • 1st RAID (which is a RAID10)
                                                • SSDs
                                              • 2nd RAID (also a RAID10)
                                                • HDDs

                                            These RAIDs are completely separate. On the HOST, the SSD RAID is the D: drive, and the HDD RAID is the E: drive. I store the virtual machine virtual disks (the .vhdx disks) on the one it needs to go on depending on IOPS requirements. For example, the database and log virtual disks of MS SQL virtual machines go on the D: drive of the HOST, and the OS and Backup .vhdx virtual disks of that virtual machine go on the E: drive of the HOST.

                                            What is your C : Drive?

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