Re: [convirt-users] AOE - Using it for HA/Livemigration

2008-12-23 Thread jd
Yes.. important thing is to make sure that the node down detection is solid and 
at no point more than one VM is accessing the disk.. which might result in 
corruption.

/Jd



--- On Mon, 12/22/08, Himanshu Khona  wrote:

> From: Himanshu Khona 
> Subject: Re: [convirt-users] AOE - Using it for HA/Livemigration
> To: jdsw2...@yahoo.com, xenman-users@lists.sourceforge.net
> Date: Monday, December 22, 2008, 7:50 PM
> Yes, This works absolutely fine.I also test a way to achieve
> offline HA.
> Meaning that if a VM were to go down or a physical machine
> were to go down.
> Provision a VM with exact same disk on another physical
> server and you get
> the last working state of the image.
> So from a HA perspective, the easiest way would be to have
> volumes or disks
> visible on multiple physical servers and as soon as a
> physical server is
> lost, start up the VM on another node rather then manually
> provision the VM.
> Thanks,
> Himanshu
> 
> On Tue, Dec 23, 2008 at 12:15 AM, jd
>  wrote:
> 
> > No it is not necessary.  It should work.
> > The device name on both machines should be the same.
> > Post the results on the convirt-users mailing list.
> > /Jd
> >
> >
> > --- On Sun, 12/21/08, Himanshu Khona
>  wrote:
> >
> > > From: Himanshu Khona
> 
> > > Subject: Re: [convirt-users] AOE - Using it for
> HA/Livemigration
> > > To: jdsw2...@yahoo.com
> > > Date: Sunday, December 21, 2008, 10:15 PM
> > > Hi jd -If I have AOE storage configured and
> visible o
> > > another server.
> > > Can I livemigrate VMs? Or it necessarily needs
> NFS?
> > > Please let me know.
> > > Thanks,
> > > Himanshu
> > >
> > > On Sat, Dec 20, 2008 at 12:56 AM, jd
> > >  wrote:
> > >
> > > > Lets handle AOE on a separate thread. I
> think lets get
> > > this paramiko issue
> > > > get resolved. As for using AOE also, we use
> exec
> > > cmds.. to get the aoe-stat
> > > > etc
> > > >
> > > > By the way, you seem to be adding sunstorage
> box as
> > > the managed server.. is
> > > > that correct ? Can u explain a bit about the
> setup. It
> > > might be relevant.
> > > >
> > > > Thanks
> > > > /Jd
> > > >
> > > >
> > > > --- On Thu, 12/18/08, Himanshu Khona
> > >  wrote:
> > > >
> > > > > From: Himanshu Khona
> > > 
> > > > > Subject: Re: [convirt-users] ssh
> configuration
> > > issue
> > > > > To: jdsw2...@yahoo.com
> > > > > Date: Thursday, December 18, 2008, 9:57
> PM
> > > > > Looks like it connects the box but not
> working
> > > very well
> > > > > when I add AOE
> > > > > storage.I am attaching the logs with
> this email.
> > > Please let
> > > > > me know your
> > > > > observation.
> > > > > I will register to paramiko for the
> keys issus.
> > > > > Thanks,
> > > > > Himanshu
> > > > >
> > > > > On Fri, Dec 19, 2008 at 11:15 AM, jd
> > > > >  wrote:
> > > > >
> > > > > > http://www.lag.net/paramiko/
> > > > > > They have a mailing list.
> param...@lag.net,
> > > you will
> > > > > have to register for
> > > > > > it.
> > > > > > btw, password auth is also done
> via
> > > paramiko.
> > > > > > Please cc me on the
> communications.
> > > > > > Thanks
> > > > > > /Jd
> > > > > >
> > > > > >
> > > > > > --- On Thu, 12/18/08, Himanshu
> Khona
> > > > >  wrote:
> > > > > >
> > > > > > > From: Himanshu Khona
> > > > > 
> > > > > > > Subject: Re: [convirt-users]
> ssh
> > > configuration
> > > > > issue
> > > > > > > To: jdsw2...@yahoo.com
> > > > > > > Date: Thursday, December 18,
> 2008, 9:42
> > > PM
> > > > > > > Well one good news. It worked
> with the
> > > password
> > > > > ;) So issue
> > > > > > > is definitely
> > > > > > > with the keys based
> authentication. Is
> > > that what
> > > > > paramiko
> > > > > > > does? Who from
> > > > 

