ESXi

 View Only
  • 1.  Automate virtual machines with VIX api

    Posted Nov 02, 2010 04:33 PM

    Hi:

    I´m automating virtual machines on a ESXi host using the vix api. I try to power on and the virtual machine do it, but the script returns 3008 error:

    VIX_E_CANNOT_CONNECT_TO_VM

    What ´s the problem??

    Thanks!



  • 2.  RE: Automate virtual machines with VIX api
    Best Answer

    Broadcom Employee
    Posted Nov 02, 2010 04:52 PM

    Are you able to use the pre-compiled vmrun binary that is part of the VIX API download to connect to your VM?

    You may also want to post your VIX question in the VIX API forums - http://communities.vmware.com/community/developer/forums/automationapi

    =========================================================================

    William Lam

    VMware vExpert 2009,2010

    VMware VCP3,4

    VMware VCAP4-DCA

    VMware scripts and resources at:

    Twitter: @lamw

    Getting Started with the vMA (tips/tricks)

    Getting Started with the vSphere SDK for Perl

    VMware Code Central - Scripts/Sample code for Developers and Administrators

    VMware Developer Community

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



  • 3.  RE: Automate virtual machines with VIX api

    Posted Nov 02, 2010 05:56 PM

    I have moved my post..

    Thanks friend!!!