简体   繁体   English

安装多个实例Mule ESB

[英]Installing Multiple Instances Mule ESB

I have gone through the mule doc. 我看过m子文件。 https://www.mulesoft.org/documentation-3.2/display/MULE2INTRO/Installing+Mule I am trying to understand how to make multiple instances from a single esb server. https://www.mulesoft.org/documentation-3.2/display/MULE2INTRO/Installing+Mule我正在尝试了解如何从单个esb服务器制作多个实例。 I have to make a cluster of the instance. 我必须对实例进行群集。 But I havent get any clear idea about doing this. 但是我对此没有任何明确的想法。

I am using a ubuntu OS. 我正在使用ubuntu操作系统。

I want to know that. 我想知道 1) Do I have to make 2 directory which containing to 2 server. 1)我必须做2目录包含到2服务器。 2 if no Do I have to configure 1 server So that I can make as many instance as I can. 2,如果否,我必须配置1台服务器,以便可以创建尽可能多的实例。 3 if yes Then please can some one help me with step. 3如果是,那么请有人帮我一步。

I often set up multiple mule instances on Ubuntu linux in parallel, and I use parallel directories that contain the Mule standalone installation. 我经常在Ubuntu linux上并行设置多个mule实例,并且使用包含Mule独立安装的并行目录。

Here is a template upstart script I have used to run it on startup under the mule user. 这是一个模板启动脚本,我曾经在mule用户的启动下运行它。 You should copy this file to /etc/init/mule- instance-name .conf, and create an associated file /etc/default/mule- instance-name in which you set the MULE_HOME environment variable to the directory where you installed that instance. 您应该将此文件复制到/ etc / init / mule -instance-name .conf,并创建一个关联文件/ etc / default / mule -instance-name,在其中将MULE_HOME环境变量设置为该实例的安装目录。 。

description "Run Mule ESB instance 1"
author "Ryan Hoegg"
setuid mule
setgid nogroup 

# we need real ethernet before starting:
start on (local-filesystems and net-device-up IFACE!=lo)
stop on runlevel [016]
kill timeout 30
script
    . /etc/default/mule-instance1
    exec $MULE_HOME/bin/mule
end script

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM