Backup and Backup copy with XO Proxies. Bug or by design ?
-
@jshiells but how do you do that ?
-
@Pilow not easily. as an Telco/ISP we run massive multiple 40 to 100gb/s links across the country so data transfers from site to site is not an issue allowing us to have priv routed IP networks spanning anywhere. Much harder todo for SMB deployments.
may also involve adding more vnics and IP's to XOA and XOA-PROXYSiteA:
XOA
proxy-A
Storage-A-SR
Backup-A-SRpriv network routing in both directions to:
SiteB:
proxy-B
Storage-B-SR
Backup-B-SRso XOA, Proxy-A, Proxy-B ALL have access to:
Storage-A-SR
Backup-A-SR
Storage-B-SR
Backup-B-SRsorry.. this is probably not helpfull for most people
-
@Pilow a Backup job cannot mix proxy and non proxy remote
The goal of the proxy is to keep the data flow out of XO, mixing both will contradict this goalsince you seem to want to access a remote by the proxy and the xoa, you can attach the remote twice ( one to the proxy, the other to xoa) and chose it it's better to have one read locally and write remotely or the opposite
The only things that should be noted when using multiple xo/proxy to a remote is that you may have "lock already held" error if both are trying to read and write the same VM (but for mirror job, at worse, it means that the transfer will be done on next run
@jshiells you had the right idea (and you have one nice network)
-
@florent I get your point.
I could duplicate the remotes, one with proxy, one without proxy
buuuuuuuuut... when i select a proxy, i only see ONE remote attached to it.
So it defeats the possibility to use proxies in a VM MIRROR job.And my XOA will have to do the transfers, on remote without proxies
Screenshot WITH proxy : i'm forced on ONE remote
Screenshot WITHOUT proxy : I can see all my remotes (but XOA is the only involved)
I just want to do a VM MIRROR backup job, by proxies.
Can't do that because I am FORCED to have the same remote in SOURCE and TARGET... Mirroring to the same remote makes no sense. -
@Pilow can you show us you remote settings ?
let's say you have remoteproxy and remotexoa and you want to mirror the backup from remoteproxy to remotexoa
You create a second remote on the proxy, called remotexoafromproxy that point exactly to the same folder as remotexoa, but is set on the proxy
then you should be able to do a mirror from remoteproxy to remotexoafromproxy
You can do the same from proxy1 to proxy2 or xoa to proxy.
A backup job can only run on one VM , be it a proxy or a xoa. So this VM must have access to all the relevant remote
-
@florent okaaaay, I was taking it the wrong way.
I managed to have one proxy to see two remotes as intended, thanks to your advice.
Need to do some routing (DC1 and DC2 are on two distant datacenters, separate subnets) to make each proxy see the good route to each distant remote.Thank you !
-
@Pilow nice, inform us if everything is ok
-
@florent everything is okay now.
It's tedious to have some duplicate remotes (to be accessible from different XOproxies) but it is working.side question !
the FOLDER param of a S3 Remote is defined on the BR itself...
Could you think of a way of putting this parameter also/inplaceof in the backup job definition ?Say I have an S3 server, and want to differenciate the backup folders of different clients in an MSP solution based.
Today I have to create a BR by client for each job with subsequent folder on the SAME remote.Would be easy to monitor globally the occupied space by client in different main client folders, than parsing the UUID of Jobs/VMs in a big BR full of all client VMs.
any idea if this could be implemented ? would be a great addon of functionnality for MSP/CSP partners using S3 BR like us
-
@Pilow what would need to change a lot of things. We are starting a project to rewrite the ACL, and I think it's a better way to handle it. But it will take time before releasing it.
-
okay we will dev the matching of vm/jobs UUIDs in the meantime to aggregate "backup size by clients"
or look after the api calls you do in XOA where you have the total backup size (by VM).
we lack the TAGS here by the way
we can tag VMs, but can't tag backups... neither filter VM backups by VM tag -
@Pilow This one should be doable, I am adding it to our backlog