use of org.ovirt.engine.core.bll.pm.FenceProxyLocator in project ovirt-engine by oVirt.
the class InitVdsOnUpCommand method processFence.
private void processFence() {
vdsProxyFound = new FenceProxyLocator(getVds()).isProxyHostAvailable();
if (getVds().isPmEnabled() && vdsProxyFound) {
HostFenceActionExecutor executor = new HostFenceActionExecutor(getVds());
fenceStatusResult = executor.fence(FenceActionType.STATUS);
fenceSucceeded = fenceStatusResult.getStatus() == Status.SUCCESS;
}
}
Aggregations