- [Show page]
- [Old revisions]
- [[unknown link type]]
- []
Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
linux:skoleni:ha [2015/02/26 15:36] admin |
linux:skoleni:ha [2016/12/05 15:30] (current) admin |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== HA - basics ====== | ||
| Note: Fibre channel - cheap stuff!!! | Note: Fibre channel - cheap stuff!!! | ||
| Line 27: | Line 28: | ||
| /sbin/modprobe drbd | /sbin/modprobe drbd | ||
| - | Partition DRBD on both machines (the ugly way): | + | |
| + | ====Partition DRBD on both machines (the ugly way):==== | ||
| + | If your linux box doesn't detect new disk automaticly, you can try rescanning the scsi bus | ||
| + | echo "- - -" >/sys/class/scsi_host/host0/scan | ||
| [root@node1 ~]# fdisk -cu /dev/sdb | [root@node1 ~]# fdisk -cu /dev/sdb | ||
| Line 105: | Line 110: | ||
| | | ||
| | | ||
| - | ===== UCARP (VRRP) ===== | + | ====== UCARP (VRRP) ====== |
| - | Install epel | + | Open the page and install epel |
| - | yum install http://mirror.hosting90.cz/epel/6/x86_64/repoview/epel-release.html | + | http://mirror.hosting90.cz/epel/6/x86_64/repoview/epel-release.html |
| + | Or try using this direct link, but might be unavailable later | ||
| + | yum install http://mirror.hosting90.cz/epel/6/x86_64/epel-release-6-8.noarch.rpm | ||
| Install ucarp | Install ucarp | ||
| Line 113: | Line 120: | ||
| config | config | ||
| - | <file /etc/ucarp.d/vip-001.conf bash> | + | <file bash /etc/ucarp.d/vip-001.conf> |
| VIP_ADDRESS="192.168.5.123" | VIP_ADDRESS="192.168.5.123" | ||
| </file> | </file> | ||
| - | <code> | + | <file bash /etc/ucarp.d/vip-common.conf> |
| PASSWORD="love" | PASSWORD="love" | ||
| BIND_INTERFACE="eth0" | BIND_INTERFACE="eth0" | ||
| Line 125: | Line 132: | ||
| # If you have extra options to add, see "ucarp --help" output | # If you have extra options to add, see "ucarp --help" output | ||
| OPTIONS="--shutdown --preempt" | OPTIONS="--shutdown --preempt" | ||
| - | </code> | + | </file> |
linux/skoleni/ha.1424961362.txt.gz · Last modified: 2015/02/26 15:36 by admin


