当前位置:网站首页>Keepalived monitors the process and automatically restarts the service process
Keepalived monitors the process and automatically restarts the service process
2022-06-25 07:23:00 【Huangyuewang】
One 、 Download keepalived1.2.2 edition
http://pan.baidu.com/s/1jI5c7EA
Two 、 Decompress first , Compress the contents of the package keepalived-1.2.2.tar.gz The package is uploaded to /home Under the catalogue , Execute in sequence as follows 4 Commands to Install compilation keepalived file
You need to load it first popt package , You can execute commands directly :yum install popt-devel -y
1、 tar -zxvf keepalived-1.2.2.tar.gz
2、 cd /home/keepalived-1.2.2
3、 ./configure --prefix=/etc/keepalived-1.2.2 // Install and compile to Under this directory
4、 make && make install
3、 ... and 、 Install to system , The default startup script contains the system path , So you need to copy some files to the system directory
1、 cp /etc/keepalived-1.2.2/etc/rc.d/init.d/keepalived /etc/init.d/
2、 cp /etc/keepalived-1.2.2/sbin/keepalived /usr/sbin/
3、cp /etc/keepalived-1.2.2/sbin/keepalived /etc/keepalived-1.2.2/bin/
4、 cp /etc/keepalived-1.2.2/etc/sysconfig/keepalived /etc/sysconfig/
5、 mkdir -p /etc/keepalived
6、 Upload keepalived1.2.2.rar Inside check_haproxy.sh and keepalived.conf To /etc/keepalived Catalog
Four 、 Start
keepalived start-up :
/etc/init.d/keepalived start
keepalived stop it :
/etc/init.d/keepalived stop
keepalived state :
/etc/init.d/keepalived status
If the startup error , Execute this command to view the exception information :systemctl status keepalived.service
Exceptions are as follows :Starting keepalived: keepalived: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such ...or directory
Default libssl.so.1.1(openssl Components ) Will be installed in /usr/local/lib64 below ; It needs to be placed to... Through a soft connection /usr/lib64 below :
ln -s /usr/local/lib64/libssl.so.1.1 /usr/lib64/libssl.so.1.1 ln -s /usr/local/lib64/libcrypto.so.1.1 /usr/lib64/libcrypto.so.1.1ln It's a soft link , Soft links represent moral and windows The shortcut to is very similar , Soft links are not connected to data blocks , It's just a symbol , Linked to a name of the real database ; The corresponding is hard link , Direct and block (node) Connected to a , Equivalent to an alias of a data block .
Restart and it will be normal , Other anomalies Baidu is looking for a solution
边栏推荐
- 太美的承诺因为太年轻
- What is the new business model of Taishan crowdfunding in 2022?
- アルマ / alchemy girl
- Lotus v1.16.0-rc2 Calibration net
- 活动报名|Apache Pulsar x KubeSphere 在线 Meetup 火热报名中
- Why use NoSQL with MySQL?
- MySQL (12) -- Notes on changing tables
- Weimeisi new energy rushes to the scientific innovation board: the annual revenue is 1.7 billion, and the book value of accounts receivable is nearly 400million
- Americo technology launches professional desktop video editing solution
- Streamnational platform version 1.5 is released, integrating istio and supporting openshift deployment
猜你喜欢

48 pictures | teach you the performance monitoring, pressure testing and tuning of microservices by hand
![[XXL job] the pond is green and the wind is warm. I remember that Yu Zhen first met](/img/fe/864e9d91be2e0afb163cb8496ae0d2.png)
[XXL job] the pond is green and the wind is warm. I remember that Yu Zhen first met

威迈斯新能源冲刺科创板:年营收17亿 应收账款账面价值近4亿

The significance and proof of weak large number theorem

We are different

How is the network connected?

Display purchase Summary - Dell 2705qm BenQ pd2700u

From perceptron to transformer, a brief history of deep learning

48 张图 | 手摸手教你微服务的性能监控、压测和调优

5g private network market is in full swing, and it is crucial to solve deployment difficulties in 2022
随机推荐
313. Binary sum
Rotation vector (rotation matrix) and Euler angle
レ / leilei
Simple and complete steps of vivado project
单片机IO详解(上拉 下拉 准双向 输入 输出 推挽 开漏)
[Introduction aux uvm== > Episode 9] ~ modèle de registre, intégration du modèle de registre, méthode conventionnelle du modèle de registre, scénario d'application du modèle de registre
3632. Binary sum
Redirect to previous page after login? PHP - Redirecting to previous page after login? PHP
How to store the directory / hierarchy / tree structure in the database- How to store directory / hierarchy / tree structure in the database?
Pratique de gestion hiérarchique basée sur kubesphere
Blue Bridge Cup SCM module code (external interrupt) (code + comment)
MCU IO explanation (pull-up pull-down quasi bidirectional input / output push-pull open drain)
Atomic alpha development board -- SD card and EMMC burning tool
Several schemes of traffic exposure in kubernetes cluster
lotus v1.16.0-rc3 calibnet
【xxl-job】池塘水绿风微暖,记得玉真初见面
13 `bs_duixiang.tag标签`得到一个tag对象
StreamNative Platform 1.5 版本发布,集成 Istio、支持 OpenShift 部署
Can we use function pointers in go- Can we have function pointers in Go?
alphassl通配符证书送一个月