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

    Solved Promox and VM replication

    IT Discussion
    proxmox proxmox 6.3 proxmox ve replication
    5
    21
    4.4k
    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.
    • scottalanmillerS
      scottalanmiller @JaredBusch
      last edited by

      @JaredBusch said in Promox and VM replication:

      For this client, they can't take a full 24 hours of downtime before they begin to lose data. They need a replica.

      Most of ours can restore from a backup in under an hour to limp along on alternative hardware. It's a pain, but they can operate a day or two that way.

      1 Reply Last reply Reply Quote 0
      • DustinB3403D
        DustinB3403
        last edited by DustinB3403

        In my testing I couldn't figure out a way to have hardware raid and ZFS, at least not with one large array.

        The only way I could get it to work was to create an R1, leaving unconfigured drives to create the ZFS with so I could then create the ZFS pool.

        DashrenderD JaredBuschJ 2 Replies Last reply Reply Quote 0
        • DashrenderD
          Dashrender @DustinB3403
          last edited by

          @DustinB3403 said in Promox and VM replication:

          In my testing I couldn't figure out a way to have hardware raid and ZFS, at least not with one large array.

          The only way I could get it to work was to create an R1, leaving unconfigured drives to create the ZFS with so I could then create the ZFS pool.

          I need to spin one of these up... are you saying you can't install Proxmox to to a single disk and use ZFS? i.e. one physical drive?
          If you can.. .then the hardware RAID should just look like a single presented drive, and use ZFS on it

          travisdh1T JaredBuschJ 2 Replies Last reply Reply Quote 0
          • travisdh1T
            travisdh1 @Dashrender
            last edited by

            @Dashrender said in Promox and VM replication:

            @DustinB3403 said in Promox and VM replication:

            In my testing I couldn't figure out a way to have hardware raid and ZFS, at least not with one large array.

            The only way I could get it to work was to create an R1, leaving unconfigured drives to create the ZFS with so I could then create the ZFS pool.

            I need to spin one of these up... are you saying you can't install Proxmox to to a single disk and use ZFS? i.e. one physical drive?
            If you can.. .then the hardware RAID should just look like a single presented drive, and use ZFS on it

            You'd think, but Proxmox goes to extreme lengths to make sure you're using storage how THEY want you to. I haven't messed with it since the 5.xx branch, which has been a long time.

            1 Reply Last reply Reply Quote 0
            • JaredBuschJ
              JaredBusch @DustinB3403
              last edited by

              @DustinB3403 said in Promox and VM replication:

              In my testing I couldn't figure out a way to have hardware raid and ZFS, at least not with one large array.

              The only way I could get it to work was to create an R1, leaving unconfigured drives to create the ZFS with so I could then create the ZFS pool.

              See screenshot..... It was not like hard.

              1 Reply Last reply Reply Quote 0
              • JaredBuschJ
                JaredBusch @Dashrender
                last edited by

                @Dashrender said in Promox and VM replication:

                I need to spin one of these up... are you saying you can't install Proxmox to to a single disk and use ZFS? i.e. one physical drive?
                If you can.. .then the hardware RAID should just look like a single presented drive, and use ZFS on it

                @travisdh1 said in Promox and VM replication:

                You'd think, but Proxmox goes to extreme lengths to make sure you're using storage how THEY want you to. I haven't messed with it since the 5.xx branch, which has been a long time.

                Look above.

                1. I said it is possible I did it.
                2. I posted a damned screenshot...
                travisdh1T 1 Reply Last reply Reply Quote 0
                • travisdh1T
                  travisdh1 @JaredBusch
                  last edited by

                  @JaredBusch said in Promox and VM replication:

                  @Dashrender said in Promox and VM replication:

                  I need to spin one of these up... are you saying you can't install Proxmox to to a single disk and use ZFS? i.e. one physical drive?
                  If you can.. .then the hardware RAID should just look like a single presented drive, and use ZFS on it

                  @travisdh1 said in Promox and VM replication:

                  You'd think, but Proxmox goes to extreme lengths to make sure you're using storage how THEY want you to. I haven't messed with it since the 5.xx branch, which has been a long time.

                  Look above.

                  1. I said it is possible I did it.
                  2. I posted a damned screenshot...

                  I had forgotten that by the time I replied, obviously. I think it's time for me to load up Proxmox in the home lab to check out.

                  1 Reply Last reply Reply Quote 0
                  • JaredBuschJ
                    JaredBusch
                    last edited by

                    Setup and tested.

                    092b82c7-25be-466c-943c-efa6f0d690f8-image.png

                    JaredBuschJ 1 Reply Last reply Reply Quote 0
                    • JaredBuschJ
                      JaredBusch @scottalanmiller
                      last edited by

                      @scottalanmiller said in Promox and VM replication:

                      When you need it, I think you have to stick to ZFS. Not that there is no possibility of doing it another way, but it's what ProxMox expects at this point.

                      Sucks, but working.

                      1 Reply Last reply Reply Quote 0
                      • JaredBuschJ
                        JaredBusch @JaredBusch
                        last edited by

                        @JaredBusch 5 minutes later.
                        eacd9770-ecc5-44a7-b667-62aefcc28556-image.png

                        1 Reply Last reply Reply Quote 0
                        • JaredBuschJ
                          JaredBusch
                          last edited by JaredBusch

                          I'll try and make a cleaner guide later..

                          • First, spin up your ProxmoxVE system.
                            • During the install wizard, I left the boot drive as LVM but did change it to XFS instead of ext4. You do not setup secondary drives during the install wizard.
                          • Once up, you need to create the ZFS store on each system, named the same, prior to joining the cluster.
                            • The replication process wants the ZFS pool to be named the same on both systems and you cannot name it the same (at least in the GUI) if it already exists anywhere in the cluster.
                              3c9d3871-d8f6-4da0-93fd-22bf8526ef6b-image.png
                          • Then from the GUI, go to the disks of system 1.
                            67ae2a41-d84b-4fbc-9cd0-4dea04cb5465-image.png
                          • then click on ZFS and create the storage pool
                            • name it, single disk, compression off.
                              4379c8d3-edf1-4733-95ce-d3bc5f2400e9-image.png
                          • wait for it to show normal.
                            145f1381-2d1e-4215-b29c-30e2227c00d2-image.png
                          • then repeat the process on the second system.
                            • make sure to use the same name.
                          • Now create the cluster and join the second system to the cluster.
                            e9401472-ad68-433a-b569-5cc14f21552d-image.png
                          • You will not see the storage on ZFS storage on system 2 when it first loads up.
                            0e6e610a-21fd-4317-9f15-336eec787af3-image.png
                          • But it does exist if you look.
                            d5efc711-8126-4e30-955a-9d0deba7db10-image.png
                          • To make it available, go to storage under datacenter.
                            545a0b08-72e0-4912-bf3c-f10ce2527d73-image.png
                          • edit the existing "data" and add pve2
                            d8022847-45ea-46ce-be11-807f01e51449-image.png
                          • now it will show up and be available for use.
                            a68a5b5c-3024-4650-869b-c36065713c87-image.png

                          Is this perfect? No. but it is how I was able to get it setup to work.

                          The manual leave out quite a bit of specifics. on how to do things, but goes into detail on the technical of things.

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