2012/9/6 Mike Burns <mburns(a)redhat.com>:
On Thu, 2012-09-06 at 20:07 +0200, Adam Tkáč wrote:
> 2012/9/6 Simon Grinberg <simon(a)redhat.com>:
> >
> >
> > ----- Original Message -----
> >> From: "Adam Tkáč" <vonsch(a)gmail.com>
> >> To: users(a)ovirt.org
> >> Sent: Thursday, September 6, 2012 8:21:38 PM
> >> Subject: [Users] Cannot add another host to "all-in-one"
datacenter
> >>
> >> Hello all,
> >>
> >> I installed an oVirt datacenter via "all-in-one" plugin, which
means
> >> everything currently runs on one machine. I would like to add another
> >> host to this datacenter, it has it's own storage for virtual machine
> >> images, but oVirt refuses to add it with error "Cannot add more than
> >> one Host to "Local Storage" Data Center". Is it possible to
configure
> >> this somewhere and add the host to the local_datacenter?
> >
> > Data center is a 'shared storage domain' meaning that if you use local
storage you may only have one host in this datacenter.
> > All In One, uses the Server's local storage thus you can't add another
host to this data center.
> >
> > You may try and configure additional Data Center and add the new host to this
one.
> > If you want both hosts to be a cluster then move the hosts that is currently
defined to the new datacenter and then connect them to shared storage.
> >
> > Just note that the engine will not be aware it's running on one of the hosts
so care should be taken not to power off that host :).
>
> I didn't realized it's possible to do it this way, thanks for
> information, will try it.
>
> Btw will it be possible to migrate virtual machines from one
> datacenter to another one? Or for migration hosts need to share
> storage for virtual machine images. If this isn't possible, is it be
> possible to export host in one datacenter and import it in another?
If you want live migration, then the hosts need shared storage and be in
the same datacenter.
There are export domains and you can export from DC1 to export and them
import from the export to DC2.
There are future features coming around storage live migration that
*might* change this somewhat, but I don't know all the details of that
feature yet.
Mike
This works fine, thanks for your help!
Regards, Adam