BRAS Active-Standby (Master-Backup) redundancy [Документация VAS Experts]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
en:dpi:bras_bng:replication [2025/09/30 15:53] elena.krasnobryzhen:dpi:bras_bng:replication [2026/04/01 08:02] (current) – [Installation and management] elena.krasnobryzh
Line 54: Line 54:
   - Configure the user and IP of the Backup server within the script. The user must have write access to the ''/etc/dpi'' directory; the simplest option is to use the root user. Another user with appropriate rights can also be configured.   - Configure the user and IP of the Backup server within the script. The user must have write access to the ''/etc/dpi'' directory; the simplest option is to use the root user. Another user with appropriate rights can also be configured.
   - Configure cron to run the script at desired intervals **(optional)**:<code bash>crontab -u root -e   - Configure cron to run the script at desired intervals **(optional)**:<code bash>crontab -u root -e
-* * * * /bin/bash /usr/local/bin/profile_sync.sh</code>+0 * * * * /bin/bash -l -c '/usr/local/bin/profile_sync.sh'</code>
   - Add a bash alias to run the script on demand:<code bash>echo "alias dpi_sync='/bin/bash /usr/local/bin/profile_sync.sh'">> ~/.bashrc</code>   - Add a bash alias to run the script on demand:<code bash>echo "alias dpi_sync='/bin/bash /usr/local/bin/profile_sync.sh'">> ~/.bashrc</code>
   - Create the directory ''/etc/dpi/service18'' and save all service 18 files in it.   - Create the directory ''/etc/dpi/service18'' and save all service 18 files in it.