<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi,<br>
      <br>
      On 02/27/2018 04:29 PM, Fred Rolland wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAF_B0vG-_ERoHUu+NS48fOf23kGPeKczuJq3Qt9MKLDrcZKiwg@mail.gmail.com">
      <div dir="ltr">
        <div>Hi,<br>
          <br>
        </div>
        <div>Just to make clear what you want to achieve:<br>
        </div>
        <div>- DC1 - local storage - host1 - VMs<br>
          - DC2 - local storage - host2 <br>
          <br>
        </div>
        <div>You want to move the VMs from DC1 to DC2.<br>
        </div>
      </div>
    </blockquote>
    <br>
    Yes, thanks, this is exactly what I want to accomplish.<br>
    BTW, are export domains from different data centers visible to each
    other?<br>
    <br>
    If not, wouldn't be simpler to export VM#1 in DC #1 to Export domain
    #1, copy over ssh to DC #2 Export domain, and finally import it into
    DC #2.<br>
    <br>
    PS. I can't test right now myself, sitting home on sick leave..<br>
    <br>
    <blockquote type="cite"
cite="mid:CAF_B0vG-_ERoHUu+NS48fOf23kGPeKczuJq3Qt9MKLDrcZKiwg@mail.gmail.com">
      <div dir="ltr">
        <div><br>
        </div>
        <div>What you can do:<br>
        </div>
        <div>- Add a shared storage domain to the DC#1 <br>
        </div>
        <div>- Move VM disk from local SD to shared storage domain<br>
        </div>
        <div>- Put shared storage domain to maintenance<br>
        </div>
        <div>- Detach shared storage from DC1<br>
          - Attach shared storage to DC2<br>
        </div>
        <div>- Activate shared storage <br>
        </div>
        <div>- You should be able to register the VM from the shared
          storage into the DC2<br>
        </div>
        <div>- If you want/need move disks from shared storage to local
          storage in DC2<br>
          <br>
        </div>
        <div>Please test this flow with a dummy VM before doing on
          important VMs.<br>
          <br>
        </div>
        <div>Regards,<br>
          <br>
        </div>
        <div>Freddy<br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Mon, Feb 26, 2018 at 1:46 PM, Andrei
          Verovski <span dir="ltr">&lt;<a
              href="mailto:andreil1@starlett.lv" target="_blank"
              moz-do-not-send="true">andreil1@starlett.lv</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div
              style="word-wrap:break-word;line-break:after-white-space">Hi,
              <div><br>
              </div>
              <div>Thanks for clarification. I’m using 4.2.</div>
              <div>Anyway, I have to define another data center with
                shared storage domain (since data center with local
                storage domain can have only 1 host), and the do what
                you have described.</div>
              <div><br>
              </div>
              <div>Is it possible to copy VM disks from 1 data center #1
                local storage domain to another data center #2 NFS
                storage domain, or need to use export storage domain ?
                <div>
                  <div class="h5"><br>
                    <div><br>
                    </div>
                    <div><br>
                      <blockquote type="cite">
                        <div>On 26 Feb 2018, at 13:30, Fred Rolland &lt;<a
                            href="mailto:frolland@redhat.com"
                            target="_blank" moz-do-not-send="true">frolland@redhat.com</a>&gt;
                          wrote:</div>
                        <br
                          class="m_-8606475354650732125Apple-interchange-newline">
                        <div>
                          <div dir="ltr">
                            <div>
                              <div>
                                <div>
                                  <div>
                                    <div>
                                      <div>Hi,<br>
                                      </div>
                                      Which version are you using?<br>
                                      <br>
                                    </div>
                                    in 4.1 , the support of adding
                                    shared storage to local DC was added
                                    [1].<br>
                                  </div>
                                  You can copy/move disks to the shared
                                  storage domain, then detach the SD and
                                  attach to another DC.<br>
                                  <br>
                                </div>
                                In any case, you wont be able to live
                                migrate VMs from the local DC, it is not
                                supported.<br>
                                <br>
                              </div>
                              Regards,<br>
                            </div>
                            Fred<br>
                            <div>
                              <div>
                                <div>
                                  <div><br>
                                    [1] <a
