Stefan Hajnoczi
2013-Aug-13 09:18 UTC
Re: [libvirt-users] Oracle RAC in libvirt+KVM environment
On Mon, Aug 12, 2013 at 06:17:51PM +0800, Timon Wang wrote:> Yes, SCSI bus likes pass through a shared LUN to the vm, and I am > using a shared LUN for 'share' purpose. > > I found a post that vmware use lsilogic bus for the shared disk, but > my qemu/kvm version can't support lsilogic bus. > > I'm tring to update qemu/kvm version for lsilogic bus support.Use virtio-scsi. The emulated LSI SCSI controller has known bugs and is not actively developed - don't be surprised if you hit issues with it. The question is still what commands RAC or Failover Clustering use. If you find that the software refuses to run, it could be because additional work is required to make it work on KVM. Stefan
Timon Wang
2013-Aug-14 06:33 UTC
Re: [libvirt-users] Oracle RAC in libvirt+KVM environment
Thanks, i have tried virtio-scsi and LSI SCSI controller, by using a local file or a LUN as disk. Both raw and qcow2 disk format are be verified, but no way to make windows Failover Cluster and Oracle RAC work correctly. Actually, Oracle RAC and Windows Failover Cluster needs "share" storage like iscsi disk and fc disk to work correctly. In iscsi situation, we can use ip network for Failover Cluster "share" storage, but when we use fc as a high performance solution, we can't use fc "share" storage direct in VM(Not LUN passthrough). As I google the windows Failover Cluster requirements, I found that this issue may be that windows checks only iscsi and fc drivers, the type of the disk may be check by the driver type. In KVM situation, we can't emulate a iscsi/fc disk for VM to use, so we can't setup a environment like this. I'm wondering, if we want't to make sure the applications and service in the VM to always work, it's there another way to do this in KVM environment. On Tue, Aug 13, 2013 at 5:18 PM, Stefan Hajnoczi <stefanha@gmail.com> wrote:> On Mon, Aug 12, 2013 at 06:17:51PM +0800, Timon Wang wrote: >> Yes, SCSI bus likes pass through a shared LUN to the vm, and I am >> using a shared LUN for 'share' purpose. >> >> I found a post that vmware use lsilogic bus for the shared disk, but >> my qemu/kvm version can't support lsilogic bus. >> >> I'm tring to update qemu/kvm version for lsilogic bus support. > > Use virtio-scsi. The emulated LSI SCSI controller has known bugs and is > not actively developed - don't be surprised if you hit issues with it. > > The question is still what commands RAC or Failover Clustering use. If > you find that the software refuses to run, it could be because > additional work is required to make it work on KVM. > > Stefan-- Focus on: Server Vitualization, Network security,Scanner,NodeJS,JAVA,WWW Blog: http://www.nohouse.net
Timon Wang
2013-Aug-14 08:40 UTC
Re: [libvirt-users] Oracle RAC in libvirt+KVM environment
Hi all, I found a article about Hyper-V virtual Fiber Channel, I think this will make Failover Cluster work if KVM has the same feature. http://technet.microsoft.com/en-us/library/hh831413.aspx Hyper-V uses NPIV for virtual Fiber Channel, I have read some article about KVM NPIV, but how can I config it with libvirt? Any body can show me some example? On Wed, Aug 14, 2013 at 2:33 PM, Timon Wang <timonwst@gmail.com> wrote:> Thanks, i have tried virtio-scsi and LSI SCSI controller, by using a > local file or a LUN as disk. Both raw and qcow2 disk format are be > verified, but no way to make windows Failover Cluster and Oracle RAC > work correctly. > > Actually, Oracle RAC and Windows Failover Cluster needs "share" > storage like iscsi disk and fc disk to work correctly. > > In iscsi situation, we can use ip network for Failover Cluster "share" > storage, but when we use fc as a high performance solution, we can't > use fc "share" storage direct in VM(Not LUN passthrough). > > As I google the windows Failover Cluster requirements, I found that > this issue may be that windows checks only iscsi and fc drivers, the > type of the disk may be check by the driver type. In KVM situation, we > can't emulate a iscsi/fc disk for VM to use, so we can't setup a > environment like this. > > I'm wondering, if we want't to make sure the applications and service > in the VM to always work, it's there another way to do this in KVM > environment. > > On Tue, Aug 13, 2013 at 5:18 PM, Stefan Hajnoczi <stefanha@gmail.com> wrote: >> On Mon, Aug 12, 2013 at 06:17:51PM +0800, Timon Wang wrote: >>> Yes, SCSI bus likes pass through a shared LUN to the vm, and I am >>> using a shared LUN for 'share' purpose. >>> >>> I found a post that vmware use lsilogic bus for the shared disk, but >>> my qemu/kvm version can't support lsilogic bus. >>> >>> I'm tring to update qemu/kvm version for lsilogic bus support. >> >> Use virtio-scsi. The emulated LSI SCSI controller has known bugs and is >> not actively developed - don't be surprised if you hit issues with it. >> >> The question is still what commands RAC or Failover Clustering use. If >> you find that the software refuses to run, it could be because >> additional work is required to make it work on KVM. >> >> Stefan > > > > -- > 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