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
пакет_heartbeat [2022/01/29 20:42]
val [Debian/Ubuntu]
пакет_heartbeat [2022/03/17 12:11] (current)
val [Отладка]
Line 66: Line 66:
  
 nodeN# ls /​etc/​ha.d/​resource.d/​ nodeN# ls /​etc/​ha.d/​resource.d/​
 +
 +node1# /​etc/​ha.d/​resource.d/​IPaddr2 192.168.X.10/​32/​eth0 start
 +
 +node1# /​etc/​ha.d/​resource.d/​IPaddr2 192.168.X.10/​32/​eth0 stop
  
 nodeN# cat haresources nodeN# cat haresources
Line 83: Line 87:
 ==== Debian/​Ubuntu ==== ==== Debian/​Ubuntu ====
 <​code>​ <​code>​
-root@nodeN:​~# ​service ​heartbeat start+root@nodeN:​~# ​systemctl enable ​heartbeat 
 + 
 +root@nodeN:​~#​ systemctl ​start heartbeat 
 + 
 +root@nodeN:​~#​ systemctl disable heartbeat 
 + 
 +root@nodeN:​~#​ systemctl stop heartbeat
 </​code>​ </​code>​
  
Line 95: Line 105:
 ===== Отладка ===== ===== Отладка =====
 <​code>​ <​code>​
 +nodeN# tail -f /​var/​log/​ha-debug
 +
 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.1643478171.txt.gz · Last modified: 2022/01/29 20:42 by val