LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 828|回复: 0

GFS :如何在没有共享存储设备的情况下用两个pc机做两个gnbd_serv实现镜相和冗余

[复制链接]
发表于 2006-7-28 12:02:25 | 显示全部楼层 |阅读模式
configure multiple redhat gnbd_serv on non-shared storage,  need your help



I am trying to implement a two gnbd_serv storage service based on redhat GFS, with mirroring and redundancy.
Here is my design. I've searched for several days for relative documents, but gained little. Wish your help.

   ----------                                                                                 ----------
  | GNBD   |                                                                              | GNBD  |
  | client   | ........................                                                      |  client |
  |   1       |                                                                                |    n     |
  ----------                                                                                   ----------
      |                                                                                               |
      ------------------------- -------- -- ----------------------------------------------           IP network
       |                                                                                             |
   ----------                                                                                ----------
   | GNBD   |                                                                             | GNBD   |
   | server | ....                                                                         | server  |
   |   #1   |                                                                                |   #2    |
   ----------                                                                                ----------
        |                                                                                             |
       | |                                                                                           | |
      |   |                                                                                          |   |
     |     |                                                                                        |     |
    ***   ***                                                                              ***    ***
/dev/hda /dev/hdb                                                          /dev/hda  /dev/hdb
  data1     data2                                                                    data1        data2
   
All boxes are normal PC servers. The asterisks(*) in above scheme represent IDE hard disks.
*代表ide硬盘
   我的机器都是普通pc机和ide硬盘 ,要实现如下功能:
1>两个gnbd_serv向gnbd_client输出存储设备,实现镜像功能即图中1机的data1和2机的data1相同,1的data2和2的data2相同
2>要做到冗余即一台机器死掉,整个存储工作能正常进行
请问各位大侠目前redhat或ubuntu的gfs+cluster+lvm2能做到吗?若能做到该怎么做啊?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表