(3.10) Uninstalling IVG

The ./ivginstaller file also uninstalls the Interactive Voice Gateway (IVG). The file requires no modification, and uninstalls all IVG components and dependencies when executed.

The uninstaller creates a separate .yaml file that contains the voice platform application provisioning data. Reference this file to re-provision the voice application parameters when re-installing IVG.

Uninstall IVG

Use the following steps to uninstall IVG from a VM:

Root user access is required to perform the uninstall, and is only used for the duration of the uninstall process.

  • Navigate to the directory where the ./ivginstallerwas saved.
  • Copy the ./ivginstaller file to the VM where IVG will be uninstalled.
  • Run the following command to change the permissions:

chmod a+x ivginstaller- xxxx

  • Run the following command to execute the uninstall file:

./ ivginstaller- xxxx uninstall | tee install_ mmddyy .txt

Where mmddyy is the date of the uninstall

  • The following message displays:

You have executed IVG uninstaller. This will uninstall all of the IVG components. Please confirm once again to proceed...? (y/n):

  • Enter y to continue. Enter n to exit.
  • The IVG components are uninstalled.
  • The uninstaller creates a backup hvp_params.cfg configuration file and places it at /etc/VirtualHold/backup. This backup file contains all the voice platform configuration.

The backup file is overwritten each time the uninstaller is executed.

  • The uninstaller checks for the ivginstaller directory. If the directory is present, the uninstaller removes it.
  • The VM is restarted.

IVG uninstaller process

The IVG uninstaller process uninstalls the components and dependencies of IVG that were installed on the VM by reading the uninstall_ivg.cfg file created during installation. The uninstall_ivg.cfg is compiled by the IVG installer process as it executes, and contains the information required to uninstall IVG from the VM.

The following topics detail what is uninstalled for each component.

The /etc/VirtualHold directory is not removed.

Uninstall VIS, Voice Files, and CCIS

The IVG uninstaller performs the following to uninstall the VXML Interaction Server (VIS), voice files, and Call Control Interaction Server (CCIS):

  • Uninstalls VIS, CCIS, and its dependencies:
    • Uninstalls Apache Tomcat.
      • Removes cron jobs, VIS, Voices, and CCIS
    • Uninstalls Java.

The toolkit.properties file is not removed.

Uninstall PostgreSQL Database

The IVG uninstaller performs the following to uninstall the PostgreSQL database:

  • Uninstalls the following prerequisites for the PostgreSQL database:
    • postgres-client
    • ruby
  • Uninstalls the PostgreSQL database.

If the PostgreSQL database is uninstalled from a multiple IVG system, the remaining IVG instances that read from the database will not work.

Uninstall Voice Platform and Dependencies

The IVG uninstaller performs the following to uninstall the voice platform and its dependencies:

The uninstaller only removes dependencies installed by the installer. If a dependency was previously installed independent of IVG, the uninstaller does not remove it.

  • Enables SELinux.
  • Uninstalls voice platform dependencies:
    • For RHEL/CentOS 6.10 and 7.6
      • compat-readline
      • dos2unix
      • expect
      • gzip
      • ksh
      • libais
      • libcurl
      • libogg
      • libvorbis
      • libxml2
      • libxslt
      • libyaml
      • lm_sensors-lib
      • ncurses
      • net-snmp
      • net-snmp-libs
      • openssl
      • perl
        • perl-libs
        • perl-Module-Pluggable
        • perl-Pod-Escapes
        • perl-Pod-Simple
        • perl-version
      • postgresql96
      • postgresql96-libs
      • ruby
        • rubygems
        • ruby-irb
        • ruby-libs
        • ruby-rdoc
      • speex
      • tcl
      • tcsh
      • xerces
      • zsh
    • Additional for RHEL/CentOS 7.6 only
      • libxml2-python
      • net-snmp-agent-libs (fo
      • perl-Carp
      • perl-constant
      • perl-Data-Dumper
      • perl-Encode
      • perl-Exporter
      • perl-File-Path
      • perl-File-Temp
      • perl-Filter
      • perl-Getopt-Long
      • perl-HTTP-Tiny
      • perl-macros
      • perl-macros
      • perl-parent
      • perl-PathTools
      • perl-podlators
      • perl-Pod-Perldoc
      • perl-Pod-Usage
      • perl-Scalar-List-Utils
      • perl-Socket
      • perl-Storable
      • perl-Text-ParseWords
      • perl-threads
      • perl-threads-shared
      • perl-Time-HiRes
      • perl-Time-Local
      • rubygem-bigdecimal
      • rubygem-io-console
      • rubygem-json
      • rubygem-psych
      • rubygem-rdoc
  • Uninstalls voice platform, including patches.
  • The voice platform provisioning .yaml file is placed in the /etc/VirtualHold/backup directory.

Uninstalling the CTI Event Consumer

The IVG uninstaller performs the following to remove the CTI Event Consumer:

  • Deletes the CTIEventConsumer directory.
  • Removes the CTI_EVENTCONSUMER_USER and CTI_EVENTCONSUMER_HOME environment variables from /etc/profile.