K
kenp
Guest
Hi,I have been struggling with this for sometime. I have the following setup:
1. Proxmox host2.
2 CentOS 5.9 VMs
3. Qnap NAS with iscsi targetsI want to setup shared storage for Oracle ASM across the VMs (it is likely I will add additional VMs to test scalability of the Oracle RAC).
On my proxmox host, i have setup an iscsi target and lvm group:
root@abhimanyu:~# pvesm status
>> iscsi_crsvote iscsi 1 0 0 0 100.00%
local dir 1 19685656 15763600 2922072 84.86%
>> lv_crsvote lvm 0 0 0 0 100.00%
vg_vm lvm 1 2047995904 0 1995567104 0.50%
I can see the volume group on the proxmox host:root@abhimanyu:~# vgscan
Reading all physical volumes. This may take a while...
>> Found volume group "vg_crsvote" using metadata type lvm2
Found volume group "vg_local" using metadata type lvm2
However, I cannot see this from either of the CentOS vm's. I cannot use the 'Add Hard Disk' option for the VM because Oracle ASM needs unformatted block device. The 'Add Hard Disk' option forces the use of LVM group as a base for creating virtual disks on it (right?), rather I want to present the whole lv to ASM so it can manage the storage itself.
Not sure if I've explained it well but happy to answer any questions to get this sorted.
Thanks!
1. Proxmox host2.
2 CentOS 5.9 VMs
3. Qnap NAS with iscsi targetsI want to setup shared storage for Oracle ASM across the VMs (it is likely I will add additional VMs to test scalability of the Oracle RAC).
On my proxmox host, i have setup an iscsi target and lvm group:
root@abhimanyu:~# pvesm status
>> iscsi_crsvote iscsi 1 0 0 0 100.00%
local dir 1 19685656 15763600 2922072 84.86%
>> lv_crsvote lvm 0 0 0 0 100.00%
vg_vm lvm 1 2047995904 0 1995567104 0.50%
I can see the volume group on the proxmox host:root@abhimanyu:~# vgscan
Reading all physical volumes. This may take a while...
>> Found volume group "vg_crsvote" using metadata type lvm2
Found volume group "vg_local" using metadata type lvm2
However, I cannot see this from either of the CentOS vm's. I cannot use the 'Add Hard Disk' option for the VM because Oracle ASM needs unformatted block device. The 'Add Hard Disk' option forces the use of LVM group as a base for creating virtual disks on it (right?), rather I want to present the whole lv to ASM so it can manage the storage itself.
Not sure if I've explained it well but happy to answer any questions to get this sorted.
Thanks!
Last edited by a moderator: