MULE 关于Management Console(mmc)需要知道的基础内容(持续更新)

基础内容

MMC requires JDK 7 or newer to work correctly.

(1)MMC需要JKD7或者更新的版本才能正常运行。

MMC is compatible only with Mule ESB Enterprise . MMC is backward compatible with previous versions of Mule ESB

(2)MMC只能适配企业版的MULE ESB(社区运行时就算了~)。MMC是向后兼容(向下兼容)之前版本的MULE ESB(即MMC-3.6.0监控MULE ESB企业版3.5.0是没问题的)

(3)MuleSoft提供了MMC演练使用的地址 Walkthrough site

图源来自mule官网

The MMC agent contained in the Mule instance.which is responsible for:
facilitating data transfer between the Mule instance and the MMC
applying changes (i.e. thread pools, and configuration file changes) to the Mule applications

(4)MMC之所以能够监控Mule Esb 实例,是通过MMC aagent来通信的。Mule实例已经包括了MMC agent。MMC agent负责在mmc和mule instance之间传输数据。负责配置的更改作用到mule instance中。

The MMC Instance, the Web-based interface that interacts with Mule through:
the MMC agent
JMX functionality exposed by Mule.

(5)MMC Web 程序之所以能获取Mule实例的数据是基于MMC agent和Mule公开的JMX功能。

The transactional database, that stores business event transactional data collected by the MMC agent within the Mule instance. This database by default is an H2 database.

(6)MMC Web程序内嵌了H2数据库,用来保存 MMC agent从Mule Instance获取到的 business event transactional data。可另行使用其他厂商数据库。

MMC’s REST interface, which exposes MMC functionality through a REST API. MMC users can invoke this API to programmatically Mule instances paired with MMC.

(7)MMC提供了公开的REST API接口,可以通过编程的方式来调用这些API,从而将MMC和Mule Instance按照编程方式进行配对。

(8)对于mmc-distribution-mule-console-bundle-x.x.x.zip压缩包,均属于Trial Version(试用版),是MuleSoft用来供体验的MMC版本,官网说这种试用版只适合用来评估MMC是否合适你所使用,但不应该考虑在生产环境上使用。因为生产环境上应该使用的是Production Version
具体描述可以看这里Installing the Production Version of MMC

Each Mule ESB server can only be registered to one MMC at a time. If you want to register a Mule ESB server to a new MMC, you must first unregister it in the MMC that the server is currently registered with

(9)每一个Mule ESB server只能被注册到一个MMC,如果想将已经注册到MMC的Mule ESB server重新注册到另外一个新的MMC,必须要在原MMC上unregister


Registration of MMC with Mule Instances (用mule实例来注册mmc)

在企业版运行时文件结构里面有一个名为.mule的文件夹,该文件夹是与MMC agent有关系的。即使你删除了这个文件夹,启动企业运行时仍然会重新生成该文件夹及其下面的文件。在MMC管理平台中,我们添加Server需要提供一个Agent URL,类似于http://localhost:7777/mmc-support这样子的。正是这个地址使得MMC可以与Mule Instance中的MMC agent通信。
需要注意.mule/.agent/目录下的keystore.jks这个文件还挺重要的。

Each Mule instance can only be registered with one MMC instance, but each MMC instance can manage several Mule instances. There is no logical limit to the number of Mule instances that can be paired with a single MMC instance.

每个Mule实例只能被一个MMC实例所注册,但是一个MMC实例可以管理多个Mule实例,逻辑上没有限制MMC实例管理Mule实例的上限数量。

It is possible that you are not able to unregister a Mule server via the MMC, for example if the MMC has been undeployed and is no longer available.

对于已经被注册到MMC的Mule ESB server,如果MMC不再使用,且未将server在MMC中unregistered,则可以通过删除keystore.jks这个文件来删除server与MMC的关联。

官方文档参考资料
MMC简单介绍
MMC结构介绍

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值