Two-machine hot standby FAQ and Scheme selection

Source: Internet
Author: User
Tags implement access backup
The problem is important for an enterprise-critical application system to ensure that the system is able to provide services consistently and reliably, so there is a need for high availability and a high availability solution.

The following issues are common for choosing high availability solutions, especially for dual-machine hot standby scenarios:

Q: Has the RAID technology and data backup technology been taken, is it necessary to do dual-machine?

A: See also: the relationship between double hot standby and data backup

Q: What are the high availability solutions?

A: Broadly speaking, high availability includes all the techniques to avoid interruption of system services. In general, the system high availability, often refers to the server's dual-or multiple-machine hot standby/fault tolerance.

Q: When do I need two-machine hot standby?

A: Decide whether to use dual-machine hot standby, the correct way is to analyze the importance of the system and the degree of tolerance to service interruption, so as to determine whether to use dual-machine hot standby. That is, how long your users can tolerate the recovery of services, and how much the impact will be if the service does not recover.

Q: Double-standby, dual-machine and dual-machine duplex Three concepts are what mean? What's the difference?

A: See also: the difference between dual-standby and dual-machine duplex

Q: The difference between the two-machine hot standby scheme and cluster?

A: Conceptually, dual-machine hot standby is a cluster (Cluster). Clusters generally include two categories, a pure application server cluster, each application server access to a unified database server, but they do not need to share the storage, this cluster is relatively simple, often take each server to provide services at the same time, and often at the same time using load balancing technology. The other is the database server (or other systems that need access to the stored data such as Exchange, Notes) dual-Machine hot standby, this dual-machine hot standby is often two servers using shared storage devices, in most cases, is the main, standby approach, but there are high-end systems in a parallel manner.

For a cluster of application services see: Talking about load balancing of Web server and application server

Q: Are there several ways to have high availability of database services?

A: The simplest is the way to use a standby machine. This is not really a high availability range, but it can control the amount of time to recover services after a failure in a few 10 minutes, and the standby can also be used for other purposes. This approach is a low-cost, simple solution that is more appropriate for applications that are not very important. It doesn't apply to important applications, but it doesn't matter if your application stops for a few days, or at least this level of protection.

The second one is to realize the hot standby of two machines by software. That is, do not use shared storage devices, but data is no longer a single point of storage, the local data can be to many hosts to do real-time data replication. The advantage of this approach is the savings in expensive storage device investments. The disadvantage is that either the data will be different or the speed of the database will be affected. For example, if you switch to a standby when a service is interrupted, there may be a small number of transactions that have already been completed on the host that have not been implemented on the standby. Unlike the recovery of backup data, after the standby is started, subsequent operations have been carried out, so the lost transactions are difficult to fill. Therefore, this approach applies to systems that are not very sensitive to the loss of small amounts of data.

For an in-depth discussion of this approach, see: Mirroring and ha-database two-machine hot standby method

The third is based on shared storage devices and dual-computer software to achieve dual-machine hot standby. This is the standard method of providing a second-level switch without being on duty and not losing data. Of course, the investment will be relatively high.

Q: Database dual-Machine hot standby, dual-machine is working at the same time?

A: In general small and medium-sized applications, the database of dual-machine hot standby is the main/standby mode, the main server to work another waiting, in the primary server failure with the help of dual-computer software to automatically switch to another server. And some large-scale applications for the full use of equipment, can take the way of parallel services, two servers simultaneously providing services, such as Oracle's RAC (Oracle Real Application Cluster).

Q: How to select and implement a system high availability scenario?

A: See also: How to select and implement A system high availability scenario?

At present, the main market based on Windows and Linux platform dual-computer software, including Lifekeeper, Rosaha, Pluswell and so on.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.