This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
admin:ha [2019/01/24 12:20] veera [Setup] |
admin:ha [2019/01/24 12:28] (current) veera [Data replication] |
||
|---|---|---|---|
| Line 7: | Line 7: | ||
| You need an identically sized backup installation of Trisul that can takeover the load in the event of a primary failure. | You need an identically sized backup installation of Trisul that can takeover the load in the event of a primary failure. | ||
| - | * Download the replication scripts sync.sh and host_alive.sh | + | * Download the replication scripts [[https://trisul.org/download/sync.sh|sync.sh]] and [[https://trisul.org/download/host_alive.sh|host_alive.sh]] |
| {{:admin:haprimarybackup.png?400|}} | {{:admin:haprimarybackup.png?400|}} | ||
| + | |||
| + | ===== Configure SSH between the primary and backup nodes ===== | ||
| + | |||
| + | On both the primary and backup node use [[https://www.ssh.com/ssh/copy-id|ssh_copy_id to allow login]] without an interactive password. | ||
| + | |||
| + | |||
| ===== Data replication ===== | ===== Data replication ===== | ||
| Line 42: | Line 48: | ||
| ===== Takeover ===== | ===== Takeover ===== | ||
| - | The keepalive uses a PING to check the reachability of the primary node. When a configured number of PINGs fail, the backup starts the Trisul HUB ad PROBE processes and this takes over the primary function. | + | The keepalive uses a PING to check the reachability of the primary node. When a configured number of PINGs (default 6 PING failures) fail, the backup starts the Trisul HUB ad PROBE processes and this takes over the primary function. |