User Tools

Site Tools


пакет_heartbeat

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
пакет_heartbeat [2019/03/22 15:35]
val
пакет_heartbeat [2022/01/29 20:34]
val [Debian/Ubuntu/FreeBSD]
Line 14: Line 14:
 root@nodeN:​~#​ systemctl enable heartbeat root@nodeN:​~#​ systemctl enable heartbeat
  
 +debian11# cat /​etc/​rc.local
 +</​code><​code>​
 +#!/bin/sh
 +
 +mkdir /​run/​heartbeat/​
 +</​code><​code>​
 root@nodeN:​~#​ zless /​usr/​share/​doc/​heartbeat/​ha.cf.gz root@nodeN:​~#​ zless /​usr/​share/​doc/​heartbeat/​ha.cf.gz
  
Line 37: Line 43:
 nodeN# cat ha.cf nodeN# cat ha.cf
 </​code><​code>​ </​code><​code>​
-#​bcast ​em2 +#​bcast ​eth0 
-bcast eth2+#bcast eth2
 #ucast eth1 172.16.1.Y #ucast eth1 172.16.1.Y
 #ucast eth2 slave #ucast eth2 slave
Line 76: Line 82:
  
 ===== Запуск ===== ===== Запуск =====
 +
 +==== Debian/​Ubuntu ====
 +<​code>​
 +root@nodeN:​~#​ service heartbeat start
 +</​code>​
  
 ==== FreeBSD ==== ==== FreeBSD ====
Line 84: Line 95:
 </​code>​ </​code>​
  
-==== Ubuntu/​Debian ​==== +===== Отладка =====
-<​code>​ +
-root@nodeN:​~#​ service heartbeat start +
-</​code>​ +
- +
-===== Проверки =====+
 <​code>​ <​code>​
 nodeN# cat /​var/​log/​ha-debug | grep -v ERR | grep -v autotoken nodeN# cat /​var/​log/​ha-debug | grep -v ERR | grep -v autotoken
пакет_heartbeat.txt · Last modified: 2022/03/17 12:11 by val