ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    How to use Wasabi with Xen Orchestra

    IT Discussion
    wasabi xcp-ng xen orchestra xen orchestra community
    4
    16
    2.0k
    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.
    • travisdh1T
      travisdh1
      last edited by travisdh1

      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.

      B 1 Reply Last reply Reply Quote 5
      • B
        bnrstnr
        last edited by

        This is a Fedora VM presenting a Wasabi bucket to XO as an NFS share?

        travisdh1T 1 Reply Last reply Reply Quote 1
        • travisdh1T
          travisdh1 @bnrstnr
          last edited by

          @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.

          B 1 Reply Last reply Reply Quote 0
          • B
            bnrstnr @travisdh1
            last edited by

            @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?

            travisdh1T 1 Reply Last reply Reply Quote 0
            • travisdh1T
              travisdh1 @bnrstnr
              last edited by

              @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.

              1 Reply Last reply Reply Quote 0
              • B
                bnrstnr @travisdh1
                last edited by bnrstnr

                @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

                travisdh1T dafyreD 2 Replies Last reply Reply Quote 0
                • travisdh1T
                  travisdh1 @bnrstnr
                  last edited by

                  @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.

                  1 Reply Last reply Reply Quote 0
                  • travisdh1T
                    travisdh1
                    last edited by

                    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.

                    1 Reply Last reply Reply Quote 2
                    • dafyreD
                      dafyre @bnrstnr
                      last edited by

                      @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.

                      travisdh1T 1 Reply Last reply Reply Quote 1
                      • travisdh1T
                        travisdh1 @dafyre
                        last edited by

                        @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 😛

                        1 Reply Last reply Reply Quote 0
                        • B
                          bnrstnr
                          last edited by

                          @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.

                          travisdh1T 1 Reply Last reply Reply Quote 0
                          • travisdh1T
                            travisdh1 @bnrstnr
                            last edited by

                            @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 😕

                            dafyreD 1 Reply Last reply Reply Quote 0
                            • dafyreD
                              dafyre @travisdh1
                              last edited by

                              @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.

                              travisdh1T 1 Reply Last reply Reply Quote 0
                              • travisdh1T
                                travisdh1 @dafyre
                                last edited by

                                @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.

                                dafyreD 1 Reply Last reply Reply Quote 0
                                • dafyreD
                                  dafyre @travisdh1
                                  last edited by

                                  @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.

                                  1 Reply Last reply Reply Quote 0
                                  • C
                                    cdbessig
                                    last edited by

                                    @travisdh1 did you have any luck debugging the timeout/failure?

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