Before deploying broker servers, it's highly recommended to run os.sh, which is to optimize your operating system for better performance.
os.sh parameter settings are for reference purpose only. You can tune them according to your target host configurations.
-
Unix platform
nohup sh mqbroker &
-
Windows platform(Only support 64 bit)
mqbroker.exe
sh mqshutdown broker
-
Unix platform
nohup sh mqnamesrv &
-
Windows platform(Only support 64 bit)
mqnamesrv.exe
sh mqshutdown namesrv
sh mqadmin updateTopic -b 127.0.0.1:10911 -t TopicA
sh mqadmin updateSubGroup -b 127.0.0.1:10911 -g SubGroupA