是否有可能在MCollective客户端和服务器端使用不同的连接器?

可以在客户端使用STOMP连接器,在服务器端使用ActiveMQ? 这是我的configuration:

#client.cfg connector = stomp plugin.stomp.host = localhost plugin.stomp.port = 6163 plugin.stomp.user = mcollective plugin.stomp.password = password #server.cfg connector = activemq plugin.activemq.pool.size = 1 plugin.activemq.pool.1.user = mcollective plugin.activemq.pool.1.password = password plugin.activemq.pool.1.host = localhost plugin.activemq.pool.1.port = 6163 

将服务器切换到ActiveMQ后,mco ping不会得到响应。

ActiveMQ代理支持多种传输连接器 ,所以只要代理定义了STOMP监听器 ,该configuration就应该是有效的。

在你的情况下,如果你碰巧使用了PuppetLabs仓库或者你的代理的合适的configuration文件,那么在/etc/activemq/activemq.xml文件中的TransportConnector声明中添加一个监听器:

 <transportConnectors> .... <transportConnector name="stomp" uri="stomp://localhost:61613"/> </transportConnectors>