VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
2 Replies Last post: Jun 25, 2009 1:48 PM by NicholasFarmer  

Web Sites Very Slow on ESXi posted: Jun 24, 2009 12:32 PM

Click to view ITAV's profile Novice 6 posts since
Apr 14, 2009

Greetings,

We are tesing our virtual environment and we have discovered that our web sites are very slow. Recenly we have changed our method for creating websites in that we now seperate our databases from the actual website onto a mysql db server. A brief overview of my network is as follows

<!--if gte mso 9><xml>
Normal
0
false
false
false
EN-US
X-NONE
X-NONE
MicrosoftInternetExplorer4
</xml><!endif--><!--if gte mso 9><xml>
</xml><!endif-->
<!--if gte mso 10>
<style>
/* Style Definitions */
table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;}
</style>
<!endif-->

ESXi Host in DMZ - Guest web server (Ubuntu-Apache) "call it DMZ-WEB01"

ESXi
Host in LAN - Guest database server
(Ubuntu-MySQL) "call it SRV-DB01"

Firewall is set to allow (any/any) from LAN>DMZ but from DMZ>LAN is restricted.

Access
Rules from DMZ-WEB01 to SRV-DB01 to allow MySQL ports and ICMP (working fine)

When I ping from DMZ-WEB01 to SRV-DB01 via DNS name it is kind of slow compared to Pinging
IP…

DNS Server in DMZ and also in LAN

access to the site on both
internal network and externally are very slow. (20+ seconds
or more to main page and between pages).

So what do I need to look at? Server Performance is very good according to console in ESX... RESOURCES ABOUND!!!

I would appreciate any of you VMware or MySQL Guru's advice... I have looked at everything I know to.

Thanks,

Re: Web Sites Very Slow on ESXi

1. Jun 25, 2009 1:27 PM in response to: ITAV
Click to view mikepodoherty's profile Expert 355 posts since
Nov 6, 2006

One clue is name resolution - you should see the same speed when pinging by server name as you are seeing when pinging via IP - try accessing the web site via IP address, I suspect you will see much faster performance.

What are you using for DNS and how are the zones configured - especially the lookup for IP addresses not within the current IP range?

Re: Web Sites Very Slow on ESXi

2. Jun 25, 2009 1:48 PM in response to: ITAV
Click to view NicholasFarmer's profile Enthusiast 32 posts since
Jan 23, 2008

Check that the firewall allows connections to the DNS server.

If using windows AD for DNS, the host could be trying to go to DNS Servers on the LAN and resctricted through the firewall so you have to wait for the time out to try another DNS server (domain controller)

If the DMZ DNS server must do lookups to the LAN DNS server then you might have slow DNS responce.

Look for more then one DNS entry because it could cause you to wait for a bad DNS to fail before it gets to the connect DNS entry.

Also, see if your firewall is maxed out. It could be over ran on the CPU working with internet/internal traffic and create slowness when inspecting your dmz traffic.
some Cisco 5505 firewalls need special license to do DMZ to Inside translations.

hope this helps.

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities