This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
asterisk_в_отказоустойчивой_конфигурации [2019/04/12 16:21] val [Шаг 14. Управление местоположением контейнера с помощью Pacemaker] |
asterisk_в_отказоустойчивой_конфигурации [2025/07/25 12:29] (current) val [Asterisk в отказоустойчивой конфигурации] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Asterisk в отказоустойчивой конфигурации ====== | ====== Asterisk в отказоустойчивой конфигурации ====== | ||
| - | * Вебинар не про Asterisk))) а реклама курса [[https://www.specialist.ru/course/un5|Linux. Уровень 6. Создание отказоустойчивых кластерных решений.]] | + | * Вебинар не столько про Asterisk, сколько реклама курса [[https://www.specialist.ru/course/un5|Linux. Уровень 6. Создание отказоустойчивых кластерных решений.]] |
| + | ===== Анонс ===== | ||
| + | * [[https://www.specialist.ru/news/4815/besplatnij-seminar-asterisk-v-otkazoustojchivoj-konfiguracii|Бесплатный семинар «Asterisk в отказоустойчивой конфигурации»]] | ||
| + | |||
| + | ===== Запись вебинара ===== | ||
| + | * [[https://youtu.be/U-LOU6dkBqs|Запись вебинара]] | ||
| ===== Шаг 1. Анализ сети в классе/дома ===== | ===== Шаг 1. Анализ сети в классе/дома ===== | ||
| Line 13: | Line 18: | ||
| ===== Шаг 2. Базовая настройка узлов ===== | ===== Шаг 2. Базовая настройка узлов ===== | ||
| - | * Импортируем два узла из [[http://val.bmstu.ru/unix/img/My%20Documents/debian_9.5_64_03.ova|образа]] | + | * Импортируем два узла из [[http://val.bmstu.ru/unix/img/My%20Documents/debian_9.5_64_03.ova|образа]] в [[https://www.virtualbox.org/|VirtualBox]] |
| * Называем node1 и node2 | * Называем node1 и node2 | ||
| * Подключаем к сети класса/дома | * Подключаем к сети класса/дома | ||
| Line 26: | Line 31: | ||
| 127.0.0.1 localhost | 127.0.0.1 localhost | ||
| - | 10.5.12.114 node1 | + | 10.5.7.114 node1 |
| - | 10.5.12.214 node2 | + | 10.5.7.214 node2 |
| </code><code> | </code><code> | ||
| node1:~# cat /etc/resolv.conf | node1:~# cat /etc/resolv.conf | ||
| </code><code> | </code><code> | ||
| - | nameserver 10.5.12.254 | + | nameserver 10.5.7.254 |
| </code><code> | </code><code> | ||
| node1:~# cat /etc/network/interfaces | node1:~# cat /etc/network/interfaces | ||
| Line 40: | Line 45: | ||
| auto eth0 | auto eth0 | ||
| iface eth0 inet static | iface eth0 inet static | ||
| - | address 10.5.12.114 | + | address 10.5.7.114 |
| netmask 255.255.255.0 | netmask 255.255.255.0 | ||
| - | gateway 10.5.12.254 | + | gateway 10.5.7.254 |
| </code><code> | </code><code> | ||
| node1:~# init 6 | node1:~# init 6 | ||
| Line 73: | Line 78: | ||
| auto eth0 | auto eth0 | ||
| iface eth0 inet static | iface eth0 inet static | ||
| - | address 10.5.12.214 | + | address 10.5.7.214 |
| netmask 255.255.255.0 | netmask 255.255.255.0 | ||
| - | gateway 10.5.12.254 | + | gateway 10.5.7.254 |
| </code><code> | </code><code> | ||
| node2:~# init 6 | node2:~# init 6 | ||
| Line 111: | Line 116: | ||
| device /dev/drbd0; | device /dev/drbd0; | ||
| disk /dev/sdb; | disk /dev/sdb; | ||
| - | address 10.5.12.114:7788; | + | address 10.5.7.114:7788; |
| meta-disk internal; | meta-disk internal; | ||
| } | } | ||
| Line 117: | Line 122: | ||
| device /dev/drbd0; | device /dev/drbd0; | ||
| disk /dev/sdb; | disk /dev/sdb; | ||
| - | address 10.5.12.214:7788; | + | address 10.5.7.214:7788; |
| meta-disk internal; | meta-disk internal; | ||
| } | } | ||
| Line 165: | Line 170: | ||
| auto br0 | auto br0 | ||
| iface br0 inet static | iface br0 inet static | ||
| - | address 10.5.12.114 | + | address 10.5.7.114 |
| netmask 255.255.255.0 | netmask 255.255.255.0 | ||
| - | gateway 10.5.12.254 | + | gateway 10.5.7.254 |
| bridge_ports eth0 | bridge_ports eth0 | ||
| </code><code> | </code><code> | ||
| Line 177: | Line 182: | ||
| auto br0 | auto br0 | ||
| iface br0 inet static | iface br0 inet static | ||
| - | address 10.5.12.214 | + | address 10.5.7.214 |
| netmask 255.255.255.0 | netmask 255.255.255.0 | ||
| - | gateway 10.5.12.254 | + | gateway 10.5.7.254 |
| bridge_ports eth0 | bridge_ports eth0 | ||
| </code> | </code> | ||
| Line 192: | Line 197: | ||
| lxc.network.link = br0 | lxc.network.link = br0 | ||
| lxc.network.flags = up | lxc.network.flags = up | ||
| - | lxc.network.ipv4 = 10.5.12.123/24 | + | lxc.network.ipv4 = 10.5.7.123/24 |
| - | lxc.network.ipv4.gateway = 10.5.12.254 | + | lxc.network.ipv4.gateway = 10.5.7.254 |
| </code> | </code> | ||
| Line 217: | Line 222: | ||
| 127.0.0.1 localhost | 127.0.0.1 localhost | ||
| - | 10.5.12.123 server | + | 10.5.7.123 server |
| </code><code> | </code><code> | ||
| server:/# cat /etc/resolv.conf | server:/# cat /etc/resolv.conf | ||
| </code><code> | </code><code> | ||
| - | nameserver 10.5.12.254 | + | nameserver 10.5.7.254 |
| </code> | </code> | ||
| Line 347: | Line 352: | ||
| </code><code> | </code><code> | ||
| ... | ... | ||
| - | bindnetaddr: 10.5.12.0 | + | bindnetaddr: 10.5.7.0 |
| ... | ... | ||
| mcastaddr: 239.255.1.14 | mcastaddr: 239.255.1.14 | ||