ESX Swap File Size Best Practice

VMware SWAP FileESXi Swap File & VMFS Partitions (Revised on 5-18-12)

Due to the changes with ESXi 5.0, please see the following links at VMware for current specifications on partitioning new installations of ESXi 5.0, or when upgrading to ESXi 5.0 from another version of ESXi.

Another useful VMinstall post on the SWAP file topic can be found at: VMware SWAP File Best Practice

Related ESXi Partition Sizing Post:

I also found a great post on VirtuallyGhetto where William breaks down how to manually create VMFS 5 partition in ESXi 5. His post has step by step instructions and great screen shots. Read more…

++++++++++++++++++++++++++++++++

 

Revised on 1-3-09:

The original post was only for ESX 3.0.x. VMware has redesigned the volume structure for ESX 3.5.x to include the larger volumes. The large SWAP volume is only standard on clean installs of 3.5.x, upgrades of  previous versions will have the smaller volumes. Best practice for upgrading ESX is to do a clean install to remove old version limitations.

Then when running the installation make the following changes and additons to the default volumes:

  • /boot     |  ext3  |  250 MB
  • /swap     | swap  | 2000 MB (largest accessible size) Once this is changed you must increase service console memory in VirtualCenter 2:1 (swap:ram)
  • /               | ext3  | 5120 MB
  • /var        | ext3  | 1024 MB (core files)
  • /var/log | ext 3  | 1024 MB  (logfiles)
  • /tmp       | ext3   | 1024 MB (where updates get downloaded to)
  • /opt        | ext3  | 2048 MB  (where HA log go)
  • / home  | ext3 |  1024 MB  (user files)

 

ESX Custom Partition Sizes (original post)

Do a custom installation of ESX and make your swap partition 1024 MB instead of the default 542 MB. Later you will need the room when you have to increase your service console memory from 272 MB to 512 (800 MB Max) to keep your systems from crashing when you access them from within a service console window.

Cool Bonus Video by Eric Sloof: Configure ESXi Host Swapping to a Solid-State Disk

httpv://www.youtube.com/watch?v=U3vPbYilQfc

Please share your expertise on this topic with us…

 

BIG Picture

Get "Strategic Ideas That Transform Your Mindset " Sent To You

Discussion

  1. dypeTypedroge
  2. Roffarrolve
  3. Eugene

Leave a Reply

vSphere Data Protection EOA
3 Alternative vSphere Backup Replacements For VDP

Important Notification: vSphere Data Protection (VDP) End of Availability (EOA) That...

vSphere 6
8 Updates That Make vSphere 6 Better – Keith Barker

Editor’s note: Keith Barker has been a CBT Nuggets Trainer since 2012. Some...

VMware Interview Questions
25 VMware Interview Questions And Answers: Tough & Technical (Download PDF)

Free VMware vSphere Interview Guide In this VMinstall Guide I’ll share a...

Project Photon
VMware Project Photon: Technical Review for Linux Admins

My quick and dirty review of Project Photon. I was very happy...

DevOps Plan
Best DevOps Strategy Hack (Winners Start With Why)

What is DevOps? It’s a model. It’s a culture. It’s a...

DevOps Tools Download
DevOps Toolchain: Download 3 Free Tools Used By Pros (Ansible, Git, Jenkins)

Hack Your Resume with DevOps Skills Lately I’ve been getting a...

DevOps Guide
Microsoft DevOps: 25+ Powerful Windows SysAdmin Skills (NEW Guide!)

What is Microsoft DevOps? This is an interesting question because first off,...

continuous integration tools
DevOps Training Courses That Will Give You The Edge (Perfect For Beginners Who Want Skills That Are Noticed By Google & Facebook…)

When I was just a fledgling starting out as a Jr...

Click here to learn how to Optimize WordPress Speed
WordPress Speed Optimization: Part 4 – VPS Case Study To Make VMinstall.com Rank Higher In Google Through Faster Hosting & High Availability @ Lower Cost

This is going to be a quick and dirty part 4...

Best Hosting for WordPress
Case Study: Best VPS For Easy WordPress Migration

Why I moved my WordPress blog off slow shared hosting… Let’s...

cloudways review updated
11 Cloudways Review Pros & Cons From My Deep Dive Testing (VPS Series: Part 2)

Which is a better cPanel alternative of a VPS – Cloudways...

ServerPilot Review
ServerPilot Review: Installing WordPress On DigitalOcean (VPS Series: Part 1)

How to install WordPress on a cloud server like a Pro...

tensorflow training
TensorFlow Tools for Beginners (7 Easy Takeaways To Get You Started)

Introduction To Deep Learning As a follow-up to my book review...

job rut
How To Get MOVING When You’re Stuck In A Career Rut (Video)

You worked hard to get your degree and after graduation you...

Storage Engineer Skills
Why Storage Engineer Skills Are HOT! (Can You Say Big Data?)

3 BIG Skills New Storage Engineers Are Missing Out On… Behind...

Rise of the Robots
I’m Amazed After Reading Rise of the Robots – Best Jobs In 2017 (You won’t Guess what’s going on!)

Rise of the Robots by Martin Ford is the Best Book...

Open Source Storage Software
3 Open Source Storage Software Alternatives For Beginners

Build Your Own Storage Solution! Reflecting on my trip to VMworld...

VMware VCP FOR Hire eBook
Read Excerpts from VCP for Hire eBook

BIG Thanks… Before I share the excerpt of VCP for Hire,...

How to Self Publish Your VMware eBook KDP
How to Self Publish Your VMware eBook KDP

Do you have a VMware book you’d like to self publish...

free chef for 5 servers
Free Hosted Opscode to Try Chef On 5 Servers Before You Buy

Is Chef the configuration management and automation tool for your operations team?...