Berbagi teknologi

Kluster LVS Keepalive

2024-07-08

한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina

Bagian teoritis

1: Pengetahuan dasar tentang pencadangan panas mesin ganda Keepalived

1.1: ikhtisar dan instalasi keepalive

1: metode pencadangan panas tetap hidup

2: Instalasi tetap hidup dan kontrol layanan

[root@localhost ~]# systemctl hentikan NetworkManager

[root@localhost ~]# setenforce 0

[root@localhost ~]# systemctl hentikan firewalld

[root@localhost ~]# yum -y instal keepalived ipvsadm

[root@localhost ~]# systemctl aktifkan keepalived

1.2: Gunakan keepalive untuk mencapai pencadangan panas mesin ganda

1: Konfigurasi server utama

[root@localhost ~]# cd /etc/keepalived/

[root@localhost tetapalived]# cp tetapalived.conf tetapalived.conf.bak

[root@localhost tetapalived]# vi tetapalived.conf

definisi_global {