On 08/08/2013 03:54 AM, Timon Wang wrote:> Anybody have idea on it? > > I tried to set the disk as raw format, and retried the setup process, > but still can't get through.Caveat: I know nothing in particular about Oracle RAC, but... Assuming that RAC uses something like SCSI reservations in order to share the disk, I would guess it doesn't like the disk being on the IDE bus.> > On Fri, Aug 2, 2013 at 1:58 PM, Timon Wang <timonwst@gmail.com> wrote: >> We wan't to setup two Oracle instance and make RAC work on them. >> Both VM are setup based on libvirt + KVM, we use a lvm lun which >> formated in qcow2 format and set the shareable properties in the disk >> driver like this: >> >> <disk type='block' device='disk'> >> <driver name='qemu' type='qcow2' cache='none'/> >> <source dev='/dev/81035c32-d2e4-4aaf-82fa-3e76ae587586/ca18f6a5-7c98-46ea-b562-9424e68a52f3'/> >> <target dev='hda' bus='ide'/> >> <shareable/> >> <address type='drive' controller='0' bus='0' target='0' unit='0'/> >> </disk> >> >> But when we use it as shared data disk like we use iscsi/FC disk for >> shared data disk, the disk can't be recognized as a share disk, and >> RAC can't be setup in the environment. >> >> Any body can give me some guild on this? >> >> I am wondering shareable in the libvirt config really makes the disk shareable? >> >> How can I setup the RAC environment in this situable? >> >> I found that vmware and vbox can do this according to a blog post, I >> am wondering if kvm has this ability to make a disk really shareable. >> >> -- >> Focus on: Server Vitualization, Network security,Scanner,NodeJS,JAVA,WWW >> Blog: http://www.nohouse.net > > >
Timon Wang
2013-Aug-10 03:14 UTC
Re: [libvirt-users] Oracle RAC in libvirt+KVM environment
I have tryied change the disk bus to SCSI, add a SCSI controller whose model is virtio-scsi, still can't setup the RAC instance. I tried to use windows 2008 Failover Cluster feature to setup a a Failover Cluster instead, and I can't find any cluster disk to share between two nodes. So when Failover Cluster is setup, I can't add any Cluster disk to the Failover Cluster. Have I missed some thing? On Thu, Aug 8, 2013 at 10:04 PM, Don Koch <dkoch@verizon.com> wrote:> On 08/08/2013 03:54 AM, Timon Wang wrote: >> Anybody have idea on it? >> >> I tried to set the disk as raw format, and retried the setup process, >> but still can't get through. > > Caveat: I know nothing in particular about Oracle RAC, but... > > Assuming that RAC uses something like SCSI reservations in order to > share the disk, I would guess it doesn't like the disk being on the IDE > bus. > >> >> On Fri, Aug 2, 2013 at 1:58 PM, Timon Wang <timonwst@gmail.com> wrote: >>> We wan't to setup two Oracle instance and make RAC work on them. >>> Both VM are setup based on libvirt + KVM, we use a lvm lun which >>> formated in qcow2 format and set the shareable properties in the disk >>> driver like this: >>> >>> <disk type='block' device='disk'> >>> <driver name='qemu' type='qcow2' cache='none'/> >>> <source dev='/dev/81035c32-d2e4-4aaf-82fa-3e76ae587586/ca18f6a5-7c98-46ea-b562-9424e68a52f3'/> >>> <target dev='hda' bus='ide'/> >>> <shareable/> >>> <address type='drive' controller='0' bus='0' target='0' unit='0'/> >>> </disk> >>> >>> But when we use it as shared data disk like we use iscsi/FC disk for >>> shared data disk, the disk can't be recognized as a share disk, and >>> RAC can't be setup in the environment. >>> >>> Any body can give me some guild on this? >>> >>> I am wondering shareable in the libvirt config really makes the disk shareable? >>> >>> How can I setup the RAC environment in this situable? >>> >>> I found that vmware and vbox can do this according to a blog post, I >>> am wondering if kvm has this ability to make a disk really shareable. >>> >>> -- >>> Focus on: Server Vitualization, Network security,Scanner,NodeJS,JAVA,WWW >>> Blog: http://www.nohouse.net >> >> >> >-- Focus on: Server Vitualization, Network security,Scanner,NodeJS,JAVA,WWW Blog: http://www.nohouse.net
Stefan Hajnoczi
2013-Aug-12 09:53 UTC
Re: [libvirt-users] Oracle RAC in libvirt+KVM environment
On Sat, Aug 10, 2013 at 11:14:39AM +0800, Timon Wang wrote:> I have tryied change the disk bus to SCSI, add a SCSI controller whose > model is virtio-scsi, still can't setup the RAC instance. > > I tried to use windows 2008 Failover Cluster feature to setup a a > Failover Cluster instead, and I can't find any cluster disk to share > between two nodes. So when Failover Cluster is setup, I can't add any > Cluster disk to the Failover Cluster. > > Have I missed some thing?I'm not sure what SCSI-level requirements RAC or Failover Cluster have. If anyone knows which features are needed it would be possible to confirm whether they are supported under KVM. I expect this can only work if you are passing through a shared LUN. Can you describe your configuration? Stefan