Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
userdoc:tt_high_availability [2018/07/29 20:08] abelbeck [Example Basic Configuration] |
userdoc:tt_high_availability [2018/07/29 20:13] abelbeck [Example Basic Configuration] |
||
---|---|---|---|
Line 21: | Line 21: | ||
service keepalived init | service keepalived init | ||
+ | \\ | ||
===== Example Basic Configuration ===== | ===== Example Basic Configuration ===== | ||
- | As a very basic example, we are creating a hot standby (backup) to a master AstLinux box. | + | As a very basic example, we are creating a hot standby (backup) to a master AstLinux box. |
+ | |||
+ | !!Note ->!! For a production solution it is assumed that all the important file storage bits of the master are kept in sync with the backup AstLinux box. Ignored for this example. | ||
Both boxes share the same '' | Both boxes share the same '' | ||
Line 34: | Line 37: | ||
The virtual IPv4 address '' | The virtual IPv4 address '' | ||
- | Master, | + | Master, |
+ | Configuration: | ||
! Configuration File for keepalived | ! Configuration File for keepalived | ||
Line 67: | Line 71: | ||
} | } | ||
- | Backup, | + | Backup, |
+ | Configuration: | ||
! Configuration File for keepalived | ! Configuration File for keepalived | ||
Line 128: | Line 133: | ||
If your scripts need a runtime, non-persistent state file, the ''/ | If your scripts need a runtime, non-persistent state file, the ''/ | ||
+ | |||
+ | \\ | ||
===== Firewall Configuration ===== | ===== Firewall Configuration ===== |