Uninstalling ElectricAccelerator

3 minute read

The uninstaller removes all Accelerator components (including the Visual Studio Integration) as well as the installation directory and its contents from a machine at the same time. This includes the software itself, build information, and installation preferences from the prior installation. If you are uninstalling as part of an upgrade procedure, follow the instructions in Upgrading ElectricAccelerator on Windows.

To uninstall the software, follow the procedures described in the following topics.

Uninstalling ElectricAccelerator on Linux or Solaris

  1. Log in as root.

  2. Change to the tmp directory by entering # cd /tmp

  3. Copy the uninstaller to the /tmp directory by entering # cp /opt/ecloud/uninstall-accelerator /tmp

  4. Invoke the uninstaller in console mode by entering ./uninstall-accelerator /mode console

The following message appears:

This will completely remove ElectricAccelerator from your system.  Are you sure you want to do this? [n/Y]
  1. Enter y to confirm the uninstallation.

The following message appears:

A full uninstall will remove all leftover files, including other packages such as ElectricInsight.
Perform a full uninstall [y/N]
  1. Enter y or n.

The following message appears:

Back up local database [y/N]
  1. Enter y or n.

No second opportunity to confirm the uninstall request is displayed. The uninstall begins immediately.

An Uninstall complete message appears when Accelerator is removed.

  1. Check the /etc/sysconfig/ecagent.conf directory (for Linux) or /etc/ecagent.conf directory (for Solaris) and remove the file ecagent.conf if you want to delete all Accelerator files.

If the EFS is already installed and then you perform an agents-only installation, uninstalling the agents afterward will unload the EFS and LOFS modules from the kernel. To reload the modules, enter:
sudo /etc/init.d/ecfs restart

Uninstalling ElectricAccelerator on Windows

  1. Go to the Electric Cloud installation folder and run uninstall-accelerator.exe.

You can also invoke the uninstaller by using the "Add or Remove Programs" or "Programs and Features" utilities in the Windows Control Panel.

  1. Select any of the following before continuing with the uninstall process:

  2. Perform a full uninstall - Removes all leftover files, including other packages such as Visual Studio Integration and ElectricInsight.

  3. Back up local database - Retains a copy of your local database.

An "Uninstall Complete" message appears when Accelerator software is removed. If Electric Agent/EFS was installed, you might be prompted to reboot.

Uninstalling ElectricAccelerator Silently

If you are uninstalling on a series of identical machines (such as a series of cluster hosts), you can use the “silent” uninstallation method, which uninstalls components automatically without user interaction.

Use the following command-line options when performing a silent uninstallation. Use this format:

<uninstaller_filename> [options]

This table lists each command-line option’s equivalent in the uninstaller UI and the variable that is set in the uninstaller properties file. You can use the resulting properties file for running silent uninstallations.

  • You can use the values “yes”, “y”, “1” and “no”, “n”, “0” interchangeably within uninstaller command-line options.

  • For ` --cmdbtype ` and ` --type`, differences exist between valid command-line option arguments and valid properties file parameters. Ensure that you provide the correct input for each method.

Command-line option Variable set in the uninstaller properties file Description

Equivalent uninstaller UI field

--backupdb <y or n>

EC_CM_BACKUPDB=y or n

Specifies whether to back up the database. Remote databases are not backed up. Default: n.

--debug

n/a

Runs the uninstaller in debug mode.

--debugconsole

n/a

Runs the uninstaller with the debug console open.

--fulluninstall <y or n>

EC_FULL_UNINSTALL=y or n

Specifies whether to perform a complete uninstallation. A complete uninstallation deletes the top-level installation directory .

--logfile [ARG]

` EC_LOGFILE= `

Specifies the log file to use for debug logging.

--mode <console, silent, or standard>

n/a

Sets the mode in which to run the uninstaller. For a console login, standard mode and console mode are identical. For a GUI machine, standard brings up the UI. On Linux or Solaris , if you are running the X Window System, you must use console if you want to invoke console mode. For silent uninstallation, use silent.

--test

n/a

Runs the uninstaller without uninstalling any files.

--upgrade <y or n>

EC_IS_UPGRADE=y or n

Performs an upgrade uninstallation ( only partial ).