vmware创建oracle asm磁盘

1、创建三个磁盘文件

vmware-vdiskmanager.exe -c -s 1GB -a lsilogic -t 2 d:\VM\sharedisk\ocr_asm.vmdk
vmware-vdiskmanager.exe -c -s 10GB -a lsilogic -t 2 d:\VM\sharedisk\data_asm.vmdk
vmware-vdiskmanager.exe -c -s 2GB -a lsilogic -t 2 d:\VM\sharedisk\fra_asm.vmdk

 这里的参数 -t 2表示创建一个包含在单一虚拟文件中的预分配虚拟磁盘,如果选择-t 0 会导致在安装ra时在第二个节点上执行root.sh脚本时失败,错误截图如下。

 

2、配置虚拟机文件使用创建好的虚拟机磁盘文件

diskLib.dataCacheMaxSize=0

diskLib.dataCacheMaxReadAheadSize=0

diskLib.dataCacheMinReadAheadSize=0

diskLib.cataCachePageSize=4096

diskLib.maxUnsyncedWrites = "0"

 

disk.locking = "FALSE"

scsi1.sharedBus = "virtual"

scsi1.present = "TRUE"

scsi1.virtualDEV = "lsilogic"

 

scsi1:0.mod = "independent-persistent"

scsi1:0.deviceType = "disk"

scsi1:0.present = "TRUE"

scsi1:0.fileName = "D:\VM\sharedisk\crs_asm.vmdk"

 

scsi1:1.mod = "independent-persistent"

scsi1:1.deviceType = "disk"

scsi1:1.present = "TRUE"

scsi1:1.fileName = "D:\VM\sharedisk\data_asm.vmdk"

 

scsi1:2.mod = "independent-persistent"

scsi1:2.deviceType = "disk"

scsi1:2.present = "TRUE"

scsi1:2.fileName = "D:\VM\sharedisk\recovery_asm.vmdk"

发表评论