Uninstallation
Uninstall HAProxy Enterprise on BSD
Follow these steps to uninstall HAProxy Enterprise from a BSD system.
-
Stop HAProxy Enterprise.
Stop the servicenixsudo service hapee_31_lb onestopnixsudo service hapee_31_lb onestopnixsudo service hapee_30_lb onestopnixsudo service hapee_30_lb onestopnixsudo service hapee_29_lb onestopnixsudo service hapee_29_lb onestopnixsudo service hapee_28_lb onestopnixsudo service hapee_28_lb onestopnixsudo service hapee_27_lb onestopnixsudo service hapee_27_lb onestopnixsudo service hapee_26_lb onestopnixsudo service hapee_26_lb onestopnixsudo service hapee_25_lb onestopnixsudo service hapee_25_lb onestopnixsudo service hapee_24_lb onestopnixsudo service hapee_24_lb onestopnixsudo service hapee_23_lb onestopnixsudo service hapee_23_lb onestopnixsudo service hapee_22_lb onestopnixsudo service hapee_22_lb onestopnixsudo service hapee_21_lb onestopnixsudo service hapee_21_lb onestopnixsudo service hapee_20_lb onestopnixsudo service hapee_20_lb onestopnixsudo service hapee_19_lb onestopnixsudo service hapee_19_lb onestopnixsudo service hapee_18_lb onestopnixsudo service hapee_18_lb onestop -
Back up your configuration files.
The HAProxy Enterprise configuration directory may contain files that you wish to keep: SSL/TLS certificates, map files, and other files that you may wish to preserve after uninstallation. Ensure that any files you wish to keep are copied from
/tmp
to a safe location as BSD typically removes the contents of/tmp
upon reboot.The following command copies the contents of the configuration directory to a time-stamped directory in
/tmp
:Copy the configuration directorynixcp -r /etc/hapee-3.1 /tmp/hapee-3.1-lb.backup.$(date +%F_%R)nixcp -r /etc/hapee-3.1 /tmp/hapee-3.1-lb.backup.$(date +%F_%R)nixcp -r /etc/hapee-3.0 /tmp/hapee-3.0-lb.backup.$(date +%F_%R)nixcp -r /etc/hapee-3.0 /tmp/hapee-3.0-lb.backup.$(date +%F_%R)nixcp -r /etc/hapee-2.9 /tmp/hapee-2.9-lb.backup.$(date +%F_%R)nixcp -r /etc/hapee-2.9 /tmp/hapee-2.9-lb.backup.$(date +%F_%R)nixcp -r /etc/hapee-2.8 /tmp/hapee-2.8-lb.backup.$(date +%F_%R)nixcp -r /etc/hapee-2.8 /tmp/hapee-2.8-lb.backup.$(date +%F_%R)nixcp -r /etc/hapee-2.7 /tmp/hapee-2.7-lb.backup.$(date +%F_%R)nixcp -r /etc/hapee-2.7 /tmp/hapee-2.7-lb.backup.$(date +%F_%R)nixcp -r /etc/hapee-2.6 /tmp/hapee-2.6-lb.backup.$(date +%F_%R)nixcp -r /etc/hapee-2.6 /tmp/hapee-2.6-lb.backup.$(date +%F_%R)nixcp -r /etc/hapee-2.5 /tmp/hapee-2.5-lb.backup.$(date +%F_%R)nixcp -r /etc/hapee-2.5 /tmp/hapee-2.5-lb.backup.$(date +%F_%R)nixcp -r /etc/hapee-2.4 /tmp/hapee-2.4-lb.backup.$(date +%F_%R)nixcp -r /etc/hapee-2.4 /tmp/hapee-2.4-lb.backup.$(date +%F_%R)nixcp -r /etc/hapee-2.3 /tmp/hapee-2.3-lb.backup.$(date +%F_%R)nixcp -r /etc/hapee-2.3 /tmp/hapee-2.3-lb.backup.$(date +%F_%R)nixcp -r /etc/hapee-2.2 /tmp/hapee-2.2-lb.backup.$(date +%F_%R)nixcp -r /etc/hapee-2.2 /tmp/hapee-2.2-lb.backup.$(date +%F_%R)nixcp -r /etc/hapee-2.1 /tmp/hapee-2.1-lb.backup.$(date +%F_%R)nixcp -r /etc/hapee-2.1 /tmp/hapee-2.1-lb.backup.$(date +%F_%R)nixcp -r /etc/hapee-2.0 /tmp/hapee-2.0-lb.backup.$(date +%F_%R)nixcp -r /etc/hapee-2.0 /tmp/hapee-2.0-lb.backup.$(date +%F_%R)nixcp -r /etc/hapee-1.9 /tmp/hapee-1.9-lb.backup.$(date +%F_%R)nixcp -r /etc/hapee-1.9 /tmp/hapee-1.9-lb.backup.$(date +%F_%R)nixcp -r /etc/hapee-1.8 /tmp/hapee-1.8-lb.backup.$(date +%F_%R)nixcp -r /etc/hapee-1.8 /tmp/hapee-1.8-lb.backup.$(date +%F_%R) -
Query to see your installed packages.
nixsudo pkg info hapee*nixsudo pkg info hapee*Example output for version
3.1r1
:outputtexthapee-3.1r1-lb-1.0.0.237.0outputtexthapee-3.1r1-lb-1.0.0.237.0 -
Remove all HAProxy Enterprise packages.
nixsudo pkg remove hapee-*nixsudo pkg remove hapee-*Example output for version
3.1r1
:outputtextChecking integrity... done (0 conflicting)Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):Installed packages to be REMOVED:hapee-3.1r1-lb: 1.0.0.237.0Number of packages to be removed: 1The operation will free 5 MiB.Proceed with deinstalling packages? [y/N]: youtputtextChecking integrity... done (0 conflicting)Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):Installed packages to be REMOVED:hapee-3.1r1-lb: 1.0.0.237.0Number of packages to be removed: 1The operation will free 5 MiB.Proceed with deinstalling packages? [y/N]: y
Do you have any suggestions on how we can improve the content of this page?