WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud Foundation
  • VKS
  • Homelab
    • Resources
    • Nested Virtualization
  • VMware Nostalgia
  • Apple

How to Enable Nested vFT (virtual Fault Tolerance) in vSphere 5

07.31.2011 by William Lam // 5 Comments

The ability to enable virtual Fault Tolerance in nested virtual machines running in vESX(i) is not a new feature in vSphere 5, vFT has been an unsupported feature since vSphere 4 and was initially identified by Simon Gallagher. The process is exactly the same in vSphere 5 in which three virtual machine configuration options need to be configured for the virtual machine to be enabled with FT, not the vESXi VM.

replay.supported = "true"
replay.allowFT = "true"
replay.allowBTOnly = "true"

During the beta of vSphere 5, I did enable vFT but on an offline virtual machine to conserve on unnecessary compute resources. Today there was a question on the beta community around configuring vFT for vSphere 5 and I wanted to quickly validate the configurations still hold true. I ran into a interesting error when trying to enable vFT, the power on process for the secondary virtual machine failed with the following error:

This was not an error I had seen before in vSphere 4 and looking at the vmkernel and vmware.log files, I noticed the following:

2011-07-31T17:31:39.314Z| vcpu-0| [vob.vmotion.stream.keepalive.read.fail] vMotion migration [ac1e0050:1312133702562144] failed to read stream keepalive: Connection closed by remote host, possibly due to timeout
2011-07-31T17:31:39.314Z| vcpu-0| [msg.checkpoint.precopyfailure] Migration to host <> failed with error Connection closed by remote host, possibly due to timeout (0xbad003f).
2011-07-31T17:31:39.324Z| vcpu-0| Migrate: secondary failure during migration: error Connection closed by remote host, possibly due to timeout.

I tried changing the advanced option on the vESX(i) host to increase the vMotion timeout but continued to hit the same error. I decided to look more into the first error message "failed to read stream keepalive" and found an advanced ESX(i) setting called /Migrate/VMotionStreamDisable, this advanced option has been available since ESX(i) 4.x.

I decided to disable vMotion Stream and to my surprised, it allowed FT to power on the secondary virtual machine and no longer ran into that error.

Note: You may or may not run into this error message and the configuration may not be necessary. If you enable vFT on an offline VM, you should not have any issues as long as you meet the minimum Fault Tolerance requirements.

You can configure the advanced ESXi option using either esxcli or legacy esxcfg-advcfg commands:

esxcli system settings advanced set -o /Migrate/VMotionStreamDisable -i 0
esxcfg-advcfg -s 0 /Migrate/VMotionStreamDisable

It is important to understand that even though one can setup a vESX(i) hosts and test and play with some of the advanced functionality such as vMotion and FT that the actual behavior is unpredictable as these configurations are unsupported by VMware. This of course is also great feature for home labs and studying for VMware certifications such as VCP and VCAP-DCA, but that should be the extent of leveraging these unsupported configurations.

Categories // ESXi, Nested Virtualization, Not Supported Tags // ESXi 5.0, fault tolerance, nested ft, vft, vSphere 5.0

vSphere 5 Summary on virtuallyGhetto

07.29.2011 by William Lam // Leave a Comment

Here is a collection of all my blog posts relating to vSphere 5 that I have worked on over the last 6 months.

General Topics
1. How to Enable Support for Nested 64bit & Hyper-V VMs in vSphere 5
2. Automating ESXi 5.x Kickstart Tips & Tricks
3. Major Enhancements in esxcli for vSphere 5
4. What's New in VMware Vsish for ESXi 5
5. SSH Keys & Lockdown Mode Caveat in ESXi 5
6. How to Create Custom Firewall Rules in ESXi 5.0
7. How to Format and Create VMFS Volume using the CLI in ESXi 5
8. HBR (Host Based Replication) CLI for SRM 5
9. New vSphere 5 CLI Utilities/Tricks Marketing Did Not Tell You About Part 1
10. New vSphere 5 CLI Utilities/Tricks Marketing Did Not Tell You About Part 2
11. New vSphere 5 CLI Utilities/Tricks Marketing Did Not Tell You About Part 3
12. New vSphere 5 HA, DRS and SDRS Advanced/Hidden Options
13. How to Trick ESXi 5 in seeing an SSD Datastore
14. Free Linux & Windows Syslog Alternatives to depercated vi-logger in vMA 5
15. Host Profiles Free in ESXi 5?
16. vi-fastpass esxcli and resxtop bug resolved in vMA 5
17. Tips and Tricks for vMA 5
18. How to Enable Nested vFT (virtual Fault Tolerance) in vSphere 5
20. When Can I Run Apple OSX on vSphere 5?
21. How Fast is the New vSphere 5 HA/DRS on 64 Node Cluster? FAST!
22. New Hidden CBRC (Content-Based Read Cache) Feature in vSphere 5 & for VMware View 5?
 

