re-enable HA logic on VM state synchronization for VMware

This commit is contained in:
Kelven Yang 2011-08-15 16:58:54 -07:00
parent de3662405b
commit 73c642ec59
1 changed files with 0 additions and 10 deletions

View File

@ -187,11 +187,6 @@ public class HighAvailabilityManagerImpl implements HighAvailabilityManager, Clu
return;
}
if(host.getHypervisorType() == HypervisorType.VMware) {
s_logger.warn("Skip HA for VMware host " + host.getId());
return;
}
s_logger.warn("Scheduling restart for VMs on host " + host.getId());
final List<VMInstanceVO> vms = _instanceDao.listByHostId(host.getId());
@ -275,11 +270,6 @@ public class HighAvailabilityManagerImpl implements HighAvailabilityManager, Clu
return;
}
if(vm.getHypervisorType() == HypervisorType.VMware) {
s_logger.info("Skip HA for VMware VM " + vm.getInstanceName());
return;
}
if (!investigate) {
if (s_logger.isDebugEnabled()) {
s_logger.debug("VM does not require investigation so I'm marking it as Stopped: " + vm.toString());