Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
en:dpi:bras_bng:replication [2025/05/12 11:38] – [Script for active DPI reservation] elena.krasnobryzh | en:dpi:bras_bng:replication [2025/07/17 07:20] (current) – elena.krasnobryzh | ||
---|---|---|---|
Line 66: | Line 66: | ||
=====Script for active DPI reservation===== | =====Script for active DPI reservation===== | ||
- | The script should be installed on the reserve DPI where it runs in a continious loop monitoring the state of main dpi via ssh.\\ | + | The script should be installed on the reserve DPI where it runs in a continious loop monitoring the state of main dpi via SSH.\\ |
This script uss **4 checks** to confirm that main dpi is working: | This script uss **4 checks** to confirm that main dpi is working: | ||
- The server is rachable via network (pingcheck) | - The server is rachable via network (pingcheck) | ||
Line 76: | Line 76: | ||
- Download all files from the {{: | - Download all files from the {{: | ||
- Configure main server ip inside the '' | - Configure main server ip inside the '' | ||
- | - Create an ssh key pair on the reserve server via <code bash> | + | - Create an SSH key pair on the reserve server via <code bash> |
- Create a new sudo user account on the main server | - Create a new sudo user account on the main server | ||
- | - Copy private | + | - Copy private |
- Add permissions to installation scrip via <code bash> | - Add permissions to installation scrip via <code bash> | ||
- Run '' | - Run '' |