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.
Leave a Reply