XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Disaster recovery - wrong network in destination

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    7 Posts 2 Posters 743 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • txsastreT Offline
      txsastre
      last edited by txsastre

      I copied a huge amount of VM from a one pool to another via Disaster Recovery

      everything went fine, but when I checked the network of the VM i realized that it has assigned it a management NIC

      has you can see the first pool it has a bond core with 2+3 NIC,
      Selecció_245.jpg

      in the backup VM it has a NIC that is Network 3, that it belongs to the management bond 2+3
      Selecció_246.jpg

      the order and NIC bonds have different order in one pool and the other.

      pool 1.
      bond 0+1 = management (1Gb)
      bond 2+3 = VM (10Gb)
      bond 4+5 = SAN (10Gb)

      pool2
      bond 0+1 = VM (10Gb)
      bond 2+3 = management (1Gb)
      bond 4+5 = SAN (10Gb)

      is there a way I can tell with network has the backup VM use in the new pool ?

      thanks

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        We try to respect the same order (and maybe to match the network name, but I'm not sure).

        You can always change the network order in your VM when you want to start it, but there's no magic way to know on which network you want the replicated VM to occur.

        1 Reply Last reply Reply Quote 1
        • txsastreT Offline
          txsastre
          last edited by

          There will be an easy way to do a massive change of network, isn't it? With a bash script or something like that.

          1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            Probably. If you want to create an issue somewhere for XO team, please be precise on what's happening and what you expect, telling all your network name etc.

            1 Reply Last reply Reply Quote 0
            • txsastreT Offline
              txsastre
              last edited by txsastre

              hi, may be this gonna be a problem for another users, and may be could be an improvement for XO.

              meanwhile I found this
              http://www.ultimaforsan.com/logs/2011/8/10/xenserver-addremove-network-interface.html

              that is useful for changing VM NIC, also tried and works fine.

              and another solution is changing the order of NICs in XCP-ng
              https://support.citrix.com/article/CTX135809#Identifying Existing NIC Characteristics

              1 Reply Last reply Reply Quote 0
              • txsastreT Offline
                txsastre
                last edited by

                ok, I changed the ETHs order to make them be the same as the production server, so both pool have their ETHs numbers in the same order.

                eth0,1 - management
                eth2,3 - vm
                eth4,5 - SAN

                and now the Disaster Recovery backup set the correct NIC in the VM.

                problem solved. 🙂

                1 Reply Last reply Reply Quote 1
                • olivierlambertO Offline
                  olivierlambert Vates 🪐 Co-Founder CEO
                  last edited by

                  Yeah I would say that's the more logical solution in the end 🙂

                  1 Reply Last reply Reply Quote 1
                  • First post
                    Last post