[Users] Attach NFS storage to multiple datacenter

Heho, for some reason i currently have two active datacenters in ovirt 3.3 which should be cold migrated to one new datacenter. Is there a simple way to attach an nfs-storage to all datacenters, so it can be used to migrate the virtual machines? I was sadly unable to find documentation on this issue online... With best Regards, Tobias

In order to 'migrate' VMs between data centers, you can use an export domain. You can create an export domain using the UI. You just have to specify 'Export / NFS' under: 'Domain Function / Storage Type'. Attach this export domain to the data center you would like to export the VM from. Then, you'll be able to export your VMs to that domain (via 'Virtual Machines' tab on UI, click on 'Export'). When you finish migrating all the VMs from that data center, put the export domain in Maintenance, Detach it from the first DC and attach it to the second DC. When the domain is active on the second DC, you'll be able to see your exported VMs on 'VM import' sub-tab under the export storage domain. Import the VMs to the second DC. Then you're done. Elad ----- Original Message ----- From: "Tobias Fiebig" <mail@wybt.net> To: "Users@ovirt.org List" <Users@ovirt.org> Sent: Thursday, January 16, 2014 5:05:52 PM Subject: [Users] Attach NFS storage to multiple datacenter Heho, for some reason i currently have two active datacenters in ovirt 3.3 which should be cold migrated to one new datacenter. Is there a simple way to attach an nfs-storage to all datacenters, so it can be used to migrate the virtual machines? I was sadly unable to find documentation on this issue online... With best Regards, Tobias _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Heho, On Thu, 2014-01-16 at 10:14 -0500, Elad Ben Aharon wrote:
When the domain is active on the second DC, you'll be able to see your exported VMs on 'VM import' sub-tab under the export storage domain. Import the VMs to the second DC. I was afraid that this would be the way to go. So attach/detach for each individual vm-migration.
Thank you for the clarification. With best Regards, Tobias

Documentation: http://documentation-devel.engineering.redhat.com/site/documentation/en-US/R... ----- Original Message ----- From: "Tobias Fiebig" <mail@wybt.net> To: "Elad Ben Aharon" <ebenahar@redhat.com> Cc: "Users@ovirt.org List" <Users@ovirt.org> Sent: Thursday, January 16, 2014 5:18:06 PM Subject: Re: [Users] Attach NFS storage to multiple datacenter Heho, On Thu, 2014-01-16 at 10:14 -0500, Elad Ben Aharon wrote:
When the domain is active on the second DC, you'll be able to see your exported VMs on 'VM import' sub-tab under the export storage domain. Import the VMs to the second DC. I was afraid that this would be the way to go. So attach/detach for each individual vm-migration.
Thank you for the clarification. With best Regards, Tobias

Hi, that is an internal RedHat Link, at least I can not access it. But it's good to know there is a doc for this..somewhere.. ;) What about also opening up the documentation of this project? My idea would be to write docs first for oVirt and then RedHat just has to brand it. The oVirt documentation could need some serious improvement. Thoughts? Am 16.01.2014 17:06, schrieb Elad Ben Aharon:
Documentation:
http://documentation-devel.engineering.redhat.com/site/documentation/en-US/R...
-- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen

+1 expending oVirt documentation is a great initiative :) http://www.ovirt.org/Documentation On 01/16/2014 04:15 PM, Sven Kieske wrote:
Hi,
that is an internal RedHat Link, at least I can not access it.
But it's good to know there is a doc for this..somewhere.. ;)
What about also opening up the documentation of this project?
My idea would be to write docs first for oVirt and then RedHat just has to brand it.
The oVirt documentation could need some serious improvement.
Thoughts?
Am 16.01.2014 17:06, schrieb Elad Ben Aharon:
Documentation:
http://documentation-devel.engineering.redhat.com/site/documentation/en-US/R...
-- Dafna Ron

On Thu, Jan 16, 2014 at 5:15 PM, Sven Kieske wrote:
Hi,
that is an internal RedHat Link, at least I can not access it.
But it's good to know there is a doc for this..somewhere.. ;)
What about also opening up the documentation of this project?
My idea would be to write docs first for oVirt and then RedHat just has to brand it.
The oVirt documentation could need some serious improvement.
Thoughts?
Am 16.01.2014 17:06, schrieb Elad Ben Aharon:
Documentation:
http://documentation-devel.engineering.redhat.com/site/documentation/en-US/R...
It s already open to everyone I think. Point here instead of your link https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtua... HIH, Gianluca

You don't have to attach/detach the domain for every VM export. Sorry for not being clear. You can export all your VMs to the export domain at once and then detach the export domain and attach it to the second DC. ----- Original Message ----- From: "Tobias Fiebig" <mail@wybt.net> To: "Elad Ben Aharon" <ebenahar@redhat.com> Cc: "Users@ovirt.org List" <Users@ovirt.org> Sent: Thursday, January 16, 2014 5:18:06 PM Subject: Re: [Users] Attach NFS storage to multiple datacenter Heho, On Thu, 2014-01-16 at 10:14 -0500, Elad Ben Aharon wrote:
When the domain is active on the second DC, you'll be able to see your exported VMs on 'VM import' sub-tab under the export storage domain. Import the VMs to the second DC. I was afraid that this would be the way to go. So attach/detach for each individual vm-migration.
Thank you for the clarification. With best Regards, Tobias

Heho, On Thu, 2014-01-16 at 11:10 -0500, Elad Ben Aharon wrote:
You don't have to attach/detach the domain for every VM export. Sorry for not being clear. You can export all your VMs to the export domain at once and then detach the export domain and attach it to the second DC. May have miscommunicated that... I can not do this because this kind of means that the vms will be down during the whole movement process. I'd like to reduce the per-vm downtime as much as possible.
With best Regards, Tobias

I see. Unfortunately yes, you'll suffer from a down time during this process. ----- Original Message ----- From: "Tobias Fiebig" <mail@wybt.net> To: "Elad Ben Aharon" <ebenahar@redhat.com> Cc: "Users@ovirt.org List" <Users@ovirt.org> Sent: Thursday, January 16, 2014 6:37:24 PM Subject: Re: [Users] Attach NFS storage to multiple datacenter Heho, On Thu, 2014-01-16 at 11:10 -0500, Elad Ben Aharon wrote:
You don't have to attach/detach the domain for every VM export. Sorry for not being clear. You can export all your VMs to the export domain at once and then detach the export domain and attach it to the second DC. May have miscommunicated that... I can not do this because this kind of means that the vms will be down during the whole movement process. I'd like to reduce the per-vm downtime as much as possible.
With best Regards, Tobias

Heho,
Unfortunately yes, you'll suffer from a down time during this process. Well, as the downtime could be significantly decreased/the comfort for an "migrate one vm, then the next" largely increased, if an nfs storage could be mounted on multiple datacenters simultaneous i wonder if such a feature is planed?
Main concern for me is that it might not really fit into the current way of handling storage in ovirt. With best Regards, Tobias

Well, I'll be creative and I'll suggest you the following idea. There is an option to add a glance image server to RHEV as an external provider. This new feature allows you to export disks (not VMs) to the glance image repository while the VM which the disk is attached to is running. As for the VM configuration (which is not part of the disk that will be exported to the glance server), there is an option (which was introduced in RHEV3.3) to create a VM from a configuration file (OVF) of another VM. Dafna, Fede, Liron, Itamar, please back me up here. Will it be possible to perform those actions? Can we suggest this idea to the customer? ----- Original Message ----- From: "Tobias Fiebig" <mail@wybt.net> To: "Elad Ben Aharon" <ebenahar@redhat.com> Cc: "Users@ovirt.org List" <Users@ovirt.org> Sent: Thursday, January 16, 2014 6:47:54 PM Subject: Re: [Users] Attach NFS storage to multiple datacenter Heho,
Unfortunately yes, you'll suffer from a down time during this process. Well, as the downtime could be significantly decreased/the comfort for an "migrate one vm, then the next" largely increased, if an nfs storage could be mounted on multiple datacenters simultaneous i wonder if such a feature is planed?
Main concern for me is that it might not really fit into the current way of handling storage in ovirt. With best Regards, Tobias

sounds like a very creative use for the provider 3.3 feature and I like the way you think :) basically, it will require installing an all-in-one openstack but if downtime is such a big issue it could be a good solution... Dafna On 01/16/2014 06:11 PM, Elad Ben Aharon wrote:
Well, I'll be creative and I'll suggest you the following idea. There is an option to add a glance image server to RHEV as an external provider. This new feature allows you to export disks (not VMs) to the glance image repository while the VM which the disk is attached to is running. As for the VM configuration (which is not part of the disk that will be exported to the glance server), there is an option (which was introduced in RHEV3.3) to create a VM from a configuration file (OVF) of another VM.
Dafna, Fede, Liron, Itamar, please back me up here. Will it be possible to perform those actions? Can we suggest this idea to the customer?
----- Original Message ----- From: "Tobias Fiebig" <mail@wybt.net> To: "Elad Ben Aharon" <ebenahar@redhat.com> Cc: "Users@ovirt.org List" <Users@ovirt.org> Sent: Thursday, January 16, 2014 6:47:54 PM Subject: Re: [Users] Attach NFS storage to multiple datacenter
Heho,
Unfortunately yes, you'll suffer from a down time during this process. Well, as the downtime could be significantly decreased/the comfort for an "migrate one vm, then the next" largely increased, if an nfs storage could be mounted on multiple datacenters simultaneous i wonder if such a feature is planed?
Main concern for me is that it might not really fit into the current way of handling storage in ovirt.
With best Regards, Tobias
-- Dafna Ron

