Solved

VMWARE on SAN and Windows paging file question

Posted on 2007-11-26
5
3,740 Views
Last Modified: 2013-11-14
I am about to build a Win2003 server on a VMWare ESX with SAN. It's an initial installation, which will - in the future - contain of 2 SANs connected by a slow (5Mbps) link for replication purposes (DR site). Also, the primary site will have 2 VMWare hosts connected to the same SAN for failover with VMotion, where the secondary only one host with it's own SAN. However, this latter is not an issue for the sake of this question. My primary concern is the performance and the amount of the data that will be replicated between the primary and secondary site SANs. I could go simple by creating one VM storage per O/S and install Win2003 together with it's swap file onto it. It's easy to manage. However my primary concern is that the paging file and it's frequent changes, would generate a lot of replication traffic, which would be completely unnecessary. I am not planning to do VMotion between the sites. How do I come about this problem? Shall I create a separate LUN on the SAN only for the purpose of the paging file and specifically tell Win2003 create a paging file on a different drive? I am a complete newbie when it goes about the SAN, we have contractors setting this up for us, and I would throw the problem on the forum to hear different approaches before I accept their solution.
0
Comment
Question by:groobo
  • 3
5 Comments
 
LVL 23

Expert Comment

by:Rahul Misra
ID: 20351373
Set the paging file size SYSTEM MANAGED and let Windows do the management.
 
0
 

Author Comment

by:groobo
ID: 20351777
That's not what I am asking; it's not a Windows question; more like VMW/SAN. If I keep the paging file on the volume (drive) with windows, and elect the replication of this volume, I am creating additional SAN replication traffic across sites, which is not necessary as I do not plan doing VMotion across the sites. That's why I am thinking about creating LUN specifically for the paging file for which the snapshots and replication between sites would be disabled.
However, I would still like to use the VMotion for 2 ESX hosts connected to the same SAN locally. Now the question is, will a separate LUN for the windows swap be somehow limiting to the local VMotion?
We have 3TB NetApp SAN here that 'understands' VMWare, as I have seen at initial configuration of the volume.
I hear different opinions, that's why I would like to ask the experts for best practice.
0
 

Author Comment

by:groobo
ID: 20352737
Clarification: In above, I am talking about LUNs, where I shall rather talk about volumes. Some system/data volumes will be mirrored, where swap file volumes won't.
0
 
LVL 21

Accepted Solution

by:
robocat earned 300 total points
ID: 20352808

NetApp recommends putting the host swap files on a different VM datastore (or LUN on the NetApp). As long as you keep this datastore on shared storage, you should be able to use VMotion.

You could consider replicating this LUN to your DR site also, but less frequent, because this will make recovery during a disaster a little more easy.

We ourselves don't separate the swaps from the host directories, but we don't over commit the VMWare RAM, so there's not much paging going on.
0
 

Author Comment

by:groobo
ID: 20353317
Found this on NetApp:

[…] Virtual machines should have their swap files, pagefiles, and user and system temp directories moved to separate virtual disks residing on separate datastores residing on NetApp volumes dedicated to this data type. In addition, the ESX servers create a VMware swap file for every running VM. These files should also be moved to a separate datastore residing on a separate NetApp volume. Figure 33 shows an example of this data layout. [...]
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
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…
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

828 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