public class VdsNotRespondingTreatmentCommand<T extends FenceVdsActionParameters> extends RestartVdsCommand<T>
_executor, mVmListBYTES_IN_GB| Constructor and Description |
|---|
VdsNotRespondingTreatmentCommand(T parameters) |
| Modifier and Type | Method and Description |
|---|---|
protected FencingExecutor |
createExecutorForProxyCheck()
Create an executor which retries to find a proxy, since this command is automatic and we don't want it to fail
fast if no proxy is available, but to try a few times.
|
protected void |
executeCommand()
Only fence the host if the VDS is down, otherwise it might have gone back up until this command was executed.
|
AuditLogType |
getAuditLogTypeValue() |
protected void |
HandleError() |
protected void |
setStatus() |
getDelayInSeconds, getRerties, getVmList, handleSpecificCommandActions, RollbackcanDoAction, DestroyVmOnDestination, getFencingSucceeded, RestartVdsVms, setFencingSucceeded, setStatus, waitForStatusAlertIfPowerManagementNotConfigured, AlertIfPowerManagementOperationFailed, AlertIfPowerManagementOperationSkipped, getDescription, getPermissionCheckSubjects, InitializeVds, IsPowerManagementLegal, LogSettingVmToDown, RunSleepOnReboot, TestVdsPowerManagementStatusacquireLock, addCanDoActionMessage, addCanDoActionMessage, addValidationGroup, CanDoActionOnly, compensate, ConcreteCreateTask, CreateReturnValue, CreateTask, EndAction, endActionInTransactionScope, EndSuccessfully, EndWithFailure, ExecuteAction, freeLock, getActionReturnValue, getActionState, getActionType, getBusinessEntitySnapshotDAO, getCommandShouldBeLogged, getCompensationContext, getNow, getObjectLockingId, getParameters, getParametersForTask, getReturnValue, getSucceeded, GetTagsAttachedToObject, getTaskIdList, getTransactionScopeOption, getTransactionTimeout, getValidationGroups, IsBackwardsCompatible, isInternalExecution, IsUserAutorizedToRunAction, RevertTasks, runInTransaction, runVdsCommand, setActionMessageParameters, setActionReturnValue, setCommandShouldBeLogged, setCompensationContext, setDescription, setInternalExecution, setSucceeded, UpdateTasksWithActionParameters, validateInputsAddCustomValue, AppendCustomValue, DefaultLog, getCurrentUser, GetCustomValue, getCustomValues, getKey, getSnapshotName, getStorageDomain, getStorageDomainDAO, getStorageDomainId, getStorageDomainName, getStoragePool, getStoragePoolDAO, getStoragePoolId, getStoragePoolName, getUserId, getUserName, getVds, getVdsDAO, getVdsGroup, getVdsGroupDAO, getVdsGroupId, getVdsGroupName, getVdsId, getVdsIdRef, getVdsName, getVm, getVmDAO, getVmId, getVmIdRef, getVmName, getVmStaticDAO, getVmStatisticsDAO, getVmTemplate, getVmTemplateDAO, getVmTemplateId, getVmTemplateIdRef, getVmTemplateName, log, setCurrentUser, setSnapshotName, setStorageDomain, setStorageDomainId, setStoragePool, setStoragePoolId, setUserId, setUserName, setVds, setVdsGroup, setVdsGroupId, setVdsId, setVdsIdRef, setVdsName, setVm, setVmId, setVmName, setVmTemplate, setVmTemplateId, setVmTemplateNamegetEndTime, getLegal, getTimeoutObjectId, getUseTimout, setEndTime, setTimeoutObjectId, setUseTimoutpublic VdsNotRespondingTreatmentCommand(T parameters)
protected FencingExecutor createExecutorForProxyCheck()
createExecutorForProxyCheck in class FenceVdsBaseCommand<T extends FenceVdsActionParameters>protected void executeCommand()
executeCommand in class RestartVdsCommand<T extends FenceVdsActionParameters>protected void setStatus()
setStatus in class FenceVdsBaseCommand<T extends FenceVdsActionParameters>protected void HandleError()
HandleError in class RestartVdsCommand<T extends FenceVdsActionParameters>public AuditLogType getAuditLogTypeValue()
getAuditLogTypeValue in class RestartVdsCommand<T extends FenceVdsActionParameters>Copyright © 2012. All Rights Reserved.