Chinaunix首页 | 论坛 | 博客
  • 博客访问: 484095
  • 博文数量: 67
  • 博客积分: 2952
  • 博客等级: 少校
  • 技术积分: 679
  • 用 户 组: 普通用户
  • 注册时间: 2006-01-24 10:50
文章分类

全部博文(67)

文章存档

2011年(9)

2010年(36)

2009年(8)

2008年(5)

2007年(5)

2006年(4)

我的朋友

分类: LINUX

2008-04-23 15:40:45

To test HA, build two servers in VMWare server. It needs a share disk for these two servers. in other word, we must create a disk which can be mounted in two servers.

1. create a disk file
# vmware-vdiskmanager -c -s 2Gb -a lsilogic -t 2 "/opt/share/dfsshare.vmdk"

2. add the following setting in the config file of two guest servers(ex. redhat.vmx)
(note: must stop the guest server)
scsi1.present = "TRUE"
scsi1:0.present = "TRUE"
scsi1:0.fileName = "/opt/share/dfsshare.vmdk"
scsi1.virtualDev = "lsilogic"
scsi1.sharedBus = "virutal"
disk.locking = "false"
scsi1:0.reslckname = "/tmp/sharedisk.reslock"
diskLib.dataCacheMaxSize = "0"
diskLib.dataCacheMaxReadAheadSize = "0"
diskLib.DataCacheMinReadAheadSize = "0"
diskLib.dataCachePageSize = "4096"
diskLib.maxUnsyncedWrites = "0"

refer to:



阅读(1154) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~