Solved

VMWare Memory Issue with Heavy SQL Server queries

Posted on 2009-07-10
6
340 Views
Last Modified: 2012-05-07
Scenario: We have 2 guest systems one is a file sharing server, and the other is a SQL server. Both systems, have memory allocated, and are attached to a SAN.



Problem: We are running intense queries to this SQL Server also we are importing information from files that are located on the File Server into a SQL database that is located on another ESX server.

Issue:
What we are seeing is the file that we are trying to import into our SQL database *(SQL Server is located on a Different ESX Server).
Is getting Information injected from the intense query.

NOTE: The only file with the injected information is the one that is being loaded into memory.

If we reboot the File Server we can go back and check the file in question and see that the file will no longer have the injected information.

We can also stop all queries and imports and only execute the queries. Once the memory block, for which the file that has the injected information gets over written, we can then open the file in question and see that the injected information will no longer be there.

Has anyone seen this before any help would be great?

Thanks
0
Comment
Question by:Phytech Admin
  • 4
6 Comments
 
LVL 19

Expert Comment

by:vmwarun - Arun
ID: 24828533
How have you configured your LUNs ? Is the LUN visible to both ESX Hosts ?
0
 

Author Comment

by:Phytech Admin
ID: 24829087
Yes, LUNs are configured for Both ESX servers, the imported flat-files are being read from the LUN on the files server. We are runing iSCSI with SATA Drives
0
 

Author Comment

by:Phytech Admin
ID: 24829104
I failed to mention that the 2 Guest OS Systems are located on the same ESX Server.
The server, where we are running the import from is on another SQL Server, importing into a different database. This SQL server is located on another ESX Server.

So that theres no confusion, file means flat-files i.e. (row of data)

Please let me know if i need to put more information.
Thanks
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 21

Expert Comment

by:za_mkh
ID: 24829292
I don't know what you are talking about specifically, but have you reindexed your DBs recently? That normally sorts out speed issues (well I'm a SQL noob) but it works for our SQL servers. We don't have issues like what you mention though.
Also have you followed best practices for configuring SQL in VM?
http://communities.vmware.com/docs/DOC-8964
http://technet.microsoft.com/en-gb/library/cc966534.aspx
Another thing is that I think you may be hitting an IO limit with your storage (ISCSI with SATA). SATA itself is not great for heavy loads, proven, though it works. It depends on how your underlying storage on which your VMFS volume is configured, ex how many spindles, etc.
Do you have dedicated NICs on your ESX Hosts for ISCSI traffic (with hopefully a dedicated switch for ISCSI traffic) or are all your guests and server sharing the same NIC ports, etc ... this could also be another area to look at.
0
 

Author Comment

by:Phytech Admin
ID: 24833089
We have dedicated NICs on the ESX hosts for ISCSI traffic and a dedicated switch,
all are guests are using one nic for the data network traffic they are not connected to the iSCSI network.
0
 

Accepted Solution

by:
Phytech Admin earned 0 total points
ID: 25180817
Each port on the storage processor is considered a target.
 
For example  a0 and b0 are on 192.168.1.1 network
If  a1 and b1 are on the same 192.168.1.1 subnet then a1 target becomes an initiator
and tries to log into the a0 port now we have a loop that is ping ponging the port up and down .
 
Now if we have 2 subnets per pair
 
A0 and B0 are on 192.168.1.1
And A1 and B1 are on 192.168.2.1
Then we have no conflicts target versus initiator.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
unable to unmount datastore/ re-add host 7 36
Using VMWare Snapshot as Cisco UCM backup method 3 42
VMware 6.0 (Free version) VSphere CLI 2 68
convert a NUTANIX VM 3 51
HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

813 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now