How to Edit the HAProxy Configuration File by Using NetScaler MAS

You can update the frontend server, backend server, and other settings in the existing HAProxy configuration file. To edit the HAProxy configuration file:

  • Back up the HAProxy configuration file

  • Download the backup HAProxy configuration file and edit it offline

  • Upload the updated HAProxy configuration file to NetScaler MAS

  • Restore the HAProxy instance with the updated backup file

To edit the HAProxy configuration file by using NetScaler MAS:

  1. In NetScaler MAS, navigate to Networks > Instances > HAProxy.

  2. On the HAProxy page, click the Instances tab.

  3. Select the HAProxy instance that you want to back up, and then click View Backup.

    localized image

  4. On the Backup Files page, click Back Up.

    localized image

  5. Click Continue.

    localized image

    Note

    Do not encrypt the backup file.

  6. On the Backup Files page, select the backup file and click Download.

    localized image

  7. Using a text editor, edit the HAProxy configuration file.

  8. On the Backup Files page, click Upload to browse and select the updated HAProxy configuration file.

    localized image

    After the updated HAProxy configuration file is uploaded, it is listed on the Backup Files page.

  9. Select the updated HAProxy configuration file and click Restore.

How to Edit the HAProxy Configuration File by Using NetScaler MAS

In this article