arango cluster deployment
arango cluster deployment ############arango cluster operations################## arangodb3-3.3.16-1.x86_64.rpm (installed using rpm package) arango three-node cluster 192.168.1.13, 192.168.1.14, 192.168.1.15 =============================== Adjust the system environment of three machines:: Add hosts vim /etc/hosts 192.168.1.13 arango1 192.168.1.14 arango2 192.168.1.15 arango3 Set hostname The first one hostnamectl set-hostname arango1 Second channel hostnamectl set-hostname arango2 Third Channel hostnamectl set-hostname arango3 ================================ Deploy arangodb: Perform the following operations on three machines sudo bash -c “echo 2 > /proc/sys/vm/overcommit_memory” sudo bash -c “echo madvise > /sys/kernel/mm/transparent_hugepage/defrag” sudo bash -c “echo madvise > /sys/kernel/mm/transparent_hugepage/enabled” sudo sysctl -w “vm.max_map_count=512000” export GLIBCXX_FORCE_NEW=1 rpm installation command rpm -ivh arangodb3-3.3.16-1.x86_64.rpm =========================================== Then start and set up the cluster The first one arangodb —starter.data-dir=/data/arango1 —server.storage-engine=rocksdb —starter.host=192.168.1.13 > arango1.log & Second channel arangodb —starter.data-dir=/data /arango2 —starter.join 192.168.1.13:8528 —server.storage-engine=rocksdb > arango2.log & Third Channel arangodb —starter.data-dir=/data/arango3 —starter.join 192.168.1.13:8528 —server.storage-engine=rocksdb > arango3.log & After startup, you can access it through the browser http://192.168.1.13:8529 arango cluster deployment