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

  Shutdown the server: 

[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!

 In the VirtualBox Manager, select the machine collabn1, click Settings -> Storage. 

Select Controller SATA and click on the Add Hard Disk button:



Click on Create New Disk:



 Leave VDI (VirtualBox Disk Image) selected and click Next. 



 For the shared storage, select Fixed size and click Next. 



 Change the location of the file to the folder racattack12 previously created. 

Enter asm1.vdi as disk name.

Enter 5.00Gb as disk size.

Click Create.



 Now the disk is physically created with a size of 5Gb, so it can take more time to complete. 



 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. </li>

Click OK.



<li style="margin-top:3em"> Make all the asm devices sharable: from VirtualBox Manager, click File -> Virtual Media Manager. </li>



<li style="margin-top:3em"> For each asm devices: right-click -> Modify: </li>



<li style="margin-top:3em"> Select Shareable and click OK. Do it for the four asm devices. </li>



<li style="margin-top:3em"> Start the machine collabn1. </li>

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 </ol>