Three: Otter- -otter-node Installation Installation Configuration

1. Preparation Before Installation

Before installation, we need to configure the management console in the manager node information, otherwise ndoe nodes can not join manage
Step 1: Click on the machine management, zookeeper management
Three: Otter- -otter-node Installation Installation Configuration

Step 2: Configure zookeeper address, typing
172.18.165.118:2181,172.18.165.119:2181,172.18.165.120:2181

Step 3: Add node
Three: Otter- -otter-node Installation Installation Configuration

After successfully adding the following
Three: Otter- -otter-node Installation Installation Configuration

We can see that the node number is 1, the state is not started. Here, the end of the preparatory work

2. Install node

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

Download the installation file attached to the first document, binary decompression can.

2. Configuration node of 1

#vim /data/services/otter-node/conf/otter.properties
otter.nodeHome = ${user.dir}/../
otter.htdocs.dir = ${otter.nodeHome}/htdocs
otter.download.dir = ${otter.nodeHome}/download
otter.extend.dir= ${otter.nodeHome}/extend
otter.zookeeper.sessionTimeout = 60000
otter.communication.payload = 8388608
otter.communication.pool.size = 10
otter.manager.address = 172.18.165.118:1099

Only you need to modify manager to address

6. The configuration nid 2

#echo 1 > /data/services/otter-node/conf/nid

nid configuration is a configuration corresponding to the ID number ready before, this step must be configured correctly, otherwise abnormal.

7. Start

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

8. Verify

#taif -f /data/services/otter-node/logs/node/cat node.log 
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0
2019-06-27 20:21:02.701 [main] INFO  com.alibaba.otter.node.deployer.OtterLauncher - INFO ## the otter server is running now ......

Three: Otter- -otter-node Installation Installation Configuration

This time, we can see that, node01 has become a start state

9. Repeat disposed node02, node03

We need three node configuration node status success, and remember node is different from the configuration as follows node3

节点2:
#echo 2 > /data/services/otter-node/conf/nid
节点3:
#echo 3 > /data/services/otter-node/conf/nid

manger before the start of the interface:
Three: Otter- -otter-node Installation Installation Configuration

After manger interface start:
Three: Otter- -otter-node Installation Installation Configuration

Here, we successfully installed the entire otter, if you will configure, has been normal use.

Guess you like

Origin blog.51cto.com/jiajinh/2416222