On 01/17/2014 02:24 AM, Dafna Ron wrote:
sounds like a very creative use for the provider 3.3 feature and I like the way you think :)
basically, it will require installing an all-in-one openstack but if downtime is such a big issue it could be a good solution...
or just only glance, if no keystone is needed?
Dafna
On 01/16/2014 06:11 PM, Elad Ben Aharon wrote:
Well, I'll be creative and I'll suggest you the following idea. There is an option to add a glance image server to RHEV as an external provider. This new feature allows you to export disks (not VMs) to the glance image repository while the VM which the disk is attached to is running. As for the VM configuration (which is not part of the disk that will be exported to the glance server), there is an option (which was introduced in RHEV3.3) to create a VM from a configuration file (OVF) of another VM.
Dafna, Fede, Liron, Itamar, please back me up here. Will it be possible to perform those actions? Can we suggest this idea to the customer?
----- Original Message ----- From: "Tobias Fiebig" <mail@wybt.net> To: "Elad Ben Aharon" <ebenahar@redhat.com> Cc: "Users@ovirt.org List" <Users@ovirt.org> Sent: Thursday, January 16, 2014 6:47:54 PM Subject: Re: [Users] Attach NFS storage to multiple datacenter
Heho,
Unfortunately yes, you'll suffer from a down time during this process. Well, as the downtime could be significantly decreased/the comfort for an "migrate one vm, then the next" largely increased, if an nfs storage could be mounted on multiple datacenters simultaneous i wonder if such a feature is planed?
Main concern for me is that it might not really fit into the current way of handling storage in ovirt.
With best Regards, Tobias

On 01/17/2014 03:22 PM, Itamar Heim wrote:
On 01/17/2014 02:24 AM, Dafna Ron wrote:
sounds like a very creative use for the provider 3.3 feature and I like the way you think :)
basically, it will require installing an all-in-one openstack but if downtime is such a big issue it could be a good solution...
or just only glance, if no keystone is needed? not sure export to glance was implemented without authentication, but honestly, I think installing AIO using packstack might be easier from a user's prospective.
Dafna
On 01/16/2014 06:11 PM, Elad Ben Aharon wrote:
Well, I'll be creative and I'll suggest you the following idea. There is an option to add a glance image server to RHEV as an external provider. This new feature allows you to export disks (not VMs) to the glance image repository while the VM which the disk is attached to is running. As for the VM configuration (which is not part of the disk that will be exported to the glance server), there is an option (which was introduced in RHEV3.3) to create a VM from a configuration file (OVF) of another VM.
Dafna, Fede, Liron, Itamar, please back me up here. Will it be possible to perform those actions? Can we suggest this idea to the customer?
----- Original Message ----- From: "Tobias Fiebig" <mail@wybt.net> To: "Elad Ben Aharon" <ebenahar@redhat.com> Cc: "Users@ovirt.org List" <Users@ovirt.org> Sent: Thursday, January 16, 2014 6:47:54 PM Subject: Re: [Users] Attach NFS storage to multiple datacenter
Heho,
Unfortunately yes, you'll suffer from a down time during this process. Well, as the downtime could be significantly decreased/the comfort for an "migrate one vm, then the next" largely increased, if an nfs storage could be mounted on multiple datacenters simultaneous i wonder if such a feature is planed?
Main concern for me is that it might not really fit into the current way of handling storage in ovirt.
With best Regards, Tobias
-- Dafna Ron

On 01/16/2014 06:47 PM, Tobias Fiebig wrote:
Heho,
Unfortunately yes, you'll suffer from a down time during this process. Well, as the downtime could be significantly decreased/the comfort for an "migrate one vm, then the next" largely increased, if an nfs storage could be mounted on multiple datacenters simultaneous i wonder if such a feature is planed?
Main concern for me is that it might not really fit into the current way of handling storage in ovirt.
multiple DCs no. but we are working on ability to: - mix multiple types of storage in same DC. - be able to just detach/attach the storage domain between DCs (or ovirt engines) like you can with an export domain
participants (6)
-
Dafna Ron
-
Elad Ben Aharon
-
Gianluca Cecchi
-
Itamar Heim
-
Sven Kieske
-
Tobias Fiebig