API + SCRIPTS
1. There's a new mob in town, FDM MOB for ESXi 5
2. New SRM 5 APIs
3. Automating the New Integrated VIX/Guest Operations API in vSphere 5 
4. Automating Storage DRS & Datastore Cluster Management in vSphere 5
5. How to Automate Host Cache Configuration in ESXi 5
6. 2 Hidden Virtual Machine Gems in the vSphere 5 API
7. New vSphere Health Check 5.0 & ghettoVCB Script
8. New Performance Metrics In vSphere 5
9. How to Persist Configuration Changes in ESXi 4.x/5.x Part 1
10. How to Persist Configuration Changes in ESXi 4.x/5.x Part 2
11. How to Automate the Upgrade of Classic ESX 4.x to ESXi 5
12. New Application Awareness API in vSphere 5

If you have found these and other resources useful on this site and would like to support us, you can donate here. Thanks!

Categories // Uncategorized Tags // ESXi 5.0, vSphere 5.0

New vSphere Health Check 5.0 & ghettoVCB Script

07.29.2011 by William Lam // 8 Comments

The vSphere Health Check script has now been updated to support vSphere 5.0 and includes the following new features:

  • vCenter Server Instance UUID
  • vCenter hostname
  • Storage DRS Configuration (Maintenance Mode, Stats Aggregation, Stats Collection for Datastores)
  • FDM/HA Heartbeat Policy + Datastore
  • FDM/HA State
  • Host Agent Settings
  • Host New iSCSI Configuration/Information
  • Host FCoE HBAs
  • Host Source Packages for ESXi Services
  • Host ESXi Capabilities
  • Host SMC Hardware Information regarding OSX Support
  • Host Updated Firewall Rules (direction, port type, port, protocol and allowedIPs)
  • Host Cache SSD Datastore details
  • Host DVS IPFIX Details + NIOC
  • Virtual Machine Virtual Hardware Version
  • Virtual Machine Firmware, Initial overhead memory + swap
  • Virtual Machine State
  • Virtual Machine Snapshot consolidation + HA protection
  • Virtual Machine EZT Disk Type
  • Updated color mappings for multipath states
  • Support for standalone ESX(i) hosts without vCenter Clusters
  • New healthCheck.conf variables:  DVS_SUMMARY, DVS_CAPABILITY, DVS_CONFIG, DATASTORE_CLUSTER_SUMMARY, DATASTORE_CLUSTER_POD_CONFIG, DATASTORE_CLUSTER_POD_ADV_CONFIG, DATASTORE_CLUSTER_POD_STORAGE, HOST_ISCSI, HOST_AGENT, HOST_CACHE, VM_STATE, VM_EZT
  • Updated color scheme for HTML report

Here is an sample report that you can view.

For more details, please check out the vSphere Health Check Script document located here.

The popular free virtual machine backup script ghettoVCB has also been updated to support ESXi 5.0!

Categories // Uncategorized Tags // ESXi 5.0, health check script, vSphere 5.0

  • « Previous Page
  • 1
  • …
  • 13
  • 14
  • 15
  • 16
  • 17
  • …
  • 23
  • Next Page »

Search

Thank Author

Author

William is Distinguished Platform Engineering Architect in the VMware Cloud Foundation (VCF) Division at Broadcom. His primary focus is helping customers and partners build, run and operate a modern Private Cloud using the VMware Cloud Foundation (VCF) platform.

Connect

  • Bluesky
  • Email
  • GitHub
  • LinkedIn
  • Mastodon
  • Reddit
  • RSS
  • Twitter
  • Vimeo

Recent

  • Programmatically accessing the Broadcom Compatibility Guide (BCG) 05/06/2025
  • Quick Tip - Validating Broadcom Download Token  05/01/2025
  • Supported chipsets for the USB Network Native Driver for ESXi Fling 04/23/2025
  • vCenter Identity Federation with Authelia 04/16/2025
  • vCenter Server Identity Federation with Kanidm 04/10/2025

Advertisment

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Copyright WilliamLam.com © 2025