After the primary server is down, how to switch to

there are two servers, primary server An and standby server B, which are used to place the website project access website domain name to access the primary server A how to set up so that after A downtime, the domain name can directly access the standby server B

Mar.07,2021

you can do load balancing. Take a separate server as a load balancing server.
the following is a reference diagram:
v2-7c9156e028659ea164d0d92e69c88383_hd.jpg

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bedeac-39f63.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bedeac-39f63.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?