VMware

This Question is Answered

2 "helpful" answers available (6 pts)
2 Replies Last post: Oct 8, 2009 6:48 AM by Bramha  

API to turn on Fault Tolerance posted: Oct 7, 2009 5:42 AM

Click to view Bramha's profile Novice 11 posts since
Oct 21, 2008

For my BR application I need to Turn Off FT to be able to take a VM Snapshot . I found API TurnOffFaultToleranceForVM_Task to turn off FT for a VM. But I dont see any API to turn it on back again. Why isn't there an API to turn FT on ?. Is there some way I can do this ?

Thanks,

Parag

Re: API to turn on Fault Tolerance

1. Oct 7, 2009 6:47 AM in response to: Bramha
Click to view lamw's profile Champion 2,803 posts since
Nov 27, 2007
For fault tolerance management, you'll be using the following methods:

CreateSecondaryVM_Task() (configure FT for a VM)
EnableSecondaryVM_Task() (turn ON FT for a VM)
DisableSecondaryVM_Task() (disable FT for a VM)
TurnOffFaultToleranceForVM_Task() (turn OFF FT for a VM)

You can take a look at this script I wrote to manage FT: ftCLI.pl - VMware Fault Tolerant Managment


=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at: http://engineering.ucsb.edu/~duonglt/vmware/
vGhetto Script Repository
VMware Code Central - Scripts/Sample code for Developers and Administrators
VMware Developer Comuunity
Twitter: @lamw

http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg

If you find this information useful, please award points for "correct" or "helpful".

Developer Social Media

Communities