Otter-安裝配置-(2)manager安裝

1.安裝

#mkdir otter-manager
#tar xf manager.deployer-4.2.17.tar.gz -C otter-manager
#mv otter-manager /data/services/

上一篇文章給出了下載地址,二進制解壓即可。

2.配置

#vim /data/services/otter-manager/conf/otter.properties
otter.domainName = 172.18.165.118
otter.port = 8088
otter.jetty = jetty.xml
otter.database.driver.class.name = com.mysql.jdbc.Driver
otter.database.driver.url = jdbc:mysql://xxxxxx.aliyuncs.com:3306/otter_tools
otter.database.driver.username = online_otter
otter.database.driver.password = online_xxxxxx
otter.communication.manager.port = 1099
otter.communication.payload = 8388608
otter.communication.pool.size = 10
otter.zookeeper.cluster.default = 172.18.165.118:2181,172.18.165.119:2181,172.18.165.120:2181
otter.zookeeper.sessionTimeout = 60000
otter.manager.address = ${otter.domainName}:${otter.communication.manager.port}
otter.manager.productionMode = true
otter.manager.monitor.self.enable = true
otter.manager.monitor.self.interval = 120
otter.manager.monitor.recovery.paused = true
otter.manager.monitor.email.host = smtp.yeah.net
otter.manager.monitor.email.username = [email protected]
otter.manager.monitor.email.password = xxxxxxx
otter.manager.monitor.email.stmp.port = 465

上面監聽地址,連接數據庫地址和SMTP地址,賬號密碼修改成自己的,還有zookeeper集羣地址

zookeeper最近的版本中有個內嵌的管理控制檯是通過jetty啓動,也會佔用8080 端口。

因爲manage和zookeeper同一臺機子,所以我講manager的端口改成了8088端口。

3.啓動

#sh /data/services/otter-manager/bin/startup.sh

4.驗證
Otter-安裝配置-(2)manager安裝
賬號密碼都是: admin

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章