Uninstalling individual packages installed with IBM Spectrum Conductor

You can manually uninstall individual packages previously installed with IBM® Spectrum Conductor.

  • You must be logged in as root if you installed IBM Spectrum Conductor as root. If you didn’t install as root, you must log on with the cluster administrator ID.
  • If you installed IBM Spectrum Conductor to a local environment, you must complete this task on each host from which you want to remove IBM Spectrum Conductor.
  • You must stop EGO on all hosts before running the uninstall script.
  • If you performed a rolling upgrade, only uninstall the previous version's packages after your rolling upgrade is successful, tested, and you do not plan to roll back the upgrade. Once you uninstall the old package, rolling back is no longer supported.

Some installed packages are required for other packages to function; ensure that you review the package contents and dependencies before selecting to uninstall a package. Moreover, if you have more than one product installed in your cluster (such as IBM Spectrum Symphony in addition to IBM Spectrum Conductor), be cautious that you do not uninstall a package required for those products.

Ensure that you uninstall the packages in the order outlined in the following steps. The order is important as you should uninstall the packages in the reverse order in which they were installed.

  1. From a command console, stop all services:
    egosh service stop all
  2. Shut down the cluster:
    egosh ego shutdown all
  3. Uninstall all applicable packages. Ensure that you replace dbpath_location in the following rpm commands to the path to your database. For example, if your database is located in /data/abc/rpmdb, then run:
    rpm -qa --dbpath /data/abc/rpmdb | grep ascd
    1. Find the IBM Spectrum Conductor management package and uninstall it:
      rpm -qa --dbpath dbpath_location | grep conductorsparkmgmt
      
      rpm -e --dbpath dbpath_location conductorsparkmgmt-version
    2. Find the IBM Spectrum Conductor core package and uninstall it:
      rpm -qa --dbpath dbpath_location | grep conductorsparkcore
      
      rpm -e --dbpath dbpath_location conductorsparkcore-version
    3. Find the Application Container management package and uninstall it:
      rpm -qa --dbpath dbpath_location | grep conductormgmt
      
      rpm -e --dbpath dbpath_location conductormgmt-version
    4. Find the ascd package and uninstall it:
      rpm -qa --dbpath dbpath_location | grep ascd
      
      rpm -e --dbpath dbpath_location ascd-version
    5. Find the monitoring for IBM Spectrum Scale™ package and uninstall it:
      rpm -qa --dbpath dbpath_location | grep egogpfsmonitor
      
      rpm -e --dbpath dbpath_location egogpfsmonitor-3.7.0.0
    6. Find the Explorer reports package and uninstall it:
      rpm -qa [--dbpath dbpath_location] | grep explorer
      
      rpm -e [--dbpath dbpath_location] explorer-version
    7. Find the IBM SDKs for Node.js package used for Explorer reports and uninstall it:
      rpm -qa [--dbpath dbpath_location] | grep nodejs
      
      rpm -e [--dbpath dbpath_location] nodejs-version
    8. Find the Elastic Stack package and uninstall it:
      rpm -qa --dbpath dbpath_location | grep egoelastic
      
      rpm -e --dbpath dbpath_location egoelastic-version.x86_64
    9. Find the EGO management package and uninstall it:
      rpm -qa --dbpath dbpath_location | grep egomgmt
      
      rpm -e --dbpath dbpath_location egomgmt-version.noarch
    10. Find the EGO RESTful API server package and uninstall it:
      rpm -qa --dbpath dbpath_location | grep egorest
      
      rpm -e --dbpath dbpath_location egorest-version.noarch
    11. Find the IBM WebSphere® Application Server Liberty Profile package and uninstall it:
      rpm -qa --dbpath dbpath_location | grep egowlp
      
      rpm -e --dbpath dbpath_location egowlp-version.noarch
    12. Find the IBM JRE package and uninstall it:
      rpm -qa --dbpath dbpath_location | grep egojre
      
      rpm -e --dbpath dbpath_location egojre-version.x86_64
    13. Find the EGO core package and uninstall it:
      rpm -qa --dbpath dbpath_location | grep egocore
      
      rpm -e --dbpath dbpath_location egocore-version.x86_64
  4. Delete the $EGO_TOP installation directory.
    Note: You should delete the $EGO_TOP installation directory only if you want to remove everything under this directory. Do not complete this step if you are using an environment with IBM Spectrum Symphony.
You have successfully uninstalled the selected IBM Spectrum Conductor packages.