----- Original Message ----- > From: "VONDRA Alain" <[email protected]> > To: "VONDRA Alain" <[email protected]>, "Simone Tiraboschi" > <[email protected]> > Cc: [email protected] > Sent: Wednesday, March 18, 2015 12:42:10 PM > Subject: RE: [ovirt-users] Reinstalling a new oVirt Manager > > Do you think that I can import the SDs in my new Data Center without any risk > to destroy the VMs inside them ?? > Thank you for your advice.
If no other engine is managing them, you can safely import the existing storage domain. As usual, is always a good idea to keep a backup. > > > Alain VONDRA > Chargé d'exploitation des Systèmes d'Information > Direction Administrative et Financière > +33 1 44 39 77 76 > UNICEF France > 3 rue Duguay Trouin 75006 PARIS > www.unicef.fr > > > > > -----Message d'origine----- > De : [email protected] [mailto:[email protected]] De la part de > VONDRA Alain > Envoyé : mardi 17 mars 2015 23:33 > À : Simone Tiraboschi > Cc : [email protected] > Objet : Re: [ovirt-users] Reinstalling a new oVirt Manager > > Ok great, I can see the different storage that I want to import, but I can't > see the VMs on the un-connected pool. > So anyway I have to go further and import the storage domain passing the > alert message. > Am I right ? > No other way to see the VMs in SD : > > [root@unc-srv-hyp1 ~]$ vdsClient -s 0 getStorageDomainsList > 7e40772a-fe94-4fb2-94c4-6198bed04a6a > 0fec0486-7863-49bc-a4ab-d2c7ac48258a > d7b9d7cc-f7d6-43c7-ae13-e720951657c9 > 1f6dec51-12a6-41ed-9d14-8f0ad4e062d2 > f9a0076d-e041-4d8f-a627-223562b84b90 > 04d87d6c-092a-4568-bdca-1d6e8f231912 > > [root@unc-srv-hyp1 ~]$ vdsClient -s 0 getStorageDomainInfo > 7e40772a-fe94-4fb2-94c4-6198bed04a6a > uuid = 7e40772a-fe94-4fb2-94c4-6198bed04a6a > vguuid = zwpINw-zgIR-oOjP-6voS-iA2n-zFRB-G76sSQ > state = OK > version = 3 > role = Regular > type = ISCSI > class = Data > pool = ['f422de63-8869-41ef-a782-8b0c9ee03c41'] > name = VOL-UNC-PROD-01 > > [root@unc-srv-hyp1 ~]$ vdsClient -s 0 getStorageDomainInfo > 0fec0486-7863-49bc-a4ab-d2c7ac48258a > uuid = 0fec0486-7863-49bc-a4ab-d2c7ac48258a > vguuid = ta2ZFC-UwtO-xANp-ZK19-rWVo-1kBJ-ZrsQrN > state = OK > version = 3 > role = Regular > type = ISCSI > class = Data > pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86'] > name = VOL-UNC-TEST > > [root@unc-srv-hyp1 ~]$ vdsClient -s 0 getStorageDomainInfo > d7b9d7cc-f7d6-43c7-ae13-e720951657c9 > uuid = d7b9d7cc-f7d6-43c7-ae13-e720951657c9 > vguuid = zyiwLa-STgp-v3r8-KJqj-1AIP-rC2k-4NuXqf > state = OK > version = 3 > role = Regular > type = ISCSI > class = Data > pool = ['f422de63-8869-41ef-a782-8b0c9ee03c41'] > name = VOL-UNC-PROD-02 > > [root@unc-srv-hyp1 ~]$ vdsClient -s 0 getStorageDomainInfo > 1f6dec51-12a6-41ed-9d14-8f0ad4e062d2 > uuid = 1f6dec51-12a6-41ed-9d14-8f0ad4e062d2 > vguuid = 6itdyW-WLid-fTu6-HAJd-dpSj-HpbH-T4ZSVA > state = OK > version = 3 > role = Regular > type = ISCSI > class = Data > pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86'] > name = VOL-UNC-NAS-01 > > [root@unc-srv-hyp1 ~]$ vdsClient -s 0 getStorageDomainInfo > f9a0076d-e041-4d8f-a627-223562b84b90 > uuid = f9a0076d-e041-4d8f-a627-223562b84b90 > version = 0 > role = Regular > remotePath = unc-srv-kman:/var/lib/exports/iso > type = NFS > class = Iso > pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86'] > name = ISO_DOMAIN > > [root@unc-srv-hyp1 ~]$ vdsClient -s 0 getStorageDomainInfo > 04d87d6c-092a-4568-bdca-1d6e8f231912 > uuid = 04d87d6c-092a-4568-bdca-1d6e8f231912 > version = 3 > role = Master > remotePath = unc-srv-hyp1.cfu.local:/exports/import_domain > type = NFS > class = Data > pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86'] > name = VOL-NFS > > [root@unc-srv-hyp1 ~]$ vdsClient -s 0 getVmsList > c58a44b1-1c98-450e-97e1-3347eeb28f86 1f6dec51-12a6-41ed-9d14-8f0ad4e062d2 > No VMs found. > > [root@unc-srv-hyp1 ~]$ vdsClient -s 0 getVmsList > f422de63-8869-41ef-a782-8b0c9ee03c41 d7b9d7cc-f7d6-43c7-ae13-e720951657c9 > Unknown pool id, pool not connected: > ('f422de63-8869-41ef-a782-8b0c9ee03c41',) > > [root@unc-srv-hyp1 ~]$ vdsClient -s 0 getVmsList > f422de63-8869-41ef-a782-8b0c9ee03c41 7e40772a-fe94-4fb2-94c4-6198bed04a6a > Unknown pool id, pool not connected: > ('f422de63-8869-41ef-a782-8b0c9ee03c41',) > > > > > > > > > > Is there any command to verify if the storage domain contains VMs or not ? > > You can execute this on one of your hosts. > > # vdsClient -s 0 getStorageDomainsList > to get storage domain list, than > > # vdsClient -s 0 getStorageDomainInfo <domain UUID> for each of them till you > identify the domain you are looking for. > You can also find there the pool UUID. > > Than > # vdsClient -s 0 getVmsList <pool UUID> <domain UUID> To get the list of VMs > on that storage. > > > > > > > Alain VONDRA > > Chargé d'exploitation des Systèmes d'Information Direction > > Administrative et Financière > > +33 1 44 39 77 76 > > UNICEF France > > 3 rue Duguay Trouin 75006 PARIS > > www.unicef.fr > > > > > > > > > > > Alain VONDRA > Chargé d'exploitation des Systèmes d'Information Direction Administrative et > Financière > +33 1 44 39 77 76 > UNICEF France > 3 rue Duguay Trouin 75006 PARIS > www.unicef.fr > > > > > > -----Message d'origine----- > > De : VONDRA Alain > > Envoyé : mardi 17 mars 2015 16:41 > > À : VONDRA Alain; Simone Tiraboschi > > Cc : [email protected] > > Objet : RE: [ovirt-users] Reinstalling a new oVirt Manager > > > > Hi everybody, > > Is there anyboby who can help me ? > > Thanks > > > > > > > > Alain VONDRA > > Chargé d'exploitation des Systèmes d'Information Direction > > Administrative et Financière > > +33 1 44 39 77 76 > > UNICEF France > > 3 rue Duguay Trouin 75006 PARIS > > www.unicef.fr > > > > > > > > > > -----Message d'origine----- > > De : VONDRA Alain > > Envoyé : mardi 17 mars 2015 14:40 > > À : VONDRA Alain; Simone Tiraboschi > > Cc : [email protected] > > Objet : RE: [ovirt-users] Reinstalling a new oVirt Manager > > > > To complete my previous post, if this storage domain doesn't contain > > VM, but just Disks attached to other VMs from other Storage Domain. > > How can I check it before breaking the rest of my data importing other SD > > ??? > > Thanks > > > > > > No I don't see any VM images, that the big problem... > > > > > Ok, I've done that action, but after I don't any "Import VMs" and > > > "Import Templates" tabs.... > > > What's happening ???? > > > Alain > > > > You don't have to explicitly re-import each VM. > > You should find your storage domain with all the preexisting VM images. > > > > > > > > > Alain VONDRA > > > Chargé d'exploitation des Systèmes d'Information Direction > > > Administrative et Financière > > > +33 1 44 39 77 76 > > > UNICEF France > > > 3 rue Duguay Trouin 75006 PARIS > > > www.unicef.fr > > > > > > > > > > > > > > > > > > Alain VONDRA > > Chargé d'exploitation des Systèmes d'Information Direction > > Administrative et Financière > > +33 1 44 39 77 76 > > UNICEF France > > 3 rue Duguay Trouin 75006 PARIS > > www.unicef.fr > > > > > > > > > > > > > > Alain VONDRA > > Chargé d'exploitation des Systèmes d'Information Direction > > Administrative et Financière > > +33 1 44 39 77 76 > > UNICEF France > > 3 rue Duguay Trouin 75006 PARIS > > www.unicef.fr > > > > > > > > > > > -----Message d'origine----- > > > De : Simone Tiraboschi [mailto:[email protected]] Envoyé : mardi > > > 17 mars 2015 12:04 À : VONDRA Alain Cc : [email protected] Objet : Re: > > > [ovirt-users] Reinstalling a new oVirt Manager > > > > > > > > > > > > ----- Original Message ----- > > > > From: "VONDRA Alain" <[email protected]> > > > > To: "VONDRA Alain" <[email protected]>, "Simone Tiraboschi" > > > > <[email protected]> > > > > Cc: [email protected] > > > > Sent: Tuesday, March 17, 2015 11:29:23 AM > > > > Subject: RE: [ovirt-users] Reinstalling a new oVirt Manager > > > > > > > > Hi, > > > > The plan using import Domain seems to be OK, but when I finalize > > > > the importation of a Data/iScsi I have this alert : > > > > > > > > Storage Domain(s) are already attached to a Data Center. Approving > > > > this operation might cause data corruption if both Data Centers > > > > are active. > > > > > > > > How can I detach this domain to a non visible old Data Center ?? > > > > Can I pass this alert without data lost ? > > > > > > If the old engine is no more active and the new one is using a new > > > database and not an imported one you are safe to proceed. > > > > > > > Thanks > > > > Alain > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Alain VONDRA > > > > Chargé d'exploitation des Systèmes d'Information Direction > > > > Administrative et Financière > > > > +33 1 44 39 77 76 > > > > UNICEF France > > > > 3 rue Duguay Trouin 75006 PARIS > > > > www.unicef.fr > > > > > > > > > > > > > > > > > > > > -----Message d'origine----- > > > > De : [email protected] [mailto:[email protected]] De > > > > la part de VONDRA Alain Envoyé : lundi 16 mars 2015 13:52 À : > > > > Simone Tiraboschi Cc : [email protected] Objet : Re: [ovirt-users] > > > > Reinstalling a new oVirt Manager > > > > > > > > I plan to reinstall on a cloned VM from the original one, I have > > > > cleaned the previous version, and made an engine-setup. > > > > So I have backups from the previous Manager, I can backup to the new > > > > one. > > > > But, reading the overt-engine-backup, it seems to be possible only > > > > before doing engine-setup. > > > > Is that right or may I launch a backup after an engine-setup ? > > > > An engine-clean is enough to use engine-backup ? > > > > > > > > Thanks > > > > > > > > > > > > > > > > > > > > > > > > Alain VONDRA > > > > Chargé d'exploitation des Systèmes d'Information Direction > > > > Administrative et Financière > > > > +33 1 44 39 77 76 > > > > UNICEF France > > > > 3 rue Duguay Trouin 75006 PARIS > > > > www.unicef.fr > > > > > > > > > > > > > > > > > > > > -----Message d'origine----- > > > > De : Simone Tiraboschi [mailto:[email protected]] Envoyé : lundi > > > > 16 mars > > > > 2015 11:55 À : VONDRA Alain Cc : Roy Golan; [email protected] Objet : Re: > > > > [ovirt-users] Reinstalling a new oVirt Manager > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > From: "VONDRA Alain" <[email protected]> > > > > > To: "Roy Golan" <[email protected]> > > > > > Cc: [email protected] > > > > > Sent: Monday, March 16, 2015 11:14:10 AM > > > > > Subject: [ovirt-users] Reinstalling a new oVirt Manager > > > > > > > > > > Hi > > > > > I want to reinstall a new clean oVirt Manager, and I have a question > > > > > : > > > > > If I install a new manager, do I recover the datacenter and all > > > > > the Vms installed in it without any lost of data ? > > > > > What is the best practice to do this safely ? > > > > > Thank you for your help > > > > > Alain > > > > > > > > Are you planning to install on a new host/VM? > > > > > > > > You have basically two alternatives: > > > > A. backup the DB and restore it on the new engine as described here: > > > > http://www.ovirt.org/Ovirt-engine-backup > > > > > > > > B. Start from scratch with a new engine on a new DB and re-import > > > > existing storage domains: > > > > http://www.ovirt.org/Features/ImportStorageDomain > > > > > > > > Option B involves a lot of manual steps but it could be also used > > > > as a disaster recovery flow when the DB is for any reasons lost or > > > > corrupted. > > > > > > > > > > > > > > > > > Alain VONDRA > > > > > Chargé d'exploitation des Systèmes d'Information Direction > > > > > Administrative et Financière > > > > > +33 1 44 39 77 76 > > > > > UNICEF France > > > > > 3 rue Duguay Trouin 75006 PARIS www.unicef.fr > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > Users mailing list > > > > > [email protected] > > > > > http://lists.ovirt.org/mailman/listinfo/users > > > > > > > > > _______________________________________________ > > > > Users mailing list > > > > [email protected] > > > > http://lists.ovirt.org/mailman/listinfo/users > > > > > > > > > _______________________________________________ > > Users mailing list > > [email protected] > > http://lists.ovirt.org/mailman/listinfo/users > > > > > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.ovirt.org/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/users

