Solved

Build a high-end web server

Posted on 2014-09-15
18
213 Views
Last Modified: 2014-10-19
Hello experts,

I know this question touches several topics but here it goes..

I need some guidance in designing and constructing a web server for public and internal use. There will be two websites, one public website with mostly static content, around 50-100 pages and 1000-1500 hits/month.
The other website will be a website with 500-1000 user logins where they will access different assigned webspaces and collaborating sharing documents. This website will have around 500 hits/month.

I know it's popular today to have web servers on the cloud or as SaS. Mostly because of the performance gain I guess. But that's where I'm looking for advice. If I were to build my own Web server and have it on-premises, how would this setup look like if I want to somewhat get near an online service. (Although budget is limited)

I'm planning on purchasing a host where I install vSphere and setup the servers as VM's. What would be proper hardware requirements on the host? would a set up like this be of use?

Oh, another thing is the platform for building the website, we are thinking of going for wordpress, any disadvantage using Wordpress under IIS?


Host
4-6 CPU sockets (6-8 cores per socket)
96GB RAM
Local RAID 10 15k disks (alternative SSD)
SSD disk for Host caching
2-4 1Gbit nics

Now sizing the VM's is about monitoring resources and adjusting accordingly but would it be necessary setting up a separate VM to host the database or would I gain little to nothing by doing that in comparison of giving more resources to the VM instead?

looking forward for tips
0
Comment
Question by:Bes4dmin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 8
  • 5
  • 5
18 Comments
 
LVL 120
ID: 40323376
If you are just wanting a public facing website, maybe cloud or hosting provider is all you need.

Unless you want to manage it.

How is providing the content?

You may decide to build a Web Farm, with Network Load Balancing or another load balancer to balance traffic across the web farm?

Have you considered Sharepoint ?

Is it just a Web Site, showing pages like a brochure ?

Wordpress is a Web Application. This requires a Web Engine, usually Apache! (Windows or Linux) - Word Press is popular!

IIS is just Microsoft Web Engine, it does nothing on it's own!

If using VMware vSphere ensure you hardware is in the HCL.

Are you purchasing a SAN, or more than one host?
0
 
LVL 62

Expert Comment

by:gheist
ID: 40327318
Given your load numbers hardly two users ever meet on your website. You need something (or two) very power-saving with 1 socket and 1 core (maybe 2 cores if operating system recommends one)
Still costs will be much higher than cloud/hosting
0
 
LVL 1

Author Comment

by:Bes4dmin
ID: 40327833
Thanks,
yes, I know cloud services cost less but it is decided to host the website in-house in our environmet, so I want to build something robust and scalable that fit the goal but that also is prepared for future loads. And offcourse budget is in mind too.

I'm thinking of having the VMFS datastores on local 15k or SSD disks with RAID10. This is mainly for two reasons.
1. The budget doesn't allow me to purchase a SAN
2. A SAN isn't really necessary as I only intend to have one host (as for now at least)

To keep costs down we decided on going with Wordpress, yes one of the sites will be a static one like a broschure but with many pages with pictures, maybe some slides, videos etc. easy stuff.
The other website will be more of a portal where members of a group will have a login to see and edit their own stuff and also be able share documents. Here is where the power of Wordpress come in to play.

As we are Microsoft users I intend to install Wordpress on a windows server running IIS. I have done this kind of setu before but never for a project like this. I have mailny deployed wordpress sites under IIS internally for minor stuff so I don't know how it differs on performance or stability in comparision to running wordpress under Apache e.g using WAMP.
That leads me to the next question about where to host the database. Either I deploy a third VM and host the SQL server in it so the two websites uses it or I just install the SQL DB's locally on the corresponding website VM. I don't know if using SSD disks for the databases would boost the performance of the websites significantly
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
LVL 62

Expert Comment

by:gheist
ID: 40327925
Wordpress requires MySQL or MariaDB and really not so much resources you are trying to give it.
(Not a Windows-)Cluster of multiple webservers and cluster of multiple DBs will guarantee uptime close to 5-6 nines
0
 
LVL 120
ID: 40328144
So how is your server ROBUST, if you just have the VM, running on a single host and datastore.

What happens when the host server blows up!

You are OFF and DOWN.

