安装环境
序号 |
项目 |
值 |
1 |
OS版本 |
Red Hat Enterprise Linux Server release 7.1 (Maipo) |
2 |
内核版本 |
3.10.0-229.el7.x86_64 |
3 |
Tibco EMS |
8.2.0 |
4 |
JDK |
java version "1.7.0_80" |
节点信息规划
tibco的配置文件、数据文件都放在/mqdata/cfgmgmt/data目录下面,并且将主节点的该目录通过NFS形式共享给备节点使用。tibco可以开启多个实例。cfgmgmt此处可以根据业务名自己取名。
序号 |
IP地址 |
端口 |
主备 |
节点文件 |
1 |
192.168.9.216 |
7222 |
主 |
/mqdata/cfgmgmt/data |
2 |
192.168.9.217 |
7222 |
备 |
/mqdata/cfgmgmt/data(NFS挂载) |
环境安装(按照正常安装步骤,碰到问题再解决)
1.安装tibco(此处以主节点为例,从节点也一样安装)
创建tibco用户
[root@elk02 ~]# groupadd -g 800 tibco [root@elk02 ~]# useradd -u 801 -g tibco -d /home/tibco/ tibco -s /bin/bash useradd: warning: the home directory already exists. Not copying any file from skel directory into it. Creating mailbox file: File exists [root@elk02 ~]# grep tibco /etc/passwd tibco:x:801:800::/home/tibco/:/bin/bash
创建tibco程序目录和数据目录
[root@elk02 ~]# mkdir /opt/tibco [root@elk02 ~]# mkdir /mqdata [root@elk02 ~]# chown -R tibco.tibco /mqdata [root@elk02 ~]# chown -R tibco.tibco /opt/tibco [root@elk02 ~]# ll -d /mqdata /opt/tibco drwxr-xr-x 2 tibco tibco 6 Oct 27 10:53 /mqdata drwxr-xr-x 2 tibco tibco 6 Oct 27 10:52 /opt/tibco [root@elk02 ~]# ll /opt/tibco/ /mqdata/ /mqdata/: total 0 /opt/tibco/: total 0
解压tibco安装包
[root@elk02 ~]# unzip TIB_ems_8.2.0_linux_x86.zip #解压tibco程序到/opt/tibco/目录下面 … [root@elk02 ~]# ll total 54768 drwxr-xr-x 2 root root 4096 Oct 28 2014 assemblies drwxr-xr-x 2 root root 38 Oct 28 2014 licenses -rw-r--r-- 1 root root 10996 Oct 28 2014 product_ems_8.2.0_FeatureConfig.xml -rw-r--r-- 1 root root 3060 Oct 28 2014 README.LINUX -rw-r--r-- 1 root root 2720 Oct 28 2014 TIBCOUniversalInstaller-ems.silent -rwxr-xr-x 1 root root 54654976 Oct 28 2014 TIBCOUniversalInstaller-lnx-x86.bin -rw-r--r-- 1 root root 323 Oct 28 2014 TIB_ems_8.2.0_docinfo.html -rw-r--r-- 1 root root 1394900 Oct 20 2014 TIB_ems_8.2.0_license.pdf
使用以下命令安装,但是报错了,没有java
./TIBCOUniversalInstaller-lnx-x86.bin -console
安装JDK
[root@elk02 tibco]# ll -d /opt/jdk1.8.0_121/ drwxr-xr-x 8 oracle oinstall 4096 Mar 30 2017 /opt/jdk1.8.0_121/ 添加JAVA环境变量 [root@elk02 tibco]# tail -6 /etc/profile JAVA_HOME=/opt/jdk1.8.0_121/ PATH=JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH CLASSPATH=.:$JAVA_HOME/lib:$JAVA_HOME/jre/lib export JAVA_HOME export CLASSPATH export PATH [root@elk02 tibco]# . /etc/profile #应用配置 [root@elk02 tibco]# java -version java version "1.8.0_121" Java(TM) SE Runtime Environment (build 1.8.0_121-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
#再次安装tibco实例
还是报相同的错误,可能不支持JDK1.8,换成1.7的
[root@elk02 ~]# java -version java version "1.7.0_80" Java(TM) SE Runtime Environment (build 1.7.0_80-b15) Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
成功安装tibco
![](https://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif)
[root@elk02 ~]# ./TIBCOUniversalInstaller-lnx-x86.bin -console Initializing Wizard........ Launching InstallShield Wizard........ Created file /root/.TIBCO/install_2017-10-27.112148/productinfo/tibco_productinfo_beforeinstall.txt TIBCO Universal Installer - Welcome ----------------------------------- Welcome to the TIBCO Universal Installer The installation wizard will install the following products on your system. TIBCO EMS 8.2.0 TIBCO Software Inc. http://www.tibco.com Enter '1' to continue or '3' to cancel: [1] 1 TIBCO Universal Installer - TIBCO EMS 8.2.0 License Agreement ------------------------------------------------------------- END USER LICENSE AGREEMENT If you have another valid, signed agreement with TIBCO ("Licensor") or a TIBCO authorized reseller which applies to the specific Licensor Software, Software Services, Maintenance or Consulting Services, you are downloading, accessing or otherwise receiving, that other agreement shall control, otherwise by using, downloading, installing, copying, or accessing Licensor Software, Software Services, Maintenance or Consulting Services, or by clicking on "I accept" on or adjacent to the screen where these Terms may be displayed, you hereby agree to be bound by and accept these Terms. These Terms shall also apply to any Maintenance or Consulting Services you later acquire from Licensor relating to the Licensor Software or Software Services. You may place orders under these Terms by submitting separate Order Form(s). Capitalized terms used in these Terms and not otherwise defined, are defined at https://terms.tibco.com/posts/845635-definitions. 1. License Grant, Rights and Restrictions. Licensor provides Licensor Software on a Perpetual basis, embedded and delivered as part of Equipment, as Software Services and on a Subscription basis. The terms and conditions for each of the foregoing (including for evaluation purposes) are located at https://terms.tibco.com. The availability of Licensor Software in one or more of the foregoing license models is at Licensor’s sole discretion. 2. Maintenance. Licensor will deliver Maintenance as set forth in an Order Form. 3. Consulting Services. Customer may procure Consulting Services under an Order Form. Unless otherwise expressly agreed in an Order Form, all Consulting Services will be: (a) performed on a time and materials basis ("T&M"), with meals, lodging, travel and other reasonably necessary out-of-pocket expenses, such as hardware and software acquired by Licensor to support the project ("Expenses"), invoiced in addition to T&M fees, (b) deemed accepted upon delivery, and (c) owned by and remain the confidential information of Licensor, excluding Customer’s Confidential Information. 4. Fees. The effectiveness of these Terms or any Order Form is subject to the payment of all applicable fees. Unless otherwise agreed, Customer shall pay any fees and related charges set forth in an Order Form or which otherwise come due, net thirty (30) days from Licensor's invoice. A service charge of one and one-half percent per month (or such lower amount as permitted by applicable law) will be applied to all fees and charges that are not paid on time. Customer agrees to pay all sales, use, value-added, goods and services, consumption, withholding, excise and any other similar taxes or government charges, exclusive of Licensor’s income taxes. Except as set forth in the "Termination" or "Remedies" section, all fees and charges paid under or in connection with these Enter '1' to continue reading or '2' to skip reading: [1] 2 Do you agree to the terms of the license agreement? Enter 'Yes' to agree to the license terms or 'No' to exit this installer: Yes Enter '1' to continue, '2' to go back to the previous panel, or '3' cancel: [1] 1 TIBCO Universal Installer - TIBCO HOME Selection ------------------------------------------------ Choose the action you wish to perform. 1. Create a new TIBCO installation environment. 2. Choose an existing environment. Select an option by entering its number from the list above. [1] 1 Specify Environment Name. Environment Name cfgmgmt TIBCO Environment Home Directory: [/opt/tibco] /opt/tibco Environment Name: cfgmgmt Environment Location: /opt/tibco Is this the TIBCO Home environment you want to use? [Yes] Yes Enter '1' to continue, '2' to go back to the previous panel, or '3' cancel: [1] 1 TIBCO Universal Installer - Profile Selection --------------------------------------------- Choose one or more installation profiles. Installation Profiles preselect the installation features for you. You will have the option to customize your selections after making your profile choices. 1. [ ] 1) Development 2. [ ] 2) Server 3. [ ] 3) Client To select an item, enter its number. Enter '0' when you are finished. 1 1. [X] 1) Development 2. [ ] 2) Server 3. [ ] 3) Client To select an item, enter its number. Enter '0' when you are finished. 2 1. [X] 1) Development 2. [X] 2) Server 3. [ ] 3) Client To select an item, enter its number. Enter '0' when you are finished. 3 1. [X] 1) Development 2. [X] 2) Server 3. [X] 3) Client To select an item, enter its number. Enter '0' when you are finished. 0 Do you want to customize the install feature selections? [Yes] Yes TIBCO EMS 8.2.0 - Feature Selection ----------------------------------- Choose the features to install. 1. [X] EMS Server Baseline 2. [X] Development Kit 3. [X] EMS Client Baseline 4. [X] EMS Source 5. [ ] Hibernate (For Database Stores) To select an item, enter its number. Enter '0' when you are finished. 0 Selected Installation Profile(s) -------------------------------- 1) Development 2) Server 3) Client Product Feature Selections -------------------------- TIBCO EMS 8.2.0 [X] EMS Server Baseline [X] Development Kit [X] EMS Client Baseline [X] EMS Source [ ] Hibernate (For Database Stores) Do you wish to proceed with the above feature selections? Enter 'Yes' to proceed or 'No' to make changes. [Yes] Yes Enter '1' to continue, '2' to go back to the previous panel, or '3' cancel: [1] 1 TIBCO Universal Installer - Configuration Directory Selection ------------------------------------------------------------- Please choose a folder to be used as the TIBCO configuration destination for this installation environment. The configuration directory is used to store product configuration information. The folder must not already exist as a configuration destination for another TIBCO installation environment. Subdirectories tibco/cfgmgmt will be appended to this directory. TIBCO Configuration Directory: [/root/cfgmgmt] /opt Enter '1' to continue, '2' to go back to the previous panel, or '3' cancel: [1] 1 TIBCO Universal Installer - Pre Install Summary ----------------------------------------------- Pre-Install Summary The following products will be installed: TIBCO EMS 8.2.0 ---------------------------------------------------------- EMS Server Baseline Development Kit EMS Client Baseline EMS Source Installation Environment Details: Environment Name: cfgmgmt Environment Location: /opt/tibco Required Disk Space = 52 MB Available Disk Space = 166 GB Environment Configuration Directory Location: /opt/tibco/cfgmgmt Enter '1' to continue, '2' to go back to the previous panel, or '3' cancel: [1] 1 TIBCO Universal Installer - Execute Product ANT Tasks ----------------------------------------------------- Checking if there are any product ANT tasks to be run.... Cleaning up... TIBCO Universal Installer - Install Assemblies ---------------------------------------------- Installing Component 1 of 1 Installing: TIBCO EMS 8.2.0 Installing assembly: TIBCO EMS Runtime Common Configuration Management Installing assembly: TIBCO EMS 64bit Runtime Installing assembly: TIBCO EMS 32bit Runtime Installing assembly: TIBCO EMS Runtime Installing assembly: TIBCO EMS Common Installing assembly: TIBCO EMS 64bit Development Installing assembly: TIBCO EMS 32bit Development Installing assembly: TIBCO EMS Common Development Installing assembly: product_tibco_ems_64bit_client_runtime Installing assembly: product_tibco_ems_32bit_client_runtime Installing assembly: assembly_tibco_com_tibco_tpcl_javax_jms_feature Installing assembly: assembly_tibco_com_tibco_jms_jmsclient_feature Installing assembly: TIBCO EMS Common Runtime Installing assembly: product_tibco_ems_64bit_thirdparty_runtime Installing assembly: product_tibco_ems_32bit_thirdparty_runtime Installing assembly: TIBCO EMS Common Samples Installing assembly: TIBCO EMS Samples Created file /root/.TIBCO/install_2017-10-27.112148/productinfo/tibco_productinfo_afterinstall.txt TIBCO Universal Installer - Execute Product ANT Tasks ----------------------------------------------------- Checking if there are any product ANT tasks to be run.... Checking / Updating machine model.... Current Task: Pre Assembly Ref Installation Steps for EMS Configuration Management Runtime files Current Task: Pre Assembly Ref Installation Steps for EMS Configuration Management JAAS Runtime files Current Task: Pre Assembly Ref Installation Steps for EMS Runtime files Current Task: Pre Assembly Ref Installation Steps for EMS 64bit Runtime files Current Task: Pre Assembly Ref Installation Steps for EMS 32bit Runtime files Current Task: Pre Assembly Ref Installation Steps for EMS 64bit Client Only Runtime files Current Task: Pre Assembly Ref Installation Steps for EMS 32bit Client Only Runtime files Cleaning up... TIBCO Universal Installer - Execute Product ANT Tasks ----------------------------------------------------- Checking if there are any product ANT tasks to be run.... Cleaning up... TIBCO Universal Installer - Post Install Summary ------------------------------------------------ Post-Install Summary The following products and features have been installed: TIBCO EMS 8.2.0 ---------------------------------------------------------- EMS Server Baseline Development Kit EMS Client Baseline EMS Source Installation Environment Details: Environment Name: cfgmgmt Environment Location: /opt/tibco Configuration Directory Location: /opt/tibco/cfgmgmt For more detailed information, the installation logs file are located at: /root/.TIBCO/install_2017-10-27.112148 Press 'Enter' to exit the installer. [ ]
#安装完成,tibco下有这些目录
[root@elk02 tibco]# cd /opt/tibco/ [root@elk02 tibco]# ll total 0 drwxr-xr-x 3 root root 16 Oct 27 11:26 cfgmgmt #cfgmgmt/ems/data/是配置文件和数据文件目录,如果是单实例,直接用这个是可以的】
drwxr-xr-x 3 root root 19 Oct 27 11:26 components
drwxr-xr-x 3 root root 16 Oct 27 11:26 ems
drwxr-xr-x 3 root root 63 Oct 27 11:26 _installInfo
drwxr-xr-x 2 root root 71 Oct 27 11:26 release_notes
drwxr-xr-x 6 root root 75 Oct 27 11:26 tools
2.配置NFS
在主上的/etc/exports文件中添加如下内容: /mqdata 192.168.9.216/32(rw) #启动NFS [root@elk02 conf]# systemctl start rpcbind [root@elk02 conf]# systemctl start nfs [root@elk02 conf]# showmount -e 127.0.0.1 Export list for 127.0.0.1: /mqdata 192.168.9.216/32 #在192.168.9.216上挂载 [root@elk01 ~]# mount 192.168.9.217:/mqdata /mqdata [root@elk01 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/rhel-root 50G 2.5G 48G 5% / devtmpfs 16G 0 16G 0% /dev tmpfs 16G 0 16G 0% /dev/shm tmpfs 16G 1.6G 15G 10% /run tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/mapper/rhel-opt 167G 1.9G 166G 2% /opt /dev/mapper/rhel-home 20G 117M 20G 1% /home /dev/sda1 497M 121M 377M 25% /boot /dev/mapper/rhel-var 20G 5.3G 15G 27% /var /dev/mapper/rhel-tmp 10G 724M 9.3G 8% /tmp tmpfs 3.2G 0 3.2G 0% /run/user/0 192.168.9.217:/mqdata 50G 3.1G 47G 7% /mqdata
3.HA配置
主节点配置
创建配置文件目录
[root@elk02 mqdata]# mkdir -p cfgmgmt/data [root@elk02 data]# mkdir logs conf datastore [root@elk02 mqdata]# cp -rp /opt/tibco/cfgmgmt/ems/data/* cfgmgmt/data/conf [root@elk02 mqdata]# cd cfgmgmt/data/conf [root@elk02 conf]# ll total 112 -rw-r--r-- 1 root root 1031 Oct 27 2014 acl.conf -rw-r--r-- 1 root root 2658 Oct 27 2014 bridges.conf -rw-r--r-- 1 root root 2643 Oct 27 2014 channels.conf drwxr-xr-x 2 root root 6 Oct 27 11:26 datastore -rw-r--r-- 1 root root 1084 Oct 27 2014 durables.conf -rw-r--r-- 1 root root 4129 Oct 27 2014 factories.conf -rw-r--r-- 1 root root 971 Oct 27 2014 groups.conf -rw-r--r-- 1 root root 204 Oct 27 2014 jaas_config.txt -rw-r--r-- 1 root root 3161 Oct 27 2014 queues.conf -rw-r--r-- 1 root root 1326 Oct 27 2014 routes.conf drwxr-xr-x 2 root root 6 Oct 27 11:26 routestore-1 drwxr-xr-x 2 root root 6 Oct 27 11:26 routestore-2 -rw-r--r-- 1 root root 2116 Oct 27 2014 stores.conf -rw-r--r-- 1 root root 10360 Oct 27 11:26 tibemsd.conf -rw-r--r-- 1 root root 10510 Oct 27 2014 tibemsd.conf_template -rw-r--r-- 1 root root 11993 Oct 27 11:26 tibemsd-jaas.conf -rw-r--r-- 1 root root 12155 Oct 27 2014 tibemsd-jaas.conf_template -rw-r--r-- 1 root root 2495 Oct 27 2014 tibrvcm.conf -rw-r--r-- 1 root root 2757 Oct 27 2014 topics.conf -rw-r--r-- 1 root root 4654 Oct 27 2014 transports.conf -rw-r--r-- 1 root root 1051 Oct 27 2014 users.conf
#创建主备配置文件
[root@elk02 conf]# cp tibemsd.conf tibemsd-master.conf #主配置文件 [root@elk02 conf]# cp tibemsd.conf tibemsd-slave.conf #备配置文件
修改主配置文件
![](https://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif)
[root@elk02 conf]# egrep -v "^#|^$" tibemsd-master.conf server = EMS-SERVER password = users = "/mqdata/cfgmgmt/data/conf/users.conf" groups = "/mqdata/cfgmgmt/data/conf/groups.conf" topics = "/mqdata/cfgmgmt/data/conf/topics.conf" queues = "/mqdata/cfgmgmt/data/conf/queues.conf" acl_list = "/mqdata/cfgmgmt/data/conf/acl.conf" factories = "/mqdata/cfgmgmt/data/conf/factories.conf" routes = "/mqdata/cfgmgmt/data/conf/routes.conf" bridges = "/mqdata/cfgmgmt/data/conf/bridges.conf" transports = "/mqdata/cfgmgmt/data/conf/transports.conf" tibrvcm = "/mqdata/cfgmgmt/data/conf/tibrvcm.conf" durables = "/mqdata/cfgmgmt/data/conf/durables.conf" channels = "/mqdata/cfgmgmt/data/conf/channels.conf" stores = "/mqdata/cfgmgmt/data/conf/stores.conf" store = "/mqdata/cfgmgmt/data/datastore" max_connections = 0 max_msg_memory = 512MB msg_swapping = enabled listen = tcp://192.168.9.217:7222 authorization = disabled routing = disabled flow_control = disabled multicast = disabled tibrv_transports = logfile = "/mqdata/cfgmgmt/data/logs/logfile" logfile_max_size = log_trace = console_trace = server_rate_interval = 1 statistics = enabled rate_interval = 3 detailed_statistics = NONE statistics_cleanup_interval = 30 max_stat_memory = 64MB track_message_ids = track_correlation_ids = ft_active = tcp://192.168.9.216:7222 ft_heartbeat = ft_activation = ft_reconnect_timeout = ft_ssl_identity = ft_ssl_issuer = ft_ssl_private_key = ft_ssl_password = ft_ssl_trusted = ft_ssl_verify_host = ft_ssl_verify_hostname = ft_ssl_expected_hostname= ft_ssl_ciphers = ssl_dh_size = ssl_server_ciphers = ssl_require_client_cert = ssl_use_cert_username = ssl_cert_user_specname = CERTIFICATE_USER ssl_server_identity = ssl_server_key = ssl_password = ssl_server_issuer = ssl_server_trusted = ssl_rand_egd =
修改备配置文件
![](https://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif)
[root@elk02 conf]# egrep -v "^#|^$" tibemsd-slave.conf server = EMS-SERVER password = users = "/mqdata/cfgmgmt/data/conf/users.conf" groups = "/mqdata/cfgmgmt/data/conf/groups.conf" topics = "/mqdata/cfgmgmt/data/conf/topics.conf" queues = "/mqdata/cfgmgmt/data/conf/queues.conf" acl_list = "/mqdata/cfgmgmt/data/conf/acl.conf" factories = "/mqdata/cfgmgmt/data/conf/factories.conf" routes = "/mqdata/cfgmgmt/data/conf/routes.conf" bridges = "/mqdata/cfgmgmt/data/conf/bridges.conf" transports = "/mqdata/cfgmgmt/data/conf/transports.conf" tibrvcm = "/mqdata/cfgmgmt/data/conf/tibrvcm.conf" durables = "/mqdata/cfgmgmt/data/conf/durables.conf" channels = "/mqdata/cfgmgmt/data/conf/channels.conf" stores = "/mqdata/cfgmgmt/data/conf/stores.conf" store = "/mqdata/cfgmgmt/data/datastore" max_connections = 0 max_msg_memory = 512MB msg_swapping = enabled listen = tcp://192.168.9.216:7222 authorization = disabled routing = disabled flow_control = disabled multicast = disabled tibrv_transports = logfile = "/mqdata/cfgmgmt/data/logs/logfile" logfile_max_size = log_trace = console_trace = server_rate_interval = 1 statistics = enabled rate_interval = 3 detailed_statistics = NONE statistics_cleanup_interval = 30 max_stat_memory = 64MB track_message_ids = track_correlation_ids = ft_active = tcp://192.168.9.217:7222 ft_heartbeat = ft_activation = ft_reconnect_timeout = ft_ssl_identity = ft_ssl_issuer = ft_ssl_private_key = ft_ssl_password = ft_ssl_trusted = ft_ssl_verify_host = ft_ssl_verify_hostname = ft_ssl_expected_hostname= ft_ssl_ciphers = ssl_dh_size = ssl_server_ciphers = ssl_require_client_cert = ssl_use_cert_username = ssl_cert_user_specname = CERTIFICATE_USER ssl_server_identity = ssl_server_key = ssl_password = ssl_server_issuer = ssl_server_trusted = ssl_rand_egd =
4.创建起停脚本
创建主/备服务器属性文件
在主/备服务器的目录/home/tibco/tools上同时建立:
vi shutdown.conf,输入以下内容:
info show queues shutdown
创建主服务器启动脚本
在主服务器上的/home/tibco/tools目录建立:
vi startEmsServer.sh,输入以下内容:
#!/bin/sh cd /opt/tibco/ems/8.2/bin/ nohup ./tibemsd64 -config /mqdata/cfgmgmt/data/conf/tibemsd-master.conf &
创建主服务器停止脚本
在主服务器上的/home/tibco/tools目录建立:
vi stopEmsServer.sh,输入以下内容:
注意以上IP地址修改为对应的IP,如果没有密码,则不需要-password参数,下同!
#!/bin/sh date >> shutdown.log /opt/tibco/ems/8.2/bin/tibemsadmin -script /home/tibco/tools/shutdown.conf –server tcp://192.168.9.217:7222 -user admin >> shutdown.log
创建备服务器启动脚本
在备服务器上的/home/tibco/tools目录建立:
vi startEmsServer.sh,输入以下内容:
#!/bin/sh cd /opt/tibco/ems/8.2/bin/ nohup ./tibemsd64 -config /mqdata/cfgmgmt/data/conf/tibemsd-slave.conf &
创建备服务器停止脚本
在备服务器上的/home/tibco/tools目录建立:
vi stopEmsServer.sh,输入以下内容:
#!/bin/sh date >> shutdown.log /opt/tibco/ems/8.2/bin/tibemsadmin -script /home/tibco/tools/shutdown.conf –server tcp://192.168.9.216:7222 -user admin >> shutdown.log
5.启动tibco
主: [tibco@elk02 tools]$ sh startEmsServer.sh [tibco@elk02 tools]$ nohup: appending output to ‘/home/tibco/nohup.out’ [tibco@elk02 tools]$ ps -ef | grep tib root 12695 11574 0 13:47 pts/0 00:00:00 su - tibco tibco 12696 12695 0 13:47 pts/0 00:00:00 -bash tibco 13581 1 0 14:22 pts/0 00:00:00 ./tibemsd64 -config /mqdata/cfgmgmt/data/conf/tibemsd-master.conf tibco 13622 12696 0 14:22 pts/0 00:00:00 ps -ef tibco 13623 12696 0 14:22 pts/0 00:00:00 grep --color=auto tib 备: [tibco@elk01 tools]$ sh startEmsServer.sh [tibco@elk01 tools]$ nohup: appending output to ‘nohup.out’ [tibco@elk01 tools]$ ps -ef | grep tib root 20093 11786 0 14:16 pts/0 00:00:00 su - tibco tibco 20094 20093 0 14:16 pts/0 00:00:00 -bash tibco 20587 1 0 14:18 pts/0 00:00:00 ./tibemsd64 -config /mqdata/cfgmgmt/data/conf/tibemsd-slave.conf tibco 21778 20094 1 14:23 pts/0 00:00:00 ps -ef tibco 21779 20094 0 14:23 pts/0 00:00:00 grep --color=auto tib