[Users] Designate Master Storage Domain

Is there any method of designating which domain should be the master storage domain or forcibly changing the role to a different storage domain? EG: Given the following example Storage Domain A (Master) --> NFS --> Storage Server 1 Storage Domain B --> NFS --> Storage Server 2 One wants to do maintenance to Storage Server 1 but in doing so the Master storage domain is hosted from Storage Server 1. Thus the net result of taking down Storage Server 1 is that one must also take down Storage Server 2. Thus we know we must shut down VM's from Storage Domain A to maintenance Storage Server 1. Suppose however that VM's are running that we don't want to shut down and are hosted from Storage Domain B via Storage Server 2. We would want to be able to promote Storage Domain B to Master so that we can take down Storage Domain A to do maintenance to Storage Server 1. Once we are done with maintenance to Storage Server 1 we can bring Storage Domain A back on line, re-designate it as Master if desired and bring it's VM's back online. I know I have seen this occur automatically to a point when a Storage Domain goes missing that is the Master Domain but I have not noted any manual method of doing so given the above scenario. - DHC

--_000_5F9E965F5A80BC468BE5F40576769F092E70546Dexchange21_ Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 b25zIDIwMTMtMDgtMTQga2xvY2thbiAyMjoxOCAtMDUwMCBza3JldiBEZWFkIEhvcnNlOg0KSXMg dGhlcmUgYW55IG1ldGhvZCBvZiBkZXNpZ25hdGluZyB3aGljaCBkb21haW4gc2hvdWxkIGJlIHRo ZSBtYXN0ZXIgc3RvcmFnZSBkb21haW4gb3IgZm9yY2libHkgY2hhbmdpbmcgdGhlIHJvbGUgdG8g YSBkaWZmZXJlbnQgc3RvcmFnZSBkb21haW4/DQoNCg0KRUc6IEdpdmVuIHRoZSBmb2xsb3dpbmcg ZXhhbXBsZQ0KDQoNClN0b3JhZ2UgRG9tYWluIEEgKE1hc3RlcikgLS0+IE5GUyAtLT4gU3RvcmFn ZSBTZXJ2ZXIgMQ0KDQpTdG9yYWdlIERvbWFpbiBCIC0tPiBORlMgLS0+IFN0b3JhZ2UgU2VydmVy IDINCg0KDQpPbmUgd2FudHMgdG8gZG8gbWFpbnRlbmFuY2UgdG8gU3RvcmFnZSBTZXJ2ZXIgMSBi dXQgaW4gZ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TY2llbmNlczxicj4NCkJveCA3MDc5IChWaXNpdGluZyBBZGRy ZXNzIEtyb27DpXN2w6RnZW4gOCk8YnI+DQpTLTc1MCAwNyBVcHBzYWxhLCBTd2VkZW48YnI+DQpQ aG9uZTogJm5ic3A7JiM0Mzs0Ni0oMCkxOC02NyAxNSA2Njxicj4NCjxhIGhyZWY9Im1haWx0bzpr YXJsaS5zam9iZXJnQGFkbS5zbHUuc2UiPmthcmxpLnNqb2JlcmdAc2x1LnNlPC9hPiA8L3RkPg0K PC90cj4NCjwvdGJvZHk+DQo8L3RhYmxlPg0KPC9ib2R5Pg0KPC9odG1sPg0K --_000_5F9E965F5A80BC468BE5F40576769F092E70546Dexchange21_--

On 08/15/2013 06:18 AM, Dead Horse wrote:
Is there any method of designating which domain should be the master storage domain or forcibly changing the role to a different storage domain?
EG: Given the following example
Storage Domain A (Master) --> NFS --> Storage Server 1 Storage Domain B --> NFS --> Storage Server 2
One wants to do maintenance to Storage Server 1 but in doing so the Master storage domain is hosted from Storage Server 1. Thus the net result of taking down Storage Server 1 is that one must also take down Storage Server 2.
Thus we know we must shut down VM's from Storage Domain A to maintenance Storage Server 1. Suppose however that VM's are running that we don't want to shut down and are hosted from Storage Domain B via Storage Server 2.
We would want to be able to promote Storage Domain B to Master so that we can take down Storage Domain A to do maintenance to Storage Server 1.
Once we are done with maintenance to Storage Server 1 we can bring Storage Domain A back on line, re-designate it as Master if desired and bring it's VM's back online.
I know I have seen this occur automatically to a point when a Storage Domain goes missing that is the Master Domain but I have not noted any manual method of doing so given the above scenario.
- DHC
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
my understanding is you can move the storage domain A which is master to maint. engine will promote storage domain B to master and everything should continue working as is.

