It’s been a while since I stood up a RAC environment on VirtualBox. Here’s the steps to create a a VDI or VMDK to provision for the RAC VMs:

$ VBoxManage createhd --filename asm1.vmdk --size 4096 --format VMDK --variant Fixed
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Disk image created. UUID: 1e2ab785-7687-42a5-bfd9-28962820f0eb
$ VBoxManage createhd --filename asm2.vmdk --size 4096 --format VMDK --variant Fixed
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Disk image created. UUID: 50f8d391-9d0a-44ce-ad3a-0d247685d07a
$ VBoxManage createhd --filename asm3.vmdk --size 4096 --format VMDK --variant Fixed
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Disk image created. UUID: da189364-7f5e-4012-9c33-5696b32b27be
$ VBoxManage createhd --filename asm4.vmdk --size 4096 --format VMDK --variant Fixed
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Disk image created. UUID: 05aa7755-8e4e-4023-90c2-c82a911ac94f
$ VBoxManage createhd --filename asm5.vmdk --size 4096 --format VMDK --variant Fixed
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Disk image created. UUID: baaba3c2-a589-4f2d-acc9-1430f6cbce06
$ VBoxManage createhd --filename asm6.vmdk --size 4096 --format VMDK --variant Fixed
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Disk image created. UUID: 3e647f23-9ca3-4bf4-bb40-85a61629c1ae

I am creating VMDK format disks to that I can port them to VMware later. To create a VDI disk, change the –format to be VDI. You will create a VDI disk, if you do not plan to migrate to another virtualization platform.

Once I’ve created the ASM LUNs, I will designate them to be shareable with the VBoxManage executable:
$ VBoxManage modifyhd asm1.vmdk -type shareable
$ VBoxManage modifyhd asm2.vmdk -type shareable
$ VBoxManage modifyhd asm3.vmdk -type shareable
$ VBoxManage modifyhd asm4.vmdk -type shareable
$ VBoxManage modifyhd asm5.vmdk -type shareable
$ VBoxManage modifyhd asm6.vmdk -type shareable

Posted in RAC