kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Don Koch <dkoch-H+0wwilmMs1BDgjK7y7TUQ@public.gmane.org>
To: Timon Wang <timonwst-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: libvirt-users
	<libvirt-users-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Oracle RAC in libvirt+KVM environment
Date: Thu, 8 Aug 2013 10:04:08 -0400	[thread overview]
Message-ID: <5203A558.5000301@terremark.com> (raw)
In-Reply-To: <CAH+8Fsxhgkd2ScivXcPc7WzXyie4AHUsuNvLEUgo2rvTBtzdNA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

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-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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
> 
> 
> 

  parent reply	other threads:[~2013-08-08 14:04 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-02  5:58 Oracle RAC in libvirt+KVM environment Timon Wang
2013-08-08  7:54 ` Timon Wang
     [not found]   ` <CAH+8Fsxhgkd2ScivXcPc7WzXyie4AHUsuNvLEUgo2rvTBtzdNA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-08-08 14:04     ` Don Koch [this message]
2013-08-10  3:14       ` Timon Wang
2013-08-12  9:53         ` Stefan Hajnoczi
     [not found]           ` <20130812095304.GE29880-lxVrvc10SDTaErKTczak/Dh473NlOPsLVpNB7YpNyf8@public.gmane.org>
2013-08-12 10:17             ` Timon Wang
2013-08-13  9:18               ` Stefan Hajnoczi
2013-08-14  6:33                 ` Timon Wang
2013-08-14  8:40                   ` Timon Wang
2013-08-14 14:02                     ` Stefan Hajnoczi
2013-08-15 10:01                       ` Timon Wang
2013-08-19 11:10                         ` Paolo Bonzini
2013-08-20  6:00                           ` Timon Wang
2013-08-20  6:05                             ` Timon Wang
2013-08-20  8:33                             ` Paolo Bonzini
2013-08-20  9:59                               ` Timon Wang
2013-08-20 10:16                                 ` Paolo Bonzini
2013-08-20 10:42                                   ` Timon Wang
2013-08-20 10:49                                     ` Paolo Bonzini
2013-08-20 11:43                                       ` Timon Wang
2013-08-20 11:57                                         ` Timon Wang
2013-08-20 12:09                                         ` Paolo Bonzini
2013-08-21  2:11                                           ` Timon Wang
2013-08-21  9:09                                             ` Paolo Bonzini
2013-08-21  9:40                                               ` Nicholas A. Bellinger
2013-08-22  7:46                                                 ` Timon Wang
2013-08-22  9:02                                                   ` Paolo Bonzini
2013-08-23  2:44                                                     ` Timon Wang
2013-08-27 10:29                                                       ` Masaki Kimura
2013-08-27 11:07                                                         ` Paolo Bonzini
2013-08-27 12:09                                                           ` Timon Wang
2013-08-12  9:49 ` Stefan Hajnoczi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5203A558.5000301@terremark.com \
    --to=dkoch-h+0wwilmms1bdgjk7y7tuq@public.gmane.org \
    --cc=kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=libvirt-users-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=timonwst-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).