Difference between revisions of "VALT Warm Standby"
IVSWikiBlue (talk | contribs) |
IVSWikiBlue (talk | contribs) |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{Aside | hue = 0 | icon = ⚠ | content = <b>DISCLAIMER:</b> 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.}} | ||
+ | __TOC__ | ||
+ | {{Section | content = | ||
+ | =About= | ||
The easiest way to achieve a highly available VALT server is by utilizing a VM on a Hypervisor with shared storage that supports High Availability (HA). Both VMWare and Hyper-V have integrated HA capabilities. If there is a need to make the VALT server highly available, IVS strongly recommends deploying the VALT appliance in a virtual environment and leveraging the hypervisor's HA capabilities. If this is not an option, the procedure below will allow you to configure two VALT appliances with one as a primary server and the second as a warm standby. This procedure will configure the MYSQL databases in a master slave configuration and replicate all changes from the primary to the standby server. Video files can be synchronized periodically. The configuration given below will replicate video files on a daily basis, but this can be customized by adjusting the cronjob scheduling. | The easiest way to achieve a highly available VALT server is by utilizing a VM on a Hypervisor with shared storage that supports High Availability (HA). Both VMWare and Hyper-V have integrated HA capabilities. If there is a need to make the VALT server highly available, IVS strongly recommends deploying the VALT appliance in a virtual environment and leveraging the hypervisor's HA capabilities. If this is not an option, the procedure below will allow you to configure two VALT appliances with one as a primary server and the second as a warm standby. This procedure will configure the MYSQL databases in a master slave configuration and replicate all changes from the primary to the standby server. Video files can be synchronized periodically. The configuration given below will replicate video files on a daily basis, but this can be customized by adjusting the cronjob scheduling. | ||
− | + | <hr> | |
− | |||
=Prerequisites= | =Prerequisites= | ||
Line 13: | Line 16: | ||
* /usr/local/WowzaStreamingEngine/conf/dustin/Application.xml should be configured to point to the shared DNS entry. | * /usr/local/WowzaStreamingEngine/conf/dustin/Application.xml should be configured to point to the shared DNS entry. | ||
* The config files in /etc/apache2/sites-enabled/ should reference the shared DNS entry. | * The config files in /etc/apache2/sites-enabled/ should reference the shared DNS entry. | ||
− | * The only config file in /etc/apache2/sites-enabled/ should be | + | * The only config file in /etc/apache2/sites-enabled/ should be valt.conf. If default-ssl.conf is in this directory, delete it. |
* If using https, the certificate should already be installed on the primary server | * If using https, the certificate should already be installed on the primary server | ||
+ | |||
+ | <hr> | ||
=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 = <span class="code_regex">wget</span> --content-disposition https://ivs.box.com/shared/static/1062styfwr387efew51vt6mzqzsdd1m3.gz <span class="code_option">-O</span> <span class="code_2">VALTRedundancy.tar.gz</span>}} |
− | # Extract the file using the following command: < | + | # Extract the file using the following command: {{Code Block - Mini | text = <span class="code_regex">tar</span> <span class="code_option">-xvf</span> <span class="code_2">VALTRedundancy.tar.gz</span>}} |
+ | |||
+ | <hr> | ||
=Primary Server Config= | =Primary Server Config= | ||
− | Run < | + | 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. | ||
+ | |||
+ | <hr> | ||
=Standby Server Config= | =Standby Server Config= | ||
− | #Run < | + | #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 < | + | #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 /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 = <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> | ||
=How to Initiate a Failover to the Standby Server= | =How to Initiate a Failover to the Standby Server= | ||
# 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 = <span class="code_regex">sudo</span> <span class="code_filepath">/usr/local/valt/bin/</span><span class="code_file">failure.sh</span>}} |
+ | |||
+ | <hr> | ||
+ | |||
=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 = <span class="code_regex">sudo</span> <span class="code_filepath">/usr/local/valt/bin/</span><span class="code_file">restore.sh</span>}} |
− | =Scripts= | + | }} |
− | = | + | |
− | + | {{Section | title = <h1>Scripts</h1> | content = | |
+ | {{Section - Expand | color = #E6B8B8 | title = ValtPrimaryServerConfig.sh | content = | ||
+ | <pre> | ||
+ | #!/bin/bash | ||
# This script will configure an existing VALT server to function as a primary server. | # This script will configure an existing VALT server to function as a primary server. | ||
# You will need to run VALTStandbyServerConfig.sh on the warm standby server. | # You will need to run VALTStandbyServerConfig.sh on the warm standby server. | ||
− | standbyip=" | + | standbyip="ENTER_STANDBY_SERVER_IP" |
dbuser="ivsadmin" | dbuser="ivsadmin" | ||
− | dbpass=" | + | dbpass="admin51" |
slaveuser="ivs_user" | slaveuser="ivs_user" | ||
− | slavepassword=" | + | slavepassword="admin51" |
echo "WARNING: DO NOT RUN THIS SCRIPT MULTIPLE TIMES!!!" | echo "WARNING: DO NOT RUN THIS SCRIPT MULTIPLE TIMES!!!" | ||
Line 64: | Line 81: | ||
echo -e "ivsadmin ALL=(ALL) NOPASSWD: /usr/bin/rsync,/usr/bin/systemd-resolve" >> /etc/sudoers | echo -e "ivsadmin ALL=(ALL) NOPASSWD: /usr/bin/rsync,/usr/bin/systemd-resolve" >> /etc/sudoers | ||
− | + | if [ -s "/usr/local/valt/conf/valtconfig" ]; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | if [ -s "/usr/local/valt/conf/ | ||
then | then | ||
− | ipaddress=$(</usr/local/valt/conf/ | + | ipaddress=$(</usr/local/valt/conf/valtconfig) |
fi | fi | ||
sed -i "s|bind-address|#bind-address|g" /etc/mysql/mysql.conf.d/mysqld.cnf | sed -i "s|bind-address|#bind-address|g" /etc/mysql/mysql.conf.d/mysqld.cnf | ||
Line 78: | Line 89: | ||
echo -e "server-id\t\t= 1" >> /etc/mysql/mysql.conf.d/mysqld.cnf | echo -e "server-id\t\t= 1" >> /etc/mysql/mysql.conf.d/mysqld.cnf | ||
echo -e "log_bin\t\t\t= /var/log/mysql/mysql-bin.log" >> /etc/mysql/mysql.conf.d/mysqld.cnf | echo -e "log_bin\t\t\t= /var/log/mysql/mysql-bin.log" >> /etc/mysql/mysql.conf.d/mysqld.cnf | ||
− | echo -e "binlog_do_db\t\t= | + | echo -e "binlog_do_db\t\t= valt" >> /etc/mysql/mysql.conf.d/mysqld.cnf |
service mysql restart | service mysql restart | ||
− | sed -i "s| | + | ######sed -i "s|HOST|HOST: $ipaddress|g" /var/www/valt/.env.local##### |
iptables -A INPUT -p tcp -m tcp --dport 3306 -j ACCEPT | iptables -A INPUT -p tcp -m tcp --dport 3306 -j ACCEPT | ||
iptables -A OUTPUT -p tcp -m tcp --dport 22 -j ACCEPT | iptables -A OUTPUT -p tcp -m tcp --dport 22 -j ACCEPT | ||
Line 86: | Line 97: | ||
mysql --defaults-extra-file=/etc/mysql/debian.cnf -e "GRANT REPLICATION SLAVE ON *.* TO '$slaveuser'@'$standbyip' IDENTIFIED BY '$slavepassword';" | mysql --defaults-extra-file=/etc/mysql/debian.cnf -e "GRANT REPLICATION SLAVE ON *.* TO '$slaveuser'@'$standbyip' IDENTIFIED BY '$slavepassword';" | ||
mysql --defaults-extra-file=/usr/local/valt/conf/sql.cnf -e "FLUSH PRIVILEGES;" | mysql --defaults-extra-file=/usr/local/valt/conf/sql.cnf -e "FLUSH PRIVILEGES;" | ||
− | mysql --defaults-extra-file=/usr/local/valt/conf/sql.cnf -e "USE | + | mysql --defaults-extra-file=/usr/local/valt/conf/sql.cnf -e "USE valt;" |
mysql --defaults-extra-file=/usr/local/valt/conf/sql.cnf -e "FLUSH TABLES WITH READ LOCK;" | mysql --defaults-extra-file=/usr/local/valt/conf/sql.cnf -e "FLUSH TABLES WITH READ LOCK;" | ||
− | tmp1=$(mysql --defaults-extra-file=/usr/local/valt/conf/sql.cnf | + | tmp1=$(mysql --defaults-extra-file=/usr/local/valt/conf/sql.cnf valt -e "SHOW MASTER STATUS\G;" | grep File) |
sqlfile=${tmp1#*:} | sqlfile=${tmp1#*:} | ||
− | tmp1=$(mysql --defaults-extra-file=/usr/local/valt/conf/sql.cnf | + | tmp1=$(mysql --defaults-extra-file=/usr/local/valt/conf/sql.cnf valt -e "SHOW MASTER STATUS\G;" | grep Position) |
position=${tmp1#*:} | position=${tmp1#*:} | ||
sqlfile=$(echo $sqlfile | xargs) | sqlfile=$(echo $sqlfile | xargs) | ||
− | mysqldump --defaults-extra-file=/usr/local/valt/conf/sql.cnf --opt | + | mysqldump --defaults-extra-file=/usr/local/valt/conf/sql.cnf --opt valt > /usr/local/valt/backup/valt_sync.sql |
mysql --defaults-extra-file=/usr/local/valt/conf/sql.cnf -e "UNLOCK TABLES;" | mysql --defaults-extra-file=/usr/local/valt/conf/sql.cnf -e "UNLOCK TABLES;" | ||
netfilter-persistent save | netfilter-persistent save | ||
echo -e "Master Log File: $sqlfile" | echo -e "Master Log File: $sqlfile" | ||
echo -e "Master Log Position: $position" | echo -e "Master Log Position: $position" | ||
− | fi</ | + | fi |
+ | </pre> | ||
+ | }} | ||
− | = | + | {{Section - Expand | color = #E6CFB8 | title = ValtStandbyServerConfig.sh | content = |
− | + | <pre> | |
#!/bin/bash | #!/bin/bash | ||
# This script will configure an existing VALT server to function as a | # This script will configure an existing VALT server to function as a | ||
Line 108: | Line 121: | ||
primaryuser="ivsadmin" | primaryuser="ivsadmin" | ||
− | primarypass=" | + | primarypass="admin51" |
− | primaryip=" | + | primaryip="ENTER_PRIMARY_SERVER_IP" |
slaveuser="ivs_user" | slaveuser="ivs_user" | ||
− | slavepassword=" | + | slavepassword="admin51" |
logfile="" | logfile="" | ||
logpos="" | logpos="" | ||
Line 129: | Line 142: | ||
ssh-keygen -t rsa -f /root/.ssh/id_rsa -q -N "" | ssh-keygen -t rsa -f /root/.ssh/id_rsa -q -N "" | ||
ssh-copy-id -i /root/.ssh/id_rsa.pub ivsadmin@$primaryip | ssh-copy-id -i /root/.ssh/id_rsa.pub ivsadmin@$primaryip | ||
− | rsync --rsync-path="sudo rsync" -avz ivsadmin@$primaryip:/usr/local/ | + | rsync --rsync-path="sudo rsync" -avz ivsadmin@$primaryip:/usr/local/valt/records/* /usr/local/valt/records/ |
− | (crontab -l ; echo -e '00 11 * * * rsync --rsync-path="sudo rsync" -avz ivsadmin@$primaryip:/usr/local/ | + | (crontab -l ; echo -e '00 11 * * * rsync --rsync-path="sudo rsync" -avz ivsadmin@$primaryip:/usr/local/valt/records/* /usr/local/valt/records/') | crontab - |
service apache2 stop | service apache2 stop | ||
service WowzaStreamingEngine stop | service WowzaStreamingEngine stop | ||
Line 144: | Line 157: | ||
mkdir /etc/apache2/ssl | mkdir /etc/apache2/ssl | ||
scp ivsadmin@$primaryip:/etc/apache2/ssl/* /etc/apache2/ssl | scp ivsadmin@$primaryip:/etc/apache2/ssl/* /etc/apache2/ssl | ||
− | scp ivsadmin@$primaryip:/etc/apache2/sites-enabled/ | + | scp ivsadmin@$primaryip:/etc/apache2/sites-enabled/valt.conf /etc/apache2/sites-enabled/ |
scp ivsadmin@$primaryip:/usr/local/WowzaStreamingEngine/conf/valtwowza.jks /usr/local/WowzaStreamingEngine/conf/ | scp ivsadmin@$primaryip:/usr/local/WowzaStreamingEngine/conf/valtwowza.jks /usr/local/WowzaStreamingEngine/conf/ | ||
− | scp ivsadmin@$primaryip:/var/www/ | + | scp ivsadmin@$primaryip:/var/www/valt/nodejs/* /var/www/valt/nodejs/ |
scp ivsadmin@$primaryip:/usr/local/WowzaStreamingEngine/java/lib/security/cacerts /usr/local/WowzaStreamingEngine/java/lib/security/ | scp ivsadmin@$primaryip:/usr/local/WowzaStreamingEngine/java/lib/security/cacerts /usr/local/WowzaStreamingEngine/java/lib/security/ | ||
scp ivsadmin@$primaryip:/usr/local/WowzaStreamingEngine/conf/VHost.xml /usr/local/WowzaStreamingEngine/conf/ | scp ivsadmin@$primaryip:/usr/local/WowzaStreamingEngine/conf/VHost.xml /usr/local/WowzaStreamingEngine/conf/ | ||
Line 167: | Line 180: | ||
echo -e "password=$primarypass" >> /usr/local/valt/conf/primary.cnf | echo -e "password=$primarypass" >> /usr/local/valt/conf/primary.cnf | ||
− | mysqldump --defaults-extra-file=/usr/local/valt/conf/standby.cnf --opt | + | mysqldump --defaults-extra-file=/usr/local/valt/conf/standby.cnf --opt valt > /usr/local/valt/backup/valt_orig.sql |
− | mysql --defaults-extra-file=/usr/local/valt/conf/standby.cnf -e "DROP DATABASE | + | mysql --defaults-extra-file=/usr/local/valt/conf/standby.cnf -e "DROP DATABASE valt;" |
− | mysql --defaults-extra-file=/usr/local/valt/conf/standby.cnf -e "CREATE DATABASE | + | mysql --defaults-extra-file=/usr/local/valt/conf/standby.cnf -e "CREATE DATABASE valt;" |
− | scp ivsadmin@$primaryip:/usr/local/valt/backup/ | + | scp ivsadmin@$primaryip:/usr/local/valt/backup/valt_sync.sql /usr/local/valt/backup/valt_sync.sql |
− | mysql --defaults-extra-file=/usr/local/valt/conf/standby.cnf | + | mysql --defaults-extra-file=/usr/local/valt/conf/standby.cnf valt < /usr/local/valt/backup/valt_sync.sql |
echo -e "server-id\t\t= 2" >> /etc/mysql/mysql.conf.d/mysqld.cnf | echo -e "server-id\t\t= 2" >> /etc/mysql/mysql.conf.d/mysqld.cnf | ||
echo -e "relay-log\t\t= /var/log/mysql/mysql-relay-bin.log" >> /etc/mysql/mysql.conf.d/mysqld.cnf | echo -e "relay-log\t\t= /var/log/mysql/mysql-relay-bin.log" >> /etc/mysql/mysql.conf.d/mysqld.cnf | ||
echo -e "log_bin\t\t\t= /var/log/mysql/mysql-bin.log" >> /etc/mysql/mysql.conf.d/mysqld.cnf | echo -e "log_bin\t\t\t= /var/log/mysql/mysql-bin.log" >> /etc/mysql/mysql.conf.d/mysqld.cnf | ||
− | echo -e "binlog_do_db\t\t= | + | echo -e "binlog_do_db\t\t= valt" >> /etc/mysql/mysql.conf.d/mysqld.cnf |
service mysql restart | service mysql restart | ||
mysql --defaults-extra-file=/usr/local/valt/conf/standby.cnf -e "CHANGE MASTER TO MASTER_HOST='$primaryip',MASTER_USER='$slaveuser', MASTER_PASSWORD='$slavepassword', MASTER_LOG_FILE='$logfile', MASTER_LOG_POS= $logpos;" | mysql --defaults-extra-file=/usr/local/valt/conf/standby.cnf -e "CHANGE MASTER TO MASTER_HOST='$primaryip',MASTER_USER='$slaveuser', MASTER_PASSWORD='$slavepassword', MASTER_LOG_FILE='$logfile', MASTER_LOG_POS= $logpos;" | ||
Line 185: | Line 198: | ||
fi | fi | ||
− | </ | + | </pre> |
+ | }} | ||
− | = | + | {{Section - Expand | color = #E6E6B8 | title = failure.sh | content = |
− | + | <pre> | |
#!/bin/bash | #!/bin/bash | ||
#This script will make the redundant VALT server the primary VALT server. | #This script will make the redundant VALT server the primary VALT server. | ||
Line 213: | Line 227: | ||
service valtcontrols start | service valtcontrols start | ||
fi | fi | ||
+ | </pre> | ||
+ | }} | ||
− | + | {{Section - Expand | color = #CFE6B8 | title = restore.sh | content = | |
− | + | <pre> | |
− | |||
#!/bin/bash | #!/bin/bash | ||
# This script will migrate the database and all recordings back to the primary VALT server. | # This script will migrate the database and all recordings back to the primary VALT server. | ||
Line 241: | Line 256: | ||
systemctl disable valtcontrols | systemctl disable valtcontrols | ||
systemctl disable WowzaStreamingEngine | systemctl disable WowzaStreamingEngine | ||
− | rsync --rsync-path="sudo rsync" -avz /usr/local/ | + | rsync --rsync-path="sudo rsync" -avz /usr/local/valt/records/* ivsadmin@10.111.3.73:/usr/local/valt/records/ |
− | mysqldump --defaults-extra-file=/usr/local/valt/conf/standby.cnf --opt v3 > /usr/local/valt/backup/ | + | mysqldump --defaults-extra-file=/usr/local/valt/conf/standby.cnf --opt v3 > /usr/local/valt/backup/valt.sql |
− | mysql --defaults-extra-file=/usr/local/valt/conf/primary.cnf -e "DROP DATABASE | + | mysql --defaults-extra-file=/usr/local/valt/conf/primary.cnf -e "DROP DATABASE valt;" |
− | mysql --defaults-extra-file=/usr/local/valt/conf/primary.cnf -e "CREATE DATABASE | + | mysql --defaults-extra-file=/usr/local/valt/conf/primary.cnf -e "CREATE DATABASE valt;" |
− | mysql --defaults-extra-file=/usr/local/valt/conf/primary.cnf | + | mysql --defaults-extra-file=/usr/local/valt/conf/primary.cnf valt < /usr/local/valt/backup/valt.sql |
− | mysql --defaults-extra-file=/usr/local/valt/conf/primary.cnf | + | mysql --defaults-extra-file=/usr/local/valt/conf/primary.cnf valt -e "FLUSH TABLES WITH READ LOCK;" |
− | tmp1=$(mysql --defaults-extra-file=/usr/local/valt/conf/primary.cnf | + | tmp1=$(mysql --defaults-extra-file=/usr/local/valt/conf/primary.cnf valt -e "SHOW MASTER STATUS\G;" | grep File) |
sqlfile=${tmp1#*:} | sqlfile=${tmp1#*:} | ||
− | tmp1=$(mysql --defaults-extra-file=/usr/local/valt/conf/primary.cnf | + | tmp1=$(mysql --defaults-extra-file=/usr/local/valt/conf/primary.cnf valt -e "SHOW MASTER STATUS\G;" | grep Position) |
position=${tmp1#*:} | position=${tmp1#*:} | ||
sqlfile=$(echo $sqlfile | xargs) | sqlfile=$(echo $sqlfile | xargs) | ||
− | mysqldump --defaults-extra-file=/usr/local/valt/conf/primary.cnf --opt | + | mysqldump --defaults-extra-file=/usr/local/valt/conf/primary.cnf --opt valt > /usr/local/valt/backup/valt_sync.sql |
− | mysql --defaults-extra-file=/usr/local/valt/conf/primary.cnf | + | mysql --defaults-extra-file=/usr/local/valt/conf/primary.cnf valt -e "UNLOCK TABLES;" |
− | mysql --defaults-extra-file=/usr/local/valt/conf/standby.cnf -e "DROP DATABASE | + | mysql --defaults-extra-file=/usr/local/valt/conf/standby.cnf -e "DROP DATABASE valt;" |
− | mysql --defaults-extra-file=/usr/local/valt/conf/standby.cnf -e "CREATE DATABASE | + | mysql --defaults-extra-file=/usr/local/valt/conf/standby.cnf -e "CREATE DATABASE valt;" |
− | mysql --defaults-extra-file=/usr/local/valt/conf/standby.cnf | + | mysql --defaults-extra-file=/usr/local/valt/conf/standby.cnf valt < /usr/local/valt/backup/valt_sync.sql |
mysql --defaults-extra-file=/usr/local/valt/conf/standby.cnf -e "CHANGE MASTER TO MASTER_HOST="\'"$primaryip"\'", MASTER_USER="\'"$slaveuser"\'", MASTER_PASSWORD="\'"$slavepassword"\'", MASTER_LOG_FILE="\'"$sqlfile"\'", MASTER_LOG_POS = $position;" | mysql --defaults-extra-file=/usr/local/valt/conf/standby.cnf -e "CHANGE MASTER TO MASTER_HOST="\'"$primaryip"\'", MASTER_USER="\'"$slaveuser"\'", MASTER_PASSWORD="\'"$slavepassword"\'", MASTER_LOG_FILE="\'"$sqlfile"\'", MASTER_LOG_POS = $position;" | ||
mysql --defaults-extra-file=/usr/local/valt/conf/standby.cnf -e "START SLAVE;" | mysql --defaults-extra-file=/usr/local/valt/conf/standby.cnf -e "START SLAVE;" | ||
fi | fi | ||
− | + | </pre> | |
− | </ | + | }} }} |
Latest revision as of 08:26, 24 October 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.