How to use Wasabi with Xen Orchestra
-
You'll need a VM on your XenServer/XCP-ng server to act as a proxy. I'm assuming you're starting with an up to date Fedora Server install. You'll also need a Wasabi account, bucket, key and secret.
sudo dnf -y install s3fs-fuse sudo echo "Your_Key:Your_Secret" > /root/.passwd-s3fs sudo chmod 600 /root/.passwd-s3fs sudo mkdir /backup sudo echo "s3fs#mybucket /backup fuse _netdev,allow_other,use_path_request_style,url=https://s3.wasabisys.com 0 0" >> /etc/fstab sudo dnf -y install nfs-utils sudo systemctl enable --now rpcbind sudo echo "/backup ipofserver(rw,fsid=1000)" > /etc/exports sudo systemctl enable --now nfs-server sudo firewall-cmd --permanent --add-service=nfs sudo firewall-cmd --reload
Now you just mount the NFS directory from Xen Orchestra like normal. If you need help with that, go talk to @DustinB3403.
My mount point currently shows 256T Avail.
-
This is a Fedora VM presenting a Wasabi bucket to XO as an NFS share?
-
@bnrstnr said in How to use Wasabi with Xen Orchestra:
This is a Fedora VM presenting a Wasabi bucket to XO as an NFS share?
Yes, it is.
-
@travisdh1 said in How to use Wasabi with Xen Orchestra:
@bnrstnr said in How to use Wasabi with Xen Orchestra:
This is a Fedora VM presenting a Wasabi bucket to XO as an NFS share?
Yes, it is.
Awesome! That's what it looked like but it was hard to tell from your description.
What kind of backups do you run? Is this viable for Deltas?
-
@bnrstnr said in How to use Wasabi with Xen Orchestra:
@travisdh1 said in How to use Wasabi with Xen Orchestra:
@bnrstnr said in How to use Wasabi with Xen Orchestra:
This is a Fedora VM presenting a Wasabi bucket to XO as an NFS share?
Yes, it is.
Awesome! That's what it looked like but it was hard to tell from your description.
What kind of backups do you run? Is this viable for Deltas?
That's what I setup on XO last night. I'll tell you for sure when I try a restore tonight.
-
@travisdh1 said in How to use Wasabi with Xen Orchestra:
sudo echo "s3fs#mybucket /backup fuse _netdev,allow_other,use_path_style,url=https://s3.wasabisys.com 0 0
I think you forgot the end here
-
@bnrstnr said in How to use Wasabi with Xen Orchestra:
@travisdh1 said in How to use Wasabi with Xen Orchestra:
sudo echo "s3fs#mybucket /backup fuse _netdev,allow_other,use_path_style,url=https://s3.wasabisys.com 0 0
I think you forgot the end here
sudo echo "s3fs#mybucket /backup fuse _netdev,allow_other,use_path_style,url=https://s3.wasabisys.com 0 0" > /etc/fstab
Sure did, thanks.
-
Fixed a couple more issues. That's @bnrstnr
Also, don't make guides when you're up 3 hours after your normal bed time, you make all kinds of silly mistakes.
-
@bnrstnr said in How to use Wasabi with Xen Orchestra:
@travisdh1 said in How to use Wasabi with Xen Orchestra:
sudo echo "s3fs#mybucket /backup fuse _netdev,allow_other,use_path_style,url=https://s3.wasabisys.com 0 0
I think you forgot the end here
sudo echo "s3fs#mybucket /backup fuse _netdev,allow_other,use_path_style,url=https://s3.wasabisys.com 0 0" >> /etc/fstab
Might be better otherwise you'll wipe your whole fstab.
-
@dafyre said in How to use Wasabi with Xen Orchestra:
@bnrstnr said in How to use Wasabi with Xen Orchestra:
@travisdh1 said in How to use Wasabi with Xen Orchestra:
sudo echo "s3fs#mybucket /backup fuse _netdev,allow_other,use_path_style,url=https://s3.wasabisys.com 0 0
I think you forgot the end here
sudo echo "s3fs#mybucket /backup fuse _netdev,allow_other,use_path_style,url=https://s3.wasabisys.com 0 0" >> /etc/fstab
Might be better otherwise you'll wipe your whole fstab.
For sure. See what I mean about not writing these late at night
-
@travisdh1 how has this been working for you?
I couldn't get mine up and running in the couple hours I had to experiment, so I abandoned it for the time being.
-
@bnrstnr said in How to use Wasabi with Xen Orchestra:
@travisdh1 how has this been working for you?
I couldn't get mine up and running in the couple hours I had to experiment, so I abandoned it for the time being.
Something is timing out. I haven't had time to troubleshoot and figure out if it's the backup job, the s3fs, or something else yet
-
@travisdh1 said in How to use Wasabi with Xen Orchestra:
@bnrstnr said in How to use Wasabi with Xen Orchestra:
@travisdh1 how has this been working for you?
I couldn't get mine up and running in the couple hours I had to experiment, so I abandoned it for the time being.
Something is timing out. I haven't had time to troubleshoot and figure out if it's the backup job, the s3fs, or something else yet
If you use rclone, you can have it mount the Wasabi bucket with an @reboot Cron job.
-
@dafyre said in How to use Wasabi with Xen Orchestra:
@travisdh1 said in How to use Wasabi with Xen Orchestra:
@bnrstnr said in How to use Wasabi with Xen Orchestra:
@travisdh1 how has this been working for you?
I couldn't get mine up and running in the couple hours I had to experiment, so I abandoned it for the time being.
Something is timing out. I haven't had time to troubleshoot and figure out if it's the backup job, the s3fs, or something else yet
If you use rclone, you can have it mount the Wasabi bucket with an @reboot Cron job.
That's the thing, it's just fine on boot. I'll have to attempt creating and transferring a large file manually to narrow things down.
-
@travisdh1 said in How to use Wasabi with Xen Orchestra:
@dafyre said in How to use Wasabi with Xen Orchestra:
@travisdh1 said in How to use Wasabi with Xen Orchestra:
@bnrstnr said in How to use Wasabi with Xen Orchestra:
@travisdh1 how has this been working for you?
I couldn't get mine up and running in the couple hours I had to experiment, so I abandoned it for the time being.
Something is timing out. I haven't had time to troubleshoot and figure out if it's the backup job, the s3fs, or something else yet
If you use rclone, you can have it mount the Wasabi bucket with an @reboot Cron job.
That's the thing, it's just fine on boot. I'll have to attempt creating and transferring a large file manually to narrow things down.
Interesting.
-
@travisdh1 did you have any luck debugging the timeout/failure?