Itamar this is true (I have noted occasional timing issues with it actually working). But what if as the administrator I have a specific storage domain in mind that I would like to have become the master (in the case of more then two)? @Karli The idea is not to not have to shut down all the VM's or the engine just to maintenance a storage domain(s) that may happen to be on disparate storage servers . - DHC On Thu, Aug 15, 2013 at 9:37 AM, Itamar Heim <iheim@redhat.com> wrote:
On 08/15/2013 06:18 AM, Dead Horse wrote:
Is there any method of designating which domain should be the master storage domain or forcibly changing the role to a different storage domain?
EG: Given the following example
Storage Domain A (Master) --> NFS --> Storage Server 1 Storage Domain B --> NFS --> Storage Server 2
One wants to do maintenance to Storage Server 1 but in doing so the Master storage domain is hosted from Storage Server 1. Thus the net result of taking down Storage Server 1 is that one must also take down Storage Server 2.
Thus we know we must shut down VM's from Storage Domain A to maintenance Storage Server 1. Suppose however that VM's are running that we don't want to shut down and are hosted from Storage Domain B via Storage Server 2.
We would want to be able to promote Storage Domain B to Master so that we can take down Storage Domain A to do maintenance to Storage Server 1.
Once we are done with maintenance to Storage Server 1 we can bring Storage Domain A back on line, re-designate it as Master if desired and bring it's VM's back online.
I know I have seen this occur automatically to a point when a Storage Domain goes missing that is the Master Domain but I have not noted any manual method of doing so given the above scenario.
- DHC
______________________________**_________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/**mailman/listinfo/users<http://lists.ovirt.org/mailman/listinfo/users>
my understanding is you can move the storage domain A which is master to maint. engine will promote storage domain B to master and everything should continue working as is.

----- Original Message -----
From: "Dead Horse" <deadhorseconsulting@gmail.com> To: "Itamar Heim" <iheim@redhat.com> Cc: "<users@ovirt.org>" <users@ovirt.org> Sent: Thursday, August 15, 2013 6:46:00 PM Subject: Re: [Users] Designate Master Storage Domain
Itamar this is true (I have noted occasional timing issues with it actually working). But what if as the administrator I have a specific storage domain in mind that I would like to have become the master (in the case of more then two)?
In that case - you could reinitialize the pool using unattached domain (you chose which one) - this domain will become the new master. 1. Create new unattached domain/Detach the domain that you want to be the master from the pool (if possible) 2. Move all the pool domain to maintenance (the master should be put to maintenance last to avoid reconstructing to another domain). 3. Right click on the data center, chose reinitialize storage pool - you can chose which domain do you want to be the master from the unattached domains. The other option is manual db intervention :) Possibly we could add a possibility to manually change the master domain, same as was added for the spm ("Make SPM" button that was added recently).
@Karli The idea is not to not have to shut down all the VM's or the engine just to maintenance a storage domain(s) that may happen to be on disparate storage servers . - DHC
On Thu, Aug 15, 2013 at 9:37 AM, Itamar Heim < iheim@redhat.com > wrote:
On 08/15/2013 06:18 AM, Dead Horse wrote:
Is there any method of designating which domain should be the master storage domain or forcibly changing the role to a different storage domain?
EG: Given the following example
Storage Domain A (Master) --> NFS --> Storage Server 1 Storage Domain B --> NFS --> Storage Server 2
One wants to do maintenance to Storage Server 1 but in doing so the Master storage domain is hosted from Storage Server 1. Thus the net result of taking down Storage Server 1 is that one must also take down Storage Server 2.
Thus we know we must shut down VM's from Storage Domain A to maintenance Storage Server 1. Suppose however that VM's are running that we don't want to shut down and are hosted from Storage Domain B via Storage Server 2.
We would want to be able to promote Storage Domain B to Master so that we can take down Storage Domain A to do maintenance to Storage Server 1.
Once we are done with maintenance to Storage Server 1 we can bring Storage Domain A back on line, re-designate it as Master if desired and bring it's VM's back online.
I know I have seen this occur automatically to a point when a Storage Domain goes missing that is the Master Domain but I have not noted any manual method of doing so given the above scenario.
- DHC
______________________________ _________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/ mailman/listinfo/users
my understanding is you can move the storage domain A which is master to maint. engine will promote storage domain B to master and everything should continue working as is.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

+1 to Adding a "Make Master Storage Domain Button" ;-) On Thu, Aug 15, 2013 at 11:09 AM, Liron Aravot <laravot@redhat.com> wrote:
----- Original Message -----
From: "Dead Horse" <deadhorseconsulting@gmail.com> To: "Itamar Heim" <iheim@redhat.com> Cc: "<users@ovirt.org>" <users@ovirt.org> Sent: Thursday, August 15, 2013 6:46:00 PM Subject: Re: [Users] Designate Master Storage Domain
Itamar this is true (I have noted occasional timing issues with it actually working). But what if as the administrator I have a specific storage domain in mind that I would like to have become the master (in the case of more then two)?
In that case - you could reinitialize the pool using unattached domain (you chose which one) - this domain will become the new master. 1. Create new unattached domain/Detach the domain that you want to be the master from the pool (if possible) 2. Move all the pool domain to maintenance (the master should be put to maintenance last to avoid reconstructing to another domain). 3. Right click on the data center, chose reinitialize storage pool - you can chose which domain do you want to be the master from the unattached domains.
The other option is manual db intervention :) Possibly we could add a possibility to manually change the master domain, same as was added for the spm ("Make SPM" button that was added recently).
@Karli The idea is not to not have to shut down all the VM's or the engine just
to
maintenance a storage domain(s) that may happen to be on disparate storage servers . - DHC
On Thu, Aug 15, 2013 at 9:37 AM, Itamar Heim < iheim@redhat.com > wrote:
On 08/15/2013 06:18 AM, Dead Horse wrote:
Is there any method of designating which domain should be the master storage domain or forcibly changing the role to a different storage domain?
EG: Given the following example
Storage Domain A (Master) --> NFS --> Storage Server 1 Storage Domain B --> NFS --> Storage Server 2
One wants to do maintenance to Storage Server 1 but in doing so the Master storage domain is hosted from Storage Server 1. Thus the net result of taking down Storage Server 1 is that one must also take down Storage Server 2.
Thus we know we must shut down VM's from Storage Domain A to maintenance Storage Server 1. Suppose however that VM's are running that we don't want to shut down and are hosted from Storage Domain B via Storage Server 2.
We would want to be able to promote Storage Domain B to Master so that we can take down Storage Domain A to do maintenance to Storage Server 1.
Once we are done with maintenance to Storage Server 1 we can bring Storage Domain A back on line, re-designate it as Master if desired and bring it's VM's back online.
I know I have seen this occur automatically to a point when a Storage Domain goes missing that is the Master Domain but I have not noted any manual method of doing so given the above scenario.
- DHC
______________________________ _________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/ mailman/listinfo/users
my understanding is you can move the storage domain A which is master to maint. engine will promote storage domain B to master and everything should continue working as is.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 08/15/2013 07:32 PM, Dead Horse wrote:
+1 to Adding a "Make Master Storage Domain Button" ;-)
actually, not sure i'm for this. if anything, we want to get rid of the master storage domain going forward to make the storage domains autonomous, allowing to mix and match storage types, local and shared storage, etc... rhev-m may reconstruct the master storage domain on any of your SDs over time automatically
On Thu, Aug 15, 2013 at 11:09 AM, Liron Aravot <laravot@redhat.com <mailto:laravot@redhat.com>> wrote:
----- Original Message ----- > From: "Dead Horse" <deadhorseconsulting@gmail.com <mailto:deadhorseconsulting@gmail.com>> > To: "Itamar Heim" <iheim@redhat.com <mailto:iheim@redhat.com>> > Cc: "<users@ovirt.org <mailto:users@ovirt.org>>" <users@ovirt.org <mailto:users@ovirt.org>> > Sent: Thursday, August 15, 2013 6:46:00 PM > Subject: Re: [Users] Designate Master Storage Domain > > Itamar this is true (I have noted occasional timing issues with it actually > working). > But what if as the administrator I have a specific storage domain in mind > that I would like to have become the master (in the case of more then two)?
In that case - you could reinitialize the pool using unattached domain (you chose which one) - this domain will become the new master. 1. Create new unattached domain/Detach the domain that you want to be the master from the pool (if possible) 2. Move all the pool domain to maintenance (the master should be put to maintenance last to avoid reconstructing to another domain). 3. Right click on the data center, chose reinitialize storage pool - you can chose which domain do you want to be the master from the unattached domains.
The other option is manual db intervention :) Possibly we could add a possibility to manually change the master domain, same as was added for the spm ("Make SPM" button that was added recently).
> > @Karli > The idea is not to not have to shut down all the VM's or the engine just to > maintenance a storage domain(s) that may happen to be on disparate storage > servers > . > - DHC > > > On Thu, Aug 15, 2013 at 9:37 AM, Itamar Heim < iheim@redhat.com <mailto:iheim@redhat.com> > wrote: > > > > On 08/15/2013 06:18 AM, Dead Horse wrote: > > > > Is there any method of designating which domain should be the master > storage domain or forcibly changing the role to a different storage domain? > > EG: Given the following example > > Storage Domain A (Master) --> NFS --> Storage Server 1 > Storage Domain B --> NFS --> Storage Server 2 > > One wants to do maintenance to Storage Server 1 but in doing so the > Master storage domain is hosted from Storage Server 1. Thus the net > result of taking down Storage Server 1 is that one must also take down > Storage Server 2. > > Thus we know we must shut down VM's from Storage Domain A to maintenance > Storage Server 1. Suppose however that VM's are running that we don't > want to shut down and are hosted from Storage Domain B via Storage Server 2. > > We would want to be able to promote Storage Domain B to Master so that > we can take down Storage Domain A to do maintenance to Storage Server 1. > > Once we are done with maintenance to Storage Server 1 we can bring > Storage Domain A back on line, re-designate it as Master if desired and > bring it's VM's back online. > > I know I have seen this occur automatically to a point when a Storage > Domain goes missing that is the Master Domain but I have not noted any > manual method of doing so given the above scenario. > > - DHC > > > ______________________________ _________________ > Users mailing list > Users@ovirt.org <mailto:Users@ovirt.org> > http://lists.ovirt.org/ mailman/listinfo/users > > > my understanding is you can move the storage domain A which is master to > maint. engine will promote storage domain B to master and everything should > continue working as is. > > > _______________________________________________ > Users mailing list > Users@ovirt.org <mailto:Users@ovirt.org> > http://lists.ovirt.org/mailman/listinfo/users >

I agree Itamar. That would actually be the most optimal situation. Freedom in storage domain types and ability to import or export any given storage domain freely. Along with this more freedom in the image types allowed on file-based storage domains as well (EG: not only raw). On Thu, Aug 15, 2013 at 12:30 PM, Itamar Heim <iheim@redhat.com> wrote:
On 08/15/2013 07:32 PM, Dead Horse wrote:
+1 to Adding a "Make Master Storage Domain Button" ;-)
actually, not sure i'm for this. if anything, we want to get rid of the master storage domain going forward to make the storage domains autonomous, allowing to mix and match storage types, local and shared storage, etc...
rhev-m may reconstruct the master storage domain on any of your SDs over time automatically
On Thu, Aug 15, 2013 at 11:09 AM, Liron Aravot <laravot@redhat.com <mailto:laravot@redhat.com>> wrote:
----- Original Message ----- > From: "Dead Horse" <deadhorseconsulting@gmail.com <mailto:deadhorseconsulting@**gmail.com<deadhorseconsulting@gmail.com>
> To: "Itamar Heim" <iheim@redhat.com <mailto:iheim@redhat.com>> > Cc: "<users@ovirt.org <mailto:users@ovirt.org>>" <users@ovirt.org <mailto:users@ovirt.org>> > Sent: Thursday, August 15, 2013 6:46:00 PM > Subject: Re: [Users] Designate Master Storage Domain > > Itamar this is true (I have noted occasional timing issues with it actually > working). > But what if as the administrator I have a specific storage domain in mind > that I would like to have become the master (in the case of more then two)?
In that case - you could reinitialize the pool using unattached domain (you chose which one) - this domain will become the new master. 1. Create new unattached domain/Detach the domain that you want to be the master from the pool (if possible) 2. Move all the pool domain to maintenance (the master should be put to maintenance last to avoid reconstructing to another domain). 3. Right click on the data center, chose reinitialize storage pool - you can chose which domain do you want to be the master from the unattached domains.
The other option is manual db intervention :) Possibly we could add a possibility to manually change the master domain, same as was added for the spm ("Make SPM" button that was added recently).
> > @Karli > The idea is not to not have to shut down all the VM's or the engine just to > maintenance a storage domain(s) that may happen to be on disparate storage > servers > . > - DHC > > > On Thu, Aug 15, 2013 at 9:37 AM, Itamar Heim < iheim@redhat.com <mailto:iheim@redhat.com> > wrote: > > > > On 08/15/2013 06:18 AM, Dead Horse wrote: > > > > Is there any method of designating which domain should be the master > storage domain or forcibly changing the role to a different storage domain? > > EG: Given the following example > > Storage Domain A (Master) --> NFS --> Storage Server 1 > Storage Domain B --> NFS --> Storage Server 2 > > One wants to do maintenance to Storage Server 1 but in doing so the > Master storage domain is hosted from Storage Server 1. Thus the net > result of taking down Storage Server 1 is that one must also take down > Storage Server 2. > > Thus we know we must shut down VM's from Storage Domain A to maintenance > Storage Server 1. Suppose however that VM's are running that we don't > want to shut down and are hosted from Storage Domain B via Storage Server 2. > > We would want to be able to promote Storage Domain B to Master so that > we can take down Storage Domain A to do maintenance to Storage Server 1. > > Once we are done with maintenance to Storage Server 1 we can bring > Storage Domain A back on line, re-designate it as Master if desired and > bring it's VM's back online. > > I know I have seen this occur automatically to a point when a Storage > Domain goes missing that is the Master Domain but I have not noted any > manual method of doing so given the above scenario. > > - DHC > > > ______________________________ _________________ > Users mailing list > Users@ovirt.org <mailto:Users@ovirt.org>
> http://lists.ovirt.org/ mailman/listinfo/users > > > my understanding is you can move the storage domain A which is master to > maint. engine will promote storage domain B to master and everything should > continue working as is. > > > ______________________________**_________________ > Users mailing list > Users@ovirt.org <mailto:Users@ovirt.org> > http://lists.ovirt.org/**mailman/listinfo/users<http://lists.ovirt.org/mailman/listinfo/users> >

I am all for the "mix and match" idea of storage. On Thu, Aug 15, 2013 at 1:30 PM, Itamar Heim <iheim@redhat.com> wrote:
On 08/15/2013 07:32 PM, Dead Horse wrote:
+1 to Adding a "Make Master Storage Domain Button" ;-)
actually, not sure i'm for this. if anything, we want to get rid of the master storage domain going forward to make the storage domains autonomous, allowing to mix and match storage types, local and shared storage, etc...
rhev-m may reconstruct the master storage domain on any of your SDs over time automatically
On Thu, Aug 15, 2013 at 11:09 AM, Liron Aravot <laravot@redhat.com <mailto:laravot@redhat.com>> wrote:
----- Original Message ----- > From: "Dead Horse" <deadhorseconsulting@gmail.com <mailto:deadhorseconsulting@**gmail.com<deadhorseconsulting@gmail.com>
> To: "Itamar Heim" <iheim@redhat.com <mailto:iheim@redhat.com>> > Cc: "<users@ovirt.org <mailto:users@ovirt.org>>" <users@ovirt.org <mailto:users@ovirt.org>> > Sent: Thursday, August 15, 2013 6:46:00 PM > Subject: Re: [Users] Designate Master Storage Domain > > Itamar this is true (I have noted occasional timing issues with it actually > working). > But what if as the administrator I have a specific storage domain in mind > that I would like to have become the master (in the case of more then two)?
In that case - you could reinitialize the pool using unattached domain (you chose which one) - this domain will become the new master. 1. Create new unattached domain/Detach the domain that you want to be the master from the pool (if possible) 2. Move all the pool domain to maintenance (the master should be put to maintenance last to avoid reconstructing to another domain). 3. Right click on the data center, chose reinitialize storage pool - you can chose which domain do you want to be the master from the unattached domains.
The other option is manual db intervention :) Possibly we could add a possibility to manually change the master domain, same as was added for the spm ("Make SPM" button that was added recently).
> > @Karli > The idea is not to not have to shut down all the VM's or the engine just to > maintenance a storage domain(s) that may happen to be on disparate storage > servers > . > - DHC > > > On Thu, Aug 15, 2013 at 9:37 AM, Itamar Heim < iheim@redhat.com <mailto:iheim@redhat.com> > wrote: > > > > On 08/15/2013 06:18 AM, Dead Horse wrote: > > > > Is there any method of designating which domain should be the master > storage domain or forcibly changing the role to a different storage domain? > > EG: Given the following example > > Storage Domain A (Master) --> NFS --> Storage Server 1 > Storage Domain B --> NFS --> Storage Server 2 > > One wants to do maintenance to Storage Server 1 but in doing so the > Master storage domain is hosted from Storage Server 1. Thus the net > result of taking down Storage Server 1 is that one must also take down > Storage Server 2. > > Thus we know we must shut down VM's from Storage Domain A to maintenance > Storage Server 1. Suppose however that VM's are running that we don't > want to shut down and are hosted from Storage Domain B via Storage Server 2. > > We would want to be able to promote Storage Domain B to Master so that > we can take down Storage Domain A to do maintenance to Storage Server 1. > > Once we are done with maintenance to Storage Server 1 we can bring > Storage Domain A back on line, re-designate it as Master if desired and > bring it's VM's back online. > > I know I have seen this occur automatically to a point when a Storage > Domain goes missing that is the Master Domain but I have not noted any > manual method of doing so given the above scenario. > > - DHC > > > ______________________________ _________________ > Users mailing list > Users@ovirt.org <mailto:Users@ovirt.org>
> http://lists.ovirt.org/ mailman/listinfo/users > > > my understanding is you can move the storage domain A which is master to > maint. engine will promote storage domain B to master and everything should > continue working as is. > > > ______________________________**_________________ > Users mailing list > Users@ovirt.org <mailto:Users@ovirt.org> > http://lists.ovirt.org/**mailman/listinfo/users<http://lists.ovirt.org/mailman/listinfo/users> >
______________________________**_________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/**mailman/listinfo/users<http://lists.ovirt.org/mailman/listinfo/users>
-- -- James P. Kinney III * *Every time you stop a school, you will have to build a jail. What you gain at one end you lose at the other. It's like feeding a dog on his own tail. It won't fatten the dog. - Speech 11/23/1900 Mark Twain * http://heretothereideas.blogspot.com/ *

--_000_5F9E965F5A80BC468BE5F40576769F092E705929exchange21_ Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 dG9yIDIwMTMtMDgtMTUga2xvY2thbiAxMDo0NiAtMDUwMCBza3JldiBEZWFkIEhvcnNlOg0KSXRh bWFyIHRoaXMgaXMgdHJ1ZSAoSSBoYXZlIG5vdGVkIG9jY2FzaW9uYWwgdGltaW5nIGlzc3VlcyB3 aXRoIGl0IGFjdHVhbGx5IHdvcmtpbmcpLg0KQnV0IHdoYXQgaWYgYXMgdGhlIGFkbWluaXN0cmF0 b3IgSSBoYXZlIGEgc3BlY2lmaWMgc3RvcmFnZSBkb21haW4gaW4gbWluZCB0aGF0IEkgd291bGQg bGlrZSB0byBoYXZlIGJlY29tZSB0aGUgbWFzdGVyIChpbiB0aGUgY2Fz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0cDovL2xpc3RzLm92aXJ0Lm9yZy9tYWlsbWFuL2xpc3Rp bmZvL3VzZXJzPg0KDQoNCm15IHVuZGVyc3RhbmRpbmcgaXMgeW91IGNhbiBtb3ZlIHRoZSBzdG9y YWdlIGRvbWFpbiBBIHdoaWNoIGlzIG1hc3RlciB0byBtYWludC4gZW5naW5lIHdpbGwgcHJvbW90 ZSBzdG9yYWdlIGRvbWFpbiBCIHRvIG1hc3RlciBhbmQgZXZlcnl0aGluZyBzaG91bGQgY29udGlu dWUgd29ya2luZyBhcyBpcy4NCg0KDQoNCi0tDQoNCk1lZCBWw6RubGlnYSBIw6Rsc25pbmdhcg0K LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLQ0KS2FybGkgU2rDtmJlcmcNClN3ZWRpc2ggVW5pdmVyc2l0 eSBvZiBBZ3JpY3VsdHVyYWwgU2NpZW5jZXMNCkJveCA3MDc5IChWaXNpdGluZyBBZGRyZXNzIEty b27DpXN2w6RnZW4gOCkNClMtNzUwIDA3IFVwcHNhbGEsIFN3ZWRlbg0KUGhvbmU6ICArNDYtKDAp MTgtNjcgMTUgNjYNCmthcmxpLnNqb2JlcmdAc2x1LnNlPG1haWx0bzprYXJsaS5zam9iZXJnQGFk bS5zbHUuc2U+DQo= --_000_5F9E965F5A80BC468BE5F40576769F092E705929exchange21_ Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: base64 PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMCBUUkFOU0lUSU9OQUwv L0VOIj4NCjxodG1sPg0KPGhlYWQ+DQo8bWV0YSBodHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNv bnRlbnQ9InRleHQvaHRtbDsgY2hhcnNldD11dGYtOCI+DQo8bWV0YSBuYW1lPSJHRU5FUkFUT1Ii IGNvbnRlbnQ9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LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tPGJyPg0KS2FybGkgU2rDtmJlcmc8YnI+DQpTd2VkaXNo IFVuaXZlcnNpdHkgb2YgQWdyaWN1bHR1cmFsIFNjaWVuY2VzPGJyPg0KQm94IDcwNzkgKFZpc2l0 aW5nIEFkZHJlc3MgS3JvbsOlc3bDpGdlbiA4KTxicj4NClMtNzUwIDA3IFVwcHNhbGEsIFN3ZWRl bjxicj4NClBob25lOiAmbmJzcDsmIzQzOzQ2LSgwKTE4LTY3IDE1IDY2PGJyPg0KPGEgaHJlZj0i bWFpbHRvOmthcmxpLnNqb2JlcmdAYWRtLnNsdS5zZSI+a2FybGkuc2pvYmVyZ0BzbHUuc2U8L2E+ IDwvdGQ+DQo8L3RyPg0KPC90Ym9keT4NCjwvdGFibGU+DQo8L2JvZHk+DQo8L2h0bWw+DQo= --_000_5F9E965F5A80BC468BE5F40576769F092E705929exchange21_--

Pausing the VM's can work in certain situations for simple maintenance. However suppose the purpose of the storage shutdown is to move data around for certain VM's or perhaps change that particular underlying storage filesystem or hardware. Thus some of the VM's will have to be down for sure however pausing them all because of the aforementioned would not be an option since it would take hours or days depending on the amount of data and the degree of change. - DHC On Fri, Aug 16, 2013 at 12:14 AM, Karli Sjöberg <Karli.Sjoberg@slu.se>wrote:
** tor 2013-08-15 klockan 10:46 -0500 skrev Dead Horse:
Itamar this is true (I have noted occasional timing issues with it actually working). But what if as the administrator I have a specific storage domain in mind that I would like to have become the master (in the case of more then two)?
@Karli
The idea is not to not have to shut down all the VM's or the engine just to maintenance a storage domain(s) that may happen to be on disparate storage servers .
Yes I understood that. My suggestion was a workaround until such operations are possible, that we use to minimize downtime as much as possible, to *pause* the VM's, shut down engine, maintenance, bring engine and VM's back. Since the VM's only was paused and engine shut down, the VM's just continue going happily unknowing exactly from where they were, and a reboot of a storage takes at most 5mins, which means 5mins total of downtime in the cloud environment for that quarter, which is acceptable for just about any SLA.
/Karli
- DHC
On Thu, Aug 15, 2013 at 9:37 AM, Itamar Heim <iheim@redhat.com> wrote:
On 08/15/2013 06:18 AM, Dead Horse wrote:
Is there any method of designating which domain should be the master storage domain or forcibly changing the role to a different storage domain?
EG: Given the following example
Storage Domain A (Master) --> NFS --> Storage Server 1 Storage Domain B --> NFS --> Storage Server 2
One wants to do maintenance to Storage Server 1 but in doing so the Master storage domain is hosted from Storage Server 1. Thus the net result of taking down Storage Server 1 is that one must also take down Storage Server 2.
Thus we know we must shut down VM's from Storage Domain A to maintenance Storage Server 1. Suppose however that VM's are running that we don't want to shut down and are hosted from Storage Domain B via Storage Server 2.
We would want to be able to promote Storage Domain B to Master so that we can take down Storage Domain A to do maintenance to Storage Server 1.
Once we are done with maintenance to Storage Server 1 we can bring Storage Domain A back on line, re-designate it as Master if desired and bring it's VM's back online.
I know I have seen this occur automatically to a point when a Storage Domain goes missing that is the Master Domain but I have not noted any manual method of doing so given the above scenario.
- DHC
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/ <http://lists.ovirt.org/mailman/listinfo/users> mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
my understanding is you can move the storage domain A which is master to maint. engine will promote storage domain B to master and everything should continue working as is.
--
Med Vänliga Hälsningar
------------------------------------------------------------------------------- Karli Sjöberg Swedish University of Agricultural Sciences Box 7079 (Visiting Address Kronåsvägen 8) S-750 07 Uppsala, Sweden Phone: +46-(0)18-67 15 66 karli.sjoberg@slu.se <karli.sjoberg@adm.slu.se>

On 08/16/2013 04:46 PM, Dead Horse wrote:
Pausing the VM's can work in certain situations for simple maintenance. However suppose the purpose of the storage shutdown is to move data around for certain VM's or perhaps change that particular underlying storage filesystem or hardware. Thus some of the VM's will have to be down for sure however pausing them all because of the aforementioned would not be an option since it would take hours or days depending on the amount of data and the degree of change.
I'm sorry - how is pausing VMs running from a storage domain moved to maint is related to master storage domain?
- DHC
On Fri, Aug 16, 2013 at 12:14 AM, Karli Sjöberg <Karli.Sjoberg@slu.se <mailto:Karli.Sjoberg@slu.se>> wrote:
__ tor 2013-08-15 klockan 10:46 -0500 skrev Dead Horse:
Itamar this is true (I have noted occasional timing issues with it actually working). But what if as the administrator I have a specific storage domain in mind that I would like to have become the master (in the case of more then two)?
@Karli
The idea is not to not have to shut down all the VM's or the engine just to maintenance a storage domain(s) that may happen to be on disparate storage servers .
Yes I understood that. My suggestion was a workaround until such operations are possible, that we use to minimize downtime as much as possible, to *pause* the VM's, shut down engine, maintenance, bring engine and VM's back. Since the VM's only was paused and engine shut down, the VM's just continue going happily unknowing exactly from where they were, and a reboot of a storage takes at most 5mins, which means 5mins total of downtime in the cloud environment for that quarter, which is acceptable for just about any SLA.
/Karli
- DHC
On Thu, Aug 15, 2013 at 9:37 AM, Itamar Heim <iheim@redhat.com <mailto:iheim@redhat.com>> wrote:
On 08/15/2013 06:18 AM, Dead Horse wrote:
Is there any method of designating which domain should be the master storage domain or forcibly changing the role to a different storage domain?
EG: Given the following example
Storage Domain A (Master) --> NFS --> Storage Server 1 Storage Domain B --> NFS --> Storage Server 2
One wants to do maintenance to Storage Server 1 but in doing so the Master storage domain is hosted from Storage Server 1. Thus the net result of taking down Storage Server 1 is that one must also take down Storage Server 2.
Thus we know we must shut down VM's from Storage Domain A to maintenance Storage Server 1. Suppose however that VM's are running that we don't want to shut down and are hosted from Storage Domain B via Storage Server 2.
We would want to be able to promote Storage Domain B to Master so that we can take down Storage Domain A to do maintenance to Storage Server 1.
Once we are done with maintenance to Storage Server 1 we can bring Storage Domain A back on line, re-designate it as Master if desired and bring it's VM's back online.
I know I have seen this occur automatically to a point when a Storage Domain goes missing that is the Master Domain but I have not noted any manual method of doing so given the above scenario.
- DHC
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/ <http://lists.ovirt.org/mailman/listinfo/users>mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
my understanding is you can move the storage domain A which is master to maint. engine will promote storage domain B to master and everything should continue working as is.
--
Med Vänliga Hälsningar ------------------------------------------------------------------------------- Karli Sjöberg Swedish University of Agricultural Sciences Box 7079 (Visiting Address Kronåsvägen 8) S-750 07 Uppsala, Sweden Phone: +46-(0)18-67 15 66 <tel:%2B46-%280%2918-67%2015%2066> karli.sjoberg@slu.se <mailto:karli.sjoberg@adm.slu.se>

----- Original Message -----
Pausing the VM's can work in certain situations for simple maintenance. However suppose the purpose of the storage shutdown is to move data around for certain VM's or perhaps change that particular underlying storage
Then why not live migrate the relevant disks?
filesystem or hardware. Thus some of the VM's will have to be down for sure however pausing them all because of the aforementioned would not be an option since it would take hours or days depending on the amount of data and the degree of change.
- DHC
On Fri, Aug 16, 2013 at 12:14 AM, Karli Sjöberg < Karli.Sjoberg@slu.se > wrote:
tor 2013-08-15 klockan 10:46 -0500 skrev Dead Horse:
Itamar this is true (I have noted occasional timing issues with it actually working). But what if as the administrator I have a specific storage domain in mind that I would like to have become the master (in the case of more then two)?
@Karli
The idea is not to not have to shut down all the VM's or the engine just to maintenance a storage domain(s) that may happen to be on disparate storage servers .
Yes I understood that. My suggestion was a workaround until such operations are possible, that we use to minimize downtime as much as possible, to pause the VM's, shut down engine, maintenance, bring engine and VM's back. Since the VM's only was paused and engine shut down, the VM's just continue going happily unknowing exactly from where they were, and a reboot of a storage takes at most 5mins, which means 5mins total of downtime in the cloud environment for that quarter, which is acceptable for just about any SLA.
/Karli
- DHC
On Thu, Aug 15, 2013 at 9:37 AM, Itamar Heim < iheim@redhat.com > wrote:
On 08/15/2013 06:18 AM, Dead Horse wrote:
Is there any method of designating which domain should be the master storage domain or forcibly changing the role to a different storage domain?
EG: Given the following example
Storage Domain A (Master) --> NFS --> Storage Server 1 Storage Domain B --> NFS --> Storage Server 2
One wants to do maintenance to Storage Server 1 but in doing so the Master storage domain is hosted from Storage Server 1. Thus the net result of taking down Storage Server 1 is that one must also take down Storage Server 2.
Thus we know we must shut down VM's from Storage Domain A to maintenance Storage Server 1. Suppose however that VM's are running that we don't want to shut down and are hosted from Storage Domain B via Storage Server 2.
We would want to be able to promote Storage Domain B to Master so that we can take down Storage Domain A to do maintenance to Storage Server 1.
Once we are done with maintenance to Storage Server 1 we can bring Storage Domain A back on line, re-designate it as Master if desired and bring it's VM's back online.
I know I have seen this occur automatically to a point when a Storage Domain goes missing that is the Master Domain but I have not noted any manual method of doing so given the above scenario.
- DHC
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/ mailman/listinfo/users
my understanding is you can move the storage domain A which is master to maint. engine will promote storage domain B to master and everything should continue working as is.
--
Med Vänliga Hälsningar ------------------------------------------------------------------------------- Karli Sjöberg Swedish University of Agricultural Sciences Box 7079 (Visiting Address Kronåsvägen 8) S-750 07 Uppsala, Sweden Phone: +46-(0)18-67 15 66 karli.sjoberg@slu.se
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Live Migration is possible when the relevant storage server is not the one needing to be taken offline for maintenance. Granted a proper Gluster setup would alleviate that however when optimum performance of file backed virtual disks is a factor Gluster is not there yet. - DHC On Sun, Aug 18, 2013 at 5:47 AM, Ayal Baron <abaron@redhat.com> wrote:
----- Original Message -----
Pausing the VM's can work in certain situations for simple maintenance. However suppose the purpose of the storage shutdown is to move data around for certain VM's or perhaps change that particular underlying storage
Then why not live migrate the relevant disks?
filesystem or hardware. Thus some of the VM's will have to be down for sure however pausing them all because of the aforementioned would not be an option since it would take hours or days depending on the amount of data and the degree of change.
- DHC
On Fri, Aug 16, 2013 at 12:14 AM, Karli Sjöberg < Karli.Sjoberg@slu.se > wrote:
tor 2013-08-15 klockan 10:46 -0500 skrev Dead Horse:
Itamar this is true (I have noted occasional timing issues with it actually working). But what if as the administrator I have a specific storage domain in mind that I would like to have become the master (in the case of more then two)?
@Karli
The idea is not to not have to shut down all the VM's or the engine just to maintenance a storage domain(s) that may happen to be on disparate storage servers .
Yes I understood that. My suggestion was a workaround until such operations are possible, that we use to minimize downtime as much as possible, to pause the VM's, shut down engine, maintenance, bring engine and VM's back. Since the VM's only was paused and engine shut down, the VM's just continue going happily unknowing exactly from where they were, and a reboot of a storage takes at most 5mins, which means 5mins total of downtime in the cloud environment for that quarter, which is acceptable for just about any SLA.
/Karli
- DHC
On Thu, Aug 15, 2013 at 9:37 AM, Itamar Heim < iheim@redhat.com > wrote:
On 08/15/2013 06:18 AM, Dead Horse wrote:
Is there any method of designating which domain should be the master storage domain or forcibly changing the role to a different storage domain?
EG: Given the following example
Storage Domain A (Master) --> NFS --> Storage Server 1 Storage Domain B --> NFS --> Storage Server 2
One wants to do maintenance to Storage Server 1 but in doing so the Master storage domain is hosted from Storage Server 1. Thus the net result of taking down Storage Server 1 is that one must also take down Storage Server 2.
Thus we know we must shut down VM's from Storage Domain A to maintenance Storage Server 1. Suppose however that VM's are running that we don't want to shut down and are hosted from Storage Domain B via Storage Server 2.
We would want to be able to promote Storage Domain B to Master so that we can take down Storage Domain A to do maintenance to Storage Server 1.
Once we are done with maintenance to Storage Server 1 we can bring Storage Domain A back on line, re-designate it as Master if desired and bring it's VM's back online.
I know I have seen this occur automatically to a point when a Storage Domain goes missing that is the Master Domain but I have not noted any manual method of doing so given the above scenario.
- DHC
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/ mailman/listinfo/users
my understanding is you can move the storage domain A which is master to maint. engine will promote storage domain B to master and everything should continue working as is.
--
Med Vänliga Hälsningar
-------------------------------------------------------------------------------
Karli Sjöberg Swedish University of Agricultural Sciences Box 7079 (Visiting Address Kronåsvägen 8) S-750 07 Uppsala, Sweden Phone: +46-(0)18-67 15 66 karli.sjoberg@slu.se
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

I should note that pausing the VM's does not seem to be an option or it is not working. Currently pausing all VM's associated with a particular storage domain then trying to place that domain into maintenance mode yields: "Error while executing action: Cannot deactivate Storage. Active VMs were detected." "-Please ensure all VMs associated with this Storage Domain are stopped and in the Down state first." This is with engine built from latest master. - DHC On Mon, Aug 26, 2013 at 12:08 PM, Dead Horse <deadhorseconsulting@gmail.com>wrote:
Live Migration is possible when the relevant storage server is not the one needing to be taken offline for maintenance. Granted a proper Gluster setup would alleviate that however when optimum performance of file backed virtual disks is a factor Gluster is not there yet. - DHC
On Sun, Aug 18, 2013 at 5:47 AM, Ayal Baron <abaron@redhat.com> wrote:
----- Original Message -----
Pausing the VM's can work in certain situations for simple maintenance. However suppose the purpose of the storage shutdown is to move data around for certain VM's or perhaps change that particular underlying storage
Then why not live migrate the relevant disks?
filesystem or hardware. Thus some of the VM's will have to be down for sure however pausing them all because of the aforementioned would not be an option since it would take hours or days depending on the amount of data and the degree of change.
- DHC
On Fri, Aug 16, 2013 at 12:14 AM, Karli Sjöberg < Karli.Sjoberg@slu.se> wrote:
tor 2013-08-15 klockan 10:46 -0500 skrev Dead Horse:
Itamar this is true (I have noted occasional timing issues with it actually working). But what if as the administrator I have a specific storage domain in mind that I would like to have become the master (in the case of more then two)?
@Karli
The idea is not to not have to shut down all the VM's or the engine just to maintenance a storage domain(s) that may happen to be on disparate storage servers .
Yes I understood that. My suggestion was a workaround until such operations are possible, that we use to minimize downtime as much as possible, to pause the VM's, shut down engine, maintenance, bring engine and VM's back. Since the VM's only was paused and engine shut down, the VM's just continue going happily unknowing exactly from where they were, and a reboot of a storage takes at most 5mins, which means 5mins total of downtime in the cloud environment for that quarter, which is acceptable for just about any SLA.
/Karli
- DHC
On Thu, Aug 15, 2013 at 9:37 AM, Itamar Heim < iheim@redhat.com > wrote:
On 08/15/2013 06:18 AM, Dead Horse wrote:
Is there any method of designating which domain should be the master storage domain or forcibly changing the role to a different storage domain?
EG: Given the following example
Storage Domain A (Master) --> NFS --> Storage Server 1 Storage Domain B --> NFS --> Storage Server 2
One wants to do maintenance to Storage Server 1 but in doing so the Master storage domain is hosted from Storage Server 1. Thus the net result of taking down Storage Server 1 is that one must also take down Storage Server 2.
Thus we know we must shut down VM's from Storage Domain A to maintenance Storage Server 1. Suppose however that VM's are running that we don't want to shut down and are hosted from Storage Domain B via Storage Server 2.
We would want to be able to promote Storage Domain B to Master so that we can take down Storage Domain A to do maintenance to Storage Server 1.
Once we are done with maintenance to Storage Server 1 we can bring Storage Domain A back on line, re-designate it as Master if desired and bring it's VM's back online.
I know I have seen this occur automatically to a point when a Storage Domain goes missing that is the Master Domain but I have not noted any manual method of doing so given the above scenario.
- DHC
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/ mailman/listinfo/users
my understanding is you can move the storage domain A which is master to maint. engine will promote storage domain B to master and everything should continue working as is.
--
Med Vänliga Hälsningar
-------------------------------------------------------------------------------
Karli Sjöberg Swedish University of Agricultural Sciences Box 7079 (Visiting Address Kronåsvägen 8) S-750 07 Uppsala, Sweden Phone: +46-(0)18-67 15 66 karli.sjoberg@slu.se
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

----- Original Message -----
Live Migration is possible when the relevant storage server is not the one needing to be taken offline for maintenance. Granted a proper Gluster setup would alleviate that however when optimum performance of file backed virtual disks is a factor Gluster is not there yet.
You gave examples where you want to migrate your data and you don't want to kill your VMs, so I suggested live storage migration, where the VM keeps running on the same host, but the underlying disk is moved from one storage domain to another. You basically have 3 options: 1. live storage migration 2. hotunplug the disk (assuming guest supports it and disk interface supports it) - in case the VM can live without this disk 3. stop the VM Putting a domain in maintenance while there are paused VMs with disks on this domain is not implemented in the system. But going back to your original scenario I think this discussion has shifted quite far from what you actually want to achieve, so I'd like to revisit that. First I'll explain what I understood from your original request to make sure that we're on the same page: You have 2 storage domains sd1 and sd2. sd1 is currently master storage domain. you want to put sd1 in maintenance. you have running VMs using *sd2* which you do not want to shut down. For the above scenario (which I hope is what you're aiming for), all you have to do is stop only the VMs which have disks on *sd1* (or live storage migrate or hotunplug as explained above) and once that is done just put sd1 in maintenance. In this scenario, the system will automatically move the master storage domain to be sd2, no downtime for VMs which don't have disks on sd1.
- DHC
On Sun, Aug 18, 2013 at 5:47 AM, Ayal Baron <abaron@redhat.com> wrote:
----- Original Message -----
Pausing the VM's can work in certain situations for simple maintenance. However suppose the purpose of the storage shutdown is to move data around for certain VM's or perhaps change that particular underlying storage
Then why not live migrate the relevant disks?
filesystem or hardware. Thus some of the VM's will have to be down for sure however pausing them all because of the aforementioned would not be an option since it would take hours or days depending on the amount of data and the degree of change.
- DHC
On Fri, Aug 16, 2013 at 12:14 AM, Karli Sjöberg < Karli.Sjoberg@slu.se > wrote:
tor 2013-08-15 klockan 10:46 -0500 skrev Dead Horse:
Itamar this is true (I have noted occasional timing issues with it actually working). But what if as the administrator I have a specific storage domain in mind that I would like to have become the master (in the case of more then two)?
@Karli
The idea is not to not have to shut down all the VM's or the engine just to maintenance a storage domain(s) that may happen to be on disparate storage servers .
Yes I understood that. My suggestion was a workaround until such operations are possible, that we use to minimize downtime as much as possible, to pause the VM's, shut down engine, maintenance, bring engine and VM's back. Since the VM's only was paused and engine shut down, the VM's just continue going happily unknowing exactly from where they were, and a reboot of a storage takes at most 5mins, which means 5mins total of downtime in the cloud environment for that quarter, which is acceptable for just about any SLA.
/Karli
- DHC
On Thu, Aug 15, 2013 at 9:37 AM, Itamar Heim < iheim@redhat.com > wrote:
On 08/15/2013 06:18 AM, Dead Horse wrote:
Is there any method of designating which domain should be the master storage domain or forcibly changing the role to a different storage domain?
EG: Given the following example
Storage Domain A (Master) --> NFS --> Storage Server 1 Storage Domain B --> NFS --> Storage Server 2
One wants to do maintenance to Storage Server 1 but in doing so the Master storage domain is hosted from Storage Server 1. Thus the net result of taking down Storage Server 1 is that one must also take down Storage Server 2.
Thus we know we must shut down VM's from Storage Domain A to maintenance Storage Server 1. Suppose however that VM's are running that we don't want to shut down and are hosted from Storage Domain B via Storage Server 2.
We would want to be able to promote Storage Domain B to Master so that we can take down Storage Domain A to do maintenance to Storage Server 1.
Once we are done with maintenance to Storage Server 1 we can bring Storage Domain A back on line, re-designate it as Master if desired and bring it's VM's back online.
I know I have seen this occur automatically to a point when a Storage Domain goes missing that is the Master Domain but I have not noted any manual method of doing so given the above scenario.
- DHC
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/ mailman/listinfo/users
my understanding is you can move the storage domain A which is master to maint. engine will promote storage domain B to master and everything should continue working as is.
--
Med Vänliga Hälsningar
-------------------------------------------------------------------------------
Karli Sjöberg Swedish University of Agricultural Sciences Box 7079 (Visiting Address Kronåsvägen 8) S-750 07 Uppsala, Sweden Phone: +46-(0)18-67 15 66 karli.sjoberg@slu.se
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (6)
-
Ayal Baron
-
Dead Horse
-
Itamar Heim
-
Jim Kinney
-
Karli Sjöberg
-
Liron Aravot