为应对面向大量用户的数据容灾系统的需求,设计并实现了一个面向大量用户的数据备份容灾系统。在远程容灾服务器建立一个与磁盘分区数据一致的备份磁盘分区,对磁盘分区的数据进行实时监控,将监控到的数据变化通过网络实时传递到远程容灾服务器,并更新磁盘分区,采用epoll与哈希表等技术处理来自多个生成服务器的请求,能够同时为大量用户提供备份服务。当灾难发生时,系统将远程容灾服务器的备份数据恢复到磁盘分区,从而降低数据丢失所带来的损失。
For the requirement of the data backup server for numerous users, a numerous users oriented remote backup and disaster recovery system is proposed. This system could offer real-time monitoring for data of user' s disk partition, and transmit the changed data to remote disaster recover server in real-time through network. This system uses numerous users oriented method such as epoll and hash table, therefore it can provide service to numerous users. When a disaster occurs, this system recovers the backup data to the local disk partition, thereby avoids the loss by data corruption.