Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 232869

Start-vm via PCL fails for invlaid host state

$
0
0

Hi,  We are seeing some odd behavior during VMhost maintenance mode.

 

First would be a feature/functional change to the evacuation of images...

Move all powered off images first to reduce startup failure for Invalid host errors

Migrate Running machines after all powered off images have been moved

 

Is there a method to determine if a host is going into Maintenance mode...to avoid the  start-vm failure?

 

Images on a host when it is going into maintenace mode cannot be started with Start-vm $vmname, but the UI does the correct thing by migrating the VM to another host and registering it on the new host and starting the image.

 

Start-VM : 1/17/2013 12:56:08 PM    Start-VM        The operation for the entity VirtualMachine-vm-18730 failed with the following message: "The operation is not allowed in the current state of the host."
At line:1 char:32
+ get-vm bvt-php-server |start-vm <<<<
    + CategoryInfo          : NotSpecified: (:) [Start-VM], InvalidHostState
    + FullyQualifiedErrorId : Client20_TaskServiceImpl_CheckServerSideTaskUpdates_OperationFailed,VMware.VimAutomation.ViCore.Cmdlets.Commands.StartVM


Viewing all articles
Browse latest Browse all 232869

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>