README.md 833 字节
Newer Older
1 2
### Operating system tuning
Before the broker deployment, you must run **os.sh**, which is optimized for your operating system.
3

4 5 6
## Notice
### os.sh should be executed only once with the root permission.
### os.sh parameter settings is just for reference. You can tune it in your target host systems.
7 8


9 10
### Start broker
* Unix platform
11

12
  `nohup sh mqbroker &`
13

14
* Windows platform(Only support 64 bit)
15

16
  `mqbroker.exe`
17

18 19
### Shutodwn broker
  sh mqshutdown broker
20

21 22
### Start Nameserver
* Unix platform
23

24
  `nohup sh mqnamesrv &`
25

26
* Windows platform(Only support 64 bit)
27

28
  `mqnamesrv.exe`
29

30 31
### Shutdown Nameserver
    sh mqshutdown namesrv
32

33 34 35 36 37
### Update or create Topic
    sh mqadmin updateTopic -b 127.0.0.1:10911 -t TopicA

### Update or create subscription group
    sh mqadmin updateSubGroup -b 127.0.0.1:10911 -g SubGroupA