From jhorne at skopos.us Tue Dec 11 09:02:07 2012 Content-Type: multipart/mixed; boundary="===============8046161072792462970==" MIME-Version: 1.0 From: Jonathan Horne To: users at ovirt.org Subject: [Users] theoretical scenario Date: Tue, 11 Dec 2012 14:02:04 +0000 Message-ID: <9BE6F493F83A594DA60C45E6A09DC5AC016D5B42@AUSP01DAG0201.collaborationhost.net> --===============8046161072792462970== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable --_000_9BE6F493F83A594DA60C45E6A09DC5AC016D5B42AUSP01DAG0201co_ Content-Type: text/plain; charset=3D"us-ascii" Content-Transfer-Encoding: quoted-printable My production deployment is approaching soon, so i am trying to get some fi= =3D nal tasks and concepts completed before that day arrives. Lets say, that i= =3D have a working domain, but that an impending disaster is about to destroy = =3D the whole thing. How can i get the Vms out, and then how can i reverse thi= =3D s and get them into a completely new and unrelated/unconnected ovirt domain= =3D ? Any advice, or a doc or link would be much appreciated. Thanks, jonathan ________________________________ This is a PRIVATE message. If you are not the intended recipient, please de= =3D lete without copying and kindly advise us by e-mail of the mistake in deliv= =3D ery. NOTE: Regardless of content, this e-mail shall not operate to bind SKO= =3D POS to any order or other contract unless pursuant to explicit written agre= =3D ement or government initiative expressly permitting the use of e-mail for s= =3D uch purpose. --_000_9BE6F493F83A594DA60C45E6A09DC5AC016D5B42AUSP01DAG0201co_ Content-Type: text/html; charset=3D"us-ascii" Content-ID: <0AF4B2D24594B94C973C6872FC97F3F3(a)collaborationhost.net> Content-Transfer-Encoding: quoted-printable
My production deployment is approaching soon, so i am trying to get so= =3D me final tasks and concepts completed before that day arrives.  Lets s= =3D ay, that i have a working domain, but that an impending disaster is about t= =3D o destroy the whole thing.  How can i get the Vms out, and then how can i reverse this and get them into a compl= =3D etely new and unrelated/unconnected ovirt domain?

Any advice, or a doc or link would be much appreciated.

Thanks,
jonathan


