VMotion fails for a few VM when host in maintenance mode

When I was performing updates ESX host today, after putting one of my hosts in maintenance mode, I have noticed after a few minutes my migration had ceased.  In one case he required a restart of the virtual machine, in another case, I found that one of the virtual machine is always connected to the host CD ROM

My concern is that it appeared that, once one or VM have been unable to vmotion, all subsequent vmotions have ceased. Is this normal?  Is there a document that identifies conditions that will prevent the Vmotions?

Do a manual VMotion on those virtual machines to see the error.

Generally can be a simple a local CD or ISO local...

André

Tags: VMware

Similar Questions

  • Firefox hangs for a few seconds when you try to suspend videos or skip commercials on Youtube.

    Hi all!

    My problem is that YouTube freezes for a few seconds when I try to put a video on a break or skip or run advertisements. The video freezes while the sound continues to play until, at the end of say 5 seconds, youtube is finally what I tell it to do.

    This does not occur if the video is embedded on another website, nor is it on Vimeo, Dailymotion etc. I can play YouTube videos perfectly when you use Chrome, IE and Windows 8 Youtube application that I have.

    After the first freeze all commands start works great, at least until I've opened a new video.

    I noticed that many people are having problems with youtube while using firefox and I have tried a few things:
    -uninstalling and reinstalling flash and java
    -from Firefox in safe mode
    -using the different antivirus software
    -Reinstall Firefox

    I read that this could be a problem with the whole Google being all buddy-buddy with Adobe thing, but I'm skeptical.

    So, is it possible to get YouTube working properly?

    Thank you!

    You can check for problems with the latest version of the Flash plugin and try these:

    • disable an eventual extension of the browser for Firefox Plugin RealPlayer Record and if installed RealPlayer update
    • Disable protected mode in the plugin Flash (Flash 11.3 + on Windows Vista and later versions)
    • turn off hardware acceleration in the Flash plugin
  • The host in maintenance mode

    Is there a way to determine who put the hosts in maintenance mode and when (if there is no tasks/events in VC) VC, D/B.

    Something similar in the context of "that erased my VM.

    THX,

    Lalit

    Of course, look for the EnteredMaintenanceModeEvent event.

    Something like that

    Get-VIEvent -Entity (Get-VMHost ) -Start (Get-Date).AddDays(-7 ) | where {$_.GetType().Name -eq "EnteredMaintenanceModeEvent"} |Select @{N="Host";E={$_.Host.Name}},CreatedTime,UserName
    

    This will search for all hosts in the last 7 days.

  • While putting the host in maintenance mode, I'm stuck at 2%

    While putting the host in maintenance mode, I'm stuck at 2%

    With the message at 2% it get stuck below.

    "Waiting for machines virtual to be powered off or migrated. In a DRS cluster, see the page of defects on the tab of the DRS for troubleshooting. "

    When you put a host in Maintenance Mode, the virtual machine will be generally migrated to other hosts automatically by the Drs there are reasons why it would not work.

    Some of them are:

    • You do not have DRS licensed (only included in Enterprise and Enterprise Plus)
    • DRS is set to manual
    • You have the DRS, but the virtual machine connected local resources (such as the CD-ROM player,...)
    • You have the DRS, but there are no hosts available because of rules configured to affinity/Anti-Affinity
    • Not available on other host resources

    In both cases, you will have to solve the issue and migrate virtual machines to other hosts or stop the virtual machines. As soon as he has no more power on virtual machines on the host, it will enter into Maintenance Mode.

    André

  • Laptop 15 R-063tu: black screen occurs for a few seconds when the charger is connconnected

    Mr President, there are a lot of problems occurred after the upgrade to windows 10 but I have a lot of them except that, when plugged into the charger for my laptop on the screen goes black for a few seconds(3-4) and even when I plugged. He was failed on the help of version.please victory 8.1.

    Hi there @Dip009,

    Thank you for joining the Forums HP's Support and welcome! It is a great place to ask questions, find solutions and get help from others in the community! I read your post on the Forums of HP Support. I wanted to join you and help! I understand that you had upgraded to Windows 10 and now you have a problem with the screen going black when you plug the AC adapter or disconnect your laptop of HP 15-r063tu.

    You get an error with the black screen?

    Have you tried to see if you get the black screen in Mode safe?

    Have you tried to run the Troubleshooter of power?

    Have you checked the power settings to ensure that the brightness is not set to 0% when the power cord is plugged?

    Have you tried to go to change advanced power settings to ensure that none of these settings are defined to enable the black display when it is plugged in?

    Have you tried to do Windows updates?

    Have you tried to make updates using the HP Support Assistant? Here is a link to the HP Support Assistant, if you need it. Simply download and run the application and it will help with the software and drivers on your system at the time of purchase or need to be updated.

    Another option to try would be to go on the software of HP 15-r063tu notebook PC and the driver page, click the check now orange and HP will identify missing or outdated drivers and software necessary.

    I have a couple of documents for you to read for more troubleshooting. Here's one called Management of power (10 of Windows) Options. Here is another document for you to Microsoft called Troubleshooting black screen problems.

    Please let me know if I answered your question by clicking the "Thumbs up" if the troubleshooting in this post steps solves the problem for you please click on the button "Accept as Solution" . This will allow to the others is that present the same problem a solution also. If you need assistance, I would be more than happy to continue to help you. Please just re-post with the results of the resolution of the problems.

    Thank you!

  • YouTube videos are green for a few seconds when they start, quickly moving and switch between fullscreen and windowed mode

    suddenly, last night something happened with youtube. whenever I run a video on youtube its green for a few seconds, then it goes back to normal. its also green when I fast forward/jump and when I change between full screen and windowed. I linked to a screenshot of how it looks as if I googled this problem I find something else where people get a green screen but no picture at all and that it lasts the entire video.

    I tried updating the drivers for my graphics card. I tried to play on my nvidia card rather than use my intel graphics hd 4600 and still got the same result, but instead to get a green image, it was really dark almost black. I also tried to reinstall flash even downgrade to an earlier version, but nothing does. and the strange thing is that I only have this problem on youtube and only through firefox so I even tried reinstalling firefox, but that did not work either

    I found 2 things of this kind of help.
    the first solution is to disable hardware acceleration, but instead to get a green image for a few seconds, image frozen for the same period of time and then play and she is like when its Green, when I start it up, jump and change to full or windowed.

    the second solution I found in support for mozilla, to change the HTML5 player. But even if this player works great I really like it. for some reason any the break from the drive when I change between full screen and windowed mode and I don't like these pop-up windows get you that its now in full screen and I can press ESC to quit.

    These are just little things, but I would like to return the standard player.
    If anyone knows anything that could help me with this please let me know.

    This is the screenshot:
    http://i1285.Photobucket.com/albums/A584/JimZiii/1_zpsb3d41a08.PNG

    What a little wild speculation?

    YouTube uses a technology that has chopped videos in individual pieces, which is probably video serve more easily, but could create more opportunities for issues when moving in the video. There is an add-on called Center of YouTube that allows you to disable this technology and back to the days of one big file. Might be worth a try.

  • Screen of HP Pavilion 15 turn off for a few seconds when I turn on or off charger

    Hello

    I bought new 15 hp Pavilion. I noticed several times when I turn on or turn off my charger, screen off for a few seconds and then after a few second screen turned on. Please help me its furstating me.

    > It is customary, and in this case necessary to provide you with the exact model of Notebook, you have a problem - with. [There are MANY variants of models of HP Pavilion 15 - T, for example.]

    > You should always be sure you have installed/applied all updates for all the hardware devices on your laptop, and all THE updates of Windows marked '' Important '' and all updated Windows "optional"-section for any hardware device in your laptop including service updates Windows detects (and offers an update). "."

    > For example, this link: http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?os=4158&lc=en&cc=us&dlc=en&sw_lang=&product=678785 has the latest HP drivers and patches for a specific variant of the Pavilion 15-T.

    > AFTER you are certain that you have all the latest drivers and patches on the spot, you can try the 'old trick' as follows: stop Windows; When your laptop is turned off completely (after complete closure), THEN remove the connector of the AC adapter / CC and remove the battery.

    > Hold DOWN the button of power without interruption for a full 60 seconds. Then replace your battery in your laptop. Do not connect your power adapter. Turn on the computer laptop and logon in Windows. Check the settings of control Panel\Power Options and know the level of your battery Charge. If it is less than 25%, then (and only then) plug in your adapter and connect it to your laptop... and leave the charge the battery up to "completely" to the level of 98 to 100%. * Note: If your card has a removable cord AC connector, make sure that the connection is "tight". If you still think that your adapter is defective, GET a NEW one! Damage a laptop for $400 - $800 is NOT worth it, compared to the cost of a new adapter.

    > Use the built-in help of your laptop on how to DISABLE (!) "Hibernation" and eliminate this CAUSING trouble 'feature' in Windows PC. When you did, always restart Windows, to be sure, the changes are applied. Many changes and take 'Entirely' product updates only "for" stop or "during" startup of Windows PCs. [while Windows O.S. 'turns', most of its system files is LOCKED].

    > FYI: let always your battery run down to him below highlights you plug in your sector/charger adapter. Charge a rechargeable battery 'medio-load-levels' causes shorter battery life...

  • CC of Photoshop seems to hang for a few minutes when you import Lightroom CC using the Spot Healing Brush.

    Recently updated Lightroom LR CC and CC updated Photoshop. When I "edit a photo in Photoshop CC", Photoshop seems to crash shortly after the image is loaded. Using the Spot Healing Brush just seems to hang the system for a few moments. Sometimes, I left the window and comes back only to see the large tracts of "to be edited" trails on the image. When they came, I have no idea. After an eternity, these trails are published. I have no idea where Photoshop is going and what is the cause.

    It doesn't look like we'll be much help then, but you use a similar thread in the LR forum?  No, I see that it is the only wire you have anywhere.

    This looks more like a LR problem, so go ask there as well:

    Photoshop Lightroom

    Lightroom does not launch or closes automatically after the splash screen

  • VMotion after putting the host in maintenance mode

    I would like a way to put a server esx in maintenance mode and let it automatically script vmotion guests to other hosts. It's about default behavior in the GUI, but when I use set-vmhost-maintaining state in the powercli, the host will just wait until all the vm is turned of / of are migrated manually, before going to interview.

    An easy way to achieve this, without loop through all the vm on the host?

    Thank you

    Maikel

    Hello

    Current behavior of the whole-VMHost (in vSphere PowerCLI 4.0) is an error report if it are turned off.

    Game-VMHost myHost-Maintenance State

    Game-VMHost: 15.10.2009?. 17:47:22 set-VMHost BAECC66D-9238-4AA3-829 a-76

    0E195F7DF1 there are one or more powered on virtual machines on the host myHost. The host is in maintenance mode once all virtual machines are turned off.

    On line: 1 char: 11

    ++ Set-VMHost< -vmhost="" myhost ="" -state="">

    However you can use the HostSystem.EnterMaintenanceMode method as a workaround.

    $h = Get-VMHost myHost | Get-View -Property Name
    $task = $h.EnterMaintenanceMode_Task(-1, $true)
    $task | Get-ViObjectByVIView | Wait-Task
    

    Here's what the SDK documentation says on the migration of virtual machines

    Operation not directly initiate evacuation operations or power off virtual machines. However, if the host is part of an active cluster with VMware DRS, DRS provides recommendations for migration to evacuate VMS under tension. If the DRS is in fully automatic mode, they are automatically on demand. If the host is part of a cluster and the task is published by VirtualCenter with evacuatePoweredOffVms set to true, the task will not succeed unless all the virtual computers turned off are reregistered to other hosts. If VMware DRS is enabled, VC will evacuate VMS power off automatically. The task is cancelable.

    Kind regards

    Yasen

  • Why Adobe Acrobat hangs for a few seconds when first creating text box?

    I use Adobe Acrobat Pro 11.0.11.

    Usually, whenever I do the first text box after awhile since I finally used Adobe, it hangs for 5 seconds. Would it be a matter of Adobe or a hardware problem?

    These symptoms result from a combination of the internal architecture of Acrobat and your hardware configuration.

    When the first load of Acrobat when you explicitly call Acrobat or when you double-click a PDF file, only the minimum part of the program which is required to view a PDF file is initially loaded into memory. This excludes the required modules to support the myriad of features that supports Acrobat, including forms, preflight, signatures, editing PDF files, etc. What if all the code needed to be charged at time of initial start Acrobat, that the starting time would be too long! However, this additional code is loaded as needed. It is the reason why you see the delay of the first time you create a text box and not for the following text boxes.

    In addition, when you close your last document, Acrobat isn't immediately shutdown. For example, if you double-click a PDF file for a short time after you think that acrobat is is no longer running, it quickly shows your PDF file and even the creation of the first text box will not only delay you previously registered.

    This brings the question of how can you minimize the delay? There are several factors at work here. The first is the amount of memory real you have on your system. If you have many programs running and not a lot of memory, you end up with a virtual memory with the page fly resultant defects requiring operations on disc for you get the memory required by Acrobat and program memory pages that are stored on the disk. Then of course, the speed of your disks makes a difference both dealing with management as well as the portions remaining Acrobat loading of virtual memory needed for editing functions you call. A disk 5400 RPM is much slower than a 7200 RPM drive, which in turn is very slow compared to a SSD (solid state disk). And if you do not have a SSD and your magnetic disk drive is fragmented, more disk performance suffers. Bottom line is that adequate main memory and a disk capacity and speed higher will help. And if your drive is not an SSD, defragment your drive on a regular basis.

    -Dov

    PS: Protected mode or repair your installation of Acrobat are irrelevant here!

  • vMotion fails at 9% - Source host cannot connect to the destination host

    Hello

    I wonder if someone could shine any light on why vmotion fails to occur between an ESXi host who has just been restarted, in order to test HA. I have the following configuration:

    3 x ESXi5 DL360 G7s with two 4-way NIC

    VSphere Vcenter 5

    1 x cluster configured for DRS HA

    2 x Procurve 2910 - 24G

    The switches are not connected to each other.

    Both switches are configured as such:

    1894901.png

    All ports are not marked. NO PLEASE, no routing

    Each host vMotion vSwitch is connected to two switches by 1 x 1 GB nic

    I configured a vswitch on each host of vMotion. There are two ports vmkernel with two IPS on the same subnet. There are two vmnic attached to the vSwitch. On each port, a Vmic is configured to be active while the other is unused. I enabled frames on the vSwitch and 2910 switches. A VLAN has been configured on the two predisposees 2910 for vmotion with frames and defined traffic on "no label". I can successfully vmkping all the ip s vmotion on all ESXi hosts. However, when I test HA by stopping an ESXi host, when I restart the ESXi host I am unable to vmotion in that ESXi host. When I test vmkping I find that the host rebooted can only vmkping itself and no other host can vmkping it. Vmotion attempt fails on 9% and errors with the source host cannot connect to the destination host. If I restart the two switches of 2910 I can then perform a vMotion and the vmkping is a success.

    Help, please?

    Thank you

    lansley2000 wrote:

    I have since read up on the various load balancing options and find that your method is preferable during the method of "ip hash.

    I'll make the change to "port based" and link the two switches

    Hello Simon, I think it's a good option to do, since the hash IP load balancing is a bit special and really requires both interfaces to connect to the same physical switch, which must also have a specific configuration. If you like the results after the new changes.

  • Error: Tunnel research group using certificate cards failed for the peer certificate

    I have the research group of the Tunnel using certificate cards failed for peer certificate error when signing the SAA on my SSL VPN. I have the certificate installed on the client, I have no mapping of certificate created.

    I can map user certificate to a user name used to connect to the SSL VPN?

    Y at - it good documentation describing the certificate mapping?

    Off topic: I listen to a podcast of TAC security this week, and one of the members of the Group of experts preparing for an introduction to PKI to Networkers (I don't remember not the year). Videos of these presentations are available?

    Once more, I appreciate all the help.

    Triton

    Hello

    I guess the previous fill command comes in the webvpn under tunnel like this group attributes:

    tunnel-group test general attributes

    user name of certificate-CN

    tunnel-group test webvpn-attributes

    pre-fill-username-customer ssl

    No aaa authentication

    aaa authentication certificate

    You can also specify which field of the certificate you want to that username is taken.
    Users will be able to change the username (which beats the objective right?), but then they will not be able to connect using any other username. So if they change they will not be able to connect.
    Also, you can use the username to hide which will not allow users to change the user name it will be greyed out.
    And Yes, it's essentially a double authentication coz we use the certs and aaa to authenticate a user.
  • Display flashes for a few seconds

    Title: Display flashes

    Display will blink for a few seconds when windows 7 sleep spell.

    Hello

    -What is the brand and model of the computer?
    -You are aware of any changes made on the computer before this problem?
     
    I suggest you to update the display drivers and check if the problem persists.
    Updated a hardware driver that is not working properly
    For reference:
    Flicker of the correct monitor (refresh rate)
     
    Hope this information helps.
  • How can I automate the creation of a partition from scratch for a large number of hosts?

    I would like to help with the following steps to cerate a partition scratch on all hosts that have no script, then reprot back to me which guests were to have created.

    all my ESXi hosts have a LUN to start with the space, all the boot LUN are named with the same naming that is conveiton "hostname-localstorage.

    I would like to come up with a script that will check each host in a cluster for a partition of scaratch, if it does not create the folder ".locker -hostname" on local storrage and then set the partition scratching to the new location. Then the new report to me, which is already a partition from scratch and those to whom he owed create a parition scratch to so I can plan then a good time to put the hosts with newly created partitions scratch mainenance mode and restart their.

    I glued the manual way to do it below. I'd appreciate any help anyone can give and it will be well appreciated. I try to avoid to do 1000 hours below. Thanks in advance...

    Note: Before you begin, make sure that/tmp/scratch exists. If it does not exist, create it by using the command #mkdir/tmp/scratch.
    1. Open a command prompt where the PowerCLI is installed.
    2. Connecting to host ESXi using the command:

      connect-viserver ESXHostnameOrIP

    3. A list of the data stores accessible by using the ESXi Host command:

      Get-Datastore

    4. Mount a read/write as a PSDrive data store using the command:

      New-PSDrive -Name "mounteddatastore" -Root \ -PSProvider VimDatastore -Datastore (Get-Datastore "DatastoreName")

    5. Access the PSDrive new using the command:

      Set-Location mounteddatastore:

    6. Create a directory named only for the ESXi host using the command:

      New-Item "DirectoryName" -ItemType directory

      For example:

      New-Item ".locker-ESXHostname" -ItemType directory

    7. Check the current value of the ScratchConfig.ConfiguredScratchLocation configuration with the command option:

      Get-VMHostAdvancedConfiguration -Name "ScratchConfig.ConfiguredScratchLocation"

    8. Change the ScratchConfig.ConfiguredScratchLocation configuration option, specifying the full path to the directory created in step 6, using the command:

      Set-VMHostAdvancedConfiguration -Name "ScratchConfig.ConfiguredScratchLocation" -Value "/vmfs/volumes/DatastoreName/DirectoryName"

      For example:

      Set-VMHostAdvancedConfiguration  -Name "ScratchConfig.ConfiguredScratchLocation" -Value  "/vmfs/volumes/Datastore1/.locker-ESXHostname"

    9. The ESXi host in maintenance mode and restart so that the configuration change to take effect.

    Mike P

    I have something similar to use the script below.

    I think you'll find that your out in there.

    $configName = 'ScratchConfig.ConfiguredScratchLocation'
    
    $mode,$warn = Get-PowerCLIConfiguration | %{$_.DefaultVIServerMode,$_.DisplayDeprecationWarnings}Set-PowerCLIConfiguration -DefaultVIServerMode "Multiple" -DisplayDeprecationWarnings:$false
    
    Get-VMHost | where {$_.ExtensionData.Config.Product.ProductLineId -eq "embeddedEsx"} | %{    Connect-VIServer -Server $_.Name -User root -Password MyPswd    $scratch = (Get-VMHostAdvancedConfiguration -VMHost $_)[$configName]    $tgtName = ".locker-" + $_.Name.Split('.')[0]    if($scratch -notmatch ($tgtName + "$")){        $ds = Get-Datastore -VMHost $_ | where {$_.Name -match "localstorage"}        if($ds){            Set-Location -Path $ds.DatastoreBrowserPath            New-Item $tgtName -ItemType directory            Set-VMHostAdvancedConfiguration -Name $configName -Value ('/vmfs/volumes/' + $ds.Name + '/' + $tgtName) -Confirm:$false            Set-VMHost -VMHost $_ -State 'Maintenance' -Confirm:$false            Restart-VMHost -VMHost $_ -Confirm:$false            Set-VMHost -VMHost $_ -State 'Connected' -Confirm:$false        }    }    Disconnect-VIServer -Server $_.Name}
    
    Set-PowerCLIConfiguration -DefaultVIServerMode $mode -DisplayDeprecationWarnings:$warn
    

    It uses the DatastoreBrowserPath that Vitali has suggested.

  • Will be the virtual machine starts on another host (during the blackout) if he can't switch to Maintenance Mode?

    Hello

    We use a cluster with 2 5.1 ESXi hosts.  When attempting to place an ESXi host in Maintenance mode, he failed and said "not enough resources to satisfy configured level of failover for HA.

    We would like to know, just in case where one of these ESXi hosts failed, VMs will be start on another ESXi host (at least some) or all of them will be down (i.e. None of them start)?  If no virtual machine will be migrated, we will change our level of failover for HA.

    Thank you

    This occurs when you enable admission control on your HA cluster. When the failure of the host occurs and you have Admission control is enabled, it will let all market on the other host machines because it violates the constraints of availability.

    If you turn this off all VM is switched even if you do not have enough resources to accommodate all the s VM on a single host. On a long term, I would say that you have sufficient resources to allow this to happen. But for now, you can turn it off and try.

Maybe you are looking for

  • Statement "Ariana Maxwell.

    Hello. I was talking to my buddy on Skype when he asked me who was Ariana Maxwell. Since none of us knew who she was, I warned him to be skeptical about him. I have a bunch of screenshots of my convo with my friend, Nick, I think that it will take ou

  • back up my ipod touch

    I have a touch screen HP using window 7. I need to backup my Ipod before you synchronize with itunes and I have songs from the CD and other sources that will be lost if I back up on itunes. I tried everything you are looking for online. It has been s

  • Play65 doesn't ' work why?

    Play65 doesn't ' knit 6 days why?

  • Where can I find the BOOT.INI file. INI?

    Hello On my old computer, HP Compaq nc6120, produktnummer: PU884ET #AK8, Serienummer: CNU508F2WQ, I installed Windows xp and windows 2000. Before when I started this computer I could choose if I want to start windows xp or windows 2000. But lately th

  • After an automatic update to my Adobe Flash, I'm having a problem when I try to play videos.

    Original title: Adobe Flash issue After an automatic update to my Adobe Flash, I'm having a problem when I try to play videos. When I click on the arrow 'play' for a video, that I get this pop-up window that has something to do with having given perm