文档介绍:打包所有的应用程序
名称mateQ
tl-8910-hr tl-8930--8920-platform zookeeper
国
画
国
名称mateQ
tl-8910-hr tl-8930--8920-platform zookeeper
国
画
国 有五个服务器,platform服务hr集群服务,zookeeper服务,metaq
Hr集群可以结合nginx使用软负载均衡使用编写启动脚本:分为全部启动和服务启动,服务关闭脚本。在初次使用的时候可以进行全部 启动的方式,如果工程遇到问题,可以通过服务关闭,和服务启动方式来重启服务。
内容为:
***@echo offecho *** Hr Manager system ***
echo 1 start zookeeperecho 2 start metaq
echo 3 start platformecho 4 start hr
set localpath = %~dpOecho zookeeper is running...
cd %~dpO/zookeeper/binstart zkServer d
echo zookeeper is started "./zookeeper/bin/zkServer d".
echo metaq is running...
cd %~dpO/mateQ/metamorphosis-server-wrapper/binstart
echo metaq is started "./mateQ/metamorphosis-server-wrapper/bin/".
echo platform is running...
cd %~dp0/t2-8920-platform/binstart
echo platform is started ,,./t2-8920-platform/bin/".
echo hr server 1 is running...
cd %~dp0/tl-8910-hr/binstart
echo hr is started "./tl-8910-hr/bin/".
echo hr server 2 is running...
cd %~dp0/tl-8930-hr/binstart
echo hr is started "./tl-8930-hr/bin/".
echo all server started.
内容为***@echo off
echo *** Hr Manager system ***echo 1 start platform
echo 2 start hrecho platform is runn