This is a PRIVATE mess= age. I=3D f you are not the intended recipient, please delete without copying and kin= =3D dly advise us by e-mail of the mistake in delivery. NOTE: Regardless of con= =3D tent, this e-mail shall not operate to bind SKOPOS to any order or other contract unless pursuant to explicit wri= =3D tten agreement or government initiative expressly permitting the use of e-m= =3D ail for such purpose. --_000_9BE6F493F83A594DA60C45E6A09DC5AC016D5B42AUSP01DAG0201co_-- --===============8046161072792462970== Content-Type: multipart/alternative MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.bin" LS1fMDAwXzlCRTZGNDkzRjgzQTU5NERBNjBDNDVFNkEwOURDNUFDMDE2RDVCNDJBVVNQMDFEQUcw MjAxY29fCkNvbnRlbnQtVHlwZTogdGV4dC9wbGFpbjsgY2hhcnNldD0idXMtYXNjaWkiCkNvbnRl bnQtVHJhbnNmZXItRW5jb2Rpbmc6IHF1b3RlZC1wcmludGFibGUKCk15IHByb2R1Y3Rpb24gZGVw bG95bWVudCBpcyBhcHByb2FjaGluZyBzb29uLCBzbyBpIGFtIHRyeWluZyB0byBnZXQgc29tZSBm aT0KbmFsIHRhc2tzIGFuZCBjb25jZXB0cyBjb21wbGV0ZWQgYmVmb3JlIHRoYXQgZGF5IGFycml2 ZXMuICBMZXRzIHNheSwgdGhhdCBpPQogaGF2ZSBhIHdvcmtpbmcgZG9tYWluLCBidXQgdGhhdCBh biBpbXBlbmRpbmcgZGlzYXN0ZXIgaXMgYWJvdXQgdG8gZGVzdHJveSA9CnRoZSB3aG9sZSB0aGlu Zy4gIEhvdyBjYW4gaSBnZXQgdGhlIFZtcyBvdXQsIGFuZCB0aGVuIGhvdyBjYW4gaSByZXZlcnNl IHRoaT0KcyBhbmQgZ2V0IHRoZW0gaW50byBhIGNvbXBsZXRlbHkgbmV3IGFuZCB1bnJlbGF0ZWQv dW5jb25uZWN0ZWQgb3ZpcnQgZG9tYWluPQo/CgpBbnkgYWR2aWNlLCBvciBhIGRvYyBvciBsaW5r IHdvdWxkIGJlIG11Y2ggYXBwcmVjaWF0ZWQuCgpUaGFua3MsCmpvbmF0aGFuCgpfX19fX19fX19f X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dGhvdXQg Y29weWluZyBhbmQga2luPQpkbHkgYWR2aXNlIHVzIGJ5IGUtbWFpbCBvZiB0aGUgbWlzdGFrZSBp biBkZWxpdmVyeS4gTk9URTogUmVnYXJkbGVzcyBvZiBjb249CnRlbnQsIHRoaXMgZS1tYWlsIHNo YWxsIG5vdCBvcGVyYXRlIHRvCiBiaW5kIFNLT1BPUyB0byBhbnkgb3JkZXIgb3Igb3RoZXIgY29u dHJhY3QgdW5sZXNzIHB1cnN1YW50IHRvIGV4cGxpY2l0IHdyaT0KdHRlbiBhZ3JlZW1lbnQgb3Ig Z292ZXJubWVudCBpbml0aWF0aXZlIGV4cHJlc3NseSBwZXJtaXR0aW5nIHRoZSB1c2Ugb2YgZS1t PQphaWwgZm9yIHN1Y2ggcHVycG9zZS48L2ZvbnQ+CjwvYm9keT4KPC9odG1sPgoKLS1fMDAwXzlC RTZGNDkzRjgzQTU5NERBNjBDNDVFNkEwOURDNUFDMDE2RDVCNDJBVVNQMDFEQUcwMjAxY29fLS0K --===============8046161072792462970==-- From jhorne at skopos.us Tue Dec 11 14:47:10 2012 Content-Type: multipart/mixed; boundary="===============2808824553999514933==" MIME-Version: 1.0 From: Jonathan Horne To: users at ovirt.org Subject: Re: [Users] theoretical scenario Date: Tue, 11 Dec 2012 19:47:06 +0000 Message-ID: <9BE6F493F83A594DA60C45E6A09DC5AC016D644C@AUSP01DAG0201.collaborationhost.net> In-Reply-To: 9BE6F493F83A594DA60C45E6A09DC5AC016D5B42@AUSP01DAG0201.collaborationhost.net --===============2808824553999514933== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable --_000_9BE6F493F83A594DA60C45E6A09DC5AC016D644CAUSP01DAG0201co_ Content-Type: text/plain; charset=3D"Windows-1252" Content-Transfer-Encoding: quoted-printable ok, so the process seems pretty obtuse, so let me run this by the list here= =3D and maybe I'm just not doing it the best way. 1) i connected an export domain called EXPORTNFS. the nfs share is physica= =3D lly on my management server (as is iso) 2) exported 1 VM. 3) on the mgmt server, i run "tar zxcf /root/test.tgz /opt/export/[UUID]/im= =3D ages /opt/export/[UUID]/master" 4) for good measure, i use ovirt web gui to delete the exported VM from the= =3D export 5) run the command 'engine-image-uploader =3D96u admin(a)internal upload te= st.t=3D gz =3D96v =3D96e EXPORTNFS 6) after a while, it completes and i see the VM back in the export storage = =3D tab under VM Import. i didn't run the vm yet, but I'm assuming thats a successful export and imp= =3D ort. so, it seems if i wanted to export each and every VM from one separate ovir= =3D t to another, i would export each VM, tar-gzip it, clear it from the webgui= =3D , and start the next one? IE.. i mean it looks like engine-image-uploader= =3D would be pretty unhappy with finding more than one set of VM UUIDs inside? is this the way it should be done, or am i doing it the hard way? thanks! jonathan From: Jonathan Horne > Date: Tuesday, December 11, 2012 8:02 AM To: "users(a)ovirt.org" > Subject: [Users] theoretical scenario My production deployment is approaching soon, so i am trying to get some fi= =3D nal tasks and concepts completed before that day arrives. Lets say, that i= =3D have a working domain, but that an impending disaster is about to destroy = =3D the whole thing. How can i get the Vms out, and then how can i reverse thi= =3D s and get them into a completely new and unrelated/unconnected ovirt domain= =3D ? Any advice, or a doc or link would be much appreciated. Thanks, jonathan ________________________________ This is a PRIVATE message. If you are not the intended recipient, please de= =3D lete without copying and kindly advise us by e-mail of the mistake in deliv= =3D ery. NOTE: Regardless of content, this e-mail shall not operate to bind SKO= =3D POS to any order or other contract unless pursuant to explicit written agre= =3D ement or government initiative expressly permitting the use of e-mail for s= =3D uch purpose. ________________________________ This is a PRIVATE message. If you are not the intended recipient, please de= =3D lete without copying and kindly advise us by e-mail of the mistake in deliv= =3D ery. NOTE: Regardless of content, this e-mail shall not operate to bind SKO= =3D POS to any order or other contract unless pursuant to explicit written agre= =3D ement or government initiative expressly permitting the use of e-mail for s= =3D uch purpose. --_000_9BE6F493F83A594DA60C45E6A09DC5AC016D644CAUSP01DAG0201co_ Content-Type: text/html; charset=3D"Windows-1252" Content-ID: Content-Transfer-Encoding: quoted-printable
ok, so the process seems pretty obtuse, so let me run this by the list= =3D here and maybe I'm just not doing it the best way.  

