VMware vSphere

 View Only
Expand all | Collapse all

Enable WOL in a VM

  • 1.  Enable WOL in a VM

    Posted Oct 10, 2010 03:59 PM

    I need to enable Wake-On-Line on a XP VM which is on ESXi 4.0 server. I checked in vCenter and see "Wake on LAN Supported = Yes" on the NIC

    However, I cannot see Wake-On-Line option in the BIOS of the XP VM. Any idea? Thanks.



  • 2.  RE: Enable WOL in a VM

    Posted Oct 10, 2010 05:14 PM

    Edit the settings for the VM, select Options > Power Management and check the Guest Power Management settings.




    Dave

    VMware Communities User Moderator

    Now available - vSphere Quick Start Guide

    Do you have a system or PCI card working with VMDirectPath? Submit your specs to the Unofficial VMDirectPath HCL.



  • 3.  RE: Enable WOL in a VM

    Posted Oct 10, 2010 07:33 PM

    Thanks Dave. I found this setting. Wake-On-Line is enabled by default. When sent wake-up packet with the VM MAC address, the VM not started but it works for phsical PCs on network. Do you know why?



  • 4.  RE: Enable WOL in a VM

    Posted Oct 10, 2010 08:15 PM

    There was a note in the release notes a while back:

    •New: Wake-on-LAN does not work with the e1000 vNIC on newer Windows guests

    For ESX/ESXi hosts, the Wake-on-LAN feature (turning on a host with a network message) is not available with the e1000 vNIC on certain Windows guests. Specifically, Windows from Vista forward and 64-bit versions do not work.

    Workaround: Use a vNIC type that supports Wake-on-LAN, such as VMXNET3

    I don't know if that is or isn't still the case.






    http://blog.peacon.co.uk

    Please award points to any useful answer.

    Unofficial List of USB Passthrough Working Devices



  • 5.  RE: Enable WOL in a VM

    Posted Oct 10, 2010 11:40 PM

    Tried using VMXNET3 and VMXNET2 with no luck.



  • 6.  RE: Enable WOL in a VM

    Posted Nov 17, 2010 09:47 PM

    Bump

    I haven't tried this yet, but would really like to be able to do it. Has anyone had success? I've got an XP VM, FWIW.



  • 7.  RE: Enable WOL in a VM

    Posted Nov 17, 2010 09:56 PM

    Tried using VMXNET3 and VMXNET2 with no luck.

    Same here, no luck either. I did read that basically the OS is suspended, but the WOL packet never really gets enabled in a VM. It's been a bug for a couple of revisions now, but I have never seen an actual post that anyone has it working yet. I have searched on google a lot, didn't spend much time, but I have yet to see one incidence that it was working.. on ESX at least.

    I still think its a problem. People aren't making waves about it, so apparently it's not a big deal.. but it COULD be an issue, especially since it would be nice to have people power on their own VM's without access to the console if WOL worked properly.



  • 8.  RE: Enable WOL in a VM

    Posted Nov 17, 2010 10:06 PM

    Could you not wake the VM with vCLI?






    http://blog.peacon.co.uk

    Please award points to any useful answer.

    Unofficial List of USB Passthrough Working Devices



  • 9.  RE: Enable WOL in a VM

    Posted Nov 17, 2010 10:09 PM

    Wouldn't the CLI require giving a user a username/pw that had some degree of access into the vCenter? I'd rather avoid that.



  • 10.  RE: Enable WOL in a VM

    Posted Nov 17, 2010 10:29 PM

    Could you not wake the VM with vCLI?

    I am sure I could wake on lan with a packet program designed to send WOL over the network also.. but that defeats the whole purpose of WOL, it's SUPPOSED to be transparent.

    You set the VM WOL settings, suspend the VM and it should wake up. It's that simple, we should not have to find a work around.

    WOL on a physical machine works very simply, why should VM be any different?



  • 11.  RE: Enable WOL in a VM

    Posted Nov 17, 2010 11:02 PM

    To my best knowledge WOL is a bluff - it is not implemented.

    I searched about two weeks to find any success-story .. nada - if that feature was not added last week it simply does not work.

    Ulli




    _________________________

    VMX-parameters- WS FAQ -[ MOAcd|http://sanbarrow.com/moa241.html] - VMDK-Handbook



  • 12.  RE: Enable WOL in a VM

    Posted Mar 20, 2013 10:47 AM

    If you have ssh service enabled on your Esxi host, you can start your vm via the command line.

    Read this (at the bottom of the webpage):

    http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1003738

    With ESXi 5.1 it's Ok.

    Hope this help.