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

    Backup to Remote SR through Proxy

    Scheduled Pinned Locked Moved Unsolved Backup
    3 Posts 2 Posters 2.0k Views 2 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.
    • M Offline
      mandaman2k
      last edited by

      Hi,

      Hope you guys can help me, So i almost blindly jumped into XCP-NG from Hyper-V from just a quick testing on a small server we had laying around. I've successfully migrated all the VMs and everything is now running on XCP-NG.

      Now I'm focusing on the backups and DRP solutions.

      31447273-ec50-4048-a42b-ae0da8363898-Infraestructura PlusCorp.jpg

      As you can see on the diagram above I have 3 physical servers each master of there own pool and there own local SR.

      Each server has it's own XO which manages the VMs running on each server and I've managed to create the backup to our NAS with hourly delta backups from each XO. All is working fine there.

      Now for the DRP I have a dedicated server which is hosting XCP-NG with a public IP (blocked from internet access except from office IP) and I created a VM with PfSense with a second public IP to manage all the DRP VMs local and internet connections.

      Next step I created the XO-Proxy from sources with the help of ronivay script. I was able to connect the proxy to each of the XO on the office side and I can see the local SR of the DRPPOOL.

      I successfully was able to create a CR (continuous replication) to the DRPPOOL through the proxy and every 10 minutes all the VMs are being replicated.

      Now the issue I'm having is creating delta backups to the remote cloud storage through the proxy. I was able to create the remote sr using the proxy credentials.

      328f5b6e-7f46-4438-bdfe-5e33067ad631-image.png

      and here is how I setup the backup config:

      4286efb8-0653-4c36-9cfc-6c6c32db6ce1-image.png

      and when running the backup I get the following error:

      backupNg.runJob
      {
        "id": "6600c079-e99f-49ec-ba49-f0930983b9f8",
        "schedule": "bde9c949-c037-4972-9f94-ab9953c6a3b6"
      }
      {
        "errno": -113,
        "code": "EHOSTUNREACH",
        "syscall": "connect",
        "address": "192.100.168.221",
        "port": 443,
        "call": {
          "duration": 3090,
          "method": "session.login_with_password",
          "params": "* obfuscated *"
        },
        "message": "connect EHOSTUNREACH 192.100.168.221:443",
        "name": "Error",
        "stack": "Error: connect EHOSTUNREACH 192.100.168.221:443
          at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16)
          at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17)"
      }
      

      this happens on all 3 servers and I don't really know what I should do here to fix this problem.

      Hope someone can help me

      Cheers

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

        Hi,

        I'm not sure to get it, pinging @julien-f

        1 Reply Last reply Reply Quote 0
        • M Offline
          mandaman2k
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • M mandaman2k marked this topic as a question on
          • First post
            Last post