1) i connected an export domain called EXPORTNFS.  the nfs share = =3D is physically on my management server (as is iso)
2) exported 1 VM.
3) on the mgmt server, i run "tar zxcf /root/test.tgz /opt/export= =3D /[UUID]/images /opt/export/[UUID]/master"
4) for good measure, i use ovirt web gui to delete the exported VM fro= =3D m the export
5) run the command 'engine-image-uploader =3D96u admin(a)internal uplo= ad t=3D est.tgz =3D96v =3D96e EXPORTNFS
6) after a while, it completes and i see the VM back in the export sto= =3D rage tab under VM Import.

i didn't run the vm yet, but I'm assuming thats a successful export an= =3D d import.

so, it seems if i wanted to export each and every VM from one separate= =3D ovirt to another, i would export each VM, tar-gzip it, clear it from the w= =3D ebgui, and start the next one?   IE.. i mean it looks like engine-imag= =3D e-uploader would be pretty unhappy with finding more than one set of VM UUIDs inside?

is this the way it should be done, or am i doing it the hard way?

thanks!
jonathan



From: Jonathan Horne <jhorne(a)skopos.us>
Date: Tuesday, December 11, 2012 = 8:=3D 02 AM
To: "users(a)ovirt.org" <=3D users(a)ovirt.org>
Subject: [Users] theoretical scen= ar=3D io

My production deployment is approaching soon, so i am trying to get so= =3D me final tasks and concepts completed before that day arrives.  Lets s= =3D ay, that i have a working domain, but that an impending disaster is about t= =3D o destroy the whole thing.  How can i get the Vms out, and then how can i reverse this and get them into a compl= =3D etely new and unrelated/unconnected ovirt domain?

Any advice, or a doc or link would be much appreciated.

Thanks,
jonathan


This is a PRIVATE mess= age. I=3D f you are not the intended recipient, please delete without copying and kin= =3D dly advise us by e-mail of the mistake in delivery. NOTE: Regardless of con= =3D tent, this e-mail shall not operate to bind SKOPOS to any order or other contract unless pursuant to explicit wri= =3D tten agreement or government initiative expressly permitting the use of e-m= =3D ail for such purpose.


