fawaz25 |
04-22-2019 06:17 AM |
Creating shared disks in VSphere 6.5 - Oracle 12c RAC
Dear All,
I am installing Oracle db 12c release 2 on Oracle Linux 7 server using vSphere 6.5. I am going through the following documentation provided by Oracle for installation.
Code:
https://oracle-base.com/articles/12c/oracle-db-12cr2-rac-installation-on-oracle-linux-7-using-virtualbox
This installation process described in the above link is for virtual box. The document mentions creating shared disks using the following commands:
Code:
On the host server, create 4 sharable virtual disks and associate them as virtual media using the following commands. You can pick a different location, but make sure they are outside the existing VM directory.
$ mkdir -p /u04/VirtualBox/ol7-122-rac
$ cd /u04/VirtualBox/ol7-122-rac
$
$ # Create the disks and associate them with VirtualBox as virtual media.
$ VBoxManage createhd --filename asm1.vdi --size 20480 --format VDI --variant Fixed
$ VBoxManage createhd --filename asm2.vdi --size 20480 --format VDI --variant Fixed
$ VBoxManage createhd --filename asm3.vdi --size 20480 --format VDI --variant Fixed
$ VBoxManage createhd --filename asm4.vdi --size 20480 --format VDI --variant Fixed
$
$ # Connect them to the VM.
$ VBoxManage storageattach ol7-122-rac1 --storagectl "SATA" --port 1 --device 0 --type hdd --medium asm1.vdi --mtype shareable
$ VBoxManage storageattach ol7-122-rac1 --storagectl "SATA" --port 2 --device 0 --type hdd --medium asm2.vdi --mtype shareable
$ VBoxManage storageattach ol7-122-rac1 --storagectl "SATA" --port 3 --device 0 --type hdd --medium asm3.vdi --mtype shareable
$ VBoxManage storageattach ol7-122-rac1 --storagectl "SATA" --port 4 --device 0 --type hdd --medium asm4.vdi --mtype shareable
$
$ # Make shareable.
$ VBoxManage modifyhd asm1.vdi --type shareable
$ VBoxManage modifyhd asm2.vdi --type shareable
$ VBoxManage modifyhd asm3.vdi --type shareable
$ VBoxManage modifyhd asm4.vdi --type shareable
Code:
----Text from document
Start the virtual machine by clicking the "Start" button on the toolbar. When the server has started, log in as the root user so you can configure the shared disks. The current disks can be seen by issuing the following commands.
# cd /dev
# ls sd*
sda sda1 sda2 sdb sdc sdd sde
#
How can I do the above if I am working with vSphere? I know these commands of VBoxManage would not work in vSphere. Should I create separate disks?? How can i make it shared as mentioned above?? I would be glad for your help.
Note: The link to the Oracle document is attached above.
|