RAC Attack - Oracle Cluster Database at Home/RAC Attack 12c/Create Virtualbox Shared Storage


  1. Shutdown the server:
  2. [root@collabn1 ~]# shutdown -h now Broadcast message from root@collabn1.racattack (/dev/pts/0) at 9:06 ... The system is going down for halt NOW!
  3. In the VirtualBox Manager, select the machine collabn1, click Settings -> Storage.
  4. Select Controller SATA and click on the Add Hard Disk button: Virtualbox 4: Create Shared Storage - Add Hard Disk Click on Create New Disk: Virtualbox 4: Create Shared Storage - Select New Disk
  5. Leave VDI (VirtualBox Disk Image) selected and click Next.
  6. RA-vbox 4214-create vm-primary hard disk type
  7. For the shared storage, select Fixed size and click Next.
  8. Virtualbox 4: Create Shared Storage - Fixed Size
  9. Change the location of the file to the folder racattack12 previously created.
  10. Enter asm1.vdi as disk name. Enter 5.00Gb as disk size. Click Create. Virtualbox 4: Create Shared Storage - Disk Name and Size
  11. Now the disk is physically created with a size of 5Gb, so it can take more time to complete.
  12. Virtualbox 4: Create Shared Storage - Creation in progress
  13. Repeat the steps to create three more disks:
  • asm2.vdi (5.00GB)
  • asm3.vdi (5.00GB)
  • asm4.vdi (5.00GB)
  • Finally, four virtual disks should have been created for asm.
  • Click OK. Virtualbox 4: Create Shared Storage - 4 disks created
  • Make all the asm devices sharable: from VirtualBox Manager, click File -> Virtual Media Manager.
  • Virtualbox 4: Create Shared Storage - virtual media manager
  • For each asm devices: right-click -> Modify:
  • Virtualbox 4: Create Shared Storage - virtual media manager modify
  • Select Shareable and click OK. Do it for the four asm devices.
  • Virtualbox 4: Create Shared Storage - virtual media manager shareable
  • Start the machine collabn1.
  • You should see now four more disks named /dev/sd*: [root@collabn1 ~]# ls -l /dev/sd* brw-rw----. 1 root disk 8, 0 Jul 28 10:16 /dev/sda brw-rw----. 1 root disk 8, 1 Jul 28 10:16 /dev/sda1 brw-rw----. 1 root disk 8, 2 Jul 28 10:16 /dev/sda2 brw-rw----. 1 root disk 8, 16 Jul 28 10:16 /dev/sdb brw-rw----. 1 root disk 8, 32 Jul 28 10:16 /dev/sdc brw-rw----. 1 root disk 8, 48 Jul 28 10:16 /dev/sdd brw-rw----. 1 root disk 8, 64 Jul 28 10:16 /dev/sde