Wordpress on LAMP runs much better, and performs better. But if you have experience of Windows, then stick with WIndows.

Performance will be the same as for the DB,, depends on your licenses for Windows, if you are covered for licensed, create a new DB server. (less risk, and better security).
0
 
LVL 62

Accepted Solution

by:
gheist earned 334 total points
ID: 40328186
wordpress runs very well on windows PHP for some.
but it gets costly if you want some resilience...

You need next server for replica of database, and another (or more) web frontend for the bad days of month windows is to restart. I'd go for a bunch of smaller servers. 6 sockets or even 4 limits your choice of processors, or gives you non-standard numa-link (i.e 2 systems on same motherboard connected high on system bus)
0
 
LVL 1

Author Comment

by:Bes4dmin
ID: 40336946
Yeah I know, sorry about that, I wrote robust but I meant performance. The idea is to buy another server later to get the redundancy, maybe going vSAN but for now I want to focus more on performance.
 I'm probably going for your suggestion of having a dedicated DB server. This one can be of some Linux flavor since I'm opting for MySQL.

gheist, Could you elaborate more on your thoughts? I'm not sure I'm following you on the resilience. Yo say smaller servers, you mean VM's? 4-6 sockets on the host? Numalink?

As for now I got a quote for a PE630
2x Xeon E5-2660 (10core per socket)
96GB
1x SSD 100GB
6x SAS 15k 600GB

Think this is over dimensioned for the purpose?
0
 
LVL 62

Assisted Solution

by:gheist
gheist earned 334 total points
ID: 40337130
You need more RAM and less CPU, so trade 2nd CPU for RAM.
Each CPU can fill something like 50Gbit network completely (you dont have it nor your internet connection can do that, even less any disk of today does it)

And why not 2 average range servers?
0
 
LVL 1

Author Comment

by:Bes4dmin
ID: 40338945
Good point. I got another quote for 2 servers with 1 Xeon E5-2620 2.4Ghz 15MCache 6 core on each
32GB RAM on each
4x 600GB SAS 15k on each

With this I now have redundancy and can apply vSphere HA. It feels like this is a good starting point to build on when needed. Putting a second CPU, adding more RAM etc. As long as the performance is being jeopardize as I understand it wont.
0
 
LVL 1

Author Comment

by:Bes4dmin
ID: 40338952
Question now I think is what I do about redundancy with the datastores since I'm not having a SAN nor vSAN. I guess vSphere Replication will do the trick.
0
 
LVL 62

Expert Comment

by:gheist
ID: 40338993
VSphere HA does zero about redundancy.
DRS rules are the right way (dont run master and slave on same ESXi)

I'd dump disks for simple mirror of 2 disks and swap to RAM.

MySQL or MariaDB has replication feature built in. No need to resort for bigger edition of vmware.
Without shared data storage you need either rsync on each update or use some sort of clustered filesystem within virtual machines. (As much as it concerns wordpress - all content is in (hopefully shared) database.
0
 
LVL 120
ID: 40339094
You cannot do VMware HA without a SAN!
0
 
LVL 62

Expert Comment

by:gheist
ID: 40339104
Vmotions with changing CPU and storage at the same time neither....
0
 
LVL 120
ID: 40339418
Replication is an option, it depends on how much downtime can you afford ?
0
 
LVL 62

Expert Comment

by:gheist
ID: 40339480
Wordpress caches everything in ram and client browser if you choose... 1h should be OK...
0
 
LVL 1

Author Comment

by:Bes4dmin
ID: 40342078
Crap, I didn't think of that. So what are my options here really if I go for two hosts with only local storage. One active host and one for failover? Can I have some sort of continous replication on the VM's?
Regarding downtime it is not critical being down but yeah max 1 hour I think it's acceptable.
0
 
LVL 120

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 166 total points
ID: 40342097
Veeam Backup and Replication or Naviko

but you will have to manually start the other one (DR copy), and it could be at least 15 minutes old....

That's being discussed here actually...

http://www.experts-exchange.com/Software/VMWare/Q_28524073.html

No SAN, Two Hosts and if you want Automatic...

Double Take
0
 
LVL 62

Expert Comment

by:gheist
ID: 40342230
2 wordpress app servers (they are dependent only on database)
Whichever replicating database you choose
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question