Uninstalling the IBM Storage Scale management GUI

Do the following to uninstall management GUI and remove the performance monitoring components that are installed for the GUI:

  1. Issue the systemctl stop command as shown in the following example:
    systemctl stop gpfsgui
    
  2. If the GUI runs on an IBM Storage Scale cluster where sudo wrapper is enabled, export the name of the user that was configured as the file system administrator as an environment variable by issuing the following command:
    export SUDO_USER=gpfsadmin

    In this example, the name of the sudo user is gpfsadmin. Exporting the environment variable is necessary so that the uninstall process get to know which user name must be used to run the administrative file system commands that are necessary while uninstalling the GUI. For more information on how to configure the IBM Storage Scale GUI to use sudo wrapper, see Configuring IBM Storage Scale GUI to use sudo wrapper.

  3. Issue the following command to clean up the GUI database:
    psql postgres postgres -c "drop schema fscc cascade"
  4. Issue one of the following commands depending on the platform to remove the GUI package.
    • Red Hat Enterprise Linux® and SLES
      rpm -e gpfs.gui-5.2.1-x.noarch
    • Ubuntu
      dpkg -r gpfs.gui_5.2.1-x_all.deb