href="https://ovirt.org/develop/release-management/features/storage/sharedStorageDomainsAttachedToLocalDC/"
                                      target="_blank"
                                      moz-do-not-send="true">https://ovirt.org/develop/<wbr>release-management/features/<wbr>storage/<wbr>sharedStorageDomainsAttachedTo<wbr>LocalDC/</a><br>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                          <div class="gmail_extra"><br>
                            <div class="gmail_quote">On Fri, Feb 23,
                              2018 at 1:35 PM, Andrei V <span dir="ltr">&lt;<a
                                  href="mailto:andreil1@starlett.lv"
                                  target="_blank" moz-do-not-send="true">andreil1@starlett.lv</a>&gt;</span>
                              wrote:<br>
                              <blockquote class="gmail_quote"
                                style="margin:0 0 0 .8ex;border-left:1px
                                #ccc solid;padding-left:1ex">
                                <div
                                  style="word-wrap:break-word;line-break:after-white-space">Hi,
                                  <div><br>
                                  </div>
                                  <div>I have oVirt setup, separate PC
                                    host engine + 2 nodes (#10 + #11)
                                    with local storage domains (internal
                                    RAIDs).</div>
                                  <div>1st node #10 is currently active
                                    and can’t be turned off.</div>
                                  <div><br>
                                  </div>
                                  <div>Since oVirt doesn’t support more
                                    then 1 host in data center with
                                    local storage domain as described
                                    here:</div>
                                  <div><a
                                      href="http://lists.ovirt.org/pipermail/users/2018-January/086118.html"
                                      target="_blank"
                                      moz-do-not-send="true">http://lists.ovirt.org/piperma<wbr>il/users/2018-January/086118.<wbr>html</a><br>
                                    defined another data center with 1
                                    node #11.</div>
                                  <div><br>
                                  </div>
                                  <div>Problem: </div>
                                  <div>1) can’t copy or move VM disks
                                    from node #10 (even of inactive VMs)
                                    to node #11, this node is NOT being
                                    shown as possible destination.</div>
                                  <div>2) can’t migrate active VMs to
                                    node #11.</div>
                                  <div>3) Added NFS shares to data
                                    center #1 -&gt; node #10, but can’t
                                    change data center #1 -&gt; storage
                                    type to Shared, because this
                                    operation requires detachment of
                                    local storage domains, which is not
                                    possible, several VMs are active and
                                    can’t be stopped.</div>
                                  <div><br>
                                  </div>
                                  <div>VM disks placed on local storage
                                    domains because of performance
                                    limitations of our 1Gbit network. </div>
                                  <div>2 VMs running our
                                    accounting/inventory control system,
                                    and are critical to NFS storage
                                    performance limits.</div>
                                  <div><br>
                                  </div>
                                  <div>How to solve this problem ?</div>
                                  <div>Thanks in advance.</div>
                                  <span
                                    class="m_-8606475354650732125HOEnZb"><font
                                      color="#888888">
                                      <div><br>
                                      </div>
                                      <div>Andrei</div>
                                      <div><br>
                                      </div>
                                    </font></span></div>
                                <br>
                                ______________________________<wbr>_________________<br>
                                Users mailing list<br>
                                <a href="mailto:Users@ovirt.org"
                                  target="_blank" moz-do-not-send="true">Users@ovirt.org</a><br>
                                <a
                                  href="http://lists.ovirt.org/mailman/listinfo/users"
                                  rel="noreferrer" target="_blank"
                                  moz-do-not-send="true">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
                                <br>
                              </blockquote>
                            </div>
                            <br>
                          </div>
                        </div>
                      </blockquote>
                    </div>
                    <br>
                  </div>
                </div>
              </div>
            </div>
            <br>
            ______________________________<wbr>_________________<br>
            Users mailing list<br>
            <a href="mailto:Users@ovirt.org" moz-do-not-send="true">Users@ovirt.org</a><br>
            <a href="http://lists.ovirt.org/mailman/listinfo/users"
              rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>