lilyone 发表于 2011-12-20 15:02

Oracle VM VirtualBox怎么创建共享磁盘

我在Oracle VM VirtualBox上做rac实验,怎么在虚拟机上设置共享磁盘。

omyeudaihiep 发表于 2013-09-19 01:01

:mrgreen: D72965GC10:outu:

Deafa 发表于 2013-09-25 17:11

可以使用第三方软件来做。startwind,openfiler.好处就是不需要修改参数,可以在线调整

duolanshizhe 发表于 2013-10-15 10:26

Create Shared Disks

Shut down the "ol5-112-rac1" virtual machine using the following command.

# shutdown -h now
On the host server, create 4 sharable virtual disks and associate them as virtual media using the following commands. You can pick a different location, but make sure they are outside the existing VM directory.

$ mkdir -p /u04/VirtualBox/ol5-112-rac
$ cd /u04/VirtualBox/ol5-112-rac
$
$ # Create the disks and associate them with VirtualBox as virtual media.
$ VBoxManage createhd --filename asm1.vdi --size 5120 --format VDI --variant Fixed
$ VBoxManage createhd --filename asm2.vdi --size 5120 --format VDI --variant Fixed
$ VBoxManage createhd --filename asm3.vdi --size 5120 --format VDI --variant Fixed
$ VBoxManage createhd --filename asm4.vdi --size 5120 --format VDI --variant Fixed
$
$ # Connect them to the VM.
$ VBoxManage storageattach ol5-112-rac1 --storagectl "SATA" --port 1 --device 0 --type hdd \
    --medium asm1.vdi --mtype shareable
$ VBoxManage storageattach ol5-112-rac1 --storagectl "SATA" --port 2 --device 0 --type hdd \
    --medium asm2.vdi --mtype shareable
$ VBoxManage storageattach ol5-112-rac1 --storagectl "SATA" --port 3 --device 0 --type hdd \
    --medium asm3.vdi --mtype shareable
$ VBoxManage storageattach ol5-112-rac1 --storagectl "SATA" --port 4 --device 0 --type hdd \
    --medium asm4.vdi --mtype shareable
$
$ # Make shareable.
$ VBoxManage modifyhd asm1.vdi --type shareable
$ VBoxManage modifyhd asm2.vdi --type shareable
$ VBoxManage modifyhd asm3.vdi --type shareable
$ VBoxManage modifyhd asm4.vdi --type shareable

详细情况,请访问http://www.oracle-base.com/articles/11g/oracle-db-11gr2-rac-installation-on-oel5-using-virtualbox.php#create_shared_disks

littlefishcat 发表于 2013-10-17 11:41

图形界面就可以吧 管理存储介质的地方选择一下共享就可以了

royzs 发表于 2013-10-17 13:34

本帖最后由 royzs 于 2013-10-17 13:35 编辑

很明确的告诉你做不了,换VMvare吧,ESX能用,机器配置要求比较高
我也纠结过很久,但是没有硬件只好拿这个了,我机器慢,笔记本i5 4G内存那叫一个折腾啊
页: [1]
查看完整版本: Oracle VM VirtualBox怎么创建共享磁盘