Solved

VmWare ESX 3.5 Swap file size

Posted on 2008-06-24
7
6,568 Views
Last Modified: 2012-08-13
I'm still new to the VmWare world and only install ESX 3.5 for the second time today. The server that I installed it on has 700GB of disk space and 20GB of ram. I left the swap file size at the default when I was going through the install which I believe was 500mb or so. Here are my questions 1) Since it have 20GB of ram should I increase my swap file size. 2) Can the swap file size be increased. 3) how may VM show I be able to run on a server with 8 processors, 700GB of disk and 20GB of ram???
0
Comment
Question by:compdigit44
7 Comments
 
LVL 18

Expert Comment

by:larstr
ID: 21862877
1)
Each VM will have it's own swap file. The size of this file will by default be the same as the size of ram allocated for the VM. This swap file will be created when you start the VM.

2) The swap file (and the ram) for the Service Console can be increased to 800MB if you for some reason get short on ram there.

3) You can give a single VM a maximum of 4 vcpus. All your VMs will however be load balanced across all 8 processors. You can also give your VM 700GB disk and 20GB ram if you want:
http://www.vmware.com/pdf/vi3_35/esx_3/r35/vi3_35_25_config_max.pdf

Lars
0
 
LVL 14

Expert Comment

by:agriesser
ID: 21863678
Regarding this hardware, I think that the disk space will be the limiting factor. How many virtual machines you can run on this host depends on what VMs you're about to create, but to do some maths: If you want to install Windows XP sessions (e.g. to utilize VDI) with each having assigned one CPU and 512MB RAM, you can run about 40 virtual machines on this system.
Assuming further that each XP session has about 15GB of disk space, you're up to 600GB for all the vmdks (left alone the swap files, logfiles, and the ESX server installation itself).
Besides that, having so many VMs on just one physical disk will probably result in slow disk access times as in the worst case, 40 processes are trying to access the disk concurrently.

You can even have a centralized swap store for your ESX server so that all virtual machines use the same swap space, but I wouldn't recommend that if you're going to do snapshots, hot backups or DRS migrations using VMotion etc. with this VMs.

Is using VMCB (VMware Consolidated Backup) or Storage VMotion interesting for you? If so, make sure to have enough free space on your harddisk as in times when the machine needs to be backed up or copied to another data store, it will consume twice as much disk space as usual.
0
 
LVL 19

Author Comment

by:compdigit44
ID: 21865193
We are not using shared storage at this time but plan on move to one very soon. Here is another question. In ESX 3.5 can I easily increase the allocated hard disk space , CPU count and memory on the fly?
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 14

Expert Comment

by:agriesser
ID: 21865284
Of what? Of the ESX server itself or of the virtual machines?
0
 
LVL 18

Expert Comment

by:larstr
ID: 21865476
The only thing you can increase while running is disk space. Other devices need either that the VM is powered down or that the host is powered down. If you can do vmotion you will see that your guests might get a higher uptime than your hosts because of such things as hw upgrades and/or patching.
0
 
LVL 2

Accepted Solution

by:
CJRODRIG earned 500 total points
ID: 21869797
First of all you have a monster server! congrats! I'm running ESX server in a proliant DL380 with 8 GB RAM and 2 processors.

You need to plan your VMs to know how many will you deploy. It depends on which will be the workload of each VM (by example a DB Server should have more CPU, RAM and Disk resources assigned than a simple Web Server). Remember that you can assign resources usage (CPU, DISK, MEM and network) in a per-VM basis.

Swap space for the host computer isn't a big issue because its workload will be small. So default swap space will be good. If you want to assign more disk resources to your host server, I strongly recommend that you rebuild your VMWare server and DO NOT select the default partition config and make your own with your desired disk space for the swap partition. It is possible to expand/shrink your VM Swap partition but it will imply lot of effort.
0
 
LVL 14

Expert Comment

by:agriesser
ID: 21924415
Has this question been answered already?
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

It Is not possible to enable LLDP in vSwitch(at least is not supported by VMware), so in this article we will enable this, and also go trough how to enabled CDP and how to get this information in vSwitches and also in vDS.
HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…

770 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