This is a PRIVATE mess= age. I=3D f you are not the intended recipient, please delete without copying and kin= =3D dly advise us by e-mail of the mistake in delivery. NOTE: Regardless of con= =3D tent, this e-mail shall not operate to bind SKOPOS to any order or other contract unless pursuant to explicit wri= =3D tten agreement or government initiative expressly permitting the use of e-m= =3D ail for such purpose. --_000_9BE6F493F83A594DA60C45E6A09DC5AC016D644CAUSP01DAG0201co_-- --===============2808824553999514933== Content-Type: multipart/alternative MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.bin" LS1fMDAwXzlCRTZGNDkzRjgzQTU5NERBNjBDNDVFNkEwOURDNUFDMDE2RDY0NENBVVNQMDFEQUcw MjAxY29fCkNvbnRlbnQtVHlwZTogdGV4dC9wbGFpbjsgY2hhcnNldD0iV2luZG93cy0xMjUyIgpD b250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBxdW90ZWQtcHJpbnRhYmxlCgpvaywgc28gdGhlIHBy b2Nlc3Mgc2VlbXMgcHJldHR5IG9idHVzZSwgc28gbGV0IG1lIHJ1biB0aGlzIGJ5IHRoZSBsaXN0 IGhlcmU9CiBhbmQgbWF5YmUgSSdtIGp1c3Qgbm90IGRvaW5nIGl0IHRoZSBiZXN0IHdheS4KCjEp IGkgY29ubmVjdGVkIGFuIGV4cG9ydCBkb21haW4gY2FsbGVkIEVYUE9SVE5GUy4gIHRoZSBuZnMg c2hhcmUgaXMgcGh5c2ljYT0KbGx5IG9uIG15IG1hbmFnZW1lbnQgc2VydmVyIChhcyBpcyBpc28p CjIpIGV4cG9ydGVkIDEgVk0uCjMpIG9uIHRoZSBtZ210IHNlcnZlciwgaSBydW4gInRhciB6eGNm IC9yb290L3Rlc3QudGd6IC9vcHQvZXhwb3J0L1tVVUlEXS9pbT0KYWdlcyAvb3B0L2V4cG9ydC9b VVVJRF0vbWFzdGVyIgo0KSBmb3IgZ29vZCBtZWFzdXJlLCBpIHVzZSBvdmlydCB3ZWIgZ3VpIHRv IGRlbGV0ZSB0aGUgZXhwb3J0ZWQgVk0gZnJvbSB0aGU9CiBleHBvcnQKNSkgcnVuIHRoZSBjb21t YW5kICdlbmdpbmUtaW1hZ2UtdXBsb2FkZXIgPTk2dSBhZG1pbkBpbnRlcm5hbC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2YgdGhlIG1pc3Rha2UgaW4gZGVsaXZlcnkuIE5PVEU6IFJlZ2FyZGxlc3Mgb2YgY29uPQp0ZW50 LCB0aGlzIGUtbWFpbCBzaGFsbCBub3Qgb3BlcmF0ZSB0bwogYmluZCBTS09QT1MgdG8gYW55IG9y ZGVyIG9yIG90aGVyIGNvbnRyYWN0IHVubGVzcyBwdXJzdWFudCB0byBleHBsaWNpdCB3cmk9CnR0 ZW4gYWdyZWVtZW50IG9yIGdvdmVybm1lbnQgaW5pdGlhdGl2ZSBleHByZXNzbHkgcGVybWl0dGlu ZyB0aGUgdXNlIG9mIGUtbT0KYWlsIGZvciBzdWNoIHB1cnBvc2UuPC9mb250Pgo8L2JvZHk+Cjwv aHRtbD4KCi0tXzAwMF85QkU2RjQ5M0Y4M0E1OTREQTYwQzQ1RTZBMDlEQzVBQzAxNkQ2NDRDQVVT UDAxREFHMDIwMWNvXy0tCg== --===============2808824553999514933==-- From vered at redhat.com Wed Dec 12 02:32:57 2012 Content-Type: multipart/mixed; boundary="===============0333094533217608240==" MIME-Version: 1.0 From: Vered Volansky To: users at ovirt.org Subject: Re: [Users] theoretical scenario Date: Wed, 12 Dec 2012 02:32:56 -0500 Message-ID: <1534012511.47713052.1355297576183.JavaMail.root@redhat.com> In-Reply-To: 9BE6F493F83A594DA60C45E6A09DC5AC016D644C@AUSP01DAG0201.collaborationhost.net --===============0333094533217608240== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable First, your scenario is missing the actual import, you just have the data i= n the export domain, not the vms in the engine. Second - A slightly simpler way you were looking for: 1. Export multiple vms using either a short script via RESTAPI or webadmin = (select multiple vms and export). 2. Detach the export domain. 3. Backup the export domain with all its data. 4. Re-attach export domain when ready to. 5. Import vms. Good luck, Vered ----- Original Message ----- > From: "Jonathan Horne" > To: "Jonathan Horne" , users(a)ovirt.org > Sent: Tuesday, December 11, 2012 9:47:06 PM > Subject: Re: [Users] theoretical scenario > = > = > = > = > = > ok, so the process seems pretty obtuse, so let me run this by the > list here and maybe I'm just not doing it the best way. > = > = > 1) i connected an export domain called EXPORTNFS. the nfs share is > physically on my management server (as is iso) > 2) exported 1 VM. > 3) on the mgmt server, i run "tar zxcf /root/test.tgz > /opt/export/[UUID]/images /opt/export/[UUID]/master" > 4) for good measure, i use ovirt web gui to delete the exported VM > from the export > 5) run the command 'engine-image-uploader =E2=80=93u admin(a)internal upl= oad > test.tgz =E2=80=93v =E2=80=93e EXPORTNFS > 6) after a while, it completes and i see the VM back in the export > storage tab under VM Import. > = > = > i didn't run the vm yet, but I'm assuming thats a successful export > and import. > = > = > so, it seems if i wanted to export each and every VM from one > separate ovirt to another, i would export each VM, tar-gzip it, > clear it from the webgui, and start the next one? IE.. i mean it > looks like engine-image-uploader would be pretty unhappy with > finding more than one set of VM UUIDs inside? > = > = > is this the way it should be done, or am i doing it the hard way? > = > = > thanks! > jonathan > = > = > = > = > = > = > = > = > From: Jonathan Horne < jhorne(a)skopos.us > > Date: Tuesday, December 11, 2012 8:02 AM > To: " users(a)ovirt.org " < users(a)ovirt.org > > Subject: [Users] theoretical scenario > = > = > = > = > = > = > = > My production deployment is approaching soon, so i am trying to get > some final tasks and concepts completed before that day arrives. > Lets say, that i have a working domain, but that an impending > disaster is about to destroy the whole thing. How can i get the Vms > out, and then how can i reverse this and get them into a completely > new and unrelated/unconnected ovirt domain? > = > = > Any advice, or a doc or link would be much appreciated. > = > = > Thanks, > jonathan > = > = > = > This is a PRIVATE message. If you are not the intended recipient, > please delete without copying and kindly advise us by e-mail of the > mistake in delivery. NOTE: Regardless of content, this e-mail shall > not operate to bind SKOPOS to any order or other contract unless > pursuant to explicit written agreement or government initiative > expressly permitting the use of e-mail for such purpose. > = > This is a PRIVATE message. If you are not the intended recipient, > please delete without copying and kindly advise us by e-mail of the > mistake in delivery. NOTE: Regardless of content, this e-mail shall > not operate to bind SKOPOS to any order or other contract unless > pursuant to explicit written agreement or government initiative > expressly permitting the use of e-mail for such purpose. > _______________________________________________ > Users mailing list > Users(a)ovirt.org > http://lists.ovirt.org/mailman/listinfo/users >=20 --===============0333094533217608240==-- From iheim at redhat.com Wed Dec 12 18:47:24 2012 Content-Type: multipart/mixed; boundary="===============6396694894827702011==" MIME-Version: 1.0 From: Itamar Heim To: users at ovirt.org Subject: Re: [Users] theoretical scenario Date: Thu, 13 Dec 2012 01:47:30 +0200 Message-ID: <50C91792.4010306@redhat.com> In-Reply-To: 9BE6F493F83A594DA60C45E6A09DC5AC016D644C@AUSP01DAG0201.collaborationhost.net --===============6396694894827702011== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 12/11/2012 09:47 PM, Jonathan Horne wrote: > ok, so the process seems pretty obtuse, so let me run this by the list > here and maybe I'm just not doing it the best way. > > 1) i connected an export domain called EXPORTNFS. the nfs share is > physically on my management server (as is iso) > 2) exported 1 VM. > 3) on the mgmt server, i run "tar zxcf /root/test.tgz > /opt/export/[UUID]/images /opt/export/[UUID]/master" > 4) for good measure, i use ovirt web gui to delete the exported VM from > the export > 5) run the command 'engine-image-uploader =E2=80=93u admin(a)internal upl= oad > test.tgz =E2=80=93v =E2=80=93e EXPORTNFS > 6) after a while, it completes and i see the VM back in the export > storage tab under VM Import. > > i didn't run the vm yet, but I'm assuming thats a successful export and > import. > > so, it seems if i wanted to export each and every VM from one separate > ovirt to another, i would export each VM, tar-gzip it, clear it from the > webgui, and start the next one? IE.. i mean it looks like > engine-image-uploader would be pretty unhappy with finding more than one > set of VM UUIDs inside? apart of Vered's simpler solution, a small note that: 1. engine-image-uploader can handle uploading the same image more than = once and generating uuid's 2. however, i think this capability is deprecated, since engine has = recently added support to import a VM which UUID is already imported, = allowing to create a new VM from the imported one. --===============6396694894827702011==-- From kroberts at redhat.com Wed Dec 12 20:58:54 2012 Content-Type: multipart/mixed; boundary="===============1867856080166107793==" MIME-Version: 1.0 From: Keith Robertson To: users at ovirt.org Subject: Re: [Users] theoretical scenario Date: Wed, 12 Dec 2012 20:58:52 -0500 Message-ID: <50C9365C.6090006@redhat.com> In-Reply-To: 50C91792.4010306@redhat.com --===============1867856080166107793== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 12/12/2012 06:47 PM, Itamar Heim wrote: > On 12/11/2012 09:47 PM, Jonathan Horne wrote: >> ok, so the process seems pretty obtuse, so let me run this by the list >> here and maybe I'm just not doing it the best way. >> >> 1) i connected an export domain called EXPORTNFS. the nfs share is >> physically on my management server (as is iso) >> 2) exported 1 VM. >> 3) on the mgmt server, i run "tar zxcf /root/test.tgz >> /opt/export/[UUID]/images /opt/export/[UUID]/master" >> 4) for good measure, i use ovirt web gui to delete the exported VM from >> the export >> 5) run the command 'engine-image-uploader =E2=80=93u admin(a)internal up= load >> test.tgz =E2=80=93v =E2=80=93e EXPORTNFS >> 6) after a while, it completes and i see the VM back in the export >> storage tab under VM Import. >> >> i didn't run the vm yet, but I'm assuming thats a successful export and >> import. >> >> so, it seems if i wanted to export each and every VM from one separate >> ovirt to another, i would export each VM, tar-gzip it, clear it from the >> webgui, and start the next one? IE.. i mean it looks like >> engine-image-uploader would be pretty unhappy with finding more than one >> set of VM UUIDs inside? Yes, it would. If you want to export all of your VMs all at once and = have no plans to rename them or alter them whatsoever, why not just back = up the entire export storage domain and attach to the new DC/Cluster? WRT to 3. I agree that is a clunky process to create a portable VM. I = would like to create a tool that allows you to pick a VM from available = exported ones and subsequently wrap it up into a .tgz. Shouldn't be too = hard. > > apart of Vered's simpler solution, a small note that: > 1. engine-image-uploader can handle uploading the same image more than = > once and generating uuid's Correct. > 2. however, i think this capability is deprecated, since engine has = > recently added support to import a VM which UUID is already imported, = > allowing to create a new VM from the imported one. Correct. --===============1867856080166107793==--