Difference between revisions of "VALT Warm Standby"
IVSWikiBlue (talk | contribs) |
IVSWikiBlue (talk | contribs) |
||
Line 28: | Line 28: | ||
=Primary Server Config= | =Primary Server Config= | ||
− | 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. | + | Run {{Code Block - Mini | text = <span class="code_file">PrimaryServerConfig.sh</span>}} 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 {{Code Block - Mini | text = sudo -i}} | + | #Run {{Code Block - Mini | text = <span class="code_regex">sudo</span> <span class="code_option">-i</span>}} |
#: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 {{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. | + | #Run {{Code Block - Mini | text = <span class="code_file">VALTStandbyServerConfig.sh</span>}} 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 {{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. | + | If using the VALTRedundancy.tar.gz package, the failure.sh and restore.sh scripts should automatically be copied to the {{Code Block - Mini | text = <span class="code_filepath">/usr/local/valt/bin/</span>}} directory and set to executable. These scripts are provided below if the {{Code Block - Mini | text = <span class="code_2">VALTRedundancy.tar.gz</span> 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}} | + | #: {{Code Block - Mini | text = <span class="code_regex">sudo</span> <span class="code_filepath">/usr/local/valt/bin/</span><span class="code_file">failure.sh</span>}} |
<hr> | <hr> | ||
Line 54: | Line 54: | ||
# 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> | # 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}} | + | #: {{Code Block - Mini | text = <span class="code_regex">sudo</span> <span class="code_filepath">/usr/local/valt/bin/</span><span class="code_file">restore.sh</span>}} |
}} | }} | ||
Revision as of 16:37, 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.