Re: [convirt-users] AOE

2008-12-22 Thread Himanshu Khona
My Bad - The disk was not formatted. After this error it asked me that disk
will be formatted and I ran through the install.Everything seemed to work
fine. Please close the bug.
Thanks,
Himanshu

On Tue, Dec 23, 2008 at 12:20 AM, jd  wrote:

> I have filed a bug.
>
>
> http://sourceforge.net/tracker/index.php?func=detail&aid=2459199&group_id=168929&atid=848456
>
> there is a problem .. getting size of the volume.. is it preventing u from
> using it. What is the user visible errors.. behavior. Could u augment the
> bug.
>
> Thanks
> /Jd
>
> --- On Sun, 12/21/08, Himanshu Khona  wrote:
>
> > From: Himanshu Khona 
> > Subject: Re: [convirt-users] AOE
> > To: jdsw2...@yahoo.com
> > Date: Sunday, December 21, 2008, 9:15 PM
> > I was able to setup the AOE storage but was unable to use
> > it. The
> > convirt.log is attached. Thanks,
> > Himanshu
> >
> > On Mon, Dec 22, 2008 at 9:32 AM, Himanshu Khona
> > wrote:
> >
> > > I have been able to add sunstorage as AOE. I added it
> > as managed server and
> > >  then added the same as AOE storage, is that right?The
> > current setup is 3
> > > servers, 2 nodes and 1 storage. All of them are centos
> > 5.2 linux base OS
> > > running xen kernel.
> > > Let me know if you need more details.
> > > Thanks,
> > > Himanshu
> > >
> > >
> > > On Sat, Dec 20, 2008 at 12:56 AM, jd
> >  wrote:
> > >
> > >> Lets handle AOE on a separate thread. I think lets
> > get this paramiko issue
> > >> get resolved. As for using AOE also, we use exec
> > cmds.. to get the aoe-stat
> > >> etc
> > >>
> > >> By the way, you seem to be adding sunstorage box
> > as the managed server..
> > >> is that correct ? Can u explain a bit about the
> > setup. It might be relevant.
> > >>
> > >> Thanks
> > >> /Jd
> > >>
> > >>
> > >> --- On Thu, 12/18/08, Himanshu Khona
> >  wrote:
> > >>
> > >> > From: Himanshu Khona
> > 
> > >> > Subject: Re: [convirt-users] ssh
> > configuration issue
> > >> > To: jdsw2...@yahoo.com
> > >> > Date: Thursday, December 18, 2008, 9:57 PM
> > >> > Looks like it connects the box but not
> > working very well
> > >> > when I add AOE
> > >> > storage.I am attaching the logs with this
> > email. Please let
> > >> > me know your
> > >> > observation.
> > >> > I will register to paramiko for the keys
> > issus.
> > >> > Thanks,
> > >> > Himanshu
> > >> >
> > >> > On Fri, Dec 19, 2008 at 11:15 AM, jd
> > >> >  wrote:
> > >> >
> > >> > > http://www.lag.net/paramiko/
> > >> > > They have a mailing list.
> > param...@lag.net, you will
> > >> > have to register for
> > >> > > it.
> > >> > > btw, password auth is also done via
> > paramiko.
> > >> > > Please cc me on the communications.
> > >> > > Thanks
> > >> > > /Jd
> > >> > >
> > >> > >
> > >> > > --- On Thu, 12/18/08, Himanshu Khona
> > >> >  wrote:
> > >> > >
> > >> > > > From: Himanshu Khona
> > >> > 
> > >> > > > Subject: Re: [convirt-users] ssh
> > configuration
> > >> > issue
> > >> > > > To: jdsw2...@yahoo.com
> > >> > > > Date: Thursday, December 18, 2008,
> > 9:42 PM
> > >> > > > Well one good news. It worked with
> > the password
> > >> > ;) So issue
> > >> > > > is definitely
> > >> > > > with the keys based authentication.
> > Is that what
> > >> > paramiko
> > >> > > > does? Who from
> > >> > > > paramiko can help here?
> > >> > > > Thanks,
> > >> > > > Himanshu
> > >> > > >
> > >> > > >
> > >> > > > On Fri, Dec 19, 2008 at 11:09 AM,
> > Himanshu Khona
> > >> > > >
> > wrote:
> > >> > > >
> > >> > > > > I have already send the debug
> > info from ssh
> > >> > to
> > >> > > > you.More details -

