Configure ESXi for HA: set userworld swap

Configure ESXi for HA: set userworld swap

Configure ESXi for HA: set userworld swap 150 150 Roderick Derks

When using ESXi (Embedded) in a VirtualCenter cluster with HA enabled, you’ll run into a problem with userworld swap. Every ESXi host needs this swap enabled. VMware KB 1004177 explains the steps needed to enable and configure the swap location.

Error messages in VIC when enabling HA for the cluster look like this:

  • Unable contact primary ha agent resources 
  • HA agent on <esxhostname> in cluster <clustername> in <datacenter> has an error Incompatible HA Network

This location can be a folder on an existing shared VMFS Datastore (already populated with VM’s) or a local storage you don’t use. It’s also possible to create a folder (like /vmfs/volumes/4943e754-e9a0586f-5b5b-00123fce94a3/swap/esx01) to host multiple ESXi swap files on one VMFS Datastore. This will eliminate the need for a separate LUN for every ESXi host cause that would be rather silly.

Roderick Derks

Liefhebber van fietsen, van het oplossen van IT puzzels, en van het delen van informatie om anderen te helpen.

All stories by:Roderick Derks

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

    Your Name (required)

    Your Email (required)

    Subject

    Your Message

      Your Name (required)

      Your Email (required)

      Subject

      Your Message