Difference between revisions of "VALT Warm Standby"
IVSWikiBlue (talk | contribs) |
IVSWikiBlue (talk | contribs) |
||
Line 22: | Line 22: | ||
=Script Package= | =Script Package= | ||
− | # Download VALTRedundancy.tar.gz by running the following command: | + | # Download VALTRedundancy.tar.gz by running the following command: {{Code Block - Mini | text = wget --content-disposition https://ivs.box.com/shared/static/1062styfwr387efew51vt6mzqzsdd1m3.gz -O VALTRedundancy.tar.gz}} |
− | # Extract the file using the following command: | + | # Extract the file using the following command: {{Code Block - Mini | text = tar -xvf VALTRedundancy.tar.gz}} |
<hr> | <hr> | ||
=Primary Server Config= | =Primary Server Config= | ||
− | Run | + | Run {{Code Block - Mini | text = PrimaryServerConfig.sh}} on the primary server. Make sure to modify the variables at the top of the script to reflect your environment. Specifically the standbyip must be changed to the ip address of the standby server. |
The script will complete by providing the log file name and position. Make a note of these values as they will be needed to configure the standby server. | The script will complete by providing the log file name and position. Make a note of these values as they will be needed to configure the standby server. | ||
Line 35: | Line 35: | ||
=Standby Server Config= | =Standby Server Config= | ||
− | #Run | + | #Run {{Code Block - Mini | text = sudo -i}} |
#:If you do not use this specific command portions of the script will not execute properly. | #:If you do not use this specific command portions of the script will not execute properly. | ||
− | #Run | + | #Run {{Code Block - Mini | text = VALTStandbyServerConfig.sh}} on the standby server. Make sure to modify the variables at the top of the script to reflect your environment. Specifically the primaryip must be changed to the ip address of the primary server, the logfile and logpos variables must be set to the values output when running the script on the primary server. |
− | If using the VALTRedundancy.tar.gz package, the failure.sh and restore.sh scripts should automatically be copied to the /usr/local/valt/bin/ directory and set to executable. These scripts are provided below if the VALTRedundancy.tar.gz package was not used. It is a good idea to update the variables in these scripts now so they are ready to be used in the event of a failover. | + | If using the VALTRedundancy.tar.gz package, the failure.sh and restore.sh scripts should automatically be copied to the {{Code Block - Mini | text = /usr/local/valt/bin/}} directory and set to executable. These scripts are provided below if the {{Code Block - Mini | text = VALTRedundancy.tar.gz package}} was not used. It is a good idea to update the variables in these scripts now so they are ready to be used in the event of a failover. |
<hr> | <hr> | ||
Line 46: | Line 46: | ||
# Update the shared DNS entry to reference the standby server. | # Update the shared DNS entry to reference the standby server. | ||
# Run the script by typing the following command: | # Run the script by typing the following command: | ||
− | #: | + | #: {{Code Block - Mini | text = sudo /usr/local/valt/bin/failure.sh}} |
<hr> | <hr> | ||
Line 52: | Line 52: | ||
=How to Return to the Primary Server= | =How to Return to the Primary Server= | ||
# Update the shared DNS entry to reference the standby server. | # Update the shared DNS entry to reference the standby server. | ||
− | # Update the variables in the script below to reflect the correct primary ip, slaveuser, and slavepassword. (If this was not done during initial setup) | + | # Update the variables in the script below to reflect the correct primary ip, slaveuser, and slavepassword. <em>(If this was not done during initial setup)</em> |
# Run the script by typing the following command: | # Run the script by typing the following command: | ||
− | #: | + | #: {{Code Block - Mini | text = sudo /usr/local/valt/bin/restore.sh}} |
}} | }} | ||
Revision as of 15:53, 27 July 2023
⚠DISCLAIMER: This is not a step by step instruction. This article assumes the reader has a working understanding of the VALT application and how to modify the configuration files. This procedure should only be completed by an IVS support engineer. This may be incorporated into the command line menu in the future.