# Advise on new server build for openemr

**URL:** <https://community.open-emr.org/t/advise-on-new-server-build-for-openemr/12889>\
**Category:** Management and Administration\
**Tags:** question, infrastructure\
**Created:** [September 22, 2019, 12:59pm UTC](https://community.open-emr.org/t/advise-on-new-server-build-for-openemr/12889 "2019-09-22T12:59:18Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Julie\_b](https://community.open-emr.org/user_avatar/community.open-emr.org/julie_b/32/13325_2.png) [@Julie\_b](https://community.open-emr.org/u/Julie_b)\
**Post date:** [September 22, 2019, 12:59pm UTC](https://community.open-emr.org/t/advise-on-new-server-build-for-openemr/12889/1 "2019-09-22T12:59:18Z")

</div>

Hello,

I was wondering if anyone had some advice for us on hardware specs for a new server.

In short we would like to move OpenEMR to a dedicated server running Linux. Is there any minimum requirements? Recommendations for, one office with about 10 active users (office staff, dentists, and lab techs) and a very large patient database?

More detailed information:

A friend of mine runs a dental office in the Netherlands. Up until now we have been running OpenEMR on a Windows 2012 R2 Server, that also has some other business applications running on it. I have been slowly making modifications to fit OpenEMR to a dental practice (Still now done yet), however, as we have added more patients and the practice has grown quite large and we have noticed a decrease in performance. This could be due to many factors - including the other applications running on the server. We have decided that we are going to make a dedicated OpenEMR server. I was leaning toward Ubuntu, and spinning up OpenEMR from Docker. Can anyone give me advice on hardware? Specs? any help/advice would be greatly appreciated.

Thank you for your time.

Julie

---

<div class="post-metadata">

**Author:** ![APerez](https://community.open-emr.org/user_avatar/community.open-emr.org/aperez/32/14040_2.png) [@APerez](https://community.open-emr.org/u/APerez)\
**Post date:** [September 22, 2019, 1:50pm UTC](https://community.open-emr.org/t/advise-on-new-server-build-for-openemr/12889/2 "2019-09-22T13:50:02Z")

</div>

Hello and congratulations…

Although Linux requirements are lower than windows don’t go lower than an i5 or its equivalent or less than 8 on RAM.  
And at a minimally a software RAID 1 configuration.  
We’ve seen an average of .5mb per patient in storage so select accordingly.  
You miles may vary…

---

<div class="post-metadata">

**Author:** ![Julie\_b](https://community.open-emr.org/user_avatar/community.open-emr.org/julie_b/32/13325_2.png) [@Julie\_b](https://community.open-emr.org/u/Julie_b)\
**Post date:** [September 23, 2019, 11:46am UTC](https://community.open-emr.org/t/advise-on-new-server-build-for-openemr/12889/3 "2019-09-23T11:46:31Z")

</div>

Thank you very much for your reply.

This is what I thinking of… raid 1 on the normal hard drives. and the new m2 nvme SSD for good read right database speed. I think this should give us some room to grow.

[PCPartPicker Part List](https://pcpartpicker.com/list/BcXqq3)

| Type | Item | Price |
| --- | --- | --- |
| **CPU** | [AMD Ryzen 7 3800X 3.9 GHz 8-Core Processor](https://pcpartpicker.com/product/qryV3C/amd-ryzen-7-3800x-39-ghz-8-core-processor-100-100000025box) | |
| **Thermal Compound** | [Arctic Silver 5 High-Density Polysynthetic Silver 3.5 g Thermal Paste](https://pcpartpicker.com/product/6RrG3C/arctic-silver-thermal-paste-as535g) | |
| **Motherboard** | [Gigabyte X570 AORUS MASTER ATX AM4 Motherboard](https://pcpartpicker.com/product/ZRBhP6/gigabyte-x570-aorus-master-atx-am4-motherboard-x570-aorus-master) | |
| **Memory** | [Corsair Vengeance LPX 64 GB (4 x 16 GB) DDR4-3200 Memory](https://pcpartpicker.com/product/jZZ2FT/corsair-memory-cmk64gx4m4b3200c16) | |
| **Storage** | [Samsung 970 Pro 1 TB M.2-2280 NVME Solid State Drive](https://pcpartpicker.com/product/g6Nv6h/samsung-970-pro-10tb-m2-2280-solid-state-drive-mz-v7p1t0bw) | |
| **Storage** | [Toshiba 1 TB 3.5" 7200RPM Internal Hard Drive](https://pcpartpicker.com/product/C4zv6h/toshiba-internal-hard-drive-dt01aca100) | |
| **Storage** | [Toshiba 1 TB 3.5" 7200RPM Internal Hard Drive](https://pcpartpicker.com/product/C4zv6h/toshiba-internal-hard-drive-dt01aca100) | |
| **Video Card** | [Asus Radeon R5 230 2 GB Video Card](https://pcpartpicker.com/product/sbNp99/asus-video-card-r5230sl2gd3l) | - |
| **Case** | [SHARKOON M25-V ATX Mid Tower Case](https://pcpartpicker.com/product/FrFXsY/sharkoon-m25-v-atx-mid-tower-case-m25-v) | - |
| **Power Supply** | [Corsair RM (2019) 750 W 80+ Gold Certified Fully Modular ATX Power Supply](https://pcpartpicker.com/product/6Y66Mp/corsair-rm-2019-750-w-80-gold-certified-fully-modular-atx-power-supply-cp-9020195-na) | |
| **Case Fan** | [Corsair ML120 Pro 75 CFM 120 mm Fan](https://pcpartpicker.com/product/LkJkcf/corsair-co-9050040-ww-750-cfm-120mm-fan-co-9050040-ww) | |
| **Case Fan** | [Corsair ML120 Pro 75 CFM 120 mm Fan](https://pcpartpicker.com/product/LkJkcf/corsair-co-9050040-ww-750-cfm-120mm-fan-co-9050040-ww) | |
| Generated by [PCPartPicker](https://pcpartpicker.com) 2019-09-23 07:42 EDT-0400 | | |

---

<div class="post-metadata">

**Author:** ![stephenwaite](https://community.open-emr.org/user_avatar/community.open-emr.org/stephenwaite/32/15754_2.png) [@stephenwaite](https://community.open-emr.org/u/stephenwaite)\
**Post date:** [September 23, 2019, 11:56am UTC](https://community.open-emr.org/t/advise-on-new-server-build-for-openemr/12889/4 "2019-09-23T11:56:27Z")

</div>

hi @Julie_b, looks like your raid 1 would be using the twin Toshiba drives? That would probably hurt performance since SSDs are usually 10 to 20 times faster.

---

<div class="post-metadata">

**Author:** ![Julie\_b](https://community.open-emr.org/user_avatar/community.open-emr.org/julie_b/32/13325_2.png) [@Julie\_b](https://community.open-emr.org/u/Julie_b)\
**Post date:** [September 23, 2019, 11:58am UTC](https://community.open-emr.org/t/advise-on-new-server-build-for-openemr/12889/5 "2019-09-23T11:58:41Z")

</div>

@stephenwaite  
I was thinking about using those only for the back up that runs every 12 hours. The database and docker would run on the new ssds. Should I also do raid on those?

---

<div class="post-metadata">

**Author:** ![stephenwaite](https://community.open-emr.org/user_avatar/community.open-emr.org/stephenwaite/32/15754_2.png) [@stephenwaite](https://community.open-emr.org/u/stephenwaite)\
**Post date:** [September 23, 2019, 11:59am UTC](https://community.open-emr.org/t/advise-on-new-server-build-for-openemr/12889/6 "2019-09-23T11:59:59Z")

</div>

you’ll want raid 1 on the database and is usually accomplished with 2 separate disks

---

<div class="post-metadata">

**Author:** ![Julie\_b](https://community.open-emr.org/user_avatar/community.open-emr.org/julie_b/32/13325_2.png) [@Julie\_b](https://community.open-emr.org/u/Julie_b)\
**Post date:** [September 23, 2019, 12:01pm UTC](https://community.open-emr.org/t/advise-on-new-server-build-for-openemr/12889/7 "2019-09-23T12:01:44Z")

</div>

Alright, I’ll get two m2’s and do raid on them. thank you!

---

<div class="post-metadata">

**Author:** ![jerry](https://community.open-emr.org/letter_avatar_proxy/v4/letter/j/5daacb/32.png) [@jerry](https://community.open-emr.org/u/jerry)\
**Post date:** [September 25, 2019, 2:54pm UTC](https://community.open-emr.org/t/advise-on-new-server-build-for-openemr/12889/8 "2019-09-25T14:54:15Z")

</div>

Few thoughts on your setup:

1. Originally I have planned my setup around AMD Ryzen 3000 series. That was back in Nov / Dec of last year time-frame. I don’t remember exact combo of AMD CPU (with built-in graphics) / Mobo part numbers at this time. I had no luck with reliably running Ubuntu 18.04 server. After several failed tries I learned that AMD drivers were not as refined and stable as one might wish. So after building your system on AMD technology, test it’s stability thoroughly. BTW - I switched to Intel setup.

2. In general the biggest adversary of stable, around the clock computing, is **heat** generated within the system enclosure. And your CPU (and often the video card) contribute to it to largest extend. When building a departmental server (ie. for low number of users), that will have to accommodate fairly small amount of traffic, I would go with rather “under-powered” CPU. 8-core, 4 GHz beast is an overkill here. Even a lowly Celeron / i3 (on the Intel side) or Athlon / Ryzen 3 (on the AMD side) would suffice for a Linux server duty. Removing 35W of heat is fairly easy. Not so easy to quietly cool 100+ W space heater.

3. In general, your specs are closer to what I would consider a mid- to higher-end gaming setup. I would tone down on the gaming-oriented hardware, and put a $1000 into a middle-of-the-road hardware-based RAID 5 subsystem. Maybe even self-encrypting drives…

---

<div class="post-metadata">

**Author:** ![Julie\_b](https://community.open-emr.org/user_avatar/community.open-emr.org/julie_b/32/13325_2.png) [@Julie\_b](https://community.open-emr.org/u/Julie_b)\
**Post date:** [September 26, 2019, 12:04pm UTC](https://community.open-emr.org/t/advise-on-new-server-build-for-openemr/12889/9 "2019-09-26T12:04:26Z")

</div>

Thanks @jerry for your response.

1. I was also concerned about this too. However, they say the problem is fixed. I will do a lot of testing and if it doesn’t live up to expectations it will be switched out to Intel. One of the things that swayed me toward AMD was their speed, and the capacity for direct M2 SSD drive to CPU with no middleman.
2. I have never had any issues with heat, but I’ll keep an eye on it.
3. I’m not sure what would be considered gaming-oriented hardware. The motherboard was chosen because of the IOMMU groups which (from what I understand) allows faster data transfer etc. Link for reference [http://vfio.blogspot.com/2014/08/iommu-groups-inside-and-out.html](http://vfio.blogspot.com/2014/08/iommu-groups-inside-and-out.html) . Other than that, I’m not sure what you mean sorry. Can you explain why raid 5 over say raid 1? Also, great idea about self-encrypting drives, I’ll have to investigate that.

---

<div class="post-metadata">

**Author:** ![jerry](https://community.open-emr.org/letter_avatar_proxy/v4/letter/j/5daacb/32.png) [@jerry](https://community.open-emr.org/u/jerry)\
**Post date:** [September 26, 2019, 1:59pm UTC](https://community.open-emr.org/t/advise-on-new-server-build-for-openemr/12889/10 "2019-09-26T13:59:46Z")

</div>

A. “Gaming Oriented”  
The use scenario you described (10 users + very large Pt DB) could be easily handled by 10-year old technology. Something in the range of first gen Intel Core or AMD A-series processors. Having newer chips, especially with smaller die size, is great as it lowers heat output at a given performance level. Still… What you have picked for CPU is a 16-thread beast. Your OpenEMR will never require that much muscle. Same goes for 64GB of memory. Same goes for your storage subsystem bells and whistles. The truth is that a typical LAMP installation needs only a fraction of what you are showing on your list.  
With all that unused computing power, you might as well run bitcoin mining on a side.

The point I am trying to make would be even more underscored, if you would decide to run your server in CLI mode only (text only, no GUI / no windowing interface) or perhaps completely headless (connection to server via SSH only, no local console, no monitor, or even video card).  
However, at least initially, it is still “comforting” to have an access via GUI interface…

B. RAID Subsystem  
On a production system like this you will need RAID for your “peace of mind” - if something goes wrong with one of the drives that you can recover from remaining drive(s).  
The way I am reading your hardware specs, you will employ BIOS RAID / software RAID. That’s better than no-RAID. But what happens if your motherboard goes? What happens if your OS goes?  
With hardware based RAID (using discrete RAID card) if either of those things happen I just move the whole setup to a new computer and I should be able to have it running within some reasonable amount of time. May not be as easy with BIOS / software RAID.  
Another thing that I like about the hardware based RAID is that oftentimes I can rebuild a failed array without booting the OS, as many cards can do that from within their own firmware.  
Lastly, RAID 1 vs RAID 5 issue - mostly preference here.  
Bottom line. In your case, you will end up with 1TB on a RAIDed NVMe’s and 1TB on RAIDed Toshibas. I can imagine that you will store scanned documents / imaging on the Toshibas – that 1TB might be on a skimpy side…

---

<div class="post-metadata">

**Author:** ![oldsoul](https://community.open-emr.org/letter_avatar_proxy/v4/letter/o/839c29/32.png) [@oldsoul](https://community.open-emr.org/u/oldsoul)\
**Post date:** [September 26, 2019, 10:03pm UTC](https://community.open-emr.org/t/advise-on-new-server-build-for-openemr/12889/11 "2019-09-26T22:03:37Z")

</div>

Yeah, the consensus is that consumer-grade hardware, like gaming mobos or non-ecc memory, or consumer hard drives, are to be avoided in business or enterprise systems.

One thing I’ve learned over the years is that linux distros are all lean systems without a lot of bloatware. That said, you want to make sure that you minimize points of failure…

Go with enterprise, 5+ year warranty hard drives.  
Go with ECC Memory. Most server memory are of this type.  
As far as raid goes, you’d probably want raid 5 or 10. especially for the database.  
Go with a raid card that is actually hardware raid. Many are still software type.  
With raid 5 or 10, you’d need at least 3 hard drives I believe to make the array work.  
All same size, speed, model etc… The best thing I’ve found, is a hot spare can come in handy when you need your system to keep running and be accessible in the event of degradation.

M.2 technology is interesting. Especially if you can get enterprise M.2 ssd modules.  
But you can save some money probably and get more space with traditional hard drives.

This is just a start. Man, theres a lot to think about.
