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.
    • JaredBuschJ
      JaredBusch
      last edited by

      So I have played with Proxmox for a couple weeks.

      Well the project needs to go live this weekend.

      I either need to figure out how to replicate between two servers or switch to a different solution.

      The only supported method requires that you not have hardware raid and use ZFS.

      That defeats the purpose of blindswap, and shipping drive to the datacenter tech.

      Not to mention that ZFS is not even the default setup when the install wizard runs.

      1 Reply Last reply Reply Quote 1
      • 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
        • scottalanmillerS
          scottalanmiller
          last edited by

          Replicate regularly? Or one time for the migration?

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

            @scottalanmiller said in Promox and VM replication:

            Replicate regularly? Or one time for the migration?

            Regularly.

            This will be a manual failover device not a backup.

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

              @scottalanmiller these servers are going in the rack on Saturday morning. The old switch will go back in my junk pile 😛

              Both will be on site in the client office initially.

              But the second will be moved to colo after their IT support company (not us) figures out how to make their VPN handle the routing transparently in case of a failover.

              558C39DD-D4A2-4FE8-8495-1B296F963ABD.jpeg

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

                @scottalanmiller so if I can break you away from your Zero trust LAN-less thread.

                From what I have seen you post, I know you are using PM now, and it is using LVM.
                I assume in production.

                Have you not done anything with replication at all? This is a pretty common use ofr virtualization platforms.

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

                  @JaredBusch said in Promox and VM replication:

                  @scottalanmiller so if I can break you away from your Zero trust LAN-less thread.

                  From what I have seen you post, I know you are using PM now, and it is using LVM.
                  I assume in production.

                  Have you not done anything with replication at all? This is a pretty common use ofr virtualization platforms.

                  It is, but we do not. Most of our clients are small and don't want a second server. They just take backups and restore. The cost of a second server for outages that are generally less than twice a decade and typically quite minor just doesn't justify the cost. So we rarely see it.

                  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.

                  JaredBuschJ 2 Replies Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller
                    last edited by

                    There should be no issue using ZFS on top of hardware RAID so that you get blind swap AND replication.

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

                      @scottalanmiller said in Promox and VM replication:

                      There should be no issue using ZFS on top of hardware RAID so that you get blind swap AND replication.

                      Yeah, one test I just set it up as ZFS, single disk.
                      It should have no clue what is underneath.
                      No matter what the fanboys say about ZFS

                      5b4253bf-7d5d-48d3-ae9b-e119e324abe8-image.png

                      scottalanmillerS 1 Reply Last reply Reply Quote 2
                      • scottalanmillerS
                        scottalanmiller @JaredBusch
                        last edited by

                        @JaredBusch exactly

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

                          @scottalanmiller said in Promox and VM replication:

                          The cost of a second server for outages that are generally less than twice a decade and typically quite minor just doesn't justify the cost.

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

                          It is the far remote sites that send data into the office that drop the data after 24 hours. They were never designed to hold data forever. Machines (pumps actually) with fixed capacities, etc.

                          There are local printouts that can be manually keyed in later in case of a real large scale disaster at the office location. But an extra $4k for a server that will soon be regionally separated makes it worth it to them.

                          scottalanmillerS 1 Reply Last reply Reply Quote 1
                          • 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
                                              • 1
                                              • 2
                                              • 1 / 2
                                              • First post
                                                Last post