If you want to do a test Oracle RAC (12c R1, 12c R2) installation on virtual machines you would need to create shared disks to be used across all the
RAC nodes to store OCR/voteDisk and other ASM disks for database storage.
In the following, I will explain how we can created shared disks in Oracle Virtual Box.
Before you start, you may have look at this article to learn about creating virtual machines.
In the following, I will explain how we can created shared disks in Oracle Virtual Box.
Before you start, you may have look at this article to learn about creating virtual machines.
1)
I already have 2 virtual machines ORA1 and ORA2 created as you can see below. First we will add a shard disk in one VM and then we will share it on other VM(s).
Select any VM and click on Settings from the tool bar
I already have 2 virtual machines ORA1 and ORA2 created as you can see below. First we will add a shard disk in one VM and then we will share it on other VM(s).
Select any VM and click on Settings from the tool bar
2)
In settings, click on “Storage” from the left pane and then in the right pane; click on the controller under which you want to add new hard disk; and then click on “+” sign to add the hard disk.
In settings, click on “Storage” from the left pane and then in the right pane; click on the controller under which you want to add new hard disk; and then click on “+” sign to add the hard disk.
3)
In the new hard disk creation wizard, click on “Create new disk”
In the new hard disk creation wizard, click on “Create new disk”
4)
Select
VDI (default) and click Next
5)
Select “Fixed Size”.
Select “Fixed Size”.
6)
Give a name to this disk and specify the size and click Create
Give a name to this disk and specify the size and click Create
7)
Disk is being created by allocating the space.
Disk is being created by allocating the space.
8)
Now you see the disk
has been added to the VM.
9)
Now let’s share this
disk with the other VM.
Select Virtual Media Manager from the File menu.
Select Virtual Media Manager from the File menu.
10)
In the dialogue box, select
the newly created disk and click on “Modify” from the tool bar.
11)
Another dialogue box will pop up, from this box, select “Shareable”. Click OK
and then Close
12)
Select the other VM and click on Settings from the tool bar. In the popped up
dialogue box, click on “Storage” in the left pane. Then in the right pane,
select the controller under which you want to add the shared disk and click on “+”.
13)
Once you click on “+”, a new wizard will start. Click on “Choose existing disk”
14)
Now select the virtual disk path where it is stored and click Open
Now select the virtual disk path where it is stored and click Open
15)
Now you will the same disk also attached to this VM
Now you will the same disk also attached to this VM
16)
If you again open Virtual Media Manager, you can see that this disk is not shared between 2 VMs.
If you again open Virtual Media Manager, you can see that this disk is not shared between 2 VMs.
No comments:
Post a Comment