esxi cluster configure Fault Tolerance

What is Fault Tolerance:



VMware vSphere Fault Tolerance (FT) provides continuous availability for applications (with up to four virtual CPUs) by creating a live shadow instance of a virtual machine that mirrors the primary virtual machine. If a hardware outage occurs, vSphere FT automatically triggers failover to eliminate downtime and prevent data loss.

After failover, vSphere FT automatically creates a new, secondary virtual machine to deliver continuous protection for the application.



Steps:


  • Configure Vcenter server with 2 esxi servers with HA enabled.
  • Create vmkernal network with Vmotion and Fault Tolernace enabled, provide IP for the same.
  • Create shared 2 datastores primary on esxi server1 and secondary on esxi server2.
  • Create VM and right click ,enable FT selecting the secondary datastore as destination.


Repair corrupted vmdk file using vmkfstools



Error:

  if vmdk file corrupted and if you want to repair.


Solution:

Use the vmkfstools command to check or repair a virtual disk if it gets corrupted.

-x|--fix [check|repair]
For example,

vmkfstools -x check /vmfs/volumes/my_datastore/my_disk.vmdk

Cannot type (using keyboard) on vSphere Web Client VM console

Error:


Cannot type (using keyboard) on vSphere Web Client  VM console

Solution:


On the Browser open a new tab window.
And now come back to the original Console window.it will allow to type.


VMs on nested ESXi not getting IPs



Error:


VMs on nested ESXi not getting IPs

Solution:


  • In the main ESXi host web interface, selected Networking from the left column
  • Select the Virtual Switches tab
  • Click vSwitch0 (assuming this is your switch)
  • Click "Edit Settings"
  • Select "Security"
  • Set "Promiscuous Mode" to accept. All the other settings on that page should have already been set to accept by default.

Nested ESXi clone not able to assign IP and not pinging each other


Error:


Deploy a nested ESXi server.
Clone multiple nexted ESXi from this server.
When you assign IPs to all these ESXi, its not configuring and not pining.

Solution:

"Reset System Configuration" of each cloned/nested ESXi using the DCUI before applying the IP/hostname.
         After this root password will become empty password.
         Need to reset after login. 

Forgot Vcenter server sso domain name

If you forget the sso domain and want to find out from VCSA server, below are the files you have to look for:


SSO Domain Name

You will find it in the following two configuration files:
Windows:
C:\ProgramData\VMware\vCenterServer\cfg\install-defaults\vmdir.domain-name
VCSA:
/etc/vmware/install-defaults/vmdir.domain-name
VCSA 6.0u2:
/usr/lib/vmware-vmafd/bin/vmafd-cli get-domain-name --server-name localhost

Upgrade of VCSA from 6.7 to 6.7 u3 failed with validation of authentication


Error:

while upgrading VCSA.

Upgrade of VCSA from 6.7 to 6.7 u3 failed with validation of authentication

Failed to authenticate with guest


Solution:

Change the password via the BASH shell in an SSH session of VCSA

Firefox unable to open vsphere webclient

Error:

Your connection is not secure
The owner of {site} has configured their web site improperly. To protect information being stolen, Firefox has not connected to this website.
Error Code: , SEC_ERROR_UNKNOWN_ISSUER


Solution:

Browse to about:config, and then search for security.enterprise, set it to true

How to increase ESXi webclient login user application timeout

 To increase the default 15min timeout to 2hr Login to the esxi webclient on the right top corner ->Click the User login tab Select "...