VMware
3 Replies Last post: Sep 11, 2009 6:25 PM by c_shanklin  

FT-enable a VM. posted: Aug 14, 2009 9:06 AM

Click to view c_shanklin's profile Master 754 posts since
Dec 3, 2007
To enable FT for a VM:

Get-VM X | Get-View | % { $_.CreateSecondaryVM($null) }


This will choose a host, if you want to specify a specific host, pass the host's MOR in place of $null.

To disable, run:
Get-VM X | Select -First 1 | Get-View | % { $_.TurnOffFaultToleranceForVM() }


Note that in PowerCLI 4.0 Get-VM will return a fault tolerant VM twice, so we select the first one.

Re: FT-enable a VM.

1. Sep 10, 2009 7:44 AM in response to: c_shanklin
Click to view Mike_Laverick's profile Virtuoso 4,063 posts since
Jan 5, 2004
Carter,

I am I right in saying there's no method to enable FT logging on a vmkernel port in the SDK.

I remember asking this before but I can't remember the answer...

If it is possible - can you point me to the right location in the SDK online?

Regards
Mike Laverick
RTFM Education
http://www.rtfm-ed.co.uk
Author of the SRM Book: http://www.lulu.com/content/4343147
http://communities.vmware.com/servlet/JiveServlet/download/1200101-20223/vExpert_logo_100x57.jpg

Re: FT-enable a VM.

2. Sep 10, 2009 8:21 PM in response to: Mike_Laverick
Click to view lamw's profile Champion 2,803 posts since
Nov 27, 2007
Mike,

Take a look at ftCLI2.pl to configure FT logging for a given set of ESX(i) hosts for a given FT portgroup, I'm sure this can be accomplished in PowerCLI as well since this just uses the vSphere APIs

=========================================================================
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".

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities