-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3835c48
commit 133f5df
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# /etc/keepalived/keepalived.conf | ||
|
||
vrrp_instance VI_1 { | ||
state MASTER | ||
interface ens4 | ||
virtual_router_id 51 | ||
priority 101 | ||
advert_int 1 | ||
authentication { | ||
auth_type PASS | ||
auth_pass parolingiz | ||
} | ||
virtual_ipaddress { | ||
10.162.0.10/32 # Virtual IP manzili | ||
} | ||
track_interface { | ||
ens4 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# /etc/keepalived/keepalived.conf | ||
vrrp_instance VI_1 { | ||
state BACKUP | ||
interface ens4 | ||
virtual_router_id 51 | ||
priority 100 | ||
advert_int 1 | ||
authentication { | ||
auth_type PASS | ||
auth_pass parolingiz | ||
} | ||
virtual_ipaddress { | ||
10.162.0.10/32 # Shu VIP manzil | ||
} | ||
track_interface { | ||
ens4 | ||
} | ||
} |