Dual-machine hot backup solution for Servers
The dual-machine Hot Standby software can detect computer operating systems, network systems, and databases in a timely manner. When any system has problems, the dual-machine software can automatically run on the backup server, let the slave server take over the work of the host so that the computer will never stop and data will never be lost.
I. Goals:
A) Automatic Backup: the backup job is automatically started without manual intervention;
B) Disaster recovery: disaster recovery capabilities for unpredictable man-made or natural disasters;
C) Business continuity: 24x7 database access is supported;
D) Centralized Management: centrally manages and stores data distributed across the network;
E) ease of use: This is mainly reflected in the graphic user interface and unattended operations.
F) moderate redundancy: The overall storage capacity is 30% redundant to adapt to possible network data expansion in the future.
G) Scalability: it has good scalability and is easy to expand the backup of New Application Data.
The dual-Machine Fault tolerance system combines the security and reliability of the disk array products with the advantages of the dual-Machine Fault Tolerance Technology and high availability. The disk array has made many optimizations and improvements to the dual-host Fault Tolerance Technology to meet the connection requirements of the dual-host hardware. Based on the actual situation of the application environment, it is suitable for Windows and later platforms, open-source Linux platforms, multiple hot standby software on sco unix platform.
Package solution:
* One md3000 disk array
* Array view SAS view 2
* Array hard drive Seagate 73 GB 2
* One set of Dual-Machine Software pluswell ha
* Heartbeat line ha dedicated heartbeat line 1
Ii. Technical Solutions
(1) This dual-host Hot Backup packaging solution is applicable to the following systems:
Windows 2003/, Linux (kernel big and v2.6), sco unix openserver & unixware
(2) applicable database systems:
MS SQL2000, Oracle8i/9i, Sybase, MySQL, postsql and other databases
(3) applicable third-party applications:
Provides monitoring programs for third-party applications and programming interfaces for user-specific programs.
(4) hot standby mode:
Active/standby, active/active
Active/standby is a traditional dual-machine hot backup solution. When the host is running, the slave is in the STANDBY state. When the host fails, the slave immediately starts to replace the service. Because the standby server platform does not have other traffic volumes, the user access speed will not be significantly affected after failover. This fault tolerance method is mainly applicable to only one application, and the configurations of the active/Standby server are not the same, in addition, the user traffic is high.
Active/active in this mode, the master and slave servers have their own applications. When any host in the system fails, the applications will be concentrated on one server, at this time, this backup server not only needs to take on the previous program running but also runs the applications on the down server, so the burden on the backup server will increase. This mode of failover often leads to an increase in the access volume of the backup server and slow system operation. This method is mainly suitable for scenarios where users have more than one application, and the user's master and backup machines have the same configuration and the data access volume is small.
(5) applicable servers:
This dual-machine packaging solution applies to servers: IBM, HP, Dell, and all intel-based servers.
(6) Dual-machine Hot Standby topology:
Iii. Working Principle of Dual Servers
(1) heartbeat Process
When the IP address is used for heartbeat detection, the master and slave nodes use this heartbeat path to periodically send test packets for mutual detection. If the host fails at this time, after the slave machine continuously loses the set number of detection packets, it will think that the host is faulty. At this time, the slave machine will automatically detect whether there is a second heartbeat in the settings. If there is no second heartbeat, based on the configured rules, the Standby server starts services related to the standby server and completes Hot Backup switching.
(2) IP Working Process
IP addresses are implemented using virtual IP addresses.
Under normal circumstances, the virtual IP address of the host points to the real IP address of the host. When the user accesses the host through the virtual IP address, the HA software resolves the virtual IP address to the real IP address of the host.
When the host is switched
The virtual IP address is automatically resolved to the real IP address of the slave machine through the HA software. In this case, the virtual IP address points to the real IP address of the slave machine. But for the user, the user still accesses the virtual IP address. Therefore, the user will only find a short communication Interruption During the switching process. After a short period of time, the communication can be resumed.
(3) Application and network failover Process
Detects host applications and network faults and promptly switches services to the backup server.
4. hardware configuration
(1) Server Configuration
Model: Dell 2900
Configuration: CPU 2.0/memory 2g/Hard Disk 73*2/RAID card Perc 5E;
(2) disk array configuration instructions:
Dell md3000 |
Parameters |
Description |
Product appearance |
The 3u rack-mounted chassis can accommodate up to 15 3.5 inch SAS hard disks; |
Disk and capacity |
Up to 15 1x3.5 inch SAS hot swapping hard drives with a speed of 3.0 Gbps and a speed of 10,000 or 15,000 Rpm * |
Maximum capacity (per Cabinet) |
4, 15,000 gb1, consisting of 15 gb1 rpm sas Hard Disks |
Raid level |
Supports raid, 5, and 10 |
Storage Controller |
The dual-storage controller provides fault recovery and redundant inventory cabinet management functions. Each controller includes 512 MB battery powered cache (72 hours) |
Connectivity |
Supports up to 2 high-availability (redundant data channels) hosts, or up to 4 non-high-availability (single data channel) hosts. The host uses SAS 5/e HbA |
(3) Dual-machine Hot Backup Software
For more information, see the pluswell technical White Paper.
V. Setting list
Device Name |
Description |
Quantity |
Server |
Poweredge 1, 2900 |
2 |
Disk Array |
Md3000 |
1 |
Hard Disk |
73 GB SAS |
1 |
SAS Cable |
|
1 |
Dedicated jumper |
|
1 |
Ha Software |
Pluswell |
1 |