diff --git a/core/src/com/cloud/hypervisor/xen/resource/XenServerConnectionPool.java b/core/src/com/cloud/hypervisor/xen/resource/XenServerConnectionPool.java index ccac8c341a5..d2124fc9f55 100644 --- a/core/src/com/cloud/hypervisor/xen/resource/XenServerConnectionPool.java +++ b/core/src/com/cloud/hypervisor/xen/resource/XenServerConnectionPool.java @@ -641,7 +641,13 @@ public class XenServerConnectionPool { if (s_managePool) { try { Map args = new HashMap(); - host.callPlugin(mConn, "vmops", "pingxenserver", args); + host.callPlugin(mConn, "echo", "main", args); + } catch (Types.SessionInvalid e) { + if (s_logger.isDebugEnabled()) { + String msg = "Catch Exception: " + e.getClass().getName() + " Can't connect host " + ipAddress + " due to " + e.toString(); + s_logger.debug(msg); + } + PoolEmergencyResetMaster(ipAddress, mConn.getIp(), mConn.getUsername(), mConn.getPassword()); } catch (Types.CannotContactHost e ) { if (s_logger.isDebugEnabled()) { String msg = "Catch Exception: " + e.getClass().getName() + " Can't connect host " + ipAddress + " due to " + e.toString();