How to uninstall the OMII Stack


Before starting an uninstallation, you should be logged in as the user who performed the original installation.

1. The OMII Stack Uninstaller (OMIIstackUninstall.pl) can be run by selecting option 7 from the Stack Installer menu or it can be run directly. In terms of where to run the uninstallation FROM, it can be run from an install or from a release; ideally you should change to the OMII_HOME directory and use it from there, for example:

cd /usr/local/OMII

bin/OMIIstackUninstall.pl

2. You will then see the following Uninstaller menu.

Welcome to the OMII_x.x.x Server stack uninstaller.

 

For support issues or queries, please either:

- Visit http://www.omii.ac.uk/support

- Email support@omii.ac.uk

- See the Support section of the OMII Installation & Setup Guide

 

This uninstaller is designed to take you through the removal of an OMII Server installation. A minimum installation consists of a Web Services container layer and a supporting database. See the OMII readme files and User Guide for further information. Please choose an option from the following list:

 

OMII Server components

1) Integrated Services

2) Software Component

3) Web Services Container

4) Uninstall all 3 (same as running 1, 2 then 3)

 

OMII Database components

5) Integrated Services

6) OGSA-DAI

7) Software Components

8) Uninstall all 3 (same as running 5, 6 then 7)

3. Your choice then depends on what you have installed as part of your OMII stack:

If you uninstall either the WS container database or Integrated Services database, you will need to reinstall the database AND the corresponding stack component in order to have a working OMII Stack.  This is because the PostgreSQL user and tablespace are created by the database installer, but the table initialisation is done by the stack installation.

What state does my machine get left in?

Please note: Software Component - if you wish to uninstall GridSAM and it has been registered as a service within the Grimoires registry, you should ideally remove the registry entry first before using the uninstaller.  However, removal of the registry entry is not possible at present, see OMII Known Issue 1544.

Related Topics