411 REFERENCE · Wikibooks
RAC Attack - Oracle Cluster Database at Home/RAC Attack 12c/Create Virtualbox Shared Storage
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
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:
Virtualbox 4: Create Shared Storage - Add Hard Disk
Click on Create New Disk:
Virtualbox 4: Create Shared Storage - Select New Disk
Leave VDI (VirtualBox Disk Image) selected and click Next.
RA-vbox 4214-create vm-primary hard disk type
For the shared storage, select Fixed size and click Next.
Virtualbox 4: Create Shared Storage - Fixed Size
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.
Virtualbox 4: Create Shared Storage - Disk Name and Size
Now the disk is physically created with a size of 5Gb, so it can take more time to complete.
Virtualbox 4: Create Shared Storage - Creation in progress
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
Prepare Linux for Oracle Configure Storage Persistent Naming