Re: [convirt-users] AOE - Using it for HA/Livemigration

2008-12-22 Thread Himanshu Khona
Yes, This works absolutely fine.I also test a way to achieve offline HA.
Meaning that if a VM were to go down or a physical machine were to go down.
Provision a VM with exact same disk on another physical server and you get
the last working state of the image.
So from a HA perspective, the easiest way would be to have volumes or disks
visible on multiple physical servers and as soon as a physical server is
lost, start up the VM on another node rather then manually provision the VM.
Thanks,
Himanshu

On Tue, Dec 23, 2008 at 12:15 AM, jd  wrote:

> No it is not necessary.  It should work.
> The device name on both machines should be the same.
> Post the results on the convirt-users mailing list.
> /Jd
>
>
> --- On Sun, 12/21/08, Himanshu Khona  wrote:
>
> > From: Himanshu Khona 
> > Subject: Re: [convirt-users] AOE - Using it for HA/Livemigration
> > To: jdsw2...@yahoo.com
> > Date: Sunday, December 21, 2008, 10:15 PM
> > Hi jd -If I have AOE storage configured and visible o
> > another server.
> > Can I livemigrate VMs? Or it necessarily needs NFS?
> > Please let me know.
> > Thanks,
> > Himanshu
> >
> > On Sat, Dec 20, 2008 at 12:56 AM, jd
> >  wrote:
> >
> > > Lets handle AOE on a separate thread. I think lets get
> > this paramiko issue
> > > get resolved. As for using AOE also, we use exec
> > cmds.. to get the aoe-stat
> > > etc
> > >
> > > By the way, you seem to be adding sunstorage box as
> > the managed server.. is
> > > that correct ? Can u explain a bit about the setup. It
> > might be relevant.
> > >
> > > Thanks
> > > /Jd
> > >
> > >
> > > --- On Thu, 12/18/08, Himanshu Khona
> >  wrote:
> > >
> > > > From: Himanshu Khona
> > 
> > > > Subject: Re: [convirt-users] ssh configuration
> > issue
> > > > To: jdsw2...@yahoo.com
> > > > Date: Thursday, December 18, 2008, 9:57 PM
> > > > Looks like it connects the box but not working
> > very well
> > > > when I add AOE
> > > > storage.I am attaching the logs with this email.
> > Please let
> > > > me know your
> > > > observation.
> > > > I will register to paramiko for the keys issus.
> > > > Thanks,
> > > > Himanshu
> > > >
> > > > On Fri, Dec 19, 2008 at 11:15 AM, jd
> > > >  wrote:
> > > >
> > > > > http://www.lag.net/paramiko/
> > > > > They have a mailing list. param...@lag.net,
> > you will
> > > > have to register for
> > > > > it.
> > > > > btw, password auth is also done via
> > paramiko.
> > > > > Please cc me on the communications.
> > > > > Thanks
> > > > > /Jd
> > > > >
> > > > >
> > > > > --- On Thu, 12/18/08, Himanshu Khona
> > > >  wrote:
> > > > >
> > > > > > From: Himanshu Khona
> > > > 
> > > > > > Subject: Re: [convirt-users] ssh
> > configuration
> > > > issue
> > > > > > To: jdsw2...@yahoo.com
> > > > > > Date: Thursday, December 18, 2008, 9:42
> > PM
> > > > > > Well one good news. It worked with the
> > password
> > > > ;) So issue
> > > > > > is definitely
> > > > > > with the keys based authentication. Is
> > that what
> > > > paramiko
> > > > > > does? Who from
> > > > > > paramiko can help here?
> > > > > > Thanks,
> > > > > > Himanshu
> > > > > >
> > > > > >
> > > > > > On Fri, Dec 19, 2008 at 11:09 AM,
> > Himanshu Khona
> > > > > > wrote:
> > > > > >
> > > > > > > I have already send the debug info
> > from ssh
> > > > to
> > > > > > you.More details -
> > > > > > > Currently in the eval phase with 3
> > node
> > > > setup and one
> > > > > > of them is a sun
> > > > > > > storage, plan to use the same as
> > AOE
> > > > storage.
> > > > > > > We plan to have 10-15 vms per
> > machine with
> > > > HA,
> > > > > > scalability, gigabit
> > > > > > > network. Each will have private
> > and public
> > > > network
> > > > > > interface.
>