Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    HaProxy Maintenance page configuration to put servers in maintenance mode

    Scheduled Pinned Locked Moved Cache/Proxy
    5 Posts 3 Posters 1.4k Views
    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.
    • S
      ShahidAkhter
      last edited by

      Hi, is there anyway to put servers into maintenance mode , so everyone can see a maintenance page when they'll try to access server?
      I have been searching for it from like a very long time but no solution till now.

      V 1 Reply Last reply Reply Quote 0
      • V
        viragomann @ShahidAkhter
        last edited by

        @ShahidAkhter
        https://forum.netgate.com/topic/181227/redirect-to-external-error-or-maintenance-page-for-ha-proxy

        S 1 Reply Last reply Reply Quote 0
        • S
          ShahidAkhter @viragomann
          last edited by

          @viragomann Hi, thanks for responding. I read that solution, but the problem is that solution is only applicable if one host is down, and i want to do this for planned maintenance, It means that if i use Haproxy Maintenance mode then it should show that maintenance page.

          V 1 Reply Last reply Reply Quote 0
          • V
            viragomann @ShahidAkhter
            last edited by

            @ShahidAkhter
            Such function is not implemented as far as I know.

            You can set up a backend providing the maintenance page and just switch the frontend to this and then back again.

            M 1 Reply Last reply Reply Quote 1
            • M
              michmoor LAYER 8 Rebel Alliance @viragomann
              last edited by

              @viragomann Was just thinking about recommending this as well. There is a default pool you could use

              Firewall: NetGate,Palo Alto-VM,Juniper SRX
              Routing: Juniper, Arista, Cisco
              Switching: Juniper, Arista, Cisco
              Wireless: Unifi, Aruba IAP
              JNCIP,CCNP Enterprise

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.