Uninstalling HA

Prerequisites

HA is stopped. For details, see Stopping HA.

Procedure

  1. Run the chattr -i -R "/opt/middleware/keepalived" command to unlock HA-related files.
  2. Run the rm -rf /opt/middleware/keepalived command to uninstall HA.
  3. Run the rm -f /usr/lib/systemd/system/keepalived-start.service command to clear the service file.
  4. If a soft link pointing to /usr/lib/systemd/system/keepalived-start.service is set in step 4 in Running Commands to Start HA, run the rm -f {SOFT_LINK_NAME} command to clear the soft link. {SOFT_LINK_NAME} is the full name of the soft link.