VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
4 Replies Last post: Jan 15, 2009 11:12 PM by Dave.Mishchen…  

how to enable VM autostart using RCLI command? posted: Jan 14, 2009 5:50 PM

Click to view QucickSand's profile Novice 14 posts since
Apr 5, 2006

Hi,

I manage my VMs on ESX3i u3 hosts exclusively using RCLI commands. When I create a new VM, it won't autostart when esxi host is rebooted. I need to find out what RCLI command(s) to use to enable AUTOSTART for newly created VM.

Thanks!

Click to view Dave.Mishchenko's profile Guru 8,943 posts since
Nov 15, 2005
I haven't seen that you could do that with the RCLI but you might want to look at this vi-toolkit script - http://communities.vmware.com/message/827789#827789 or this perl sample - http://communities.vmware.com/docs/DOC-1003
Click to view Dave.Mishchenko's profile Guru 8,943 posts since
Nov 15, 2005
I manage my VMs on ESX3i u3 hosts exclusively using RCLI commands.

PS - Just curious as to why you're doing that.

Re: how to enable VM autostart using RCLI command?

4. Jan 15, 2009 11:12 PM in response to: QucickSand
Click to view Dave.Mishchenko's profile Guru 8,943 posts since
Nov 15, 2005
It may not fit into your plans, but VMware has an appliance that includes the VI Perl Toolkit. The file you would look at editing is /etc/vmware/hostd/vmAutoStart.xml.

http://www.vmware.com/support/developer/vima/

Message was edited by: Dave.Mishchenko - added link

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