Configure Fault Tolerance in VSAN 6.1

VSAN 6.1 has introduced support for SMP-FT VMs, so we can now use Fault Tolerance to protect our vCenter VM for example.

Fault Tolerance has some requirements in order to be implemented.

A full list of the requirements can be accessed on the vSphere 6.0 documentation:

https://goo.gl/ld6Tqo

Let’s then see how to configure Fault Tolerance on a VSAN 6.1 Cluster:

Configure Host Networking for FT

FT requires compatible hosts and a dedicated 10GB network.

I am using a dvSwitch for the set up in this scenario.

FT1

Set up vmkernel for FT on every host of the Cluster

FT2

Verify that you can vmkping all the FT vmkernel IP addresses that were configured for FT Logging.

Using vmkping you can test the network connectivity to each of the VSAN nodes through the FT vmkernel uplink.

FT3

Testing FT vmkernel interfaces with vmkping

Create a simple VM with 4 vCPUs

FT4

Right Click the VM and turn on FT:

FT5

Turning on Fault Tolerance on the 4vCPU VM

FT6

Select the host that will have the secondary VM

FT7FT8

Verify that FT is active

FT9

Power On the VM:

FT10

And that’s it ! Your VM is now fully protected by FT with zero RPO/RPO should the host where the primary VM fails.

We can now see 2 VM’s running on each host

[root@ds-lab-vsan14:/var/log] esxcli vm process list
SMP-FT VM - Nelson
World ID: 4569207
Process ID: 0
VMX Cartel ID: 4569169
UUID: 42 32 e3 82 f6 b9 51 00-eb 90 dd 0d d5 83 cb 97
Display Name: SMP-FT VM - Nelson
Config File: /vmfs/volumes/vsan:525145947e3307d9-a9e094a5a7db903d/e8ff2456-0046-be24-8b7d-90b11c2465b3/SMP-FT VM - Nelson.vmx
[root@ds-lab-vsan14:/var/log]

[root@ds-lab-vsan12:~] esxcli vm process list
SMP-FT VM - Nelson
World ID: 4560087
Process ID: 0
VMX Cartel ID: 4560086
UUID: 42 32 e3 82 f6 b9 51 00-eb 90 dd 0d d5 83 cb 97
Display Name: SMP-FT VM - Nelson
Config File: /vmfs/volumes/vsan:525145947e3307d9-a9e094a5a7db903d/1ee92456-80 68-1d50-641d-90b11c2b5454/SMP-FT VM.vmx
[root@ds-lab-vsan12:~]

Advertisements

How to Redirect Output from the VSAN Ruby Console to a File

Hi,

I was struggling today to get the output of the Ruby console redirected to a file. I was using the Windows vCenter Ruby Console.

For the Linux vCenter the regular linux redirectors work as usual.

So, in order to get this working you have to modify the rvc bat to look tlike this:

 

The rvc is located here:

 

C:\Program Files\VMware\Infrastructure\VirtualCenter Server\support\rvc

 

..\ruby-1.9.3-p392-i386-mingw32\bin\ruby -Ilib -Igems\backports-3.1.1\lib -Igems\builder-3.2.0\lib -Igems\highline-1.6.15\lib -Igems\nokogiri-1.5.6-x86-mingw32\lib -Igems\rbvmomi-1.7.0\lib -Igems\terminal-table-1.4.5\lib -Igems\trollop-1.16\lib -Igems\zip-2.0.2\lib bin\rvc -c “vsan.support_information 1” -c “quit” administrator:VMware123!@localhost

 

 

Once you have modified the rvc bat, just create a shortcut on the Desktop and modify the Target as follow:

 

 

RVC Shortcut

 

Then, just click on the Shortcut and you will get a text file created in C:\VSAN.log

VSAN Log File

VSAN Log File

 

For more information about the Ruby Console check this Blog:

http://blogs.vmware.com/vsphere/2014/07/managing-vsan-ruby-vsphere-console.html