Udo*_*o G 5 replication distributed-filesystems
I'm trying to set up a redundant setup consisting of two servers that have everything redundant:
Mostly one of the two servers will be the "main" server and the other will replicate all it's data and will also be used to distribute workload (Gearman). In case the main server fails, everything is switched to the "standby" server which will become the "active" server and continue it's work.
To reduce the risk of complete fail of both servers, they are geographically separated in two distant data centers (same country / direct connections).
I read a lot about distributed file systems, but still have no clue which solution is suitable for just two nodes...
Some more requirements to the distributed file system:
Update/more details:
哪种文件系统适合这种情况?
尝试 DRBD。这不是文件系统,而是块设备。
来自http://lwn.net/Articles/329543/
协议A:本地磁盘写入完成后,即认为写入完成,并且数据包已放入对等端的发送队列中。当节点发生故障时,由于要写入远程节点磁盘的数据可能仍在发送队列中,因此可能会发生数据丢失。但是,故障转移节点上的数据是一致的,但不是最新的。这通常用于地理上分离的节点。
...
单一主要:主要指定给一个集群成员。由于只有一个集群成员操作数据,因此该模式对于 ext3 或 XFS 等传统文件系统非常有用。
另请参阅http://www.drbd.org/home/feature-list/了解更多详细信息。
| 归档时间: |
|
| 查看次数: |
3042 次 |
| 最近记录: |