Examples of MaintainCommand


Examples of com.cloud.agent.api.MaintainCommand

    }

    private boolean doMaintain(final long hostId) {
        HostVO host = _hostDao.findById(hostId);
    MaintainAnswer answer = (MaintainAnswer) _agentMgr.easySend(hostId,
        new MaintainCommand());
        if (answer == null || !answer.getResult()) {
            s_logger.warn("Unable to send MaintainCommand to host: " + hostId);
        }

        try {
View Full Code Here

Examples of com.cloud.agent.api.MaintainCommand

            return true;
        }

        if (host.getHypervisorType() == HypervisorType.KVM) {
      MaintainAnswer answer = (MaintainAnswer) _agentMgr.easySend(hostId,
          new MaintainCommand());
        }

    _agentMgr.disconnectWithoutInvestigation(hostId,
        Event.ShutdownRequested);
        return true;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.