Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Zevenet load balance installation and deployment

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Initialize installation steps

1. Create a virtual machine with 1-2G Debaian GUN/Linu memory and hard disk 20GB, load the installation image and start the installation.

Language interface chooses Chinese (simplified)

Note: the language corresponds to the time zone, and if you choose another language, you may not be able to specify the desired time zone.

Select Regional China

Select keyboard type

Enter the management IP address

Subnet mask

Gateway

DNS

Hostnam

domain name

Root password

Disk partitions are recommended to use the entire partition.

It is recommended to check all the grup-pc settings, otherwise you may not be able to enter the system after reboot.

Select the corresponding hard drive

Wait for the installation to complete

Zevenet Cluster cluster configuration configuration Zevenet APT repository

Configure APT public key

Root@WEBLB01:~# wget-O-http://repo.zevenet.com/zevenet.com.gpg.key | apt-key add-

Configure official APT repository

Root@WEBLB01:~# vi / etc/apt/sources.list

Check if the following exists

Deb http://repo.zevenet.com/ce/v5/ buster main

Otherwise, add a row

Update APT repository

Root@zevenetlb# > apt-get update

Configure cluster root ssh secret-free login

Generate key

Ssh-keygen-t rsa

Copy the key to the other node

Ssh-copy-id-I / root/.ssh/id_rsa.pub root@192.168.10.99

The other node repeats the above operation.

Install Zevenet CE cluster softwar

Find the software in APT repository

Apt-cache search zevenet-ce-cluster

Display software information

Apt-cache show zevenet-ce-cluster

Download and install cluster software

Apt-get install zevenet-ce-cluster

Configure cluster-related parameters

Vi / usr/local/zevenet/app/ucarp/etc/zevenet-cluster.conf

Repeat the above steps to configure peer parameters

Modify the end node file as follows

Restart the cluster service before the configuration document is completed

/ etc/init.d/zevenet-ce-cluster stop

/ etc/init.d/zevenet-ce-cluster start

Create cluster IP

Log in to the management interface of any node through web

Example: htts://192.168.10.98:444

Navigate to Network-Virtual interface to create virtual interface

Configure the corresponding Cluster IP address

Restart each node after the creation is completed

The login node checks that the node where clusterIP is activated becomes Master, as shown in the following figure

The other node is Backup status

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report